Browse Source

git-svn-id: http://newslabx.csie.ntu.edu.tw/svn/Ginger@59 5747cdd2-2146-426f-b2b0-0570f90b98ed

master
Hobe 4 years ago
parent
commit
65ead8071f
24 changed files with 15165 additions and 0 deletions
  1. +5
    -0
      trunk/RTCSA_SS/00Abstract.tex
  2. +10
    -0
      trunk/RTCSA_SS/01Introduction.tex
  3. +9
    -0
      trunk/RTCSA_SS/02Background.tex
  4. +8
    -0
      trunk/RTCSA_SS/03Design.tex
  5. +4
    -0
      trunk/RTCSA_SS/04Evaluation.tex
  6. +3
    -0
      trunk/RTCSA_SS/05Conclusion.tex
  7. +2
    -0
      trunk/RTCSA_SS/06Acknowledge.tex
  8. +2425
    -0
      trunk/RTCSA_SS/IEEEtran.bst
  9. +4702
    -0
      trunk/RTCSA_SS/IEEEtran.cls
  10. +142
    -0
      trunk/RTCSA_SS/Main.tex
  11. +302
    -0
      trunk/RTCSA_SS/Makefile
  12. +142
    -0
      trunk/RTCSA_SS/MixedPublicPrivate_IoT.tex
  13. +117
    -0
      trunk/RTCSA_SS/MySetting.tex
  14. +59
    -0
      trunk/RTCSA_SS/WFIoT.bib
  15. +11
    -0
      trunk/RTCSA_SS/bibliography.bib
  16. +4592
    -0
      trunk/RTCSA_SS/ieeeconf.cls
  17. +0
    -0
      trunk/RTCSA_SS/log.tex
  18. +17
    -0
      trunk/RTCSA_SS/myColor.sty
  19. +95
    -0
      trunk/RTCSA_SS/mycolor.cfg
  20. +255
    -0
      trunk/RTCSA_SS/ntu_techrpt_cover.sty
  21. +256
    -0
      trunk/RTCSA_SS/ntu_techrpt_cover_acm.sty
  22. +139
    -0
      trunk/RTCSA_SS/prelim2e.sty
  23. +1849
    -0
      trunk/RTCSA_SS/svn-multi.sty
  24. +21
    -0
      trunk/RTCSA_SS/todos.tex

+ 5
- 0
trunk/RTCSA_SS/00Abstract.tex View File

@ -0,0 +1,5 @@
\begin{abstract}
Abstract.
\end{abstract}

+ 10
- 0
trunk/RTCSA_SS/01Introduction.tex View File

@ -0,0 +1,10 @@
\section{Introduction}
\label{sec:introduction}
Introduction~\cite{Shih14a}
{\bf Contribution} Contribution
The remaining of this paper is organized as follow. Section~\ref{sec:bk_related} presents related works and background for developing the methods. Section~\ref{sec:design} presents the system architecture, challenges, and the developed mechanisms. Section~\ref{sec:eval} presents the evaluation results of proposed mechanism and Section~\ref{sec:conclusion} summaries our works.

+ 9
- 0
trunk/RTCSA_SS/02Background.tex View File

@ -0,0 +1,9 @@
\section{Background and Related Works}
\label{sec:bk_related}
\subsection{Related 1}
Related 1
\subsection{Related 2}
Related 2

+ 8
- 0
trunk/RTCSA_SS/03Design.tex View File

@ -0,0 +1,8 @@
\section{Method name}
\label{sec:design}
Design
\subsection{Algorithm name}
Algorithm

+ 4
- 0
trunk/RTCSA_SS/04Evaluation.tex View File

@ -0,0 +1,4 @@
\section{Performance Evaluation}
\label{sec:eval}
Evaluation.

+ 3
- 0
trunk/RTCSA_SS/05Conclusion.tex View File

@ -0,0 +1,3 @@
\section{Conclusion\label{sec:conclusion}}
Conclusion

+ 2
- 0
trunk/RTCSA_SS/06Acknowledge.tex View File

@ -0,0 +1,2 @@
\textbf{Acknowledgements}
This research was supported in part by the Ministry of Science and Technology of Taiwan (MOST 106-2633-E-002-001, MOST 106-2627-M-002-022-), National Taiwan University (NTU-106R104045), Intel Corporation, and Delta Electronics, and Advantech.

+ 2425
- 0
trunk/RTCSA_SS/IEEEtran.bst
File diff suppressed because it is too large
View File


+ 4702
- 0
trunk/RTCSA_SS/IEEEtran.cls
File diff suppressed because it is too large
View File


+ 142
- 0
trunk/RTCSA_SS/Main.tex View File

@ -0,0 +1,142 @@
% Final Submission
%\documentclass[10pt,conference,a4paper,twocolumn]{./IEEEtran}
\documentclass[10pt,a4paper,twocolumn]{ieeeconf}
% Draft
%\documentclass[10pt,a4paper,onecolumn]{ieeeconf}
%\documentclass[12pt,a4paper,onecolumn]{IEEEtran}
%PAPER PAGE LIMIT:
%
%Regular Papers: 8 pages, including all figures, tables, and references.
%Short Papers: 6 pages, including all figures, tables, and references.
%http://www.ieeeconfpublishing.org/cpir/authorKit.asp?Facility=CPS_Nov&ERoom=SOCA+2017
%\usepackage{ntu_techrpt_cover}
%\usepackage{lipsum}
%\usepackage{graphicx}
%\usepackage{times}
%\usepackage{psfrag}
%\usepackage[tight]{subfigure}
\usepackage{setspace}
%\usepackage{listings}
%\usepackage{epsfig}
%\usepackage{longtable}
%\usepackage{cases}
%\usepackage{subfig}
\usepackage{balance}
%\usepackage{algorithm}
%\usepackage{algorithmic}
%\usepackage[noend]{algpseudocode}
%% % To add svn version number in Latex
%\usepackage{svn-multi}
% \usepackage[draft,scrtime]{prelim2e}
\usepackage[final]{prelim2e}
%\usepackage{soul}
\usepackage{authblk}
% Add svn keyword for all the tex files
% svn ps svn:keywords 'Id HeadURL LastChangedDate LastChangedBy LastChangedRevision' *.tex
%\svnidlong{$HeadURL: http://newslabx.csie.ntu.edu.tw/svn/R_Publications/SOCA17/trunk/Main.tex $} {$LastChangedDate: 2017-10-13 23:28:44 +0800 (週五, 13 十月 2017) $} {$LastChangedRevision: 2459 $} {$LastChangedBy: cshih $}
%\svnid{$Id: Main.tex 2459 2017-10-13 15:28:44Z cshih $}
% to show SVN version number
%% \renewcommand{\PrelimWords}{Rev: \svnrev\ (\svnfilerev) \svnyear/\svnmonth/\svnday/\svnhour:\svnminute}
\renewcommand{\PrelimWords}{The draft is made at \thistime.}
% Commented out for article
% \numberwithin{algorithm}{section}
% \setstretch{0.83}
\usepackage[backend=biber,style=numeric-comp,sorting=none]{biblatex}
\DeclareSourcemap{
\maps[datatype=bibtex]{
\map{
\step[fieldsource=url,
match=\regexp{http://(ieeexplore.ieee.org/|dx.doi.org/|dl.acm.org/)},
final]
\step[fieldset=url, null]
\step[fieldset=urldate, null]
\step[fieldset=doi, null]
\step[fieldset=ISBN, null]
}
}
}
\renewcommand*{\bibfont}{\footnotesize}
%% \addbibresource{Conference.bib}
\addbibresource{bibliography.bib}
%%\addbibresource{IEEEabrv.bib}
%%%%%%%%%%%%%%%%%
%\input{MySetting}
%\author{
% \IEEEauthorblockN{Jyun-Jhe \textsc{Chou}\IEEEauthorrefmark{1}, Chi-Sheng \textsc{Shih}\IEEEauthorrefmark{1}, Wei-Dean \textsc{Wang}\IEEEauthorrefmark{2}, and Kuo-Chin \textsc{Huang}\IEEEauthorrefmark{3}}
% \IEEEauthorblockA{\IEEEauthorrefmark{1}\small{Embedded Systems and Wireless Networking Lab}\\
% \small{Graduate Institute of Networking and Multimedia}\\
% \small{Department of Computer Science and Information Engineering}\\
% \small{NTU IoX Research Center}\\
% \small{National Taiwan University}
% \\\{cshih\}@csie.ntu.edu.tw}
% \IEEEauthorblockA{\IEEEauthorrefmark{2}Department of Medical Education and Bioethics,\\NTU}
% \IEEEauthorblockA{\IEEEauthorrefmark{3}Department of Family Medicine, \\NTU Hospital}
%}
\author{Jyun-Jhe Chou}
\affil{\small{Graduate Institute of Networking and Multimedia}\\
\small{Department of Computer Science and Information Engineering}\\
\small{NTU IoX Research Center}\\
\small{National Taiwan University} \vspace{1.5ex}}
\title{Title}
% \setlength{\topmargin}{-0.5in}
%\setlength{\textheight}{10.1in}
%\reportyear{2017}
%\reportmonth{November}
%\reportnumber{0009}
\pagestyle{empty}
\begin{document}
%% To make report cover
%\thispagestyle{empty}
%\makecover
%\newpage
%% To add revision log
%\thispagestyle{empty}
%\onecolumn
%\input{log}
%\newpage
%% \input{todos}
%% \newpage
%% \twocolumn
\maketitle
%\thispagestyle{empty}
%\IEEEpeerreviewmaketitle
\setcounter{page}{1}
% Double space for draft
%\doublespacing
\input{00Abstract}
\input{01Introduction}
% Related works
\input{02Background}
% Architecture, formal model, and problem definition
% Proposed solution
\input{03Design}
% Evaluation
\input{04Evaluation}
% Conclusion
\input{05Conclusion}
% Acknowledgement
%\input{06Acknowledge}
\balance
\printbibliography
\end{document}

+ 302
- 0
trunk/RTCSA_SS/Makefile View File

@ -0,0 +1,302 @@
# LaTeX Makefile for dvi, ps, and pdf file creation.
# MAGMA - Laboratoire Leibniz 13-12-2004
# The LATEX variable contains the latex command to use, using LATEXFLAGS
# you can specify additional flags to pass.
TEXPATH = /usr/local/texlive/latest/bin/universal-darwin
LATEX = pdflatex
LATEXFLAGS= -interaction=scrollmode
PDFLATEX = pdflatex
#PDFLATEXFLAGS= --jobname=$(OUTFILE)
PDFLATEXFLAGS=
MAKEINDEX = makeindex
# Specifies the bibliography generation program.
BIBTEX = biber
BIBTEXFLAGS=
# These options are used for generating PostScript files from DVI files.
DVIPS = dvips
DVIPSFLAGSPDF = -P pdf
PS2PDF = ps2pdf
PS2PDFFLAGS =
# Commands for images convertion
FIG2DEV = /usr/bin/fig2dev
GIFTOPNM = giftopnm
PNMTOPNG = pnmtopng
# Useful commands
EGREP = egrep
ECHO = echo
# The variable USEPDFLATEX must equal 1 to use pdflatex for generating pdf file.
USEPDFLATEX = 1
# Tex directory
TEX_DIR = .
# Figures directory for fig to eps or pdf convertion
FIGURE_DIR = figures
# Contain those LaTeX input files which will be passed directly to LaTeX, i.e.
# no include files.
MAIN_TEX_FILES= Main.tex
# Contains include tex file
TEX_FILES= $(wildcard *.tex) \
$(wildcard ./$(TEX_DIR)/*.tex)
# Contains the names of all DVI files to be generated when using the target<.dvi>
# target. Defaults to all files from $(MAIN_TEX_FILES) with their
# extensions changed to target<.dvi>.
DVI_FILES= $(MAIN_TEX_FILES:.tex=.dvi)
# Contains the names of all PostScript resp. PDF files to be generated when
# using the target<.ps> or target<.pdf>.
PS_FILES= $(DVI_FILES:.dvi=.ps)
CMR_FILES= $(DVI_FILES:.dvi=_CMR.pdf)
PDF_FILES= $(DVI_FILES:.dvi=.pdf)
# Contains the names of all eps resp. eps images to be generated when
# using target<.dvi> or target<.ps> or target<.pdf>.
EPSFIGURES = $(patsubst %.fig,%.eps,$(wildcard ./$(FIGURE_DIR)/*.fig)) $(patsubst %.tex,%.eps,$(wildcard ./$(FIGURE_DIR)/*.tex))
PDFFIGURES = $(patsubst %.fig,%.pdf,$(wildcard ./$(FIGURE_DIR)/*.fig))
TODAY= $(shell date +"%Y%m%d_%H%M")
TODAY= $(shell date +"%Y%m%d")
OUTFILE=$(shell basename $(CURDIR))_$(TODAY)
# Contains the names of all configuration and styles to be linked
# from the configuration directory
LINKS_FILES = bibliography.bib MySetting.tex latex8.bst latex8.sty latex8_unsrt.bst myColor.sty ntu_techrpt_cover.sty mycolor.cfg coverart.eps svn-multi.sty prelim2e.sty ieeeconf.cls IEEEtran.cls
#LINKS_FILES = mycolor.cfg myColor.sty
LN = ln -sf
HOME = /Users/cshih
# Target definition
#all: $(EPSFIGURES) $(PDFFIGURE)
all: link $(EPSFIGURES) $(PDFFIGURE)
@$(ECHO) "Home directory is $(HOME)"
@$(ECHO) "----------------------------------------------------------------"
@$(ECHO) "EPSFIGURES: $(EPSFIGURES)."
@$(ECHO) "PDFFIGURES: $(PDFFIGURES)."
@$(ECHO) "OUTFILE: $(OUTFILE)."
@$(ECHO) "----------------------------------------------------------------"
# $(MAKE) $(DVI_FILES) $(PS_FILES)
# ./svnlog-gen.sh http://newslabx.csie.ntu.edu.tw/svn/R_Publications/SOCA12 log.tex
# $(MAKE) $(DVI_FILES) $(PS_FILES) $(PDF_FILES)
$(MAKE) $(DVI_FILES) $(PDF_FILES)
%.dvi %.log %.aux %.toc : $(EPSFIGURES) $(TEX_FILES)
$(MAKE) $<
@$(ECHO) "----------------------------------------------------------------"
@$(ECHO) "Running $(LATEX) $* for the first time"
@$(ECHO) "----------------------------------------------------------------"
$(TEXPATH)/$(LATEX) $(LsATEXFLAGS) $* $(LATEXSTDOUT)
# Path beamer to be sure to have navigation bar
@if $(EGREP) -q "No file .*nav" $*.log && $(EGREP) -q "beamer" $*.log; then \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Running $(LATEX) again to include navigation bar"; \
$(ECHO) "----------------------------------------------------------------"; \
$(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT); \
fi; \
# end beamer
@if $(EGREP) -q "Rerun to get .*references right" $*.log; then \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Running $(LATEX) again to get references right"; \
$(ECHO) "----------------------------------------------------------------"; \
$(TEXPATH)/$(LATEX) $(LATEXFLAGS) $* $(LATEXSTDOUT) ; \
fi
@if $(EGREP) -q '\\bib(data|cite)' $*.aux; then \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Making Bibliography using $(BIBTEX)"; \
$(ECHO) "----------------------------------------------------------------"; \
$(TEXPATH)/$(BIBTEX) $(BIBTEXFLAGS) $*; \
if [ -f $*.bbl ]; then \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Running $(LATEX) again to include bibliography"; \
$(ECHO) "----------------------------------------------------------------"; \
$(TEXPATH)/$(LATEX) $(LATEXFLAGS) $* $(LATEXSTDOUT); \
fi; \
fi
@-count=5;\
while $(EGREP) -q "Rerun to get .*(references|citations) (right|correct)" $*.log && [ $$count -gt 0 ]; do \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Rerunning $(LATEX), max. $$count times left"; \
$(ECHO) "----------------------------------------------------------------"; \
$(TEXPATH)/$(LATEX) $(LATEXFLAGS) $* $(LATEXSTDOUT); \
count=`expr $$count - 1`; \
done
# Generate pdf file with pdflatex
ifdef USEPDFLATEX
%.pdf : $(TEX_FILES)
$(MAKE) $<
@$(ECHO) "----------------------------------------------------------------"
@$(ECHO) "Running $(PDFLATEX) for the first time..."
@$(ECHO) "----------------------------------------------------------------"
$(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT)
# Path beamer to be sure to have navigation bar
@if $(EGREP) -q "No file .*nav" $*.log && $(EGREP) -q "beamer" $*.log; then \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Running $(PDFLATEX) again to include navigation bar"; \
$(ECHO) "----------------------------------------------------------------"; \
$(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT); \
fi; \
# end beamer
@if $(EGREP) -q "Rerun to get .*references right" $*.log; then \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Running $(PDFLATEX) again to get references right"; \
$(ECHO) "----------------------------------------------------------------"; \
$(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT) ; \
fi
@if $(EGREP) -q '\\bib(data|cite)' $*.aux; then \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Making Bibliography using $(BIBTEX)"; \
$(ECHO) "----------------------------------------------------------------"; \
$(TEXPATH)/$(BIBTEX) $(BIBTEXFLAGS) $*; \
if [ -f $*.bbl ]; then \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Running $(PDFLATEX) again to include bibliography"; \
$(ECHO) "----------------------------------------------------------------"; \
$(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT); \
fi; \
fi
@-count=5; \
while $(EGREP) -q "Rerun to get .*(references|citations) (right|correct)" $*.log && [ $$count -gt 0 ]; do \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Rerunning $(PDFLATEX), max. $$count times left"; \
$(ECHO) "----------------------------------------------------------------"; \
$(TEXPATH)/$(PDFLATEX) $(PDFLATEXFLAGS) $* $(LATEXSTDOUT); \
count=`expr $$count - 1`; \
done; \
cp -f $(PDF_FILES) ~/Dropbox/2Reads/$(OUTFILE).pdf; \
$(ECHO) "-------- DONE --------"
# Generate pdf file with dvi and dvips
else
%.pdf : %.ps
@if [ -s $< ] ; then \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Generating PDF file $@"; \
$(ECHO) "----------------------------------------------------------------"; \
$(TEXPATH)/$(PS2PDF) $(PS2PDFFLAGS) $< $@; \
else \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Skipped creating $@: $< does not exist or is empty"; \
$(ECHO) "----------------------------------------------------------------"; \
fi
endif
%.ps : %.dvi
@if [ -s $< ] ; then \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Generating PS file $@"; \
$(ECHO) "----------------------------------------------------------------"; \
$(TEXPATH)/$(DVIPS) $(DVIPSFLAGSPDF) $< -o $*.ps ; \
else \
$(ECHO) "----------------------------------------------------------------"; \
$(ECHO) "Skipped creating $@: $< does not exist or is empty"; \
$(ECHO) "----------------------------------------------------------------"; \
fi
cmr: $(PDF_FILES)
@$(ECHO) "----------------------------------------------------------------"
@$(ECHO) "Make CMR Ready for IEEE"
@$(ECHO) "----------------------------------------------------------------"
gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dEmbedAllFonts=true -dSubsetFonts=true -sOutputFile=$(CMR_FILES) -f $(PDF_FILES)
# ps2pdf14 -dPDFSETTINGS=/prepress $(PDF_FILES) $(CMR_FILES)
cleanepsfig:
-rm -f $(FIGURE_DIR)/*.eps $(FIGURE_DIR)/*.bak
cleanpdffig:
-rm -f $(FIGURE_DIR)/*.pdf $(FIGURE_DIR)/*.bak
#cleanfig: cleanepsfig cleanpdffig
cleanfig:
-rm -f $(PDFFIGURES) $(EPSFIGURES)
cleanbiber:
rm -rf `biber --cache`
clean: cleanfig cleanbiber
rsync -Cuavz $(PDF_FILES) ~/Dropbox/2Reads/$(OUTFILE).pdf
-rm -f $(TEX_DIR)/*.aux
-rm -f *.dvi *.ps *.pdf
-rm -f *.aux *.log *.toc *.out
-rm -f *.lof *.lot *.loa *.lol
-rm -f *.nav *.snm *.vrb
-rm -f *.idx *.ind *.ilg *.glo *.gls *.bbl *.blg
-rm -f $(LINKS_FILES)
%.eps : %.fig
@$(ECHO) "----------------------------------------------------------------"
@$(ECHO) "Convert $*.fig to $*.eps and $*.pdf"
@$(ECHO) "----------------------------------------------------------------"
$(FIG2DEV) -L eps $*.fig $*.eps
@if [ -f $*.pdf ]; then \
$(ECHO) "$*.pdf is there"; \
rm -f $*.pdf; \
fi
epstopdf $*.eps
%.pdf : %.fig %.eps
@$(ECHO) "----------------------------------------------------------------"
@$(ECHO) "Convert $*.eps to $*.pdf"
@$(ECHO) "----------------------------------------------------------------"
if [ -f $*.eps ]; then \
epstopdf $*.eps \
else \
$(FIG2DEV) -L pdf -P $*.fig $*.pdf \
fi
help:
@$(ECHO) "Usage: make <target>[.dvi,.ps,.pdf]"
@$(ECHO) "Options:"
@$(ECHO) " - make help display this message"
@$(ECHO) " - make clean remove all intermediate generated file"
@$(ECHO) " - make cleanfig remove all intermediate figures"
link: $(LINKS_FILES)
bibliography.bib:
$(LN) $(HOME)/notes/bibDB/bibliography.bib .
MySetting.tex:
$(LN) $(HOME)/notes/tex_config/MySetting.tex .
latex8.bst:
$(LN) $(HOME)/notes/tex_config/latex8.bst .
latex8.sty:
$(LN) $(HOME)/notes/tex_config/latex8.sty .
latex8_unsrt.bst:
$(LN) $(HOME)/notes/tex_config/latex8_unsrt.bst .
myColor.sty:
$(LN) $(HOME)/notes/tex_config/myColor.sty .
svn-multi.sty:
$(LN) $(HOME)/notes/tex_config/svn-multi.sty .
prelim2e.sty:
$(LN) $(HOME)/notes/tex_config/prelim2e.sty .
mycolor.cfg:
$(LN) $(HOME)/notes/tex_config/mycolor.cfg .
ntu_techrpt_cover.sty:
$(LN) $(HOME)/notes/tex_config/ntu_techrpt_cover.sty .
coverart.eps:
$(LN) $(HOME)/notes/tex_config/figures/coverart.eps ./figures/.
ieeeconf.cls:
$(LN) $(HOME)/notes/tex_config/ieeeconf.cls .
IEEEtran.cls:
$(LN) $(HOME)/notes/tex_config/IEEEtran.cls .

+ 142
- 0
trunk/RTCSA_SS/MixedPublicPrivate_IoT.tex View File

@ -0,0 +1,142 @@
\documentclass[conference]{./IEEEtran}
\usepackage{ntu_techrpt_cover}
%% \documentclass{sig-alternate-05-2015}
\pdfpagewidth=8.5truein
\pdfpageheight=11truein
%% \usepackage{ntu_techrpt_cover_acm}
\usepackage{algorithm}
\usepackage[noend]{algorithmic}
\usepackage{graphicx}
\usepackage{times}
\usepackage{psfrag}
\usepackage[tight]{subfigure}
\usepackage{setspace}
\usepackage{listings}
\usepackage{epsfig}
\usepackage{multirow}
\usepackage{flushend}
\usepackage{longtable}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{url}
\setstretch{0.88}
\usepackage{tabularx}
\usepackage[backend=biber,sorting=none]{biblatex}
\DeclareSourcemap{
\maps[datatype=bibtex]{
\map{
\step[fieldsource=url, match=\regexp{http://(ieeexplore.ieee.org/|dx.doi.org/|dl.acm.org/)}, final]
\step[fieldset=url, null]
\step[fieldset=urldate, null]
\step[fieldset=doi, null]
\step[fieldset=ISBN, null]
}
}
}
\renewcommand*{\bibfont}{\footnotesize}
%% \renewcommand*{\bibfont}{\small}
\addbibresource{MetaRoutingforMobileIOTDevices.bib}
\addbibresource{MultiNetwork.bib}
\addbibresource{RACS15-MetaRouting.bib}
\addbibresource{WFIoT.bib}
\usepackage{tikz}
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
\node[shape=circle,draw,inner sep=1pt] (char) {#1};}}
\input{MySetting}
\pdfpagewidth=8.5truein
\pdfpageheight=11truein
\submission{IEEE CPSNA}
%% % To add svn version number in Latex
\usepackage{svn-multi}
%\usepackage[draft,scrtime,time]{prelim2e}
\usepackage[final]{prelim2e}
\usepackage{lastpage}
\svnidlong {$HeadURL: http://newslabx.csie.ntu.edu.tw/svn/R_Publications/SOCA17/trunk/MixedPublicPrivate_IoT.tex $} {$LastChangedDate: 2017-09-17 11:30:53 +0800 (週日, 17 九月 2017) $} {$LastChangedRevision: 2418 $} {$LastChangedBy: cshih $}
\svnid {$Id: MixedPublicPrivate_IoT.tex 2418 2017-09-17 03:30:53Z cshih $}
\reportyear{\svnyear}
\reportmonth{\svnmonth}
\reportnumber{0004}
\renewcommand{\PrelimWords}{Prepared for WFIoT 2016 --
Last Changed Date:{\svnfiledate} -- Rev: {\svnrev} --
Page:{\thepage} of {\pageref{LastPage}}}
\begin{document}
\title{Federating Public and Private Intelligent Services for IoT
Applications}
%% \author{
%% <Removed for review> \\
%% \small{<Removed for review>} \\
%% \small{<Removed for review>} \\
%% \small{<Removed for review>}
%% }
%% \author{\IEEEauthorblockN{Sen Zhou\IEEEauthorrefmark{1}, Kwei-Jay Lin\IEEEauthorrefmark{1} and Chi-Sheng Shih\IEEEauthorrefmark{2}} \\
%% %\institute{
%% \IEEEauthorblockA{\IEEEauthorrefmark{1}Department of EECS, University of California, Irvine, USA}
%% \IEEEauthorblockA{\IEEEauthorrefmark{2}Department of Computer Science, National Taiwan University, Taiwan}
%% %\textit{\{senz, klin\}@uci.edu}\\
%% }
\author{
\small{{Chi-Sheng Shih}}\\
\small{\tt cshih@csie.ntu.edu.tw}\\
\small{Embedded Systems and Wireless Networking Lab}\\
\small{Graduate Institute of Networking and Multimedia}\\
\small{NTU IoX Research Center}\\
\small{Department of Computer Science and Information Engineering}\\
\small{National Taiwan University, Taipei, Taiwan}
}
%% %% To make report cover
\thispagestyle{empty}
\makecover
\newpage
%% %% To add revision log
%% \thispagestyle{empty}
%% \onecolumn
%% \input{log}
%% \newpage
% \input{todos}
\onecolumn
\todototoc
\listoftodos
\twocolumn
\newpage
\setcounter{table}{0}
\setcounter{page}{0}
\twocolumn
\maketitle
\input{00Abstract}
\input{01Introduction}
\input{02Background}
\input{03Design}
\input{04Evaluation}
\input{05Conclusion}
%% \input{Acknowledge}
%% \bibliographystyle{ieeetr}
%% \bibliography{ImpreciseComputationOverCloud}
\printbibliography
\end{document}

+ 117
- 0
trunk/RTCSA_SS/MySetting.tex View File

@ -0,0 +1,117 @@
% theorem-like environments
% \newtheorem{thm}{Theorem}[section]
% \newtheorem{cor}[thm]{Corollary}
% \newtheorem{lem}[thm]{Lemma}
% \newtheorem{definition}[thm]{Definition}
\newtheorem{prop}{Proposition}
% Definitions for old versions
%% \newtheorem*{algorithm}{Algorithm}
%% \theoremstyle{remark}
%% \newtheorem*{rmk}{Remark}
%% \newtheorem*{ToJane}{To Jane}
%% \newtheorem*{ToDaniel}{To Daniel}
%% \theoremstyle{plain}
%% \newtheorem*{rd_algorithm}{Reference Deadline Algorithm}
%% \newtheorem*{edf_rd}{EDF-RD Algorithm}
%% \newtheorem*{PSA}{Period Synthesis Algorithm}
%% \newtheorem*{priority_boosting_edf}{Priority-Boosting EDF Algorithm}
%% % Using symbole as the footnote mark
%% %\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\newtheorem{plain_definition}{Definition}
%% \def\singlespace{\baselineskip=11pt plus 2pt}
%% \def\oneandonehalfspace{\baselineskip=17pt plus 4pt}
%% \def\doublespace{\baselineskip=22pt plus 4pt}
% \def\doublespace{\baselineskip=26pt plus 4pt}
\newtheorem{theorem}{Theorem}
\newtheorem{lemma}{Lemma}
\def\slug{\hbox to 6pt{\hfill}\hfill\llap{\vrule height 6pt width 6pt depth 0pt}}
\def\proof{\futurelet\next{\bf Proof:}}
%\def\endproof{\hfill\slug}
\def\endproof{\slug}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\appear#1{\def\@appear{#1}}
\appear{Conference of Fun}
\newcount\timehh\newcount\timemm
\timehh=\time \divide\timehh by 60
\timemm=\time \count255=\timehh \multiply\count255 by -60 \advance\timemm by \count255
\def\paperdraftheadertime{Draft of \today\ at \ifnum\timehh<10 0\fi\number\timehh\,:\,\ifnum\timemm<10 0\fi\number\timemm}%
\def\paperdraftheaderday{\footnotesize Draft of \today\ for \@appear.\ }%
\def\paperdraftheader{\paperdraftheaderday}
\newcommand{\draft}{\pagestyle{myheadings}\markboth{\paperdraftheader\hfil}{\paperdraftheader\hfil}\setlength {\headheight}{0.3truein}\setlength {\headsep}{0.2truein}}
\def\submission#1{\def\@submission{#1}}
\submission{Conference of Fun}
\def\submitheaderday{\footnotesize Submitted to \@appear.\ }%
\def\submitheader{\submitheaderday}
\newcommand{\submit}{\pagestyle{myheadings}\markboth{\submitheader\hfil}{\submitheader\hfil}\setlength {\headheight}{0.3truein}\setlength {\headsep}{0.2truein}}
\def\appearinheaderday{\footnotesize Appeared in \@appear.\ }
\def\appearinheader{\appearinheaderday}
\newcommand{\appearin}{\pagestyle{myheadings}\markboth{\appearinheader\hfil}{\appearinheader\hfil}\setlength {\headheight}{0.3truein}\setlength {\headsep}{0.2truein}}
\def\u#1{\underline{#1}}
\newcommand{\good}{\ding{51}}
\newcommand{\bad}{\ding{55}}
\font\tenhv = phvb at 10pt
\def\easycaption#1{\vskip 10pt \centerline{\tenhv #1}}
\font\tenhvs = phvb at 8pt
% ---- OPERATORS (requires amsmath) ----
\def\aff{\operatorname{aff}} % (\Line is better!)
\def\area{\operatorname{area}}
\def\argmax{\operatornamewithlimits{arg\,max}}
\def\argmin{\operatornamewithlimits{arg\,min}}
\def\Aut{\operatorname{Aut}} % Automorphism group
\def\card{\operatorname{card}} % cardinality, deprecated for \abs
\def\conv{\operatorname{conv}} % (\overline is better!)
\def\E{\operatorname{E}} % Expectation: $\E[X]$ (like \Pr)
\def\EE{\operatornamewithlimits{E}}
\def\Hom{\operatorname{Hom}} % Homomorphism group
\def\id{\operatorname{id}} % identity
\def\im{\operatorname{im}} % image
\def\lcm{\operatorname{lcm}}
\def\lfs{\operatorname{lfs}} % local feature size
\def\poly{\operatorname{poly}}
\def\polylog{\operatorname{polylog}}
\def\rank{\operatorname{rank}}
\def\rel{\operatorname{rel\,}} % relative (interior, boundary, etc.)
\def\sgn{\operatorname{sgn}}
\def\vol{\operatorname{vol}} % volume
\def\fp#1{^{\underline{#1}}} % falling powers: $n\fp{d}$
\def\rp#1{^{\overline{#1}}} % rising powers: $n\rp{d}$
\usepackage{color,soul}
\usepackage{myColor}
\input{mycolor.cfg}
\newcommand{\ap}{\ding{51}}
\newcommand{\nap}{\ding{55}}
\usepackage[colorinlistoftodos]{todonotes}
%% \usepackage{easyReview}
\newcommand{\add}[1]{\todo[color=red!40,inline]{#1}}
\newcommand{\rewrite}[1]{\todo[color=green!40,inline]{#1}}
%
%
% \newcommand{\argmax}{\mathop}{\mathrm{argmax}}}

+ 59
- 0
trunk/RTCSA_SS/WFIoT.bib View File

@ -0,0 +1,59 @@
@inproceedings{Blackstock14,
author = {Blackstock, Michael and Lea, Rodger},
title = {Toward a Distributed Data Flow Platform for the Web of Things (Distributed Node-RED)},
booktitle = {Proceedings of the 5th International Workshop on Web of Things},
series = {WoT '14},
year = {2014},
isbn = {978-1-4503-3066-4},
location = {Cambridge, MA, USA},
pages = {34--39},
numpages = {6},
url = {http://doi.acm.org/10.1145/2684432.2684439},
doi = {10.1145/2684432.2684439},
acmid = {2684439},
publisher = {ACM},
address = {New York, NY, USA},
keywords = {Distributed data flow, Internet of things, Node-RED, Visual data flow languages, Web of things, toolkits},
}
@article{Khan16,
author = {Khan, Muhammad Sohail and Kim, DoHyeun},
title = {DIY Interface for Enhanced Service Customization of Remote IoT Devices: A CoAP Based Prototype},
journal = {Int. J. Distrib. Sen. Netw.},
issue_date = {January 2015},
volume = {2015},
month = jan,
year = {2016},
issn = {1550-1329},
pages = {185:185--185:185},
articleno = {185},
numpages = {1},
url = {http://dx.doi.org/10.1155/2015/542319},
doi = {10.1155/2015/542319},
acmid = {2929742},
publisher = {Taylor \& Francis, Inc.},
address = {Bristol, PA, USA},
}
@Misc{Revolv16,
author = {Nick Statt},
title = {{NEST} is permanently disabling the {Revolv} smart home hub},
url = {http://www.theverge.com/2016/4/4/11362928/google-nest-revolv-shutdown-smart-home-products},
howpublished = {\url{http://www.theverge.com/2016/4/4/11362928/google-nest-revolv-shutdown-smart-home-products}},
month = {April},
year = {2016},
note = {Last access: June 26th, 2016},
OPTannote = {}
}
@Misc{nodeRED,
author = {{IBM Emerging Technology organization}},
title = {Nest is permanently disabling the Revolv smart home hub},
url = {http://nodered.org},
howpublished = {\url{http://nodered.org}},
year = {2013},
note = {Last access: June 26th, 2016},
OPTannote = {}
}

+ 11
- 0
trunk/RTCSA_SS/bibliography.bib View File

@ -0,0 +1,11 @@
@InProceedings{Shih14a,
author = {Shih, Chi-Sheng and Chou, Chun-Ting and Lin, Kwei-Jay and Tsai, Bo-Lun and Lee, Chen-Husan and Cheng, Doug and Chou, Jyun-Jhe},
title = {Out-of-box Device Management for Large Scale
Cyber-Physical Systems},
booktitle = {the IEEE International Conference on Cyber-Physical-Social Computing},
year = {2014},
OPTpages = {},
month = {September},
address = {Taipei, Taiwan},
publisher = {IEEE Xplore}
}

+ 4592
- 0
trunk/RTCSA_SS/ieeeconf.cls
File diff suppressed because it is too large
View File


+ 0
- 0
trunk/RTCSA_SS/log.tex View File


+ 17
- 0
trunk/RTCSA_SS/myColor.sty View File

@ -0,0 +1,17 @@
\RequirePackage{color,calc}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{myColor}
[2000/10/26 v1.0 LaTeX package for colored paragraphs.]
\usepackage{color,calc}
\newcommand{\cmcolor}{}
\newenvironment{cminipage}[1][white]%
{%\setlength{\fboxsep}{-\fboxrule}
\renewcommand{\cmcolor}{#1}\noindent%
\begin{lrbox}{\@tempboxa}%
\begin{minipage}{\linewidth-2\fboxsep}}%
{ \end{minipage}%
\end{lrbox}%
\colorbox{\cmcolor}{\usebox{\@tempboxa}}}%
%%
%%
%% End of file `myColor.sty'.

+ 95
- 0
trunk/RTCSA_SS/mycolor.cfg View File

@ -0,0 +1,95 @@
\DefineNamedColor{named}{GreenYellow} {cmyk}{0.15,0,0.69,0}
\DefineNamedColor{named}{Yellow} {cmyk}{0,0,1,0}
\DefineNamedColor{named}{Goldenrod} {cmyk}{0,0.10,0.84,0}
\DefineNamedColor{named}{Dandelion} {cmyk}{0,0.29,0.84,0}
\DefineNamedColor{named}{Apricot} {cmyk}{0,0.32,0.52,0}
\DefineNamedColor{named}{Peach} {cmyk}{0,0.50,0.70,0}
\DefineNamedColor{named}{Melon} {cmyk}{0,0.46,0.50,0}
\DefineNamedColor{named}{YellowOrange} {cmyk}{0,0.42,1,0}
\DefineNamedColor{named}{Orange} {cmyk}{0,0.61,0.87,0}
\DefineNamedColor{named}{BurntOrange} {cmyk}{0,0.51,1,0}
\DefineNamedColor{named}{Bittersweet} {cmyk}{0,0.75,1,0.24}
\DefineNamedColor{named}{RedOrange} {cmyk}{0,0.77,0.87,0}
\DefineNamedColor{named}{Mahogany} {cmyk}{0,0.85,0.87,0.35}
\DefineNamedColor{named}{Maroon} {cmyk}{0,0.87,0.68,0.32}
\DefineNamedColor{named}{BrickRed} {cmyk}{0,0.89,0.94,0.28}
\DefineNamedColor{named}{Red} {cmyk}{0,1,1,0}
\DefineNamedColor{named}{OrangeRed} {cmyk}{0,1,0.50,0}
\DefineNamedColor{named}{RubineRed} {cmyk}{0,1,0.13,0}
\DefineNamedColor{named}{WildStrawberry}{cmyk}{0,0.96,0.39,0}
\DefineNamedColor{named}{Salmon} {cmyk}{0,0.53,0.38,0}
\DefineNamedColor{named}{CarnationPink} {cmyk}{0,0.63,0,0}
\DefineNamedColor{named}{Magenta} {cmyk}{0,1,0,0}
\DefineNamedColor{named}{VioletRed} {cmyk}{0,0.81,0,0}
\DefineNamedColor{named}{Rhodamine} {cmyk}{0,0.82,0,0}
\DefineNamedColor{named}{Mulberry} {cmyk}{0.34,0.90,0,0.02}
\DefineNamedColor{named}{RedViolet} {cmyk}{0.07,0.90,0,0.34}
\DefineNamedColor{named}{Fuchsia} {cmyk}{0.47,0.91,0,0.08}
\DefineNamedColor{named}{Lavender} {cmyk}{0,0.48,0,0}
\DefineNamedColor{named}{Thistle} {cmyk}{0.12,0.59,0,0}
\DefineNamedColor{named}{Orchid} {cmyk}{0.32,0.64,0,0}
\DefineNamedColor{named}{DarkOrchid} {cmyk}{0.40,0.80,0.20,0}
\DefineNamedColor{named}{Purple} {cmyk}{0.45,0.86,0,0}
\DefineNamedColor{named}{Plum} {cmyk}{0.50,1,0,0}
\DefineNamedColor{named}{Violet} {cmyk}{0.79,0.88,0,0}
\DefineNamedColor{named}{RoyalPurple} {cmyk}{0.75,0.90,0,0}
\DefineNamedColor{named}{BlueViolet} {cmyk}{0.86,0.91,0,0.04}
\DefineNamedColor{named}{Periwinkle} {cmyk}{0.57,0.55,0,0}
\DefineNamedColor{named}{CadetBlue} {cmyk}{0.62,0.57,0.23,0}
\DefineNamedColor{named}{CornflowerBlue}{cmyk}{0.65,0.13,0,0}
\DefineNamedColor{named}{MidnightBlue} {cmyk}{0.98,0.13,0,0.43}
\DefineNamedColor{named}{NavyBlue} {cmyk}{0.94,0.54,0,0}
\DefineNamedColor{named}{RoyalBlue} {cmyk}{1,0.50,0,0}
\DefineNamedColor{named}{Blue} {cmyk}{1,1,0,0}
\DefineNamedColor{named}{Cerulean} {cmyk}{0.94,0.11,0,0}
\DefineNamedColor{named}{Cyan} {cmyk}{1,0,0,0}
\DefineNamedColor{named}{ProcessBlue} {cmyk}{0.96,0,0,0}
\DefineNamedColor{named}{SkyBlue} {cmyk}{0.62,0,0.12,0}
\DefineNamedColor{named}{Turquoise} {cmyk}{0.85,0,0.20,0}
\DefineNamedColor{named}{TealBlue} {cmyk}{0.86,0,0.34,0.02}
\DefineNamedColor{named}{Aquamarine} {cmyk}{0.82,0,0.30,0}
\DefineNamedColor{named}{BlueGreen} {cmyk}{0.85,0,0.33,0}
\DefineNamedColor{named}{Emerald} {cmyk}{1,0,0.50,0}
\DefineNamedColor{named}{JungleGreen} {cmyk}{0.99,0,0.52,0}
\DefineNamedColor{named}{SeaGreen} {cmyk}{0.69,0,0.50,0}
\DefineNamedColor{named}{Green} {cmyk}{1,0,1,0}
\DefineNamedColor{named}{ForestGreen} {cmyk}{0.91,0,0.88,0.12}
\DefineNamedColor{named}{PineGreen} {cmyk}{0.92,0,0.59,0.25}
\DefineNamedColor{named}{LimeGreen} {cmyk}{0.50,0,1,0}
\DefineNamedColor{named}{YellowGreen} {cmyk}{0.44,0,0.74,0}
\DefineNamedColor{named}{SpringGreen} {cmyk}{0.26,0,0.76,0}
\DefineNamedColor{named}{OliveGreen} {cmyk}{0.64,0,0.95,0.40}
\DefineNamedColor{named}{RawSienna} {cmyk}{0,0.72,1,0.45}
\DefineNamedColor{named}{Sepia} {cmyk}{0,0.83,1,0.70}
\DefineNamedColor{named}{Brown} {cmyk}{0,0.81,1,0.60}
\DefineNamedColor{named}{Tan} {cmyk}{0.14,0.42,0.56,0}
\DefineNamedColor{named}{LightGray} {cmyk}{0.1,0.1,0.1,0.1}
\DefineNamedColor{named}{Gray} {cmyk}{0,0,0,0.50}
\DefineNamedColor{named}{DarkGray} {cmyk}{0.1,0.1,0.1,0.8}
\DefineNamedColor{named}{Black} {cmyk}{0,0,0,1}
\DefineNamedColor{named}{White} {cmyk}{0,0,0,0}
\definecolor{lightgray}{named}{LightGray}
\definecolor{gray}{named}{Gray}
\definecolor{darkgray}{named}{DarkGray}
\newcommand\black {\color{black}}
\newcommand\darkgray {\color{darkgray}}
\newcommand\gray {\color{gray}}
\newcommand\lightgray{\color{lightgray}}
\newcommand\white {\color{white}}
\newcommand\blue {\color{Blue}}
\newcommand\red {\color{red}}
\newcommand\green {\color{green}}
\newcommand\yellow {\color{yellow}}
\newcommand\magenta {\color{magenta}}
\newcommand\cyan {\color{cyan}}
% \newenvironment{newtext}{\begin{center}
% ==== START of NEW CONTENT ====
% \end{center}\blue\bf}{\black\rm\begin{center}
% ==== END of NEW CONTENT ====
% \end{center}}
\fboxsep=8pt
\fboxrule=1.25pt

+ 255
- 0
trunk/RTCSA_SS/ntu_techrpt_cover.sty View File

@ -0,0 +1,255 @@
% NTU News Lab Cover style
% Extended from UC CS REPORT COVER STYLE
% Provides a command, \makecover, that produces a UC CS technical report
% cover (complete with campanile logo), and then resets the page number.
% Copyright (C) 1993, 1994 by Paul N. Hilfinger. All rights reserved.
% Permission to copy this file and use after suitable modification is granted,
% provided that this notice be retained on the copy and that no change is
% made to the format of the text of the report number without the author's
% permission.
% To use:
%
% 1. Include ntu_techrpt_cover as a style parameter in the \documentstyle
% command.
% 2. Use the declarations \author, \title, \reportmonth,
% \reportyear, and \reportnumber to supply the necessary
%information for the cover. These declarations
% typically go in the prelude. For example,
%
% \author{P. N. Hilfinger}
% \title{LaTeX: Threat or Menace?}
% \reportmonth{April}
% \reportyear{1993}
% \reportnumber{42}
%
% You may also leave off \reportyear and \reportmonth, and put the
%entire report designation in \reportnumber. This use is deprecated,
%but retained for backwards compatibility. For example,
% \author{P. N. Hilfinger}
% \title{LaTeX: Threat or Menace?}
% \date{April 1993}
% \reportnumber{93-42}
% 3. If you wish to use the ugly official format (with the form
%UCB//CSD-94-nn rather than UCB/CSD-94-nn), include also the
% declaration
% \useuglyformat
% with \title, \reportmonth, etc.
% 4. Put a \makecover command immediately after \begin{document}
%
% This file requires the auxiliary Postscript file coverart.eps.
% TO INSTALL:
% 1. Put coverart.ps in some appropriate directory.
% 2. Change the following declaration to give the right path name (see 1)
% for coverart.eps. This must be a full path name (starting with
% /).
\RequirePackage{graphicx}
\RequirePackage{eso-pic}
%% \RequirePackage{pdfpages}
\newcommand\BackgroundPicObselete{%
\put(-0,0){%
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\includegraphics[width=0.80\paperwidth,height=\paperheight,%
keepaspectratio]{figures/coverart}%
%% \includegraphics[width=0.90\paperwidth,height=\paperheight,%
%% keepaspectratio,bb=0 0 560 763]{figures/coverart}%
%% \includepdf[scale=0.90,pagecommand={},pages={-}]{figures/coverart.pdf}%
\vfill
}}}
\newcommand\MyAtPageCenter[1]{\AtPageUpperLeft{%
\put(\LenToUnit{.5\paperwidth},\LenToUnit{-.5\paperheight}){#1}}%
}
\newcommand\BackgroundPic{%
\AtPageCenter{% Picture is centred on page
\makebox[0pt]{% Horizontally centred
\raisebox{-0.5\height}{% Vertically centred
\includegraphics[scale=1.0]{figures/coverart}}}}}% Actual image
\DeclareOption{letterpaper}{\def\@coverart{\AddToShipoutPictureBG*{\BackgroundPic}}%
\typeout{-- This is defined for letterpaper cover.}}
\DeclareOption{a4paper}{\def\@coverart{\AddToShipoutPictureBG*{\BackgroundPic}}%
\typeout{-- This is defined for a4paper cover.}}
%% \DeclareOption{letterpaper}{\def\@coverart{\special{psfile=figures/coverart.eps %
%% hoffset=-50 voffset=-700 hscale=100 vscale=100}}%
%% \typeout{-- This is defined for letterpaper.}}
%% \DeclareOption{a4paper}{\def\@coverart{\special{psfile=figures/coverart.eps %
%% hoffset=-55 voffset=-740 hscale=100 vscale=100}}%
%% \typeout{-- This is defined for a4paper.}}
% default to A4 paper, 10pt, twocolumn, one sided, final, journal
\ExecuteOptions{a4paper}
% overrride these defaults per user requests
\ProcessOptions
% For a4paper
% \def\@coverart{\special{psfile=figures/coverart.eps hoffset=-55 voffset=-740 hscale=100 vscale=100}}
% For letter
%% \def\@coverart{\special{psfile=figures/coverart.eps hoffset=-50 voffset=-700 hscale=100 vscale=100}}
\def\reportnumber#1{\def\@reportnumber{#1}}
\def\reportmonth#1{\def\@reportmonth{#1}}
\def\reportyear#1{\def\@reportyear{#1}}
\def\email#1{\def\@email{#1}}
\def\@reportnumber{?}
\def\@reportmonth{}
\def\@reportyear{}
\def\@numberformatter{Report No.~NTU/NEWS-\@reportdesignator}
\def\useuglyformat{%
\gdef\@numberformatter{Report No.~NTU//NEWS-\@reportdesignator}%
}
\def\makecover{
\ifx\@empty\@reportyear%
\def\@reportdesignator{\@reportnumber}
\else%
\date{\@reportmonth\ \@reportyear}%
\@tempcnta\@reportyear%
\divide\@tempcnta by 100%
\multiply\@tempcnta by 100%
\@tempcntb\@reportyear%
\advance\@tempcntb-\@tempcnta%
\edef\@reportdesignator{\the\@tempcntb-\@reportnumber}%
\fi
\shipout\vbox to 7true in{
\hsize=7.4375true in\parindent=0.5true in
{\@coverart
\vbox to 1.25true in{\vfil}
\hspace*{-1.0true in}
\noindent\begin{minipage}[t]{6.9375 true in}
\def\thanks##1{\relax}
\LARGE\bf
\begin{center}
\@title
\end{center}
\end{minipage}
\vbox to 0.625true in{\vfil}
% 6.9375
% \noindent\begin{minipage}[t]{6.9375 true in}
% \Large\it
% \begin{center}
% \hspace*{-0.8in}{\lineskip .75em\begin{tabular}[t]{|p{12cm}|}\@author\end{tabular}\par}%
% \end{center}
% \end{minipage}
\hspace*{-1.0true in}
\noindent\begin{minipage}[t]{6.9375 true in}
\large
\begin{center}
\@author
\end{center}
\end{minipage}
\vfil
\begin{center}
\hspace{-1.25true in}Copyright \copyright \@reportyear, National Taiwan University.
\end{center}
\begin{center}
\hrule width 440pt depth 0.5pt height 1pt
\end{center}
\vspace{1cm}
\hspace*{2.5true in}
\begin{minipage}[t]{3.75in}
\parindent=0pt
{\bf \@numberformatter}
\vspace{1ex}
\noindent \@date
\vspace{16ex}
\small
Wireless Networking and Embedded Systems (NEWS) Group\\
Graduate Institute of Networking and Multimedia \\
Department of Computer Science and Information Engineering \\
National Taiwan University \\
Taipei, Taiwan 106 \\ \\ \\
\end{minipage}
}}
}
%% \def\makecoverRB{
%% \ifx\@empty\@reportyear%
%% \def\@reportdesignator{\@reportnumber}
%% \else%
%% \date{\@reportmonth\ \@reportyear}%
%% \@tempcnta\@reportyear%
%% \divide\@tempcnta by 100%
%% \multiply\@tempcnta by 100%
%% \@tempcntb\@reportyear%
%% \advance\@tempcntb-\@tempcnta%
%% \edef\@reportdesignator{\the\@tempcntb-\@reportnumber}%
%% \fi
%% \shipout\vbox to 7true in{
%% \hsize=7.4375true in\parindent=0.5true in
%% {\@coverartRB
%% \vbox to 1.25true in{\vfil}
%% \hspace*{-1.0true in}
%% \noindent\begin{minipage}[t]{6.9375 true in}
%% \def\thanks##1{\relax}
%% \LARGE\bf
%% \begin{center}
%% \@title
%% \end{center}
%% \end{minipage}
%% \vbox to 0.625true in{\vfil}
%% % 6.9375
%% % \noindent\begin{minipage}[t]{6.9375 true in}
%% % \Large\it
%% % \begin{center}
%% % \hspace*{-0.8in}{\lineskip .75em\begin{tabular}[t]{|p{12cm}|}\@author\end{tabular}\par}%
%% % \end{center}
%% % \end{minipage}
%% \hspace*{-1.0true in}
%% \noindent\begin{minipage}[t]{6.9375 true in}
%% \large
%% \begin{center}
%% \@author
%% \end{center}
%% \end{minipage}
%% \vfil
%% \begin{center}
%% \hspace{-1.25true in}Copyright \copyright \@reportyear, National Taiwan University.
%% \end{center}
%% \begin{center}
%% \hrule width 440pt depth 0.5pt height 1pt
%% \end{center}
%% \vspace{1cm}
%% \hspace*{2.5true in}
%% \begin{minipage}[t]{3.75in}
%% \parindent=0pt
%% {\bf \@numberformatter}
%% \vspace{1ex}
%% \noindent \@date
%% \vspace{14ex}
%% \small
%% Wireless Networking and Embedded Systems (NEWS) Lab \\
%% Graduate Institute of Networking and Multimedia \\
%% Department of Computer Science and Information Engineering \\
%% National Taiwan University \\
%% Taipei, Taiwan 106
%% \end{minipage}
%% }}
%% }

+ 256
- 0
trunk/RTCSA_SS/ntu_techrpt_cover_acm.sty View File

@ -0,0 +1,256 @@
% NTU News Lab Cover style
% Extended from UC CS REPORT COVER STYLE
% Provides a command, \makecover, that produces a UC CS technical report
% cover (complete with campanile logo), and then resets the page number.
% Copyright (C) 1993, 1994 by Paul N. Hilfinger. All rights reserved.
% Permission to copy this file and use after suitable modification is granted,
% provided that this notice be retained on the copy and that no change is
% made to the format of the text of the report number without the author's
% permission.
% To use:
%
% 1. Include ntu_techrpt_cover as a style parameter in the \documentstyle
% command.
% 2. Use the declarations \author, \title, \reportmonth,
% \reportyear, and \reportnumber to supply the necessary
%information for the cover. These declarations
% typically go in the prelude. For example,
%
% \author{P. N. Hilfinger}
% \title{LaTeX: Threat or Menace?}
% \reportmonth{April}
% \reportyear{1993}
% \reportnumber{42}
%
% You may also leave off \reportyear and \reportmonth, and put the
%entire report designation in \reportnumber. This use is deprecated,
%but retained for backwards compatibility. For example,
% \author{P. N. Hilfinger}
% \title{LaTeX: Threat or Menace?}
% \date{April 1993}
% \reportnumber{93-42}
% 3. If you wish to use the ugly official format (with the form
%UCB//CSD-94-nn rather than UCB/CSD-94-nn), include also the
% declaration
% \useuglyformat
% with \title, \reportmonth, etc.
% 4. Put a \makecover command immediately after \begin{document}
%
% This file requires the auxiliary Postscript file coverart.eps.
% TO INSTALL:
% 1. Put coverart.ps in some appropriate directory.
% 2. Change the following declaration to give the right path name (see 1)
% for coverart.eps. This must be a full path name (starting with
% /).
\RequirePackage{graphicx}
\RequirePackage{eso-pic}
%% \RequirePackage{pdfpages}
\newcommand\BackgroundPicObselete{%
\put(-0,0){%
\parbox[b][\paperheight]{\paperwidth}{%
\vfill
\centering
\includegraphics[width=0.80\paperwidth,height=\paperheight,%
keepaspectratio]{figures/coverart}%
%% \includegraphics[width=0.90\paperwidth,height=\paperheight,%
%% keepaspectratio,bb=0 0 560 763]{figures/coverart}%
%% \includepdf[scale=0.90,pagecommand={},pages={-}]{figures/coverart.pdf}%
\vfill
}}}
\newcommand\MyAtPageCenter[1]{\AtPageUpperLeft{%
\put(\LenToUnit{.5\paperwidth},\LenToUnit{-.5\paperheight}){#1}}%
}
\newcommand\BackgroundPic{%
\AtPageCenter{% Picture is centred on page
\makebox[600pt]{% Horizontally centred
\raisebox{-1\height}{% Vertically centred
\includegraphics[scale=1.0]{figures/coverart}}}}}% Actual image
\DeclareOption{letterpaper}{\def\@coverart{\AddToShipoutPictureBG*{\BackgroundPic}}%
\typeout{-- This is defined for letterpaper cover.}}
\DeclareOption{a4paper}{\def\@coverart{\AddToShipoutPictureBG*{\BackgroundPic}}%
\typeout{-- This is defined for a4paper cover.}}
%% \DeclareOption{letterpaper}{\def\@coverart{\special{psfile=figures/coverart.eps %
%% hoffset=-50 voffset=-700 hscale=100 vscale=100}}%
%% \typeout{-- This is defined for letterpaper.}}
%% \DeclareOption{a4paper}{\def\@coverart{\special{psfile=figures/coverart.eps %
%% hoffset=-55 voffset=-740 hscale=100 vscale=100}}%
%% \typeout{-- This is defined for a4paper.}}
% default to A4 paper, 10pt, twocolumn, one sided, final, journal
\ExecuteOptions{a4paper}
% overrride these defaults per user requests
\ProcessOptions
% For a4paper
% \def\@coverart{\special{psfile=figures/coverart.eps hoffset=-55 voffset=-740 hscale=100 vscale=100}}
% For letter
%% \def\@coverart{\special{psfile=figures/coverart.eps hoffset=-50 voffset=-700 hscale=100 vscale=100}}
\def\reportnumber#1{\def\@reportnumber{#1}}
\def\reportmonth#1{\def\@reportmonth{#1}}
\def\reportyear#1{\def\@reportyear{#1}}
\def\email#1{\def\@email{#1}}
\def\@reportnumber{?}
\def\@reportmonth{}
\def\@reportyear{}
\def\@numberformatter{Report No.~NTU/NEWS-\@reportdesignator}
\def\useuglyformat{%
\gdef\@numberformatter{Report No.~NTU//NEWS-\@reportdesignator}%
}
\def\makecover{
\ifx\@empty\@reportyear%
\def\@reportdesignator{\@reportnumber}
\else%
\date{\@reportmonth\ \@reportyear}%
\@tempcnta\@reportyear%
\divide\@tempcnta by 100%
\multiply\@tempcnta by 100%
\@tempcntb\@reportyear%
\advance\@tempcntb-\@tempcnta%
\edef\@reportdesignator{\the\@tempcntb-\@reportnumber}%
\fi
\shipout\vbox to 7true in{
\hsize=7.4375true in\parindent=0.5true in
{\@coverart
\vbox to 1.25true in{\vfil}
\hspace*{-1.0true in}
\noindent\begin{minipage}[t]{6.9375 true in}
\def\thanks##1{\relax}
\LARGE\bf
\begin{center}
\@title
\end{center}
\end{minipage}
\vbox to 0.625true in{\vfil}
% 6.9375
% \noindent\begin{minipage}[t]{6.9375 true in}
% \Large\it
% \begin{center}
% \hspace*{-0.8in}{\lineskip .75em\begin{tabular}[t]{|p{12cm}|}\@author\end{tabular}\par}%
% \end{center}
% \end{minipage}
\hspace*{-1.0true in}
\noindent\begin{minipage}[t][3.3 true in]{6.9375 true in}
\large
\begin{center}
\@author
\end{center}
\end{minipage}
\vfil
\begin{center}
\hspace{-1.25true in}Copyright \copyright \@reportyear, National Taiwan University.
\end{center}
\begin{center}
\hrule width 440pt depth 0.5pt height 1pt
\end{center}
\vspace{2cm}
\hspace*{2.5true in}
\begin{minipage}[t]{3.75in}
\parindent=0pt
{\bf \@numberformatter}
\vspace{1ex}
\noindent \@date
\vspace{14ex}
\small
Wireless Networking and Embedded Systems (NEWS) Group\\
Graduate Institute of Networking and Multimedia \\
Department of Computer Science and Information Engineering \\
National Taiwan University \\
Taipei, Taiwan 106 \\ \\ \\
\end{minipage}
\vspace{14ex}
}}
}
%% \def\makecoverRB{
%% \ifx\@empty\@reportyear%
%% \def\@reportdesignator{\@reportnumber}
%% \else%
%% \date{\@reportmonth\ \@reportyear}%
%% \@tempcnta\@reportyear%
%% \divide\@tempcnta by 100%
%% \multiply\@tempcnta by 100%
%% \@tempcntb\@reportyear%
%% \advance\@tempcntb-\@tempcnta%
%% \edef\@reportdesignator{\the\@tempcntb-\@reportnumber}%
%% \fi
%% \shipout\vbox to 7true in{
%% \hsize=7.4375true in\parindent=0.5true in
%% {\@coverartRB
%% \vbox to 1.25true in{\vfil}
%% \hspace*{-1.0true in}
%% \noindent\begin{minipage}[t]{6.9375 true in}
%% \def\thanks##1{\relax}
%% \LARGE\bf
%% \begin{center}
%% \@title
%% \end{center}
%% \end{minipage}
%% \vbox to 0.625true in{\vfil}
%% % 6.9375
%% % \noindent\begin{minipage}[t]{6.9375 true in}
%% % \Large\it
%% % \begin{center}
%% % \hspace*{-0.8in}{\lineskip .75em\begin{tabular}[t]{|p{12cm}|}\@author\end{tabular}\par}%
%% % \end{center}
%% % \end{minipage}
%% \hspace*{-1.0true in}
%% \noindent\begin{minipage}[t]{6.9375 true in}
%% \large
%% \begin{center}
%% \@author
%% \end{center}
%% \end{minipage}
%% \vfil
%% \begin{center}
%% \hspace{-1.25true in}Copyright \copyright \@reportyear, National Taiwan University.
%% \end{center}
%% \begin{center}
%% \hrule width 440pt depth 0.5pt height 1pt
%% \end{center}
%% \vspace{1cm}
%% \hspace*{2.5true in}
%% \begin{minipage}[t]{3.75in}
%% \parindent=0pt
%% {\bf \@numberformatter}
%% \vspace{1ex}
%% \noindent \@date
%% \vspace{14ex}
%% \small
%% Wireless Networking and Embedded Systems (NEWS) Lab \\
%% Graduate Institute of Networking and Multimedia \\
%% Department of Computer Science and Information Engineering \\
%% National Taiwan University \\
%% Taipei, Taiwan 106
%% \end{minipage}
%% }}
%% }

+ 139
- 0
trunk/RTCSA_SS/prelim2e.sty View File

@ -0,0 +1,139 @@
%%
%% This is file `prelim2e.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% prelim2e.dtx (with options: `package')
%%
%% Copyright (C) 1995..2009 by Martin Schroeder.
%%
%% This file is part of the Prelim2e package
%% -----------------------------------------
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 or later.
%%
%% This work has the LPPL maintenance status `maintained'.
%%
%% The Current Maintainer of this work is Martin Schroeder.
%%
%% This work consists of the files prelim2e.dtx and prelim2e.ins
%% and the derived file prelim2e.sty.
%%
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{prelim2e}
[2009/05/29 v1.3 prelim2e Package (MS)]
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%% Digits \0\1\2\3\4\5\6\7\8\9
%% Exclamation \! Double quote \" Hash (number) \#
%% Dollar \$ Percent \% Ampersand \&
%% Acute accent \' Left paren \( Right paren \)
%% Asterisk \* Plus \+ Comma \,
%% Minus \- Point \. Solidus \/
%% Colon \: Semicolon \; Less than \<
%% Equals \= Greater than \> Question mark \?
%% Commercial at \@ Left bracket \[ Backslash \\
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
%% \iffalse meta-comment
%% ===================================================================
%% @LaTeX-package-file{
%% author = {Martin Schr\"oder},
%% version = "1.3",
%% date = "29 May 2009",
%% filename = "prelim2e.sty",
%% address = {Martin Schr\"oder
%% Barmer Stra\"se 14
%% 44137 Dortmund
%% Germany},
%% telephone = "+49-231-1206574",
%% email = "martin@oneiros.de",
%% docstring = "LaTeX package which allows the marking of
%% preliminary versions of a document."
%% }
%% ===================================================================
%% \fi
\newif\if@prelim@draft
\newif\if@prelim@time
\newif\if@prelim@scrtime
\newcommand{\PrelimWords}{}
\DeclareOption{draft}{\@prelim@drafttrue}
\DeclareOption{final}{\@prelim@draftfalse}
\DeclareOption{danish}{%
\renewcommand{\PrelimWords}{Forel\o{}big version}}
\DeclareOption{english}{%
\renewcommand{\PrelimWords}{Preliminary version}}
\DeclareOption{french}{%
\renewcommand{\PrelimWords}{Version pr\'eliminaire}}
\DeclareOption{german}{%
\renewcommand{\PrelimWords}{Vorl\"aufige Version}}
\DeclareOption{italian}{%
\renewcommand{\PrelimWords}{Versione preliminare}}
\DeclareOption{norsk}{%
\renewcommand{\PrelimWords}{Forel\o{}pig versjon}}
\DeclareOption{time}{\@prelim@timetrue}
\DeclareOption{scrtime}{\@prelim@scrtimetrue\@prelim@timetrue}
\DeclareOption*{%
\if@prelim@scrtime
\PassOptionsToPackage{\CurrentOption}{scrtime}%
\fi
}
\ExecuteOptions{draft,english}
\ProcessOptions\relax
\RequirePackage{everyshi}[1995/01/25]
\if@prelim@scrtime
\RequirePackage{scrtime}
\fi
\newcommand{\PrelimText}{%
\textnormal{%
\footnotesize
\PrelimTextStyle
\PrelimWords{} -- \today
\if@prelim@time
\ -- \thistime
\fi
}%
}
\newcommand{\PrelimTextStyle}{}
\newcommand{\@Prelim@EveryShipout}{%
\bgroup
\dimen\z@=\wd\@cclv
\dimen\@ne=\ht\@cclv
\dimen\tw@=\dp\@cclv
\dimen\thr@@=\dimen1
\advance\dimen\thr@@ by \dimen\tw@
\global\setbox\@cclv\vbox to \dimen\thr@@{%
\hb@xt@\dimen\z@{%
\box\@cclv%
\hss
}%
\vbox to \z@{%
\hb@xt@\dimen\z@{%
\let\protect\relax
\hfill\PrelimText\hfill
}%
\vss
}%
\vss
}%
\wd\@cclv=\dimen\z@
\ht\@cclv=\dimen\@ne
\dp\@cclv=\dimen\tw@
\egroup
}
\if@prelim@draft
\EveryShipout{\@Prelim@EveryShipout}
\fi
\endinput
%%
%% End of file `prelim2e.sty'.

+ 1849
- 0
trunk/RTCSA_SS/svn-multi.sty
File diff suppressed because it is too large
View File


+ 21
- 0
trunk/RTCSA_SS/todos.tex View File

@ -0,0 +1,21 @@
{\bf Todo Lists}:
\begin{longtable}{|c|l|l|p{330px}|}
\hline
\textbf{Mark} & \textbf{Author} &\textbf{Date} & \textbf{Description}\\
\hline
&
cshih &
2017-03-10-10:54 & Start to write
\\
\hline
& cshih & 2017-03-10-10:54 & Replace thesis to paper/works
\\
\hline
& Ginger & 2017-03-18-13:30 & Questions:\\
&&&1. Data exchange detail between server, routers, and users\\
&&&2. Network topology\\
&&&3. What Gaussian distribution means in random allocate.\\
&&&4. Both and Condition mean?\\
\hline
\end{longtable}

Loading…
Cancel
Save