TW201528726A - Relay device - Google Patents
Relay device Download PDFInfo
- Publication number
- TW201528726A TW201528726A TW103137658A TW103137658A TW201528726A TW 201528726 A TW201528726 A TW 201528726A TW 103137658 A TW103137658 A TW 103137658A TW 103137658 A TW103137658 A TW 103137658A TW 201528726 A TW201528726 A TW 201528726A
- Authority
- TW
- Taiwan
- Prior art keywords
- relay
- communication
- unit
- program
- relay device
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/14—Relay systems
- H04B7/15—Active relay systems
- H04B7/155—Ground-based stations
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Information Transfer Between Computers (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
本發明係關於一種支援經由通信網提供各種服務之技術。 The present invention relates to a technology for supporting various services via a communication network.
近年來,變得可利用電子郵件服務或檔案共享服務等藉由經由通信網之資料通信而實現之各種服務。又,企業等中通常亦向從業者提供此種服務,而提昇業務效率。 In recent years, various services realized by data communication via a communication network, such as an e-mail service or a file sharing service, have become available. In addition, companies and the like usually provide such services to practitioners, thereby improving business efficiency.
專利文獻1:日本專利特開2006-254430號公報 Patent Document 1: Japanese Patent Laid-Open Publication No. 2006-254430
為了提供此種服務,需要預先將執行實現該服務之應用程式(即,使電腦執行實現該服務之資料通信之程式)之電腦(以下為伺服器裝置),經由路由器等中繼裝置連接於通信網。又,由於提供之服務之內容而需要充分地注意通信網中之竊聽等,充分地留意安全之確保。因此,對於個人或中小企業等資金匱乏者而言,存在如下問題:多數情形時,難以另外準備執行應用程式之伺服器裝置,或雇傭專業技術者以充分地注意安全確保,而無法簡便地經由通信網提供各種服務。 In order to provide such a service, a computer (hereinafter, a server device) that executes an application that implements the service (that is, a program that causes a computer to execute data communication for the service) is required to be connected to the communication via a relay device such as a router. network. Moreover, due to the content of the services provided, it is necessary to pay sufficient attention to eavesdropping in the communication network, and to fully pay attention to the security. Therefore, for a person with a shortage of funds such as an individual or a small and medium-sized enterprise, there is a problem that in many cases, it is difficult to separately prepare a server device for executing an application, or a professional technician is employed to pay sufficient attention to security assurance, and cannot be easily passed through The communication network provides various services.
專利文獻1中揭示有預先組裝有應用程式之通信機器之發明,但關於專利文獻1中揭示之通信機器,使用者無法自由地進行應用程式 之追加或刪除、變更等。因此,即便使用專利文獻1中揭示之通信機器,使用者亦無法自由地提供所需之服務。 Patent Document 1 discloses an invention in which a communication device of an application is incorporated in advance. However, in the communication device disclosed in Patent Document 1, the user cannot freely execute the application. Add, delete, change, etc. Therefore, even if the communication device disclosed in Patent Document 1 is used, the user is not free to provide the required service.
本發明係鑒於以上說明之問題而完成者,其目的在於提供一種可讓使用者自由且簡便地提供經由通信網之各種服務之技術。 The present invention has been made in view of the above-described problems, and an object thereof is to provide a technology that allows a user to freely and easily provide various services via a communication network.
為了解決上述問題,本發明提供一種中繼裝置,其特徵在於包括:中繼單元,其中繼第1及第2通信網間之資料通信;可覆寫地記憶資料之記憶單元,其記憶應用程式及次程式庫,該應用程式係藉由經由上述第1及第2通信網中之至少一者之資料通信而實現特定之通信服務,該次程式庫係於該應用程式之執行過程中被叫出之次程式之集合體;以及程式執行單元,其執行上述應用程式。 In order to solve the above problems, the present invention provides a relay apparatus, comprising: a relay unit that relays data communication between the first and second communication networks; a memory unit that can memorize memory data, and a memory application And a secondary library that implements a specific communication service by data communication via at least one of the first and second communication networks, the library being called during execution of the application a collection of secondary programs; and a program execution unit that executes the above application.
根據此種中繼裝置,無須另外準備用以執行應用程式之伺服器裝置。又,本發明中係於中繼裝置中執行應用程式,故而無竊聽之擔憂,無須特別考慮安全確保。此外,根據本發明,亦有無須確保對伺服器裝置分配之通信位址,而可節約通信位址之效果。尤其是,由於於上述通信位址為IPv4(Internet Protocol version 4,網際網路協定第四版)之IP(Internet Protocol,網際網路協定)位址之情形時,該匱乏成為較大問題,故而可節約對伺服器裝置分配之IP位址之優點較大。又,根據本發明,由於於先前之通信系統中,經由通信網而進行之中繼裝置-伺服器間之資料通信被替換為經由中繼裝置內之內部匯流排之通信,故而亦期待可減輕上述通信網中之通信量之效果。而且,本發明之中繼裝置與引用文獻1中揭示之通信機器不同,可視使用者之需要而自由地覆寫被記憶單元所記憶之應用程式。又,作為上述次程式庫,只要預先準備使於多種應用程式中被共通執行之處理由程式執行單元執行之次程式之集合體,並將該叫出式樣作為API(Application Programming Interface,應用程式設計介面)公開,則可省去使用者逐 一製作該次程式之工夫。因此,根據本發明,變得可讓使用者自由且簡便地實現經由通信網提供各種服務。 According to such a relay device, it is not necessary to separately prepare a server device for executing an application. Further, in the present invention, the application is executed in the relay device, so there is no fear of eavesdropping, and it is not necessary to particularly consider security. Moreover, according to the present invention, there is also a need to ensure that the communication address assigned to the server device is saved, and the effect of the communication address can be saved. In particular, since the above-mentioned communication address is an IP (Internet Protocol) address of IPv4 (Internet Protocol version 4), this lack becomes a big problem, and thus The advantage of saving the IP address assigned to the server device is greater. Further, according to the present invention, since the communication between the relay device and the server via the communication network is replaced with the communication via the internal bus in the relay device in the prior communication system, it is expected to be alleviated. The effect of the traffic in the above communication network. Further, the relay device of the present invention is different from the communication device disclosed in the reference 1, and can freely overwrite the application stored by the memory unit as needed by the user. Further, as the above-mentioned secondary library, a collection of secondary programs to be executed by the program execution unit in a plurality of applications is prepared in advance, and the calling pattern is used as an API (Application Programming Interface). Interface) open, you can save the user The time to make the program. Therefore, according to the present invention, it becomes possible to allow a user to freely and simply implement various services provided via a communication network.
更佳之態樣之特徵在於:上述程式執行單元於在上述應用程式之執行過程中所叫出之次程式係包含使利用上述中繼單元之資料通信之中繼產生故障之特定處理之程式的情形時,判定是否為藉由上述中繼單元進行資料通信之中繼中,於為中繼中之情形時,在該資料通信結束之前暫停上述特定處理之執行。根據此種態樣,於程式執行單元執行之應用程式中,即便包含使利用中繼單元之資料通信之中繼產生故障之特定處理,若為利用中繼單元之資料通信之中繼中,則在該資料通信結束之前暫停該特定處理之執行。此處,作為使利用中繼單元之資料通信之中繼產生故障之特定處理之具體例,可列舉覆寫中繼此資料通信時所使用之參數(例如該中繼裝置之通信位址等)之處理或重啟中繼裝置之處理。因此,根據本發明,即便使用者不特別注意,亦可避免因執行該特定處理引起之故障(中繼中之資料通信之停止等)之產生。 A further aspect is characterized in that the program execution unit in the execution of the application program includes a program for causing a specific processing of the failure of the relay of the data communication using the relay unit. When it is determined whether or not the relay is performed by the relay unit, in the case of relaying, the execution of the specific processing is suspended before the end of the material communication. According to this aspect, in the application executed by the program execution unit, even if the specific processing for causing the relay of the data communication using the relay unit to generate a failure is in the relay of the data communication using the relay unit, The execution of this particular process is suspended until the end of the material communication. Here, as a specific example of the specific processing for causing the relay of the data communication by the relay unit to generate a failure, the parameters used for relaying the data communication (for example, the communication address of the relay device, etc.) may be mentioned. Processing or restarting the processing of the relay device. Therefore, according to the present invention, even if the user does not pay special attention, it is possible to avoid the occurrence of a malfunction caused by the execution of the specific processing (stop of data communication in the relay, etc.).
又一較佳之態樣之特徵在於:對利用上述中繼單元之資料通信之中繼與藉由上述程式執行單元執行應用程式而實現之通信服務分別預先規定優先順序,於上述資料通信之中繼與上述通信服務競爭之情形時,在優先順序較高者結束之前暫停另一者之執行。根據此種態樣,可防止利用中繼單元之資料通信之中繼與藉由執行應用程式而實現之服務中之優先順序較高者被另一者阻礙之情況。再者,於更佳之態樣中,按各時刻預先規定利用上述中繼單元之資料通信之中繼與藉由上述程式執行單元執行應用程式而實現之通信服務之各者的優先順序,並於上述中繼裝置設置取得當前時刻之時刻取得單元(例如,即時鐘或GPS(Global Positioning System,全球定位系統)接收器),使用與藉由該時刻取得單元取得之時刻相應之優先順序而實現上述競爭避 免。 A further preferred feature is that a relaying of data communication by using the relay unit and a communication service realized by executing the application by the program execution unit are respectively pre-defined, and relaying in the data communication In the case of competing with the above communication service, the execution of the other is suspended before the end of the higher priority order. According to this aspect, it is possible to prevent the relay of the data communication by the relay unit and the higher priority among the services realized by executing the application from being blocked by the other. Furthermore, in a preferred aspect, the priority of each of the communication services implemented by the relay unit and the communication service implemented by the program execution unit is pre-defined at each time, and The relay device is configured to acquire a current time acquisition unit (for example, a clock or a GPS (Global Positioning System) receiver), and realize the above using a priority order corresponding to the time acquired by the time acquisition unit. Competition avoidance Free.
又,作為用以解決上述問題之另一態樣,考慮有如下方法:使中繼第1及第2通信網間之資料通信之中繼步驟、及自記憶單元讀出上述應用程式而執行之程式執行步驟於連接於上述第1及第2通信網之中繼裝置之控制部並列地執行,上述記憶單元預先記憶有應用程式及次程式庫,該應用程式係藉由經由上述第1及第2通信網中之至少一者之資料通信而實現特定之通信服務,該次程式庫係於該應用程式之執行過程中被叫出之次程式之集合體。 Further, as another aspect for solving the above problem, there is considered a method of relaying a relay of data communication between the first and second communication networks, and executing the application from the memory unit. The program execution step is performed in parallel with the control unit of the relay device connected to the first and second communication networks. The memory unit stores an application program and a secondary program library in advance, and the application program is passed through the first and the first 2 communication of at least one of the communication networks to implement a particular communication service, the library being a collection of secondary programs that are called during execution of the application.
又,中繼裝置亦可為無線LAN(Local Area Network,區域網路)路由器。 Further, the relay device may be a wireless LAN (Local Area Network) router.
10‧‧‧中繼裝置 10‧‧‧Relay device
20‧‧‧網際網路 20‧‧‧Internet
30‧‧‧無線終端 30‧‧‧Wireless terminal
40‧‧‧製造、零售商資料庫 40‧‧‧Manufacture, retailer database
110‧‧‧控制部 110‧‧‧Control Department
120‧‧‧第1通信I/F部 120‧‧‧1st communication I/F department
130‧‧‧第2通信I/F部 130‧‧‧2nd Communication I/F Department
140‧‧‧記憶部 140‧‧‧Memory Department
142‧‧‧揮發性記憶部 142‧‧‧Volatile Memory Department
144‧‧‧非揮發性記憶部 144‧‧‧ Non-volatile memory
圖1係表示包含本發明之一實施形態之中繼裝置10之通信系統之構成例的方塊圖。 Fig. 1 is a block diagram showing a configuration example of a communication system including a relay device 10 according to an embodiment of the present invention.
圖2係表示該中繼裝置10之構成例之方塊圖。 FIG. 2 is a block diagram showing a configuration example of the relay device 10.
圖3係用以說明藉由該中繼裝置10之控制部110而實現之功能之功能方塊圖。 FIG. 3 is a functional block diagram for explaining functions realized by the control unit 110 of the relay device 10.
圖4係用以說明中繼裝置10之動作例之圖。 FIG. 4 is a view for explaining an operation example of the relay device 10.
圖5係用以說明中繼裝置10之另一動作例之圖。 FIG. 5 is a view for explaining another example of the operation of the relay device 10.
圖6係用以說明包含使資料通信之中繼產生故障之處理之API之執行過程之圖。 Fig. 6 is a diagram for explaining an execution procedure of an API including a process of causing a relay of data communication to cause a failure.
以下,一面參照圖式一面對本發明之實施形態進行說明。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
圖1係表示包含本發明之一實施形態之中繼裝置10之通信系統之構成例之圖。該通信系統包含鋪設於零售商店等商店內之商店內無線LAN(Local Area Network)。該商店內無線LAN係經由中繼裝置10而連 接於網際網路20。中繼裝置10為無線LAN路由器,且收容無線終端30。無線終端30為上述商店之從業者使用之平板終端。圖1中,無線終端30僅例示有1個,但亦可將複數個無線終端30包含於上述商店內無線LAN。圖1中,雖省略詳細之圖示,但於商店內無線LAN包含用以對無線終端30分配IP位址之DHCP(Dynamic Host Configuration Protocol,動態主機組態協定)伺服器。於該DHCP伺服器,關聯被分配IP位址之無線終端30之MAC(Media Access Control,媒體存取控制)位址,而記憶有分配給該無線終端30之IP位址。 Fig. 1 is a view showing a configuration example of a communication system including a relay device 10 according to an embodiment of the present invention. The communication system includes a wireless LAN (Local Area Network) installed in a store such as a retail store. The wireless LAN in the store is connected via the relay device 10. Connected to the Internet 20. The relay device 10 is a wireless LAN router and houses the wireless terminal 30. The wireless terminal 30 is a tablet terminal used by a practitioner of the above-mentioned store. In FIG. 1, only one wireless terminal 30 is illustrated, but a plurality of wireless terminals 30 may be included in the in-store wireless LAN. In FIG. 1, although the detailed illustration is omitted, the in-store wireless LAN includes a DHCP (Dynamic Host Configuration Protocol) server for assigning an IP address to the wireless terminal 30. The DHCP server associates the MAC (Media Access Control) address of the wireless terminal 30 to which the IP address is assigned, and stores the IP address assigned to the wireless terminal 30.
中繼裝置10作為通常之無線LAN路由器發揮功能,並且作為所謂資料庫伺服器發揮功能。若更詳細地說明,則於圖1之中繼裝置10之記憶部儲存有記憶上述商店中販賣之各種商品之資訊(唯一地表示商品之商品識別碼(例如表示商品名稱或型號之字串等)或說明商品規格之說明文之字串、價格等:以下為商品資訊)之資料庫(以下為商品資料庫:圖1中省略圖示)。於網際網路20連接有由商品之製造、零售商等運營之製造、零售商資料庫40。於製造、零售商資料庫40儲存有關於該運營商之製造、販賣之商品之最新之商品資訊。中繼裝置10對製造、零售商資料庫40進行存取,將商品資料庫之儲存內容更新為最新之狀態(即,新商品資訊之追加等),並將更新後之商品資料庫之儲存內容發送至無線終端30,作為區域商品資料庫來記憶。無線終端30之使用者(即,上述商店之從業者)藉由參照區域商品資料庫之儲存內容,而可迅速且簡便地向顧客說明各種商品之規格等。即,圖1所表示之商店內無線LAN係用以實現讓各從業者共享最新之商品資訊之資訊共享服務者。 The relay device 10 functions as a normal wireless LAN router and functions as a so-called database server. As described in more detail, the memory unit of the relay device 10 of FIG. 1 stores information for storing various products sold in the store (a product identification code that uniquely indicates the product (for example, a string indicating a product name or a model number, etc.) ) or a description of the product specification, such as the string, price, etc.: The following is the database of the product information (the following is the product database: illustration is omitted in Figure 1). A manufacturing, retailer database 40 operated by a manufacturer of merchandise, a retailer, or the like is connected to the Internet 20. The latest information on the products manufactured and sold by the operator is stored in the manufacturing and retailer database 40. The relay device 10 accesses the manufacturing and retailer database 40, updates the stored content of the product database to the latest state (that is, the addition of new product information, etc.), and stores the updated product database. It is sent to the wireless terminal 30 and stored as a regional product database. The user of the wireless terminal 30 (that is, the shop owner) can quickly and easily explain the specifications of various products to the customer by referring to the contents stored in the regional product database. That is, the in-store wireless LAN shown in FIG. 1 is used to implement an information sharing service that allows various practitioners to share the latest product information.
先前,為了實現此種資訊共享服務,通常係將作為資料庫伺服器發揮功能之伺服器裝置與中繼裝置10分開設置於商店內無線LAN。相對於此,本實施形態之特徵在於使中繼裝置10兼有資料庫伺服器之 作用。以下,以顯著地表示本實施形態之特徵之中繼裝置10為中心進行說明。 Conventionally, in order to realize such information sharing service, a server device functioning as a database server and a relay device 10 are usually installed separately in a wireless LAN in a store. On the other hand, the present embodiment is characterized in that the relay device 10 has a database server. effect. Hereinafter, the relay device 10 that remarkably shows the features of the present embodiment will be mainly described.
圖2係表示中繼裝置10之構成例之方塊圖。 FIG. 2 is a block diagram showing a configuration example of the relay device 10.
如圖2所示,中繼裝置10具有控制部110、第1通信介面(以下,略記為「I/F」)部120、第2通信I/F部130、記憶部140、及協調該等構成要素間之資料授受之匯流排150。 As shown in FIG. 2, the relay device 10 includes a control unit 110, a first communication interface (hereinafter abbreviated as "I/F") unit 120, a second communication I/F unit 130, a storage unit 140, and coordination. The bus 150 for the information transfer between the constituent elements.
控制部110例如為CPU(Central Processing Unit,中央處理單元)。控制部110係藉由執行記憶部140所記憶之各種程式而作為中繼裝置10之控制中樞發揮功能。第1通信I/F部120為無線通信I/F,其與無線終端30之間確立無線通信鏈路,並收容無線通信鏈路之確立目標之無線終端。第1通信1/F部120經由無線區間接收自無線終端30發送來之封包並傳送至控制部110,另一方面,將自控制部110提供之封包送出至無線區間。第2通信I/F部130例如為NIC(Network Interface Card,網路介面卡),且連接於網際網路20。第2通信I/F部130接收自網際網路20發送來之封包並傳送至控制部110,另一方面,將自控制部110傳送之封包送出至網際網路20。 The control unit 110 is, for example, a CPU (Central Processing Unit). The control unit 110 functions as a control center of the relay device 10 by executing various programs stored in the storage unit 140. The first communication I/F unit 120 is a wireless communication I/F, and establishes a wireless communication link with the wireless terminal 30, and accommodates a wireless terminal that establishes a wireless communication link. The first communication 1/F unit 120 receives the packet transmitted from the wireless terminal 30 via the wireless section and transmits the packet to the control unit 110, and transmits the packet supplied from the control unit 110 to the wireless section. The second communication I/F unit 130 is, for example, an NIC (Network Interface Card) and is connected to the Internet 20. The second communication I/F unit 130 receives the packet transmitted from the Internet 20 and transmits the packet to the control unit 110. On the other hand, the packet transmitted from the control unit 110 is sent to the Internet 20.
如圖2所示,記憶部140包含揮發性記憶部142、及非揮發性記憶部144。揮發性記憶部142例如為RAM(Random Access Memory,隨機存取記憶體)。該揮發性記憶部142作為執行各種程式時之工作區而被控制部110利用。另一方面,非揮發性記憶部144為可覆寫資料之非揮發性記憶體。本實施形態中,作為非揮發性記憶部144係使用快閃記憶體。 As shown in FIG. 2, the memory unit 140 includes a volatile memory unit 142 and a non-volatile memory unit 144. The volatile memory unit 142 is, for example, a RAM (Random Access Memory). The volatile storage unit 142 is used by the control unit 110 as a work area when executing various programs. On the other hand, the non-volatile memory unit 144 is a non-volatile memory that can overwrite data. In the present embodiment, a flash memory is used as the non-volatile memory unit 144.
於非揮發性記憶部144儲存有上述商品資料庫。又,於非揮發性記憶部144記憶有用以實現中繼裝置10之功能(即,無線LAN路由器功能及上述資訊共享服務中之資料庫伺服器功能)之各種程式。作為非揮發性記憶部144所記憶之程式之具體例,可列舉OS(Operating System,作業系統)程式、中繼控制程式、資料庫伺服器程式及API庫。 The commodity database is stored in the non-volatile memory unit 144. Further, the non-volatile memory unit 144 stores various programs useful for realizing the functions of the relay device 10 (i.e., the wireless LAN router function and the database server function in the above information sharing service). Specific examples of the program stored in the non-volatile memory unit 144 include OS (Operating). System, operating system) program, relay control program, database server program and API library.
OS程式係使控制部110實現所謂多任務OS之程式。本實施形態中,使用Linux(註冊商標)作為OS程式,但只要為使控制部110實現多任務OS者,則並不限定於Linux(註冊商標)。控制部110係以中繼裝置10之電源(省略圖示)接通為契機,將OS程式自非揮發性記憶部144讀出至揮發性記憶部142,並開始執行該OS程式。依照OS程式作動而實現OS之狀態之控制部110按預先規定之排程,或根據自外部給出之指示,而作為執行記憶單元(本實施形態中為非揮發性記憶部144)所記憶之其他程式之程式執行單元(參照圖3)發揮功能。實現OS之狀態之控制部110可並列地執行複數個程式。本實施形態中,實現OS後,立即以將中繼控制程式與資料庫伺服器程式自非揮發性記憶部144讀出至揮發性記憶部142並執行之方式預先進行排程。 The OS program causes the control unit 110 to implement a program called a multitasking OS. In the present embodiment, Linux (registered trademark) is used as the OS program. However, as long as the control unit 110 implements the multitasking OS, it is not limited to Linux (registered trademark). When the power supply (not shown) of the relay device 10 is turned on, the control unit 110 reads the OS program from the non-volatile memory unit 144 to the volatile memory unit 142, and starts execution of the OS program. The control unit 110 that realizes the state of the OS in accordance with the OS program operation is stored as an execution memory unit (the non-volatile memory unit 144 in the present embodiment) according to a predetermined schedule or an instruction given from the outside. The program execution unit of other programs (see Figure 3) functions. The control unit 110 that realizes the state of the OS can execute a plurality of programs in parallel. In the present embodiment, immediately after the OS is implemented, the relay control program and the database server program are read from the non-volatile memory unit 144 to the volatile memory unit 142 and executed in advance.
中繼控制程式係使控制部110執行中繼控制處理之程式,該中繼控制處理係將經由第1通信I/F部120或第2通信I/F部130之一者而接收之封包向另一者傳送。依照中繼控制程式而作動之控制部110係作為中繼第1通信網(本實施形態為商店內無線LAN)及第2通信網(本實施形態為網際網路20)間之資料通信之中繼單元(參照圖3)發揮功能。再者,控制部110依照中繼控制程式而執行之中繼處理與通常之無線LAN路由器中之處理並無特別變化,故而省略詳細之說明。資料庫伺服器程式係使控制部110執行如下處理之應用程式:參照製造、零售商資料庫40之儲存內容而將商品資料庫之儲存內容更新為最新之狀態,並將各無線終端30之區域商品資料庫之儲存內容更新為最新之狀態。關於控制部110依照資料庫伺服器程式而執行之處理之詳情,為了避免重複而於動作例進行明示。本實施形態中,利用中繼單元(參照圖3)之資料通信之中繼與利用程式執行單元(參照圖3)之應用程式 (本實施形態為資料庫伺服器程式)之執行係並列執行。 The relay control program causes the control unit 110 to execute a program of relay control processing for receiving a packet received by one of the first communication I/F unit 120 or the second communication I/F unit 130. The other is transmitting. The control unit 110 that operates in accordance with the relay control program is used as a data communication between the relay first communication network (the intra-store wireless LAN in the present embodiment) and the second communication network (the Internet 20 in the present embodiment). The relay unit (see Fig. 3) functions. Further, the relay processing executed by the control unit 110 in accordance with the relay control program does not particularly change the processing in the normal wireless LAN router, and thus detailed description thereof will be omitted. The database server program causes the control unit 110 to execute an application that updates the storage contents of the product database to the latest state with reference to the contents of the manufacturing and retailer database 40, and the area of each wireless terminal 30. The contents of the product database are updated to the latest status. Details of the processing executed by the control unit 110 in accordance with the database server program are explicitly illustrated in the operation example in order to avoid duplication. In the present embodiment, the relay of the data communication relay (see FIG. 3) and the application execution unit (refer to FIG. 3) are used. The execution of the database server program (this embodiment is executed in parallel).
API庫係無關於應用程式之種類而共通地利用之可能性較高之各種次程式之集合體(即,次程式庫)。所謂API,原本係指叫出該等次程式時之格式,但本說明書中根據慣例,亦將該等次程式本身稱為API。作為本實施形態之API庫所含有之API之一例,可列舉取得硬體(本實施形態為中繼裝置10)之機器資訊或硬體周圍之環境資訊之API、用以進行硬體之動作設定之變更之API。具體而言,可列舉取得控制部110(即,CPU)之使用率或揮發性記憶部142(即,記憶體)之使用率之API、測量中繼裝置10之殼體內之溫度之API、進行運轉config之讀出、更新及保存之API、讀出動作日誌之API、使中繼裝置10重啟之API等。 The API library is a collection of various subprograms (ie, sub-libraries) that are highly likely to be commonly used regardless of the type of application. The so-called API originally refers to the format when the sub-programs are called, but in the present specification, the sub-programs themselves are also referred to as APIs. An example of an API included in the API library of the present embodiment is an API for acquiring device information of the hardware (the relay device 10 of the present embodiment) or environmental information surrounding the hardware, and for setting the operation of the hardware. The API for the change. Specifically, an API for obtaining the usage rate of the control unit 110 (that is, the CPU), the usage rate of the volatile memory unit 142 (that is, the memory), and an API for measuring the temperature in the casing of the relay device 10 are performed. The API for reading, updating, and saving the config, the API for reading the action log, and the API for restarting the relay device 10.
又,於API庫包含只有其安裝地址之硬體才有之API。即,於本實施形態之API庫包含只有通信機器才有之API。作為只有通信機器才有之API之具體例,可列舉取得連接於中繼裝置10之無線終端30之MAC位址一覽之API(以下為MAC位址清單取得API)、取得/變更第1通信I/F部120或第2通信I/F部130之IP位址之API。本實施形態中,將該等各種API以API庫之形式預先準備,並公開各API之叫出式樣。因此,只要於應用程式之作成時,依照上述式樣對用以叫出各API之代碼進行編碼即可,無須逐一地對藉由該等API實現之處理之順序進行編碼。因此,減輕應用程式之作成之工夫。 Also, the API library contains an API that only has its installation address. That is, the API library in the present embodiment includes an API that is unique to a communication device. Specific examples of the API that is only available in the communication device include an API that acquires a list of MAC addresses of the wireless terminal 30 connected to the relay device 10 (hereinafter referred to as a MAC address list acquisition API), and acquires/changes the first communication I. The API of the IP address of the /F unit 120 or the second communication I/F unit 130. In the present embodiment, these various APIs are prepared in advance in the form of an API library, and the calling patterns of the respective APIs are disclosed. Therefore, as long as the application is created, the code for calling each API can be encoded according to the above-described pattern, and the order of processing by the APIs need not be encoded one by one. Therefore, it reduces the effort of the application.
以上為中繼裝置10之構成。 The above is the configuration of the relay device 10.
繼而,一面參照圖4,一面對控制部110依照資料庫伺服器程式而執行之動作進行說明。依照資料庫伺服器程式而作動之控制部110,首先經由網際網路20與製造、零售商資料庫40通信,下載最新之資料並更新商品資料庫之儲存內容(圖4:步驟SA100)。此處,關於是否為 最新之資料之判定,只要關聯各資料而將表示該資料之版本(版數)之版本資訊儲存於製造、零售商資料庫40,將關聯表示較商品資料庫所儲存者新之版本之版本資訊的資料判定為最新之資料即可。再者,於在製造、零售商資料庫40未儲存有最新之資料之情形時,亦可跳過步驟SA100以後之處理。 Next, an operation performed by the control unit 110 in accordance with the database server program will be described with reference to FIG. The control unit 110, which operates in accordance with the database server program, first communicates with the manufacturing and retailer database 40 via the Internet 20, downloads the latest data, and updates the stored contents of the product database (FIG. 4: Step SA100). Here, about whether it is The latest information is determined by storing the version information of the version (version number) of the data in the manufacturing and retailer database 40 as long as the information is associated with the version information of the new version of the product stored in the product database. The information is determined to be the latest information. Furthermore, in the case where the manufacturing and retailer database 40 does not store the latest data, the processing after step SA100 may be skipped.
繼而,控制部110取得連接於本體裝置之無線終端30之IP位址(圖4:步驟SA110)。若更詳細地進行說明,控制部110係使用上述MAC位址清單取得API而取得連接於本體裝置之無線終端30之MAC位址之一覽。並且,控制部110自商店內無線LAN之DHCP伺服器(省略圖示)而取得與以此方式取得之各MAC位址對應的IP位址。再者,於存在無法取得IP位址之無線終端30之情形時,將該無線終端30之MAC位址作為接收地址而發送休眠解除信號,等待該無線終端30之IP位址之取得,而再次進行對DHCP伺服器之問詢。 Then, the control unit 110 acquires the IP address of the wireless terminal 30 connected to the body device (FIG. 4: Step SA110). More specifically, the control unit 110 acquires a list of MAC addresses of the wireless terminals 30 connected to the main device using the MAC address list acquisition API. Further, the control unit 110 acquires an IP address corresponding to each MAC address acquired in this manner from a DHCP server (not shown) of the wireless LAN in the store. Furthermore, when there is a wireless terminal 30 that cannot obtain an IP address, the MAC address of the wireless terminal 30 is used as the receiving address to transmit a sleep release signal, and the IP address of the wireless terminal 30 is acquired, and again Conduct an inquiry to the DHCP server.
繼而,控制部110將於步驟SA110取得之各IP位址作為接收地址,經由商店內無線LAN而發送商品資料庫之儲存內容,對該IP位址所代表之無線終端30指示區域商品資料庫之更新(步驟SA120)。再者,當然亦可於發送商品資料庫之儲存內容之前對各無線終端30問詢區域商品資料庫所儲存之資料之版本,對具有最新之版本之區域商品資料庫之無線終端30省略商品資料庫之儲存內容之發送。進行以上說明之動作之結果為,中繼裝置10之商品資料庫之儲存內容與各無線終端30之區域商品資料庫之儲存內容被統括地更新為最新之狀態。 Then, the control unit 110 transmits the stored content of the product database via the in-store wireless LAN to each of the IP addresses acquired in step SA110 as the receiving address, and instructs the wireless terminal 30 represented by the IP address to the regional product database. Update (step SA120). Furthermore, it is of course possible to query each wireless terminal 30 for the version of the data stored in the regional product database before transmitting the stored content of the product database, and omitting the product information for the wireless terminal 30 having the latest version of the regional product database. The storage of the contents of the library. As a result of the above-described operation, the storage contents of the product database of the relay device 10 and the storage contents of the regional product database of each wireless terminal 30 are collectively updated to the latest state.
根據本實施形態,只要於商店開店時間前之特定時刻接通中繼裝置10之電源,於關店時間後切斷中繼裝置10之電源,即可於營業時間中始終讓上述商店之從業者共享最新之商品資訊。再者,只要以於上述特定時刻使資料庫伺服器程式被執行之方式進行排程,則即便中繼裝置10之電源一直接通,亦可獲得同樣之效果。 According to the present embodiment, the power of the relay device 10 is turned on at a specific time before the store opening time, and the power of the relay device 10 is turned off after the store closing time, so that the shop owner can be always in the business hours. Share the latest product information. Furthermore, if the schedule is executed in such a manner that the database server program is executed at the specific time, the same effect can be obtained even if the power of the relay device 10 is always turned on.
本實施形態中,不用在商店內無線LAN內另外設置作為資料庫伺服器發揮功能之伺服器裝置,便可將商品資料庫之儲存內容與各無線終端30之區域商品資料庫之儲存內容統括地更新為最新之狀態,而讓各從業者共享最新之商品資訊。如此,由於無須另外準備作為資料庫伺服器發揮功能之伺服器裝置,故而即便上述商店之經營者為個人或中小企業等資金匱乏者,亦可簡便地實現商品資訊相關之資訊共享服務。又,本實施形態中,作為中繼裝置10中之商品資料庫之儲存處之記憶裝置係使用快閃記憶體,於此方面亦存在本實施形態之一個特徵。先前之伺服器裝置中,作為此種記憶裝置通常係使用硬碟驅動器,但關於硬碟驅動器,存在必須充分地注意馬達等機構部之故障(例如,定期地將硬碟驅動器之儲存內容記錄於其他記錄媒體等)之缺點。相對於此,由於快閃記憶體不具有馬達等機構部,故而無需如上述之注意。就該方面而言,根據本實施形態,可簡便地實現商品資訊相關之資訊共享服務。再者,本實施形態係對以鋪設有商店內無線LAN之商店之從業者為對象而提供資訊共享服務之情形進行了說明,但亦可對上述商店之來店者提供資訊共享服務。又,本實施形態對實現商品資訊之共享之情形進行了說明,但當然亦可對其他種類之資訊之共享應用本發明。 In the present embodiment, the storage contents of the product database and the storage contents of the regional product database of each wireless terminal 30 can be collectively provided without separately providing a server device functioning as a database server in the in-store wireless LAN. Update to the latest status and let each practitioner share the latest product information. In this way, since it is not necessary to separately prepare a server device that functions as a database server, even if the operator of the store is a lack of funds such as an individual or an enterprise, the information sharing service related to the product information can be easily realized. Further, in the present embodiment, the memory device used as the storage location of the product database in the relay device 10 uses a flash memory, and this feature is also a feature of this embodiment. In the conventional server device, a hard disk drive is generally used as such a memory device, but with regard to the hard disk drive, it is necessary to pay sufficient attention to the failure of the mechanism such as a motor (for example, periodically recording the contents of the hard disk drive in the memory device) Disadvantages of other recording media, etc.). On the other hand, since the flash memory does not have a mechanism portion such as a motor, it is not necessary to pay attention to the above. In this respect, according to the present embodiment, the information sharing service related to the product information can be easily realized. In addition, this embodiment describes a case where a information sharing service is provided for a shopper who stores a wireless LAN in a store, but an information sharing service may be provided to a shopper of the store. Further, although the present embodiment has described the case of realizing the sharing of product information, it is a matter of course that the present invention can be applied to the sharing of other types of information.
如上述般,作為使中繼裝置10作為資料庫伺服器發揮功能之應用程式即資料庫伺服器程式被記憶於非揮發性記憶部144,非揮發性記憶部144為可覆寫資料之非揮發性記憶體。因此,本實施形態中,可藉由替換非揮發性記憶部144所記憶之應用程式,而使中繼裝置10提供其他通信服務。例如,可藉由將非揮發性記憶部144所記憶之資料庫伺服器程式,替換為圖5所示之使控制部110執行檔案共享處理之檔案共享伺服器程式,而使中繼裝置10作為檔案共享伺服器發揮功能。再者,關於安裝於中繼裝置10之各種應用程式,可由中繼裝置10 之製造商或該製造商授權之第三方經由網際網路20適當地發佈。 As described above, the database server program, which is an application that causes the relay device 10 to function as a database server, is stored in the non-volatile memory unit 144, and the non-volatile memory unit 144 is non-volatile for overwriting data. Sexual memory. Therefore, in the present embodiment, the relay device 10 can be provided with other communication services by replacing the application stored in the non-volatile memory unit 144. For example, the relay server 10 can be replaced by the database server program stored in the non-volatile memory unit 144 instead of the file sharing server program that causes the control unit 110 to perform file sharing processing as shown in FIG. The file sharing server functions. Furthermore, regarding various applications installed in the relay device 10, the relay device 10 can be used. The manufacturer or a third party authorized by the manufacturer is properly distributed via the Internet 20.
圖5係表示中繼裝置10執行之檔案共享處理之流程之流程圖。如圖5所示,依照檔案共享伺服器程式而作動之控制部110等待來自無線終端30之對檔案之存取請求(步驟SB100)。控制部110若經由商店內無線LAN接收存取請求(步驟SB100:是),便特定出該無線終端30所屬之網路位址(步驟SB110)。關於該網路位址之特定,亦只要預先準備API即可。再者,於收容成為存取請求之發送源之終端之通信網如本實施形態般為無線LAN之情形時,亦可使用SSID(Service Set Identifier,服務設定識別符)代替網路位址。於使用SSID代替網路位址之情形時,例如只要對上述商店之從業者分配員工用SSID,對來客分配與員工用SSID不同之顧客用SSID即可。 FIG. 5 is a flow chart showing the flow of file sharing processing executed by the relay device 10. As shown in FIG. 5, the control unit 110 operating in accordance with the file sharing server program waits for an access request to the file from the wireless terminal 30 (step SB100). When the control unit 110 receives the access request via the in-store wireless LAN (step SB100: YES), the control unit 110 specifies the network address to which the wireless terminal 30 belongs (step SB110). Regarding the specificity of the network address, it is only necessary to prepare the API in advance. Further, in the case where the communication network that accommodates the terminal that is the source of the access request is a wireless LAN as in the present embodiment, an SSID (Service Set Identifier) may be used instead of the network address. When the SSID is used instead of the network address, for example, the SSID of the employee is assigned to the employee of the store, and the SSID of the customer different from the SSID of the employee may be assigned to the visitor.
控制部110判定於步驟SB110中經特定出之網路位址是否為顧客用之位址(步驟SB120),若其判定結果為否,便接收存取請求,並執行步驟SB130以後之處理。相反,若為顧客用之位址(步驟SB120:是),控制部110便捨棄存取請求(步驟SB150),並重複步驟SB100以後之處理。 The control unit 110 determines whether or not the specified network address is the address for the customer in step SB110 (step SB120), and if the determination result is negative, receives the access request, and executes the processing from step SB130 onward. On the other hand, if it is the address for the customer (step SB120: YES), the control unit 110 discards the access request (step SB150), and repeats the processing of step SB100 and subsequent steps.
於步驟SB120之判定結果為否之情形時執行之步驟SB130中,控制部110將依據存取請求之存取目標之檔案向此存取請求之發送源之無線終端30發送,並顯示該檔案之內容。再者,於自身之公開目錄並未儲存依據存取請求之存取目標之檔案之情形時,控制部110經由網際網路20取得該檔案,並在儲存於上述公開目錄後將其傳送至存取請求之發送源。關於以此方式儲存於公開目錄之檔案,控制部110以與上述存取請求之發送源之通信會話切斷為契機將上述檔案自公開目錄刪除。其後,控制部110判定是否被指示結束檔案共享服務(步驟SB140),若其判定結果為否,便重複步驟SB100以後之處理。藉此,實現檔案共享服務。 In step SB130 executed when the determination result in step SB120 is negative, the control unit 110 transmits the file of the access target according to the access request to the wireless terminal 30 of the transmission source of the access request, and displays the file. content. Furthermore, when the file of the access target according to the access request is not stored in the disclosure directory of the user, the control unit 110 acquires the file via the Internet 20 and transmits it to the public directory after storing the file. Take the source of the request. In the file stored in the public directory in this manner, the control unit 110 deletes the file from the public directory by the disconnection of the communication session with the source of the access request. Thereafter, the control unit 110 determines whether or not the file sharing service is instructed to be terminated (step SB140), and if the result of the determination is negative, the processing in and after step SB100 is repeated. In this way, the file sharing service is realized.
如上所述,係於資料庫伺服器程式或檔案共享伺服器程式等應用程式之執行過程中,進行各種API之叫出,但該等API中亦存在包含若於利用中繼單元之資料通信之中繼中被執行便會使此資料通信之中繼產生故障之特定處理者。具體而言有進行中繼裝置10之重啟之API、或覆寫於資料通信之中繼時使用之參數之API。本實施形態中,關於執行使該等資料通信產生故障之特定處理之API,構成為即便於資料通信之中繼中被叫出,亦會於該資料通信結束之前暫停此處理之執行,該點亦為本實施形態之一個特徵。 As described above, in the execution process of an application such as a database server program or a file sharing server program, various APIs are called, but the APIs also include data communication using the relay unit. Execution in the relay causes the relay of this data communication to generate a specific processor for the failure. Specifically, there is an API for restarting the relay device 10 or an API for overwriting parameters used for relaying data communication. In the present embodiment, the API for executing the specific processing for causing the failure of the data communication is configured to suspend the execution of the processing before the end of the data communication even if it is called out in the relay of the data communication. It is also a feature of this embodiment.
例如,圖6係表示控制部110依照重啟本體裝置之API而執行之處理之流程之流程圖。若該API自應用程式被叫出,則控制部110首先判定資料通信是否為中繼中(步驟SC100)。此處,關於判定資料通信是否為中繼中,使用既有技術即可,且亦考慮藉由與執行圖6之處理之API不同之其他API來執行步驟SC100之該判定處理,然後自該其他API接收其判定結果之態樣。若步驟SC100之判定結果為“是”,控制部110便會於進行特定時間(例如1秒等)之休眠(步驟SC110)後,再次執行步驟SC100以後之處理。相反,若步驟SC100之判定結果為“否”,控制部110便進行本體裝置之重啟(步驟SC120)。再者,關於覆寫利用中繼單元中繼資料通信時使用之參數之API可為相同之流程(於步驟SC120進行參數之更新),該情形時較佳為於參數更新前,使中繼控制程序暫時休眠,於參數更新後再恢復。目的在於避免於參數更新中開始新的資料通信之中繼。 For example, FIG. 6 is a flowchart showing a flow of processing executed by the control unit 110 in accordance with the API for restarting the main device. If the API is called from the application, the control unit 110 first determines whether the material communication is in the relay (step SC100). Here, regarding the determination of whether the material communication is in the relay, the existing technology may be used, and it is also considered that the determination processing of step SC100 is performed by another API different from the API for executing the processing of FIG. 6, and then from the other The API receives the result of its decision. If the result of the determination in step SC100 is YES, the control unit 110 performs the processing of step SC100 and subsequent steps after performing the sleep for a specific time (for example, one second or the like) (step SC110). On the other hand, if the decision result in the step SC100 is "NO", the control unit 110 restarts the main body device (step SC120). Furthermore, the API for overwriting the parameters used in relaying the data communication by the relay unit may be the same flow (the parameter update is performed in step SC120), and in this case, it is preferable to make the relay control before the parameter update. The program temporarily sleeps and resumes after the parameters are updated. The goal is to avoid the initiation of new data communication relays in parameter updates.
如此,本實施形態中,關於執行使資料通信產生故障之特定處理之API,構成為即便於資料通信之中繼中被叫出,亦會於該資料通信結束之前暫停此處理之執行,故而中繼裝置10之使用者無須考慮將要安裝至中繼裝置10之應用程式是否會叫出該等API(即,是否為於應用程式之執行過程中,使中繼裝置10發生重啟等之程式)。因此,根 據本實施形態,可讓使用者簡便地實現經由通信網之各種服務。 As described above, in the present embodiment, the API for executing the specific processing for causing the data communication failure is configured to suspend the execution of the processing until the end of the data communication even if the data communication is called out. The user of the device 10 does not need to consider whether the application to be installed to the relay device 10 will call the API (i.e., whether it is a program that causes the relay device 10 to restart during the execution of the application). Therefore, the root According to this embodiment, the user can easily realize various services via the communication network.
以上,對本發明之一實施形態進行了說明,但當然亦可對該實施形態施加以下之變化。 Although an embodiment of the present invention has been described above, it goes without saying that the following changes can be applied to the embodiment.
(1)上述實施形態中,作為使資料通信之中繼產生故障之特定處理之一例,係列舉重啟中繼裝置10之處理、及使通信位址等通信參數產生覆寫之處理。除該等以外,於進行第1通信I/F部120或第2通信I/F部130之啟動/停止、路由資訊之更新、VoIP(Voice Over Internet Protocol,網際網路語音通信協定)參數之更新或加密演算法之更新的情形時,亦可能產生相同之故障,故而較佳為在中繼中之資料通信結束之前暫停該等處理之執行。又,於控制部110並列執行複數種應用程式時,在參照系統時刻之應用程式之執行中更新系統時刻之應用程式被執行之情形、或向非揮發性記憶部144寫入資料之應用程式之執行中重啟中繼裝置10之應用程式被執行的情形時等,有可能產生相同之故障。因此,於應用程式間亦可進行相同之調停(若其他應用程式為執行中,則暫停系統時刻之更新等)。 (1) In the above embodiment, as an example of a specific process for causing a failure in relaying data communication, a process of restarting the relay device 10 and a process of overwriting a communication parameter such as a communication address are collectively performed. In addition to these, the start/stop of the first communication I/F unit 120 or the second communication I/F unit 130, the update of routing information, and the VoIP (Voice Over Internet Protocol) parameters are performed. When the update or encryption algorithm is updated, the same failure may occur, so it is preferable to suspend execution of the processing before the end of the data communication in the relay. Further, when the plurality of applications are executed in parallel by the control unit 110, the application that updates the system time is executed during the execution of the application at the reference system time, or the application that writes the data to the non-volatile memory unit 144 When the application in which the relay device 10 is restarted during execution is executed, the same failure may occur. Therefore, the same mediation can be performed between applications (if other applications are in execution, the system time is suspended, etc.).
(2)對利用中繼單元之資料通信之中繼與藉由於程式執行單元執行應用程式而實現之通信服務之各者預先規定優先順序,於資料通信之中繼與通信服務競爭之情形時,亦可於優先順序較高者結束之前暫停另一者之執行。例如,若藉由應用程式而實現之通信服務並非要求即時性之服務,便可藉由將中繼控制之優先順序設為較高,而於資料通信之空閒期集中地執行應用程式,從而可將因執行應用程式對中繼控制造成之影響抑制為最小限度。又,若於商店之營業時間內,將通信服務之優先順序設為較中繼控制之優先順序高,於營業時間外進行相反之設定等按各時刻規定上述優先順序,便可進一步實現極細緻之優先控制。 (2) pre-determining the priority order for the relay of the data communication using the relay unit and the communication service realized by the execution of the application by the program execution unit, when the relay of the data communication competes with the communication service, It is also possible to suspend the execution of the other party before the end of the higher priority order. For example, if the communication service implemented by the application is not a service requiring immediateness, the application can be executed centrally during the idle period of the data communication by setting the priority of the relay control to be higher. The impact of the execution of the application on the relay control is minimized. In addition, in the business hours of the store, the priority order of the communication service is set to be higher than the priority of the relay control, and the opposite order is set outside the business hours, and the above-mentioned priority order is specified at each time, so that the priority can be further realized. Priority control.
(3)上述實施形態中,對藉由快閃記憶體而構成非揮發性記憶部144之情形進行了說明,但當然亦可藉由硬碟驅動器構成。又,亦可藉由可覆寫資料之非揮發性記憶體(例如快閃記憶體)與無法覆寫資料之非揮發性記憶體(例如ROM(Read Only Memory,唯讀記憶體))而構成非揮發性記憶部144,將應用程式等較佳為使用者可自由更新之程式記憶於前者,將OS程式或中繼控制程式等更新必要性較低之程式記憶於後者。總之,只要為應用程式被記憶於可覆寫資料之記憶部之態樣即可。 (3) In the above embodiment, the case where the non-volatile memory unit 144 is configured by the flash memory has been described. However, it is of course possible to use a hard disk drive. Alternatively, it can be constructed by non-volatile memory (such as flash memory) that can overwrite data and non-volatile memory (such as ROM (Read Only Memory)) that cannot overwrite data. The non-volatile memory unit 144 stores the program, such as an application program, which is preferably freely updated by the user, in the former, and stores the program having a low update necessity such as an OS program or a relay control program in the latter. In short, as long as the application is memorized in the memory of the rewritable data.
(4)上述實施形態中,對藉由預先準備API庫,而減輕應用程式之開發所需之工夫之情形進行了說明,但當然亦可省略API庫之安裝。但是,該情形,關於包含使資料通信產生故障之特定處理之應用程式,較佳為以如下方式製成:於執行該特定處理前,判定是否為藉由中繼單元進行資料通信之中繼中,若為中繼中,便於該資料通信結束之前暫停該特定處理之執行。 (4) In the above embodiment, the case where the API library is prepared in advance to reduce the time required for development of the application has been described. However, the installation of the API library may of course be omitted. However, in this case, an application including a specific process for causing a data communication failure is preferably made in such a manner as to determine whether or not the relay is to be relayed by the relay unit before performing the specific processing. If it is in the relay, it is convenient to suspend the execution of the specific processing before the end of the data communication.
(5)上述實施形態中對藉由軟體模組而實現中繼資料通信之中繼單元與執行應用程式之程式執行單元之情形進行了說明,當然亦可與程式執行單元分開而藉由獨立之硬體模組(ASIC(Application Specific Integrated Circuit,特殊應用積體電路)等)來實現中繼單元。又,上述實施形態中係說明將本發明應用於連接於有線通信網與無線通信網之無線LAN路由器之應用例,但亦可將本發明應用於連接於2個無線通信網之無線路由器或有線連接於2個有線通信網之路由器。又,成為本發明之應用對象之中繼裝置並不限定於路由器(即,於OSI(Open System Interconnection,開放系統連結)參照模型之第3層中繼資料通信之中繼裝置),亦可將本發明應用於交換集線器(於OSI參照模型之第2層中繼資料通信之中繼裝置)或閘道器(於OSI參照模型之第4層以上之階層中繼資料通信之中繼裝置)、無線存取點裝置等橋接器。 (5) In the above embodiment, the relay unit that implements relay data communication by the software module and the program execution unit that executes the application program are described. Of course, it may be separated from the program execution unit by independent. A relay module (ASIC (Application Specific Integrated Circuit), etc.) is used to implement the relay unit. Further, in the above embodiment, an application example in which the present invention is applied to a wireless LAN router connected to a wired communication network and a wireless communication network is described, but the present invention can also be applied to a wireless router or cable connected to two wireless communication networks. A router connected to two wired communication networks. Further, the relay device to be applied to the present invention is not limited to a router (that is, a relay device for relaying data communication of the third layer of the OSI (Open System Interconnection) reference model), and may be The present invention is applied to a switching hub (a relay device for a layer 2 relay data communication in an OSI reference model) or a gateway device (a relay device for hierarchical relay data communication at a layer 4 or higher of the OSI reference model), A bridge such as a wireless access point device.
(6)上述實施形態中,作為藉由使控制部110執行應用程式而實現之服務之一例,對利用資料庫等之統括更新而實現之資訊共享服務、及檔案共享服務進行了說明,但並不限定於此,例如,亦可為電子郵件服務(即,使中繼裝置10作為電子郵件伺服器發揮功能)。總之,只要為經由網際網路20與商店內無線LAN中之至少一者之資料通信而實現之服務即可。再者,除使控制部110實現藉由經由網際網路20與商店內無線LAN中之至少一者之資料通信而實現之服務的程式以外(或者代替該程式),亦可將用以覆寫中繼裝置10之設定資訊檔案之文字編輯器、或通信錄管理程式作為由控制部110執行之應用程式而記憶於非揮發性記憶部144。 (6) In the above-described embodiment, the information sharing service and the file sharing service realized by the update of the database and the like are described as an example of the service realized by the control unit 110 executing the application program. Not limited to this, for example, it may be an email service (that is, the relay device 10 functions as an email server). In short, the service can be realized by communicating with the data of at least one of the wireless LANs in the store via the Internet 20. Furthermore, in addition to (or in place of) the program that enables the control unit 110 to implement the service by communicating with the data of at least one of the wireless LANs in the store, the control unit 110 may also be used to overwrite the program. The text editor or the address book management program of the setting information file of the relay device 10 is stored in the non-volatile memory unit 144 as an application executed by the control unit 110.
本申請案係基於2014年1月8日申請之日本專利申請案(日本專利特願2014-001962),其內容以參照之形式併入本文。 The present application is based on Japanese Patent Application No. 2014-001962, filed on Jan.
Claims (6)
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2014001962A JP2015130121A (en) | 2014-01-08 | 2014-01-08 | relay device |
PCT/JP2014/061709 WO2015104854A1 (en) | 2014-01-08 | 2014-04-25 | Relay device |
Publications (2)
Publication Number | Publication Date |
---|---|
TW201528726A true TW201528726A (en) | 2015-07-16 |
TWI575905B TWI575905B (en) | 2017-03-21 |
Family
ID=53523699
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW103137658A TWI575905B (en) | 2014-01-08 | 2014-10-30 | Relay device |
Country Status (5)
Country | Link |
---|---|
JP (1) | JP2015130121A (en) |
CN (1) | CN104904168B (en) |
SG (1) | SG11201605582XA (en) |
TW (1) | TWI575905B (en) |
WO (1) | WO2015104854A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6662136B2 (en) * | 2016-03-22 | 2020-03-11 | 日本電気株式会社 | Relay device, communication system, relay method, and relay program |
JP7159818B2 (en) * | 2018-11-28 | 2022-10-25 | オムロン株式会社 | Controllers and communication systems |
Family Cites Families (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1178441A (en) * | 1996-09-17 | 1998-04-08 | 村田机械株式会社 | Communication terminal device and communication method |
JP2004158044A (en) * | 2000-09-12 | 2004-06-03 | Nippon Telegr & Teleph Corp <Ntt> | Module server, module provision method, and its computer program |
TW200417852A (en) * | 2002-12-19 | 2004-09-16 | Komatsu Mfg Co Ltd | Rewrite control apparatus for onboard program |
JP3932199B2 (en) * | 2003-11-07 | 2007-06-20 | 旭化成ケミカルズ株式会社 | Flame retardant composition |
JP4337720B2 (en) * | 2004-12-06 | 2009-09-30 | 株式会社デンソー | Electronic control unit |
KR100657326B1 (en) * | 2005-07-07 | 2006-12-14 | 삼성전자주식회사 | Device and method for operating network application according to power management mode of communication device |
FR2913838A1 (en) * | 2007-03-13 | 2008-09-19 | France Telecom | METHOD OF DYNAMICALLY CONTROLLING THE NUMBER OF TRANSISTOR DATA STREAMS IN A NETWORK ARCHITECTURE |
JP2010262480A (en) * | 2009-05-07 | 2010-11-18 | Hitachi Ltd | Control board |
KR101746629B1 (en) * | 2010-05-31 | 2017-06-13 | 가부시키가이샤 진-매직 | Communication apparatus and communication method |
CN102959527A (en) * | 2010-06-28 | 2013-03-06 | 三菱电机株式会社 | Home gateway |
JP5002719B1 (en) * | 2011-03-10 | 2012-08-15 | 株式会社東芝 | Information processing device, external storage device, host device, relay device, control program, and information processing device control method |
JP4957853B1 (en) * | 2011-03-15 | 2012-06-20 | オムロン株式会社 | PLC CPU unit, PLC system program, and recording medium storing PLC system program |
EP2509382A1 (en) * | 2011-04-08 | 2012-10-10 | Telefonaktiebolaget LM Ericsson (publ) | Green relay scheduler |
JP2012227805A (en) * | 2011-04-21 | 2012-11-15 | Sumitomo Electric Ind Ltd | Relay device, communication system having the same, and computer program |
-
2014
- 2014-01-08 JP JP2014001962A patent/JP2015130121A/en active Pending
- 2014-04-25 CN CN201480001039.3A patent/CN104904168B/en active Active
- 2014-04-25 WO PCT/JP2014/061709 patent/WO2015104854A1/en active Application Filing
- 2014-04-25 SG SG11201605582XA patent/SG11201605582XA/en unknown
- 2014-10-30 TW TW103137658A patent/TWI575905B/en active
Also Published As
Publication number | Publication date |
---|---|
JP2015130121A (en) | 2015-07-16 |
CN104904168B (en) | 2019-01-15 |
TWI575905B (en) | 2017-03-21 |
WO2015104854A1 (en) | 2015-07-16 |
SG11201605582XA (en) | 2016-08-30 |
CN104904168A (en) | 2015-09-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9754096B2 (en) | Update management | |
US20190179726A1 (en) | Monitoring method and apparatus of server, and storage medium | |
US9032477B2 (en) | Automatic software update on network devices | |
JP6848426B2 (en) | Communication devices, communication systems, programs and communication control methods | |
JP6678626B2 (en) | Network system, server, communication device, and information processing method | |
TW201501034A (en) | Methods for upgrading firmware and apparatuses using the same | |
CN111869178B (en) | Near real-time IP user mapping method and system | |
TWI575905B (en) | Relay device | |
JP5880315B2 (en) | System management apparatus, system management method, and system management program | |
CN108134705B (en) | DCN management method, network element and computer storage medium | |
JP2000137506A (en) | Programmable controller | |
JP2013105477A (en) | Portable terminal system having function of deleting application program | |
JP4048498B2 (en) | Network device and device monitoring method | |
JP6652160B2 (en) | Relay device | |
JP2003228486A (en) | Method and system for managing software, and program | |
JP5540951B2 (en) | Apparatus, system, method, and program for collecting information | |
JP2020126389A (en) | Pos system, store terminal setting method, and program | |
JP6515052B2 (en) | Communication apparatus, communication system, communication method and program | |
JP2007019947A (en) | Communication system and filter setting method | |
JP2006146655A (en) | Method and system for edit processing of setting information | |
JP6531469B2 (en) | Access point apparatus, communication control apparatus, communication system, and program | |
JP4186954B2 (en) | NETWORK, TERMINAL DEVICE, RESTART METHOD USED FOR THEM, AND PROGRAM THEREOF | |
JP2009211291A (en) | Updating system, information processing device, updating method, updating program and recording medium | |
CN102594863B (en) | Synchronous maintenance method and system for multi-terminal virus database | |
JP2007243507A (en) | Communication system, server, and web service providing method used by them |