TWI573417B - The remote bridge system, device and method for serial/parallel device - Google Patents

The remote bridge system, device and method for serial/parallel device Download PDF

Info

Publication number
TWI573417B
TWI573417B TW103115477A TW103115477A TWI573417B TW I573417 B TWI573417 B TW I573417B TW 103115477 A TW103115477 A TW 103115477A TW 103115477 A TW103115477 A TW 103115477A TW I573417 B TWI573417 B TW I573417B
Authority
TW
Taiwan
Prior art keywords
network
manipulation command
interface
bridge
mobile device
Prior art date
Application number
TW103115477A
Other languages
Chinese (zh)
Other versions
TW201541896A (en
Inventor
林明政
林宏洲
李俊宏
簡楷桐
Original Assignee
三泰科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三泰科技股份有限公司 filed Critical 三泰科技股份有限公司
Priority to TW103115477A priority Critical patent/TWI573417B/en
Publication of TW201541896A publication Critical patent/TW201541896A/en
Application granted granted Critical
Publication of TWI573417B publication Critical patent/TWI573417B/en

Links

Description

遠端控制序列/並列設備的橋接系統、設備與控制方法 Bridge system, device and control method for remote control sequence/parallel device

一種控制裝置、系統與其處理方法,特別有關於一種遠端控制序列/並列設備的橋接系統、設備與控制方法。 A control device, a system and a processing method thereof, and particularly relates to a bridge system, device and control method for a remote control sequence/parallel device.

隨著網際網路的快速發展,許多的電子設備也加入遠端控制的功能。例如具有影音功能的播放器可以透過網路的方式,藉以達到遠端播放的目的。對於網路的不可靠的傳輸特性是可以被應用在影像傳輸或聲音傳輸。由於使用者對於小片段的影音資料的遺失是可以接受的。但並非所有電子設備都適合遠端控制。這是因為網路傳輸的協議與環境存在著不確定的因素。換句話說,網路封包可能在傳輸的過程中會有遺落的風險。所以遠端的電子設備可能會發生接收到不完整的控制指令。 With the rapid development of the Internet, many electronic devices have also joined the remote control function. For example, a player with audio and video functions can use the network to achieve the purpose of remote playback. Unreliable transmission characteristics for the network can be applied to image transmission or sound transmission. It is acceptable for the user to lose the video data of a small segment. But not all electronic devices are suitable for remote control. This is because there are uncertainties in the protocols and environments of network transmission. In other words, network packets can be left in the process of transmission. Therefore, remote electronic devices may receive incomplete control commands.

一旦發生封包遺落,則遠端的電子設備可能會出現錯誤的操作或持續的等待的行為。而電子設備的錯誤操作,小則可能會造成機器的耗電,大則可能會造成公安意外。特別是對序列串口(serial port)與並列串口(parallel port),由於該些控制介面需要完整的控制指令才能正確的驅動。因此不完整的控制指令勢必會對前述介面的電子設備造成錯誤的控制或毀損。 In the event of a packet loss, the remote electronic device may experience erroneous operation or continuous waiting behavior. The wrong operation of electronic equipment, small may cause the power consumption of the machine, and large may cause public security accidents. Especially for the serial port and the parallel port, the control interface requires a complete control command to drive correctly. Therefore, an incomplete control command is bound to cause erroneous control or damage to the electronic device of the aforementioned interface.

此外,可移動計算機為能實現輕薄短小的目的。所述的可移動計算機可能是行動電話或平板電腦。開發的廠商將外接介面的種類盡可能的移除。因此一般的可移動計算機是無法透過有線的方式控制外部的周邊設備。舉例來說,具有RS-232的讀卡機(barcode scanner)或並列串口(Parallel Port)的點陣式印表機。如前文所述,可移動計算機中並未設置該些連接埠,而且其作業系統中也並未進一步定義連接埠的驅動方式。因此可移動計算機是無法直接驅動所述的周邊設備。 In addition, the mobile computer can achieve the purpose of being thin and light. The removable computer may be a mobile phone or a tablet. The developer of the development removes the type of external interface as much as possible. Therefore, a general mobile computer cannot control external peripheral devices through a wired manner. For example, a dot matrix printer with an RS-232 barcode scanner or a parallel serial port (Parallel Port). As mentioned above, the ports are not set in the mobile computer, and the driving mode of the port is not further defined in the operating system. Therefore, the removable computer cannot directly drive the peripheral device.

本發明提供一種遠端控制序列/並列設備的橋接系統,經由網路控制遠端的序列設備(或並列設備)。 The present invention provides a bridge system for a remote control sequence/parallel device that controls a remote sequence device (or a parallel device) via a network.

本發明的遠端控制序列/並列設備的橋接系統包括移動設備目標設備、無線網路基地台與橋接設備。移動設備用於發出操控命令或接收回應訊息;目標設備具有控制埠目標設備透過控制埠接收操控命令並執行對應的動作,目標設備透過控制埠發送所產生對應的回應訊息;無線網路基地台具有第一網路接口,無線網路基地台接收來自移動設備的操控命令,或轉發回應訊息;橋接設備具有處理單元、異質設備接口與第二網路接口,處理單元耦接於異質設備接口與第二網路接口,無線網路基地台的第一網路接口連接於第二網路接口,異質設備接口連接於目標設備的控制埠,處理單元接收操控命令並透過異質設備接口把操控命令轉發至目標設備或目標設備。 The bridging system of the remote control sequence/parallel device of the present invention includes a mobile device target device, a wireless network base station, and a bridge device. The mobile device is configured to issue a control command or receive a response message; the target device has control, the target device receives the manipulation command through the control device, and performs a corresponding action, and the target device sends the corresponding response message generated through the control device; the wireless network base station has The first network interface, the wireless network base station receives the manipulation command from the mobile device, or forwards the response message; the bridge device has a processing unit, a heterogeneous device interface and a second network interface, and the processing unit is coupled to the heterogeneous device interface and the The second network interface, the first network interface of the wireless network base station is connected to the second network interface, and the heterogeneous device interface is connected to the control device of the target device, and the processing unit receives the manipulation command and forwards the manipulation command to the heterogeneous device interface to Target device or target device.

本發明另提出一種遠端控制序列/並列設備的橋接設備,其係包括網路接口、異質設備接口與處理單元。網路接口接收來自於移動設備的操控命令或發送回應訊息至移動設備;異質設備接口連接於目標設備,異質設備接口傳輸操控命令或回應訊息;處理單元耦接於網路接口與異質設備接口,處理單元接收操控命令,處理單元透過異質設備接口把操控命令轉發至目標設備,或處理單元驅動網路接口發送來自於目標設備的回應訊息。 The invention further provides a bridge device for a remote control sequence/parallel device, which comprises a network interface, a heterogeneous device interface and a processing unit. The network interface receives a manipulation command from the mobile device or sends a response message to the mobile device; the heterogeneous device interface is connected to the target device, and the heterogeneous device interface transmits a manipulation command or a response message; the processing unit is coupled to the network interface and the heterogeneous device interface, The processing unit receives the manipulation command, the processing unit forwards the manipulation command to the target device through the heterogeneous device interface, or the processing unit drives the network interface to send a response message from the target device.

此外,本發明更提出一種遠端控制序列/並列設備的控制方法,其係包括以下步驟:將橋接設備分別電性連接於無線網路基地台與目標設備;由移動設備設定多個連線通道;移動設備根據連線通道對操控命令進行分段並將每一分段結果封裝為第一網路封包,並將發送至無線網路基地台;無線網路基地台轉些第一網路封包至橋接設備;橋接設備對第一網路封包進行重組並得到操控命令,並將操控命令發送至目標設備;由目標設備執行操控命令。 In addition, the present invention further provides a remote control sequence/parallel device control method, which includes the following steps: electrically connecting the bridge device to the wireless network base station and the target device respectively; and setting a plurality of connection channels by the mobile device The mobile device segments the manipulation command according to the connection channel and encapsulates each segmentation result into a first network packet, and sends it to the wireless network base station; the wireless network base station transfers the first network packet To the bridge device; the bridge device reassembles the first network packet and obtains a manipulation command, and sends a manipulation command to the target device; the target device executes the manipulation command.

本發明提出一種遠端控制序列/並列設備的橋接系統、設備與控制方法使得原本不具備序列串口或並列串口的設備可以通過本發明實 現對應設備的操作,而且不需對移動設備的底層進行相應的變更。 The invention provides a bridge system, a device and a control method for a remote control sequence/parallel device, so that a device that does not have a serial serial port or a parallel serial port can be implemented by the present invention. Now it corresponds to the operation of the device, and there is no need to change the underlying layer of the mobile device accordingly.

有關本發明的特徵與實作,茲配合圖式作最佳實施例詳細說明如下。 The features and implementations of the present invention are described in detail below with reference to the drawings.

110‧‧‧移動設備 110‧‧‧Mobile devices

111‧‧‧處理器 111‧‧‧ Processor

112‧‧‧儲存單元 112‧‧‧storage unit

113‧‧‧顯示單元 113‧‧‧Display unit

114‧‧‧第一網路傳輸單元 114‧‧‧First network transmission unit

115‧‧‧中介程序 115‧‧‧Intermediary procedures

120‧‧‧無線網路基地台 120‧‧‧Wireless network base station

130‧‧‧橋接設備 130‧‧‧Bridge equipment

131‧‧‧第二網路接口 131‧‧‧Second network interface

132‧‧‧第三網路接口 132‧‧‧ Third network interface

133‧‧‧異質設備接口 133‧‧‧heterogeneous device interface

134‧‧‧處理單元 134‧‧‧Processing unit

140‧‧‧目標設備 140‧‧‧Target equipment

141‧‧‧控制埠 141‧‧‧Control

150‧‧‧外接設備 150‧‧‧External equipment

第1圖係為本發明的系統架構示意圖。 Figure 1 is a schematic diagram of the system architecture of the present invention.

第2圖係為本發明的運作流程示意圖。 Figure 2 is a schematic diagram of the operational flow of the present invention.

第3A圖係為本發明的發送操控命令示意圖。 Figure 3A is a schematic diagram of a transmission manipulation command of the present invention.

第3B圖係為本發明的接收回應訊息示意圖。 Figure 3B is a schematic diagram of the receiving response message of the present invention.

請參考第1圖所示,其係為本發明的系統架構示意圖。本發明的遠端控制序列/並列設備的橋接系統包括移動設備110、無線網路基地台120(Access Point,簡稱AP)、橋接設備130、目標設備140與外接設備150。移動設備110的種類可以是但不限定為筆記型電腦(notebook)、平板電腦(tablet)或行動電話(mobile phone)。 Please refer to FIG. 1 , which is a schematic diagram of the system architecture of the present invention. The bridge system of the remote control sequence/parallel device of the present invention includes a mobile device 110, a wireless network base station 120 (Access Point, AP for short), a bridge device 130, a target device 140, and an external device 150. The type of mobile device 110 can be, but is not limited to, a notebook, a tablet, or a mobile phone.

本發明的移動設備110具有處理器111、儲存單元112、顯示單元113與第一網路傳輸單元114。處理器111電性連接於儲存單元112、顯示單元113與第一網路傳輸單元114。處理器111透過第一網路傳輸單元114發送操控命令至無線網路基地台120,或接收來自於無線網路基地台120的回應訊息。 The mobile device 110 of the present invention has a processor 111, a storage unit 112, a display unit 113, and a first network transmission unit 114. The processor 111 is electrically connected to the storage unit 112, the display unit 113, and the first network transmission unit 114. The processor 111 transmits a manipulation command to the wireless network base station 120 through the first network transmission unit 114, or receives a response message from the wireless network base station 120.

儲存單元112存儲中介程序115。處理器111在啟動後會開始運行中介程序115。中介程序115除了用以搜尋橋接設備130、發送操控命令或接收回應訊息,更對於前述的操控命令進行拆解的前置處理。而中介程序115可以是獨立的應用程序,也可以內建於作業系統(Operation System)之中。處理器111根據橋接設備130所發出的類別資訊調派中介程序115,用於建立位址空間(address space)與多個連線通道(channel)。中介程序115透過位址空間與多個連線通道用以模擬目標設備140與個人電腦間的匯流排的傳輸方式。顯示單元113用於顯示中介程序115或其他應用程式的操作界面與相關資訊。 The storage unit 112 stores the mediation program 115. The processor 111 will start running the mediator 115 after startup. In addition to the search for the bridging device 130, the sending of the manipulation command, or the receipt of the response message, the intermediation program 115 performs pre-processing for disassembling the aforementioned manipulation command. The mediator 115 can be a stand-alone application or can be built into the Operation System. The processor 111 dispatches the mediation program 115 according to the category information sent by the bridge device 130 for establishing an address space and a plurality of connection channels. The mediator 115 uses the address space and the plurality of connection channels to simulate the transmission mode of the bus bar between the target device 140 and the personal computer. The display unit 113 is configured to display an operation interface and related information of the mediation program 115 or other applications.

當移動設備110向目標設備140發出操控命令(或相關的處理資料)時,中介程序115會對操控命令進行分段的處理。本發明的中介程序115會根據連線通道的數量對操控命令進行分段。因此中介程序115會輸出與連線通道相同數量的分段結果。中介程序115根據切分後的操控命令進而取得對應的每一個資料偏移量(offset)。 When the mobile device 110 issues a manipulation command (or related processing material) to the target device 140, the mediation program 115 performs segmentation processing on the manipulation command. The mediator 115 of the present invention segments the manipulation commands according to the number of connection channels. Therefore, the mediator 115 will output the same number of segmentation results as the wire channel. The mediator 115 further obtains each corresponding data offset (offset) according to the segmented manipulation command.

為能方便說明經過切分後的操控命令(或操控資料),將每一切分的部分定義為已切分區塊。中介程序115將已切分區塊與對應的資料偏移量透過連線通道依序的進行轉換為第一網路封包,並將第一網路封包發送給無線網路基地台120。 In order to facilitate the description of the segmented manipulation commands (or manipulation data), each part of the division is defined as a sliced partition. The mediator 115 converts the sliced partition block and the corresponding data offset into the first network packet sequentially through the connection channel, and sends the first network packet to the wireless network base station 120.

橋接設備130除了電性連接於目標設備140與無線網路基地台120,橋接設備130也可以選擇性的連接外接設備150。無線網路基地台120用於傳遞移動設備110與橋接設備130所發送的網路封包。無線網路基地台120具有無線網路傳輸單元121與第一網路接口122。無線網路基地台120透過無線網路傳輸單元121接獲來自於移動設備110的網路封包時,無線網路基地台120會將該些網路封包透過第一網路接口122發送至橋接設備130。若無線網路基地台120接收來自於橋接設備130的網路封包,無線網路基地台120則將網路封包發送至移動設備110。 In addition to being electrically connected to the target device 140 and the wireless network base station 120, the bridge device 130 can also selectively connect the external device 150. The wireless network base station 120 is configured to communicate network packets transmitted by the mobile device 110 and the bridge device 130. The wireless network base station 120 has a wireless network transmission unit 121 and a first network interface 122. When the wireless network base station 120 receives the network packet from the mobile device 110 through the wireless network transmission unit 121, the wireless network base station 120 sends the network packet to the bridge device through the first network interface 122. 130. If the wireless network base station 120 receives the network packet from the bridge device 130, the wireless network base station 120 transmits the network packet to the mobile device 110.

橋接設備130包括第二網路接口131、第三網路接口132、異質設備接口133與處理單元134。處理單元134電性連接於第二網路接口131、第三網路接口132與異質設備接口133。第一網路接口122電性連接於第二網路接口131。第二網路接口131用於接收來自於移動設備110的操控命令的網路封包,或發送回應訊息給無線網路基地台120。第三網路接口132用於連接外接設備150,而外接設備150可能是另一台橋接設備130或個人電腦。處理單元134判斷所傳入的第一網路封包若不屬於橋接設備130時,處理單元134會透過第三網路接口132轉發第一網路封包。 The bridging device 130 includes a second network interface 131, a third network interface 132, a heterogeneous device interface 133, and a processing unit 134. The processing unit 134 is electrically connected to the second network interface 131, the third network interface 132, and the heterogeneous device interface 133. The first network interface 122 is electrically connected to the second network interface 131. The second network interface 131 is configured to receive a network packet from a manipulation command of the mobile device 110 or to send a response message to the wireless network base station 120. The third network interface 132 is for connecting to the external device 150, and the external device 150 may be another bridge device 130 or a personal computer. The processing unit 134 determines that the incoming first network packet does not belong to the bridge device 130, and the processing unit 134 forwards the first network packet through the third network interface 132.

異質設備接口133連接於目標設備140的控制埠141。異質設備接口133的種類係為序列串口(serial port)或並列串口(parallel port)。控制埠141的種類係對應異質設備接口133。本發明的橋接設備130可以具有單一的序列串口或一個並列串口,也可以同時存在序列串口與並列串口。 處理單元134將載有操控命令的網路封包進行組合並得到操控命令。 The heterogeneous device interface 133 is connected to the control port 141 of the target device 140. The type of the heterogeneous device interface 133 is a serial port or a parallel port. The type of control unit 141 corresponds to the heterogeneous device interface 133. The bridging device 130 of the present invention can have a single serial serial port or a parallel serial port, or a serial serial port and a parallel serial port can exist at the same time. The processing unit 134 combines the network packets carrying the manipulation commands and obtains manipulation commands.

橋接設備130接獲對應的第一網路封包。處理單元134根據連線通道所記載資料偏移量順序判斷所接收到的第一網路封包的順序是否正確。處理單元134根據連線通道與資料偏移量對第一網路封包進行重組。橋接設備130的處理單元134根據操控命令驅動目標設備140進行相應的操作。 The bridging device 130 receives the corresponding first network packet. The processing unit 134 determines whether the order of the received first network packet is correct according to the data offset sequence recorded in the connection channel. The processing unit 134 reassembles the first network packet according to the connection channel and the data offset. The processing unit 134 of the bridge device 130 drives the target device 140 to perform corresponding operations in accordance with the manipulation command.

為能清楚說明對目標設備140的操控,還請請參考第2圖所示,其係為本發明的操作傳輸方法包括以下步驟:步驟S211:將橋接設備分別電性連接於無線網路基地台與目標設備;步驟S212:移動設備運行中介程序,中介程序搜尋網路中的橋接設備;步驟S213:橋接設備接獲設備搜尋命令後,橋接設備返回識別資訊;步驟S214:移動設備接收橋接設備的識別資訊,用於設定位址空間與多個連線通道;步驟S215:移動設備根據位址空間與這些連線通道對操控命令進行分段處理,並將每一個分段結果封裝為第一網路封包;步驟S216:移動設備透過網路將這些第一網路封包發送至無線網路基地台與橋接設備;步驟S217:橋接設備根據這些第一網路封包的連線通道的順序進行重組藉以得到操控命令;步驟S218:橋接設備將操控命令轉發向目標設備;步驟S219:目標設備執行操控命令,並輸出回應訊息至橋接設備;步驟S220:橋接設備根據連線通道的數量對回應訊息進行分段,並對每一分段的結果進行封裝,藉以輸出多個第二網路封包;步驟S221:將這些第二網路封包發送至移動設備;以及步驟S222:移動設備根據第二網路封包的順序進行組合,並得到相應的回應訊息。 In order to clearly illustrate the control of the target device 140, please refer to FIG. 2, which is an operation transmission method of the present invention, including the following steps: Step S211: electrically connecting the bridge device to the wireless network base station and Target device: Step S212: The mobile device runs a mediation program, and the mediation program searches for the bridge device in the network; Step S213: After the bridge device receives the device search command, the bridge device returns the identification information; Step S214: The mobile device receives the identification of the bridge device Information, used to set the address space and multiple connection channels; Step S215: The mobile device segments the manipulation commands according to the address space and the connection channels, and encapsulates each segmentation result into the first network. Packet S216: the mobile device sends the first network packet to the wireless network base station and the bridge device through the network; step S217: the bridge device reassembles according to the sequence of the connection channels of the first network packets to obtain Manipulating the command; step S218: the bridge device forwards the manipulation command to the target device; step S219: the target device performs the operation Controlling the command and outputting the response message to the bridge device; step S220: the bridge device segments the response message according to the number of connection channels, and encapsulates the result of each segment to output a plurality of second network packets; Step S221: Sending the second network packets to the mobile device; and step S222: the mobile devices combine according to the order of the second network packets, and obtain corresponding response messages.

首先,在移動設備110啟動後,移動設備110會開始執行中介程序115。中介程序115透過第一網路傳輸單元114搜尋是否有橋接設備130。對於區域網路而言,中介程序115可以透過網路廣播的方式詢問是否 存在橋接設備130。對於網際網路而言,中介程序115可以透過已知的網路位址(IP Address)進行通訊。請同時配合第3A圖與第3B圖所示,其係分別為本發明的操作示意圖。 First, after the mobile device 110 is booted, the mobile device 110 will begin executing the mediator 115. The broker 115 searches through the first network transmission unit 114 for the presence of the bridge device 130. For the local area network, the mediator 115 can ask whether it is broadcast through the network. There is a bridge device 130. For the Internet, the mediator 115 can communicate via a known IP Address. Please refer to FIG. 3A and FIG. 3B simultaneously, which are respectively schematic diagrams of the operation of the present invention.

當橋接設備130接獲設備搜尋命令後,橋接設備130會返回對應的識別資訊。識別資訊記錄橋接設備130的串口種類、串口數量、電子設備、或者是橋接設備130的型號。移動設備110接獲識別資訊後,移動設備110可以根據識別資訊產生位址空間與多個連線通道。 When the bridge device 130 receives the device search command, the bridge device 130 returns corresponding identification information. The serial number of the information recording bridge device 130, the number of serial ports, the electronic device, or the model of the bridge device 130 are identified. After the mobile device 110 receives the identification information, the mobile device 110 can generate an address space and a plurality of connection channels according to the identification information.

位址空間的記憶體大小是根據目標設備140的種類所決定。而連線通道的數量可根據目標設備140所決定,或者預設成固定數量。位址空間用於模擬目標設備140在連接移動設備110時的記憶體空間。因為本發明的目標設備140是透過網路連接於移動設備110,因此需要在移動設備110中對應的產生位址空間,提供移動設備110進行定址存取的目的。 The memory size of the address space is determined according to the type of the target device 140. The number of connection channels can be determined according to the target device 140, or preset to a fixed number. The address space is used to simulate the memory space of the target device 140 when it is connected to the mobile device 110. Because the target device 140 of the present invention is connected to the mobile device 110 through the network, it is required to generate a corresponding address space in the mobile device 110 to provide the mobile device 110 for address access.

當移動設備110向目標設備140發出操控命令(或操控資料)時,中介程序115會對操控命令進行分段的處理。本發明的中介程序115會根據連線通道的數量對操控命令進行分段。因此中介程序115會輸出與連線通道相同數量的分段結果。中介程序115根據切分後的操控命令進而取得對應的每一個資料偏移量(offset)。由於每一個資料偏移量所傳輸的順序受到控制,因此可以確保收發的兩方(意即移動設備110與目標設備140)都可以確認接收的順序。而資料偏移量的計算可以透過硬體方式所實現,且硬體處理的速度相較於軟體層解析的速度更加來的有效率。 When the mobile device 110 issues a manipulation command (or manipulation data) to the target device 140, the mediation program 115 performs segmentation processing on the manipulation command. The mediator 115 of the present invention segments the manipulation commands according to the number of connection channels. Therefore, the mediator 115 will output the same number of segmentation results as the wire channel. The mediator 115 further obtains each corresponding data offset (offset) according to the segmented manipulation command. Since the order in which each data offset is transmitted is controlled, it can be ensured that both parties (i.e., mobile device 110 and target device 140) can acknowledge the order of reception. The calculation of the data offset can be implemented in a hardware manner, and the speed of the hardware processing is more efficient than the speed of the software layer parsing.

接著,無線網路基地台120接獲第一網路封包後,無線網路基地台120會將第一網路封包發送至橋接設備130。橋接設備130根據第一網路封包的內容決定重組該些第一網路封包或將第一網路封包轉發至外接設備150。橋接設備130將第一網路封包組合並得到操控命令。橋接設備130根據操控命令驅動所連接目標設備140。 Then, after the wireless network base station 120 receives the first network packet, the wireless network base station 120 sends the first network packet to the bridge device 130. The bridging device 130 decides to reassemble the first network packet or forward the first network packet to the external device 150 according to the content of the first network packet. The bridging device 130 combines the first network packets and obtains manipulation commands. The bridge device 130 drives the connected target device 140 in accordance with the manipulation command.

在目標設備140根據操控命令進行相關的運作後,目標設備140將運作後的結果產生回應訊息。目標設備140將回應訊息傳送至橋接設備130。橋接設備130對回應訊息進行前述的切分處理,並得到多個第二網路封包。橋接設備130將第二網路封包再傳送給無線網路基地台120,並由 無線網路基地台120傳輸給移動設備110。移動設備110接獲第二網路封包後,移動設備110對第二網路封包進行重組並得到對應的回應訊息。 After the target device 140 performs related operations according to the manipulation command, the target device 140 generates a response message after the operation. Target device 140 transmits a response message to bridge device 130. The bridging device 130 performs the foregoing segmentation processing on the response message and obtains a plurality of second network packets. The bridging device 130 retransmits the second network packet to the wireless network base station 120, and The wireless network base station 120 transmits to the mobile device 110. After the mobile device 110 receives the second network packet, the mobile device 110 reassembles the second network packet and obtains a corresponding response message.

本發明除了前述的操控命令與資料的傳輸外,也可以針對中斷要求進行相同的切分與傳輸處理。本發明可以透過不同的連線通道用於傳輸各種不同的中斷要求(interrupt request,IRQ)。藉由前文所述的的傳送方式,可以確保目標設備140對於中斷要求的接收順序。所以目標設備140可以根據正確的中斷要求進行相應的處理。 In addition to the aforementioned manipulation commands and data transmission, the present invention can perform the same segmentation and transmission processing for the interrupt request. The present invention can be used to transmit various interrupt requests (IRQs) through different connection channels. With the transmission method described above, the order in which the target device 140 receives the interrupt request can be ensured. Therefore, the target device 140 can perform corresponding processing according to the correct interrupt request.

本發明提出一種遠端控制序列/並列設備的橋接系統、設備與控制方法使得原本不具備序列串口或並列串口的設備可以通過本發明實現對應設備的操作,而且不需對移動設備110的底層進行相應的變更。 The present invention provides a bridge system, device and control method for a remote control sequence/parallel device, so that a device that does not have a serial serial port or a parallel serial port can implement the operation of the corresponding device by using the present invention, and does not need to perform the bottom layer of the mobile device 110. The corresponding change.

雖然本發明以前述之較佳實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。 While the present invention has been described above in terms of the preferred embodiments thereof, it is not intended to limit the invention, and the invention may be modified and modified without departing from the spirit and scope of the invention. The patent protection scope of the invention is subject to the definition of the scope of the patent application attached to the specification.

110‧‧‧移動設備 110‧‧‧Mobile devices

111‧‧‧處理器 111‧‧‧ Processor

112‧‧‧儲存單元 112‧‧‧storage unit

113‧‧‧顯示單元 113‧‧‧Display unit

114‧‧‧第一網路傳輸單元 114‧‧‧First network transmission unit

115‧‧‧中介程序 115‧‧‧Intermediary procedures

120‧‧‧無線網路基地台 120‧‧‧Wireless network base station

130‧‧‧橋接設備 130‧‧‧Bridge equipment

131‧‧‧第二網路接口 131‧‧‧Second network interface

132‧‧‧第三網路接口 132‧‧‧ Third network interface

133‧‧‧異質設備接口 133‧‧‧heterogeneous device interface

134‧‧‧處理單元 134‧‧‧Processing unit

140‧‧‧目標設備 140‧‧‧Target equipment

141‧‧‧控制埠 141‧‧‧Control

150‧‧‧外接設備 150‧‧‧External equipment

Claims (8)

一種遠端控制序列/並列設備的橋接系統,其係包括:一移動設備,其係發出一操控命令或接收一回應訊息,該移動設備設定多個連線通道,該移動設備根據該些連線通道對該操控命令進行分段並將每一分段結果封裝為一第一網路封包,且該移動設備根據該目標設備的一識別資訊產生一位址空間與該些連線通道;一目標設備,具有一控制埠,該目標設備透過該控制埠接收該操控命令並執行對應的動作,該目標設備透過該控制埠發送所產生對應的該回應訊息;一無線網路基地台,具有一第一網路接口,該無線網路基地台接收來自該移動設備的該操控命令之該第一網路封包,或轉發該回應訊息;以及一橋接設備,其係具有一處理單元、一異質設備接口與一第二網路接口,該處理單元耦接於該異質設備接口與該第二網路接口,該無線網路基地台的該第一網路接口連接於該第二網路接口,該異質設備接口連接於該目標設備的該控制埠,該處理單元接收該操控命令之該第一網路對包並透過該異質設備接口把該操控命令轉發至該目標設備。 A bridge system for a remote control sequence/parallel device includes: a mobile device that issues a manipulation command or receives a response message, the mobile device sets a plurality of connection channels, and the mobile device selects a plurality of connection channels according to the connection The channel segments the manipulation command and encapsulates each segmentation result into a first network packet, and the mobile device generates an address space and the connection channel according to an identification information of the target device; The device has a control device, and the target device receives the control command and performs a corresponding action through the control device, and the target device sends the corresponding response message generated by the control device; the wireless network base station has a first a network interface, the wireless network base station receives the first network packet of the manipulation command from the mobile device, or forwards the response message; and a bridge device having a processing unit and a heterogeneous device interface And the second network interface, the processing unit is coupled to the heterogeneous device interface and the second network interface, the first network of the wireless network base station The path interface is connected to the second network interface, the heterogeneous device interface is connected to the control device of the target device, the processing unit receives the first network pair packet of the manipulation command and sends the manipulation command through the heterogeneous device interface Forward to the target device. 如請求項1所述之遠端控制序列/並列設備的橋接系統,其中該橋接設備更包括一第三網路接口,其係連接於一外接設備,該處理單元根據該操控命令的種類決定將該操控命令轉發至該外接設備。 The remote control sequence/parallel device bridging system of claim 1, wherein the bridging device further comprises a third network interface, which is connected to an external device, and the processing unit determines, according to the type of the manipulation command, The manipulation command is forwarded to the external device. 如請求項2所述之遠端控制序列/並列設備的橋接系統,其中該外接設備係為另一該橋接設備或一網路設備,該控制埠係為一序列串口或一並列串口。 The bridge system of the remote control sequence/parallel device according to claim 2, wherein the external device is another bridge device or a network device, and the control system is a serial serial port or a parallel serial port. 如請求項1所述之遠端控制序列/並列設備的橋接系統,其中該移動設備透過該無線網路基地台發送該些第一網路封包,該橋接設備判斷所接收的該些第一網路封包的順序,並組合該些第一網路封包再還原為該操控命令,該橋接設備根據該操控命令驅動該電子設備。 The bridge system of the remote control sequence/parallel device according to claim 1, wherein the mobile device sends the first network packets through the wireless network base station, and the bridge device determines the received first network The sequence of the road packets is combined with the first network packets and restored to the manipulation command, and the bridge device drives the electronic device according to the manipulation command. 一種遠端控制序列/並列設備的橋接設備,其係包括:一網路接口,接收來自於一移動設備的一操控命令或發送一回應訊息至該移動設備,該移動設備設定多個連線通道,該移動設備根據該些 連線通道對該操控命令進行分段並將每一分段結果封裝為一第一網路封包,且該移動設備根據該目標設備的一識別資訊產生一位址空間與該些連線通道;一異質設備接口,連接於一目標設備,該異質設備接口傳輸該操控命令或該回應訊息;以及一處理單元,其係耦接於該網路接口與該異質設備接口,該處理單元接收該第一網路封包並取得該操控命令,該處理單元透過該異質設備接口把該操控命令轉發至該目標設備,或該處理單元驅動該網路接口發送來自於該目標設備的該回應訊息。 A bridging device for a remote control sequence/parallel device, comprising: a network interface, receiving a manipulation command from a mobile device or sending a response message to the mobile device, the mobile device setting a plurality of connection channels The mobile device is based on The connection channel segments the manipulation command and encapsulates each segmentation result into a first network packet, and the mobile device generates an address space and the connection channels according to an identification information of the target device; a heterogeneous device interface, connected to a target device, the heterogeneous device interface transmitting the manipulation command or the response message; and a processing unit coupled to the network interface and the heterogeneous device interface, the processing unit receiving the A network packet is obtained and the control command is obtained, and the processing unit forwards the manipulation command to the target device through the heterogeneous device interface, or the processing unit drives the network interface to send the response message from the target device. 如請求項5所述之遠端控制序列/並列設備的橋接設備,其中該移動設備透過該網路接口發送該些第一網路封包,該橋接設備判斷所接收的該些第一網路封包的順序,並組合該些第一網路封包再還原為該操控命令,該橋接設備根據該操控命令驅動該電子設備。 The bridge device of the remote control sequence/parallel device according to claim 5, wherein the mobile device sends the first network packets through the network interface, and the bridge device determines the received first network packets The order of the first network packet is combined and restored to the manipulation command, and the bridge device drives the electronic device according to the manipulation command. 如請求項5所述之遠端控制序列/並列設備的橋接設備,其中該橋接設備另包括一網路接口,其係連接於該處理單元與一外接設備,該處理單元根據該操控命令的種類決定將該操控命令轉發至該外接設備或該目標設備。 The bridge device of the remote control sequence/parallel device according to claim 5, wherein the bridge device further includes a network interface connected to the processing unit and an external device, and the processing unit is configured according to the type of the manipulation command. Decide to forward the manipulation command to the external device or the target device. 一種遠端控制序列/並列設備的控制方法,其係包括以下步驟:將一橋接設備分別電性連接於一無線網路基地台與一目標設備;由一移動設備設定多個連線通道,且該移動設備根據該目標設備的一識別資訊產生一位址空間與該些連線通道;該移動設備根據該些連線通道對一操控命令進行分段並將每一分段結果封裝為一第一網路封包,並將該些第一網路封包發送至該無線網路基地台;該無線網路基地台轉發該些第一網路封包至該橋接設備;該橋接設備對該些第一網路封包進行重組並得到該操控命令,並將該操控命令發送至該目標設備;以及由該目標設備執行該操控命令。 A remote control sequence/parallel device control method includes the steps of: electrically connecting a bridge device to a wireless network base station and a target device; and setting a plurality of connection channels by a mobile device, and The mobile device generates an address space and the connection channels according to an identification information of the target device; the mobile device segments a manipulation command according to the connection channels, and encapsulates each segmentation result into a first a network packet, and sending the first network packets to the wireless network base station; the wireless network base station forwarding the first network packets to the bridge device; the bridge device is The network packet is reassembled and the manipulation command is obtained, and the manipulation command is sent to the target device; and the manipulation command is executed by the target device.
TW103115477A 2014-04-29 2014-04-29 The remote bridge system, device and method for serial/parallel device TWI573417B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW103115477A TWI573417B (en) 2014-04-29 2014-04-29 The remote bridge system, device and method for serial/parallel device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW103115477A TWI573417B (en) 2014-04-29 2014-04-29 The remote bridge system, device and method for serial/parallel device

Publications (2)

Publication Number Publication Date
TW201541896A TW201541896A (en) 2015-11-01
TWI573417B true TWI573417B (en) 2017-03-01

Family

ID=55220635

Family Applications (1)

Application Number Title Priority Date Filing Date
TW103115477A TWI573417B (en) 2014-04-29 2014-04-29 The remote bridge system, device and method for serial/parallel device

Country Status (1)

Country Link
TW (1) TWI573417B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020196771A1 (en) * 2000-07-20 2002-12-26 Cadence Design Systems, Inc. Bridging apparatus for interconnecting a wireless PAN and a wireless LAN
CN1744506A (en) * 2005-08-16 2006-03-08 浙江中控技术有限公司 Intelligent gate bridge and its method for realizing network isolation control '
US20130250971A1 (en) * 2008-10-02 2013-09-26 Apple Inc. Methods and Apparatus for Transmitting Data Streams Via A Heterogeneous Network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020196771A1 (en) * 2000-07-20 2002-12-26 Cadence Design Systems, Inc. Bridging apparatus for interconnecting a wireless PAN and a wireless LAN
CN1744506A (en) * 2005-08-16 2006-03-08 浙江中控技术有限公司 Intelligent gate bridge and its method for realizing network isolation control '
US20130250971A1 (en) * 2008-10-02 2013-09-26 Apple Inc. Methods and Apparatus for Transmitting Data Streams Via A Heterogeneous Network

Also Published As

Publication number Publication date
TW201541896A (en) 2015-11-01

Similar Documents

Publication Publication Date Title
WO2023284699A1 (en) Protocol stack data transmission method based on linux system, and computer device and storage medium
WO2017084400A1 (en) Nvme networked storage implementation method, terminal, server, and system
JP6501919B2 (en) Voice chat mode self-adaptation method and apparatus
WO2018049913A1 (en) Data transmission method and related devices
JP2007528681A5 (en)
US8713336B2 (en) Communication apparatus, power supply control method, display apparatus, communication method, and computer program product
WO2014000297A1 (en) Virtual port monitoring method and device
CN104246733A (en) Data redirection for universal serial bus devices
WO2018049912A1 (en) Data transmission method and related devices
WO2017186042A1 (en) Method and device for data transmission in virtual switch technique
US10129722B2 (en) Service processing method and network device
WO2018049971A1 (en) Hotspot network switching method and terminals
JP2008515259A5 (en)
JP2008112447A (en) Method, system and product, for changing input/output (i/o) activity of host and allowing storage drive to which i/o activity is directed to access requested information
CN104981275A (en) Generic companion-messaging between media platforms
JP6345254B2 (en) Video communication termination method and apparatus
TWI573417B (en) The remote bridge system, device and method for serial/parallel device
WO2023241613A1 (en) Call establishment method, device and system, terminal, and readable storage medium
TWM486214U (en) Remote control serial-to-parallel equipment bridge system and apparatus
WO2016061890A1 (en) Resource sharing method, terminal, system and computer storage medium
GB2453042A (en) User terminal which transmits data based on network status
JP2008217272A (en) Remote operation system and method, and program
US9106608B2 (en) Communication device, communication method, and non-transitory computer-readable recording medium
WO2016015614A1 (en) Ciphertext sending method, ciphertext transmission method, mobile terminal and communication base station
JP7009786B2 (en) Communication control methods, programs and devices