[go: up one dir, main page]

TWM667423U - System for communication managing - Google Patents

System for communication managing Download PDF

Info

Publication number
TWM667423U
TWM667423U TW113212867U TW113212867U TWM667423U TW M667423 U TWM667423 U TW M667423U TW 113212867 U TW113212867 U TW 113212867U TW 113212867 U TW113212867 U TW 113212867U TW M667423 U TWM667423 U TW M667423U
Authority
TW
Taiwan
Prior art keywords
data
electronic device
end electronic
processing unit
controlled
Prior art date
Application number
TW113212867U
Other languages
Chinese (zh)
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 TW113212867U priority Critical patent/TWM667423U/en
Publication of TWM667423U publication Critical patent/TWM667423U/en

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

A communication managing system includes a processing unit and a storage unit electrically connected to the processing unit. The processing unit is configured to: when receiving an instruction data from a control end electronic device and indicating a controlled end electronic device, transmit the instruction data to the controlled end electronic device in a communication protocol suitable for the controlled end electronic device; when receiving a return data from the controlled end electronic device, determine whether the return data possesses data integrity; upon the determining result is affirmative, transmit the return data to the control end electronic device; otherwise, generate and transmit an error notification corresponding to the instruction data to the control end electronic device.

Description

通訊管理系統Communications Management System

本新型是有關於一種管理系統,特別是指一種用於管理多個電子裝置間之通訊的通訊管理系統。The present invention relates to a management system, and more particularly to a communication management system for managing the communication between a plurality of electronic devices.

隨著通訊技術的發產,電子裝置傳輸資料時所採用的主流通訊標準亦會與時更迭。With the development of communication technology, the mainstream communication standards used by electronic devices to transmit data will also change with the times.

然而,對於企業機構而言,主流通訊標準的演進,容易使其系統中較舊的電子裝置無法與較新的電子裝置相容,進而導致企業機構在系統硬體方面面臨「整體淘汰」或「階段性汰除」的兩難選擇。基於上述,現有技術仍存在有待解決之問題。However, for enterprises, the evolution of mainstream communication standards can easily make older electronic devices in their systems incompatible with newer electronic devices, which in turn leads to the dilemma of "overall elimination" or "phased elimination" of system hardware. Based on the above, existing technologies still have problems to be solved.

因此,本新型之目的,便在於提供一種有助於克服現有技術之不便的通訊管理系統。Therefore, the purpose of the present invention is to provide a communication management system that helps to overcome the inconvenience of the prior art.

本新型通訊管理系統適合與一控制端電子裝置及多個受控端電子裝置配合應用。該通訊管理系統包含一適合與該控制端電子裝置及該等受控端電子裝置電連接的處理單元,以及一與該處理單元電連接的儲存單元。該儲存單元儲存有多筆分別對應於該等受控端電子裝置的應用程式介面資料。其中,該處理單元用於:當接收到一來自於該控制端電子裝置且指示出該等受控端電子裝置之其中一者的指令資料時,將該指令資料所指示出的該受控端電子裝置作為一指定受控端電子裝置,並根據該指定受控端電子裝置所對應的該應用程式介面資料,將該指令資料以適用於該指定受控端電子裝置的通訊協定傳送至該指定受控端電子裝置;在接收到一來自於該指定受控端電子裝置且對應於該指令資料的回傳資料的情況下,判斷該回傳資料是否具備數據完整性;在判定該回傳資料具備數據完整性時,將該回傳資料傳送至該控制端電子裝置;在判定該回傳資料不具備數據完整性的情況下,產生一對應於該指令資料的錯誤通知,並將該錯誤通知傳送至該控制端電子裝置。The novel communication management system is suitable for use with a control end electronic device and a plurality of controlled end electronic devices. The communication management system comprises a processing unit suitable for being electrically connected to the control end electronic device and the controlled end electronic devices, and a storage unit electrically connected to the processing unit. The storage unit stores a plurality of application program interface data corresponding to the controlled end electronic devices. The processing unit is used to: when receiving a command data from the control end electronic device and indicating one of the controlled end electronic devices, take the controlled end electronic device indicated by the command data as a designated controlled end electronic device, and transmit the command data to the designated controlled end electronic device in a communication protocol applicable to the designated controlled end electronic device according to the application program interface data corresponding to the designated controlled end electronic device. The control device comprises a control unit for controlling the control end electronic device; when receiving a return data corresponding to the command data from the designated controlled end electronic device, determining whether the return data has data integrity; when determining that the return data has data integrity, transmitting the return data to the control end electronic device; when determining that the return data does not have data integrity, generating an error notification corresponding to the command data, and transmitting the error notification to the control end electronic device.

在本新型通訊管理系統的一些實施態樣中,該處理單元是在接收到該回傳資料的其中一部分時,根據一被預先設定好的預設時間長度決定出一對應於該回傳資料的接收期間,並判斷該回傳資料是否在該接收期間結束之前符合一代表具備數據完整性的完整條件。當該處理單元判斷出該回傳資料在該接收期間結束之前未符合該完整條件時,該通訊管理系統判定該回傳資料不具備數據完整性。當該處理單元判斷出該回傳資料在該接收期間結束之前符合該完整條件時,該通訊管理系統判定該回傳資料具備數據完整性。In some implementations of the novel communication management system, the processing unit determines a receiving period corresponding to the return data based on a preset time length when receiving a portion of the return data, and determines whether the return data meets a complete condition representing data integrity before the end of the receiving period. When the processing unit determines that the return data does not meet the complete condition before the end of the receiving period, the communication management system determines that the return data does not have data integrity. When the processing unit determines that the return data meets the complete condition before the end of the receiving period, the communication management system determines that the return data has data integrity.

在本新型通訊管理系統的一些實施態樣中,該處理單元是從該控制端電子裝置逐一地接收多個能共同構成該指令資料的指令資料部分,並將該等指令資料部分儲存於一緩衝區,再根據該等指令資料部分被儲存於該緩衝區的順序,將被儲存於該緩衝區的該等指令資料部分合併為該指令資料後,將該指令資料傳送至該指定受控端電子裝置。In some implementations of the novel communication management system, the processing unit receives multiple command data parts that can together constitute the command data from the control end electronic device one by one, and stores the command data parts in a buffer. Then, according to the order in which the command data parts are stored in the buffer, the command data parts stored in the buffer are merged into the command data, and the command data is transmitted to the designated controlled end electronic device.

在本新型通訊管理系統的一些實施態樣中,該緩衝區是以一資料佇列來實現。In some implementations of the novel communication management system, the buffer is implemented as a data queue.

本新型之功效在於:藉由該通訊管理系統,即便該控制端電子裝置與該等受控端電子裝置因為通訊標準不同而無法直接彼此通訊,該通訊管理系統也能夠在接收到該控制端電子裝置所傳送的該指令資料時據以識別出該指定受控端電子裝置,並載入該指定受控端電子裝置所對應的該應用程式介面資料,來將該指令資料以該指定受控端電子裝置所適用的通訊協定傳送至該指定受控端電子裝置,進而將來自該指定受控端電子裝置的該回傳資料提供至該控制端電子裝置。藉此,即便企業機構的系統中有較舊的電子裝置無法與較新的電子裝置相容,企業機構也不會被迫淘汰較舊的電子裝置。The utility of the present invention is that, through the communication management system, even if the control-end electronic device and the controlled-end electronic devices cannot communicate with each other directly due to different communication standards, the communication management system can identify the designated controlled-end electronic device upon receiving the command data transmitted by the control-end electronic device, and load the application program interface data corresponding to the designated controlled-end electronic device, so as to transmit the command data to the designated controlled-end electronic device using the communication protocol applicable to the designated controlled-end electronic device, and then provide the return data from the designated controlled-end electronic device to the control-end electronic device. In this way, even if there are older electronic devices in the system of an enterprise organization that are not compatible with newer electronic devices, the enterprise organization will not be forced to eliminate the older electronic devices.

在本新型被詳細描述之前應當注意:本專利說明書中所述的「電連接(electrically connected)」是用來描述硬體(例如電子的系統、設備、裝置、單元、模組、元件)之間的耦接(coupled)關係。若未特別定義,則所述的「電連接」是泛指複數硬體之間透過導體/半導體材料彼此實體相連而實現的「有線電連接」,以及利用無線通訊技術(例如但不限於無線網路、藍牙、電磁感應等)實現無線資料傳輸的「無線電連接」。另一方面,若未特別定義,則所述的「電連接」也泛指複數硬體之間彼此直接耦接而實現的「直接電連接」,以及複數硬體之間透過其他硬體間接耦接而實現的「間接電連接」。Before the present invention is described in detail, it should be noted that the term "electrically connected" in this patent specification is used to describe the coupled relationship between hardware (e.g., electronic systems, equipment, devices, units, modules, components). If not specifically defined, the term "electrically connected" generally refers to "wired electrical connection" achieved by physically connecting multiple hardware to each other through conductors/semiconductor materials, and "radio connection" achieved by wireless data transmission using wireless communication technology (e.g., but not limited to wireless networks, Bluetooth, electromagnetic induction, etc.). On the other hand, if not specifically defined, the term "electrically connected" also generally refers to "direct electrical connection" achieved by directly coupling multiple hardware to each other, and "indirect electrical connection" achieved by indirectly coupling multiple hardware through other hardware.

在本新型被詳細描述之前應當注意:本專利說明書中所述的「單元(unit)」是代表硬體而非軟體,舉例來說,「處理單元」是用來代表具備資料處理功能的硬體。另一方面,本專利說明書中所述的「單元」可以是指具備特定功能的單一個硬體,也可以是指具備類似功能的一群硬體。舉例來說,「處理單元」可以是指具備資料處理功能的單一個處理器,但也可以是指一群處理器的集合。Before the present invention is described in detail, it should be noted that the "unit" described in this patent specification represents hardware rather than software. For example, "processing unit" is used to represent hardware with data processing functions. On the other hand, the "unit" described in this patent specification can refer to a single hardware with a specific function, or a group of hardware with similar functions. For example, "processing unit" can refer to a single processor with data processing functions, but it can also refer to a collection of a group of processors.

參閱圖1,本新型通訊管理系統1的一實施例歸屬於一企業機構,其中,該企業機構可例如是一銀行機構。並且,該通訊管理系統1適用於與歸屬於該企業機構的一控制端電子裝置50及多個受控端電子裝置60配合應用。Referring to FIG. 1 , an embodiment of the novel communication management system 1 belongs to an enterprise organization, wherein the enterprise organization may be, for example, a bank organization. Furthermore, the communication management system 1 is applicable to be used in conjunction with a control end electronic device 50 and a plurality of controlled end electronic devices 60 belonging to the enterprise organization.

該控制端電子裝置50例如是一台電腦裝置(例如桌上型電腦或筆記型電腦),而用於供任職於該企業機構的人員進行操作。具體舉例來說,該控制端電子裝置50可例如是被包含於一新金融端末系統(也稱NBT系統,NBT為New Banking Terminal之簡稱),但並不以此為限。The control terminal electronic device 50 is, for example, a computer device (such as a desktop computer or a laptop computer) and is used for operation by personnel working in the enterprise organization. Specifically, for example, the control terminal electronic device 50 may be included in a new financial terminal system (also called NBT system, NBT is the abbreviation of New Banking Terminal), but is not limited to this.

在本實施例的應用環境中,每一台受控端電子裝置60可例如是一金融印錄機、一用於供客戶手動輸入密碼的密碼輸入鍵盤、一用於掃描帳單、繳款單及票據等文件的掃描設備,以及一用於拍攝客戶之印鑑或臉部照片的拍攝裝置的其中一者,但不以此為限。In the application environment of the present embodiment, each controlled electronic device 60 may be, for example, one of a financial printer, a password input keyboard for a customer to manually input a password, a scanning device for scanning documents such as bills, payment slips and receipts, and a photographing device for taking a customer's seal or facial photo, but is not limited to these.

在實際的實施態樣中,該通訊管理系統1可以同時與多個控制端電子裝置配合應用。並且,該等控制端電子裝置的每一者例如是被包含於該新金融端末系統、一匯款集中系統、一票據提回系統、一票據託收系統、一法扣系統、一智能填單系統、一註記系統、一智能補摺系統、一印鑑系統、一叫取號/預填單系統,以及一智能繳費稅系統的其中一者。然而,為了便於理解,以下的描述中僅以圖1所示出的該控制端電子裝置50對本實施例進行說明。In actual implementation, the communication management system 1 can be used in conjunction with a plurality of control-end electronic devices at the same time. Moreover, each of the control-end electronic devices is, for example, included in one of the new financial terminal system, a remittance concentration system, a bill withdrawal system, a bill collection system, a legal deduction system, an intelligent form filling system, a note system, an intelligent folding system, a seal system, a number-taking/pre-filling form system, and an intelligent toll and tax payment system. However, for ease of understanding, the following description only uses the control-end electronic device 50 shown in FIG. 1 to illustrate this embodiment.

在本實施例中,該通訊管理系統1是一台伺服設備,而且,該通訊管理系統1包含一處理單元11,以及一電連接該處理單元11的儲存單元12。In this embodiment, the communication management system 1 is a server device, and the communication management system 1 includes a processing unit 11 and a storage unit 12 electrically connected to the processing unit 11.

在本實施例中,該處理單元11是一個以積體電路實現且具備資料運算及指令收發功能的處理器。並且,該處理單元11適合透過網路與該控制端電子裝置50及該等受控端電子裝置60電連接,從而與該控制端電子裝置50及該等受控端電子裝置60彼此通訊。在不同的實施態樣中,該處理單元11也可以是一包括有處理器及電路板的電路組件,或者是多個處理器的集合。In this embodiment, the processing unit 11 is a processor implemented with an integrated circuit and having data operation and instruction receiving and sending functions. In addition, the processing unit 11 is suitable for being electrically connected to the control end electronic device 50 and the controlled end electronic devices 60 through a network, so as to communicate with the control end electronic device 50 and the controlled end electronic devices 60. In different embodiments, the processing unit 11 can also be a circuit assembly including a processor and a circuit board, or a collection of multiple processors.

該儲存單元12是一台用於儲存數位資料的資料儲存裝置(例如硬碟)。然而,在不同的實施態樣中,該儲存單元12也可以是多個相同或相異種類之儲存裝置的集合。The storage unit 12 is a data storage device (such as a hard disk) for storing digital data. However, in different implementations, the storage unit 12 can also be a collection of multiple storage devices of the same or different types.

進一步地,在其他實施例中,該通訊管理系統1也可被實施為多台彼此電連接的伺服設備。在此情況下,該處理單元11可被實施為該等伺服設備所分別具有之多個處理器/電路組件的集合,而該儲存單元12則可被實施為該等伺服設備所分別具有之多個儲存裝置的集合。基於上述,該通訊管理系統1在電腦硬體方面的實際實施態樣並不以本實施例為限。Furthermore, in other embodiments, the communication management system 1 can also be implemented as a plurality of server devices electrically connected to each other. In this case, the processing unit 11 can be implemented as a collection of a plurality of processors/circuit components respectively possessed by the server devices, and the storage unit 12 can be implemented as a collection of a plurality of storage devices respectively possessed by the server devices. Based on the above, the actual implementation of the communication management system 1 in terms of computer hardware is not limited to this embodiment.

該儲存單元12儲存有多筆分別對應於該等受控端電子裝置60的應用程式介面資料D。其中,每一應用程式介面資料D是一個以程式碼實現且能被該處理單元11載入並執行的API(Application Programming Interfaces)。藉此,該處理單元11能夠藉由載入並執行每一應用程式介面資料D,而與該應用程式介面資料D所對應的該受控端電子裝置60通訊,從而以適用於該受控端電子裝置60的通訊協定與該受控端電子裝置60進行資料傳輸。其中,所述的通訊協定可例如是USB(Universal Serial Bus)協定,或者是RS-232協定,但不以此為限。The storage unit 12 stores a plurality of application program interface data D corresponding to the controlled electronic devices 60. Each application program interface data D is an API (Application Programming Interfaces) implemented in a program code and can be loaded and executed by the processing unit 11. Thus, the processing unit 11 can communicate with the controlled electronic device 60 corresponding to the application program interface data D by loading and executing each application program interface data D, thereby transmitting data with the controlled electronic device 60 using a communication protocol applicable to the controlled electronic device 60. The communication protocol may be, for example, a USB (Universal Serial Bus) protocol or an RS-232 protocol, but is not limited thereto.

補充說明的是,在本實施例中,該處理單元11與該控制端電子裝置50之間可例如是透過HTTP、HTTPS、WebSocket或者TCP/IP等協定來彼此通訊。然而,此部分並非本專利說明書之重點,故在此不過度詳述。It is to be noted that, in the present embodiment, the processing unit 11 and the control terminal electronic device 50 can communicate with each other via protocols such as HTTP, HTTPS, WebSocket or TCP/IP. However, this part is not the focus of this patent specification, so it will not be described in detail here.

參閱圖2,以下示例性地說明本實施例的該通訊管理系統1如何實施一通訊管理方法。Referring to FIG. 2 , the following exemplarily illustrates how the communication management system 1 of this embodiment implements a communication management method.

首先,在步驟S1中,當該處理單元11接收到一來自於該控制端電子裝置50且指示出該等受控端電子裝置60之其中一者的指令資料時,該處理單元11將該指令資料所指示出的該受控端電子裝置60作為本實施例中的一指定受控端電子裝置60’,並根據該指定受控端電子裝置60’所對應的該應用程式介面資料D,而將該指令資料以適用於該指定受控端電子裝置60’的通訊協定傳送至該指定受控端電子裝置60’。First, in step S1, when the processing unit 11 receives a command data from the control-end electronic device 50 and indicating one of the controlled-end electronic devices 60, the processing unit 11 uses the controlled-end electronic device 60 indicated by the command data as a designated controlled-end electronic device 60' in this embodiment, and transmits the command data to the designated controlled-end electronic device 60' according to the application program interface data D corresponding to the designated controlled-end electronic device 60' using the communication protocol applicable to the designated controlled-end electronic device 60'.

在本實施例中,該指令資料例如是一筆指示出該金融印錄機的列印指令資料,而且,該指令資料例如是由多個指令資料部分共同構成。具體舉例來說,該等指令資料部分例如包含以Olivetti PR2控制碼實現的一參數初始化指令、一待列印資料(例如包含要被列印的文字資料及/或圖像資料)、一用於設定該金融印錄機之狀態的印錄機狀態設定指令,以及一用於設定該金融印錄機之列印模式的列印狀態設定指令,但並不以此為限。In this embodiment, the command data is, for example, a print command data indicating the financial printer, and the command data is, for example, composed of a plurality of command data parts. Specifically, the command data parts include, for example, a parameter initialization command implemented by an Olivetti PR2 control code, data to be printed (e.g., including text data and/or image data to be printed), a printer status setting command for setting the status of the financial printer, and a print status setting command for setting the print mode of the financial printer, but the present invention is not limited thereto.

在該指令資料指示出該金融印錄機的情況下,該處理單元11會根據該指令資料將該金融印錄機作為該指定受控端電子裝置60’,並載入並執行該指定受控端電子裝置60’所對應的該應用程式介面資料D,藉此將該指令資料以該金融印錄機所適用的通訊協定(例如USB協定)傳送至該指定受控端電子裝置60’(即該金融印錄機)。When the instruction data indicates the financial printer, the processing unit 11 will use the financial printer as the designated controlled electronic device 60' according to the instruction data, and load and execute the application program interface data D corresponding to the designated controlled electronic device 60', thereby transmitting the instruction data to the designated controlled electronic device 60' (i.e., the financial printer) using the communication protocol applicable to the financial printer (e.g., USB protocol).

更具體地說,在本實施例中,該處理單元11是從該控制端電子裝置50逐一地接收共同構成該指令資料的該等指令資料部分,並將該等指令資料部分暫時儲存至一個在該儲存單元12中被預先定義好的緩衝區(圖未示出)。其中,該緩衝區是以一個先進先出的資料佇列(queue,也稱「隊列」)來實現,但不以此為限。接著,在該處理單元11接收到所有該等指令資料部分,並將所有該等指令資料部分皆儲存至該緩衝區之後,該處理單元11再根據該等指令資料部分被存入該緩衝區的順序,而將被儲存於該緩衝區的該等指令資料部分依序合併為該指令資料,並將合併所得的該指令資料傳送至該指定受控端電子裝置60’。More specifically, in this embodiment, the processing unit 11 receives the instruction data parts that together constitute the instruction data from the control end electronic device 50 one by one, and temporarily stores the instruction data parts in a predefined buffer (not shown) in the storage unit 12. The buffer is implemented as a first-in-first-out data queue (also called a "queue"), but is not limited thereto. Then, after the processing unit 11 receives all of the command data parts and stores all of the command data parts in the buffer, the processing unit 11 sequentially merges the command data parts stored in the buffer into the command data according to the order in which the command data parts are stored in the buffer, and transmits the merged command data to the designated controlled electronic device 60'.

值得說明的是,藉由該處理單元11根據該指令資料載入並執行該指定受控端電子裝置60’所對應的該應用程式介面資料D,即便該指定受控端電子裝置60’適用的通訊協定與該控制端電子裝置50彼此不同(例如:該指定受控端電子裝置60’適用USB協定,該控制端電子裝置50適用RS-232協定),該處理單元11也能實現該控制端電子裝置50與該指定受控端電子裝置60’之間的跨協定通訊。藉此,本實施例能使原本無法相互通訊的電子裝置透過該通訊管理系統1彼此通訊。It is worth noting that, by the processing unit 11 loading and executing the application program interface data D corresponding to the designated controlled-end electronic device 60' according to the instruction data, even if the communication protocol applicable to the designated controlled-end electronic device 60' is different from that of the control-end electronic device 50 (for example: the designated controlled-end electronic device 60' is applicable to the USB protocol, and the control-end electronic device 50 is applicable to the RS-232 protocol), the processing unit 11 can also realize the cross-protocol communication between the control-end electronic device 50 and the designated controlled-end electronic device 60'. In this way, the present embodiment enables electronic devices that originally cannot communicate with each other to communicate with each other through the communication management system 1.

另一方面,藉由該處理單元11先將該等指令資料部分逐一儲存至該緩衝區,再將被存入該緩衝區的該等指令資料部分合併為該指令資料,即便該指定受控端電子裝置60’與該控制端電子裝置50的傳輸速率彼此差異懸殊(例如:該控制端電子裝置50傳送資料的速度遠高於該指定受控端電子裝置60’接收資料的速度),本實施例也能利用該緩衝區來暫存該控制端電子裝置50要傳送給該指定受控端電子裝置60’的該指令資料。如此一來,該控制端電子裝置50傳送(輸出)該指令資料所須耗費的時間,便不會因為該指定受控端電子裝置60’接收資料的速度較慢而被延長。On the other hand, by first storing the command data parts one by one in the buffer by the processing unit 11, and then merging the command data parts stored in the buffer into the command data, even if the transmission rates of the designated controlled-end electronic device 60' and the control-end electronic device 50 are greatly different from each other (for example: the speed at which the control-end electronic device 50 transmits data is much higher than the speed at which the designated controlled-end electronic device 60' receives data), the present embodiment can also use the buffer to temporarily store the command data to be transmitted by the control-end electronic device 50 to the designated controlled-end electronic device 60'. In this way, the time required for the control-end electronic device 50 to transmit (output) the command data will not be extended due to the slower speed at which the designated controlled-end electronic device 60' receives data.

在該處理單元11將該指令資料傳送至該指定受控端電子裝置60’之後,流程進行至步驟S2。After the processing unit 11 transmits the command data to the designated controlled electronic device 60', the process proceeds to step S2.

在步驟S2中,當該處理單元11接收到一來自於該指定受控端電子裝置60’且對應於該指令資料的回傳資料時,判斷該回傳資料是否具備數據完整性。其中,該回傳資料是由該指定受控端電子裝置60’根據該指令資料所產生。In step S2, when the processing unit 11 receives a return data from the designated controlled electronic device 60' and corresponding to the command data, it determines whether the return data has data integrity. The return data is generated by the designated controlled electronic device 60' according to the command data.

具體而言,在本實施例中,該處理單元11是在接收到該回傳資料的其中一部分時,根據一被預先設定好的預設時間長度決定出一對應於該回傳資料的接收期間,並判斷該回傳資料是否在該接收期間結束之前符合一代表具備數據完整性的完整條件。其中,該回傳資料的該其中一部分可例如是一標頭部分。Specifically, in this embodiment, when receiving a portion of the return data, the processing unit 11 determines a receiving period corresponding to the return data according to a preset time length, and determines whether the return data meets a complete condition representing data integrity before the end of the receiving period. The portion of the return data may be, for example, a header portion.

更明確地說,該處理單元11例如是根據其本身接收到該回傳資料的該其中一部分的時間點,以及一指示出該預設時間長度的接收時長參數來決定出該接收期間。該接收期間例如是從該處理單元11接收到該回傳資料的該其中一部分的時間點所起算,而且,該接收期間的時間長度例如與該預設時間長度相符。More specifically, the processing unit 11 determines the receiving period based on the time point when the processing unit 11 receives the part of the return data and a receiving period parameter indicating the preset time length. The receiving period is calculated from the time point when the processing unit 11 receives the part of the return data, and the time length of the receiving period is consistent with the preset time length.

另一方面,該完整條件可例如代表:該處理單元11所接收到之該回傳資料的一實際資料長度與該標頭部分所指示出的一參考資料長度相符。然而,在不同的實施例中,該完整條件也可以是利用核對和(Checksum)、循環冗餘校驗(Cyclic redundancy check,簡稱CRC),或者是同位位元(Parity bit)檢核等其他的機制來實現。因此,該完整條件的實際態樣並不以本實施例為限。On the other hand, the integrity condition may represent, for example, that an actual data length of the return data received by the processing unit 11 matches a reference data length indicated by the header portion. However, in different embodiments, the integrity condition may also be implemented using other mechanisms such as a checksum, a cyclic redundancy check (CRC), or a parity bit check. Therefore, the actual state of the integrity condition is not limited to this embodiment.

在本實施例中,在該回傳資料符合該完整條件的情況下,該回傳資料例如包含一印錄機狀態值、一列印狀態值及一讀取存摺磁條內容值,但並不以此為限。In this embodiment, when the returned data meets the complete condition, the returned data includes, for example, a printer status value, a print status value, and a passbook magnetic stripe content read value, but is not limited thereto.

若該處理單元11判斷出該回傳資料在該接收期間結束之前符合該完整條件,該處理單元11判定該回傳資料具備數據完整性(亦即判斷結果為是)。在判斷結果為是的情況下,流程進行至步驟S3。反之,若該處理單元11判斷出該回傳資料在該接收期間結束之前未符合該完整條件,該處理單元11判定該回傳資料不具備數據完整性(亦即判斷結果為否)。在判斷結果為否的情況下,流程進行至步驟S4。If the processing unit 11 determines that the return data meets the complete condition before the end of the receiving period, the processing unit 11 determines that the return data has data integrity (that is, the judgment result is yes). If the judgment result is yes, the process proceeds to step S3. On the contrary, if the processing unit 11 determines that the return data does not meet the complete condition before the end of the receiving period, the processing unit 11 determines that the return data does not have data integrity (that is, the judgment result is no). If the judgment result is no, the process proceeds to step S4.

值得說明的是,對於有被成功傳送至該通訊管理系統1的該回傳資料而言,只要該回傳資料在該接收期間結束之前符合該完整條件,便會被該處理單元11判定具備數據完整性。因此,即便該指定受控端電子裝置60’在將該回傳資料傳送至該處理單元11的過程中發生意外性的短暫傳輸中斷,只要該指定受控端電子裝置60’能在該接收期間結束之前恢復並完成該回傳資料的傳送,便仍能使該處理單元11判定該回傳資料具備數據完整性。It is worth noting that, for the return data that has been successfully transmitted to the communication management system 1, as long as the return data meets the complete condition before the end of the receiving period, the processing unit 11 will determine that the data has integrity. Therefore, even if the designated controlled-end electronic device 60' has an unexpected short-term transmission interruption in the process of transmitting the return data to the processing unit 11, as long as the designated controlled-end electronic device 60' can recover and complete the transmission of the return data before the end of the receiving period, the processing unit 11 can still determine that the return data has data integrity.

在接續於步驟S2之後的步驟S3中,一旦該處理單元11判定該回傳資料具備數據完整性,該處理單元11將該回傳資料以適用於該控制端電子裝置50的通訊協定傳送至該控制端電子裝置50。至此,本實施例的通訊管理方法結束。In step S3 following step S2, once the processing unit 11 determines that the returned data has data integrity, the processing unit 11 transmits the returned data to the control end electronic device 50 using a communication protocol applicable to the control end electronic device 50. At this point, the communication management method of this embodiment ends.

在接續於步驟S2之後的步驟S4中,一旦該處理單元11判定該回傳資料不具備數據完整性,該處理單元11產生一對應於該指令資料的錯誤通知,並將該錯誤通知以適用於該控制端電子裝置50的通訊協定傳送至該控制端電子裝置50,以供該控制端電子裝置50將該錯誤通知輸出。藉此,即便該指定受控端電子裝置60’因故(如停電、故障等)無法提供該回傳資料,該控制端電子裝置50也不會因此陷入無止盡等待該回傳資料的狀態。至此,本實施例的通訊管理方法結束。In step S4 following step S2, once the processing unit 11 determines that the return data does not have data integrity, the processing unit 11 generates an error notification corresponding to the command data, and transmits the error notification to the control-end electronic device 50 using the communication protocol applicable to the control-end electronic device 50, so that the control-end electronic device 50 can output the error notification. In this way, even if the designated controlled-end electronic device 60' cannot provide the return data for some reason (such as power outage, failure, etc.), the control-end electronic device 50 will not fall into a state of endlessly waiting for the return data. At this point, the communication management method of this embodiment ends.

以上即為本實施例之通訊管理系統1如何實施該通訊管理方法的示例說明。The above is an example of how the communication management system 1 of this embodiment implements the communication management method.

在本實施例的另一種實施態樣中,步驟S1中所述的該指令資料也可例如是一筆指示出該密碼輸入鍵盤的啟動指令資料。在此種實施態樣中,該指令資料例如是由另外多個指令資料部分共同構成。並且,另外該等指令資料部分例如包含一初始化參數設定指令,以及一鍵盤狀態設定指令。並且,在該指令資料指示出該密碼輸入鍵盤的情況下,該處理單元11會根據該指令資料將該密碼輸入鍵盤作為該指定受控端電子裝置60’。進一步地,在此種實施態樣中,步驟S2中所述的該回傳資料是由該密碼輸入鍵盤所產生。並且,該回傳資料例如包含一表示初始化是否成功的初始化結果參數,以及一表示該密碼輸入鍵盤當前之狀態(例如啟用狀態或待機狀態)的狀態參數,但不以此為限。In another implementation of the present embodiment, the instruction data described in step S1 may also be, for example, a startup instruction data indicating the password input keyboard. In this implementation, the instruction data is, for example, composed of a plurality of other instruction data parts. In addition, the instruction data parts include, for example, an initialization parameter setting instruction and a keyboard state setting instruction. In addition, when the instruction data indicates the password input keyboard, the processing unit 11 will use the password input keyboard as the designated controlled electronic device 60' according to the instruction data. Furthermore, in this implementation, the feedback data described in step S2 is generated by the password input keyboard. Furthermore, the returned data may include, for example, an initialization result parameter indicating whether the initialization is successful, and a state parameter indicating the current state of the password input keyboard (eg, an activated state or a standby state), but is not limited thereto.

特別說明的是,本實施例的步驟S1至步驟S4及圖2的流程圖僅是用於示例說明本新型通訊管理方法的其中一種可實施方式。應當理解,即便將步驟S1至步驟S4進行合併、拆分或順序調整,若合併、拆分或順序調整之後的流程與本實施例相比是以類似的方式,執行類似的功能,而得到類似的結果,便仍屬於該通訊管理方法的可實施態樣,因此,本實施例的步驟S1至步驟S4及圖2的流程圖並非用於限制本新型的可實施範圍。It is particularly noted that steps S1 to S4 of this embodiment and the flowchart of FIG2 are only used to illustrate one of the practicable modes of the novel communication management method. It should be understood that even if steps S1 to S4 are merged, split or adjusted in sequence, if the process after merging, splitting or adjusting in sequence performs similar functions in a similar manner and obtains similar results compared with the present embodiment, it still belongs to the practicable mode of the communication management method. Therefore, steps S1 to S4 of this embodiment and the flowchart of FIG2 are not used to limit the practicable scope of the novel communication management method.

綜上所述,藉由實施該通訊管理方法,即便該控制端電子裝置50與該等受控端電子裝置60因為通訊標準不同而無法直接彼此通訊,該通訊管理系統1也能夠在接收到該控制端電子裝置50所傳送的該指令資料時據以識別出該指定受控端電子裝置60’,並載入該指定受控端電子裝置60’所對應的該應用程式介面資料D,來將該指令資料以該指定受控端電子裝置60’所適用的通訊協定傳送至該指定受控端電子裝置60’,進而將來自該指定受控端電子裝置60’的該回傳資料提供至該控制端電子裝置50。藉此,即便企業機構的系統中有較舊的電子裝置無法與較新的電子裝置相容,企業機構也不會被迫淘汰較舊的電子裝置,故確實能達成本新型之目的。In summary, by implementing the communication management method, even if the control-end electronic device 50 and the controlled-end electronic devices 60 cannot communicate with each other directly due to different communication standards, the communication management system 1 can identify the designated controlled-end electronic device 60' upon receiving the command data transmitted by the control-end electronic device 50, and load the application program interface data D corresponding to the designated controlled-end electronic device 60' to transmit the command data to the designated controlled-end electronic device 60' using the communication protocol applicable to the designated controlled-end electronic device 60', and then provide the return data from the designated controlled-end electronic device 60' to the control-end electronic device 50. Thus, even if the enterprise organization's system has older electronic devices that are not compatible with newer electronic devices, the enterprise organization will not be forced to eliminate the older electronic devices, so the purpose of this innovation can be achieved.

惟以上所述者,僅為本新型之實施例而已,當不能以此限定本新型實施之範圍,凡是依本新型申請專利範圍及專利說明書內容所作之簡單的等效變化與修飾,皆仍屬本新型專利涵蓋之範圍內。However, the above is only an example of the implementation of the present invention, and it cannot be used to limit the scope of the implementation of the present invention. All simple equivalent changes and modifications made according to the scope of the patent application of the present invention and the content of the patent specification are still within the scope of the present patent.

1:通訊管理系統 11:處理單元 12:儲存單元 D:應用程式介面資料 50:控制端電子裝置 60:受控端電子裝置 60’:指定受控端電子裝置 S1~S4:步驟 1: Communication management system 11: Processing unit 12: Storage unit D: Application program interface data 50: Control end electronic device 60: Controlled end electronic device 60’: Designated controlled end electronic device S1~S4: Steps

本新型之其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現。Other features and functions of the present invention will be clearly presented in the embodiments with reference to the drawings.

圖1是一方塊示意圖,示例性地表示本新型通訊管理系統的一實施例,以及適合與該實施例配合應用的一控制端電子裝置及多個受控端電子裝置。FIG. 1 is a block diagram, which exemplarily shows an embodiment of the novel communication management system, as well as a control-end electronic device and a plurality of controlled-end electronic devices suitable for use with the embodiment.

圖2是一流程圖,用於示例性地說明該實施例如何實施一通訊管理方法。FIG. 2 is a flow chart for exemplarily illustrating how the embodiment implements a communication management method.

1:通訊管理系統 1: Communication management system

11:處理單元 11: Processing unit

12:儲存單元 12: Storage unit

D:應用程式介面資料 D: Application Programming Interface Data

50:控制端電子裝置 50: Control terminal electronic device

60:受控端電子裝置 60: Electronic device at the controlled end

60’:指定受控端電子裝置 60’: Specify the electronic device at the controlled end

Claims (4)

一種通訊管理系統,適合與一控制端電子裝置及多個受控端電子裝置配合應用;該通訊管理系統包含: 一處理單元,適合與該控制端電子裝置及該等受控端電子裝置電連接;及 一儲存單元,與該處理單元電連接,且儲存有多筆分別對應於該等受控端電子裝置的應用程式介面資料; 其中,該處理單元用於: 當接收到一來自於該控制端電子裝置且指示出該等受控端電子裝置之其中一者的指令資料時,將該指令資料所指示出的該受控端電子裝置作為一指定受控端電子裝置,並根據該指定受控端電子裝置所對應的該應用程式介面資料,將該指令資料以適用於該指定受控端電子裝置的通訊協定傳送至該指定受控端電子裝置; 在接收到一來自於該指定受控端電子裝置且對應於該指令資料的回傳資料的情況下,判斷該回傳資料是否具備數據完整性; 在判定該回傳資料具備數據完整性時,將該回傳資料傳送至該控制端電子裝置;及 在判定該回傳資料不具備數據完整性的情況下,產生一對應於該指令資料的錯誤通知,並將該錯誤通知傳送至該控制端電子裝置。 A communication management system is suitable for use with a control-end electronic device and a plurality of controlled-end electronic devices; the communication management system comprises: a processing unit, suitable for being electrically connected to the control-end electronic device and the controlled-end electronic devices; and a storage unit, electrically connected to the processing unit, and storing a plurality of application program interface data corresponding to the controlled-end electronic devices respectively; wherein the processing unit is used for: When receiving a command data from the control end electronic device and indicating one of the controlled end electronic devices, the controlled end electronic device indicated by the command data is used as a designated controlled end electronic device, and according to the application program interface data corresponding to the designated controlled end electronic device, the command data is transmitted to the designated controlled end electronic device using a communication protocol applicable to the designated controlled end electronic device; When receiving a return data from the designated controlled end electronic device and corresponding to the command data, determine whether the return data has data integrity; When determining that the return data has data integrity, transmit the return data to the control end electronic device; and When it is determined that the returned data does not have data integrity, an error notification corresponding to the command data is generated and the error notification is sent to the control end electronic device. 如請求項1所述的通訊管理系統,其中: 該處理單元是在接收到該回傳資料的其中一部分時,根據一被預先設定好的預設時間長度決定出一對應於該回傳資料的接收期間,並判斷該回傳資料是否在該接收期間結束之前符合一代表具備數據完整性的完整條件; 當該處理單元判斷出該回傳資料在該接收期間結束之前未符合該完整條件時,該通訊管理系統判定該回傳資料不具備數據完整性;及 當該處理單元判斷出該回傳資料在該接收期間結束之前符合該完整條件時,該通訊管理系統判定該回傳資料具備數據完整性。 A communication management system as described in claim 1, wherein: The processing unit determines a receiving period corresponding to the return data according to a preset time length when receiving a part of the return data, and determines whether the return data meets a complete condition representing data integrity before the end of the receiving period; When the processing unit determines that the return data does not meet the complete condition before the end of the receiving period, the communication management system determines that the return data does not have data integrity; and When the processing unit determines that the return data meets the complete condition before the end of the receiving period, the communication management system determines that the return data has data integrity. 如請求項1所述的通訊管理系統,其中,該處理單元是從該控制端電子裝置逐一地接收多個能共同構成該指令資料的指令資料部分,並將該等指令資料部分儲存於一緩衝區,再根據該等指令資料部分被儲存於該緩衝區的順序,將被儲存於該緩衝區的該等指令資料部分合併為該指令資料後,將該指令資料傳送至該指定受控端電子裝置。A communication management system as described in claim 1, wherein the processing unit receives multiple command data parts that can together constitute the command data from the control-end electronic device one by one, and stores the command data parts in a buffer, and then merges the command data parts stored in the buffer into the command data according to the order in which the command data parts are stored in the buffer, and then transmits the command data to the designated controlled-end electronic device. 如請求項3所述的通訊管理系統,其中,該緩衝區是以一資料佇列來實現。A communication management system as described in claim 3, wherein the buffer is implemented as a data queue.
TW113212867U 2024-11-25 2024-11-25 System for communication managing TWM667423U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW113212867U TWM667423U (en) 2024-11-25 2024-11-25 System for communication managing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW113212867U TWM667423U (en) 2024-11-25 2024-11-25 System for communication managing

Publications (1)

Publication Number Publication Date
TWM667423U true TWM667423U (en) 2025-03-01

Family

ID=95829211

Family Applications (1)

Application Number Title Priority Date Filing Date
TW113212867U TWM667423U (en) 2024-11-25 2024-11-25 System for communication managing

Country Status (1)

Country Link
TW (1) TWM667423U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI895186B (en) * 2024-11-25 2025-08-21 台中商業銀行股份有限公司 System and method for communication managing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI895186B (en) * 2024-11-25 2025-08-21 台中商業銀行股份有限公司 System and method for communication managing

Similar Documents

Publication Publication Date Title
JP5364773B2 (en) System and method for managing a connection between a client and a server
US8136127B1 (en) System and method for linearly managing client-server communication
US20230038510A1 (en) System and method for data transfer, including protocols for use in data transfer in a content management environment
TWM667423U (en) System for communication managing
US8028244B2 (en) Status processing system, status processor, and status displaying method
CN113590354B (en) Block chain based information pushing method, device, equipment, medium and program product
JP2005174048A (en) Data set updating device, terminal device, data set updating method and program
CN112596801B (en) Transaction processing method, device, equipment, storage medium and database
CN103608801A (en) Presentation software automation services
CN114153766A (en) A data transmission method, device, equipment and storage medium based on I2C communication
US10846033B2 (en) Print server, control method, and storage medium
CN101925882A (en) Method for improving performance of replica server and replica server system
TWI895186B (en) System and method for communication managing
EP1959341A1 (en) Status processing system, status processor, and status displaying method
US20140365430A1 (en) Information processing apparatus, system, and control method
RU2382402C2 (en) Flexible context control for listing sessions using context exchange
US20240361932A1 (en) Information processing apparatus, control method, and storage medium
CN119766804A (en) File transmission method, device, equipment, medium and product
CN118054932A (en) Method and system for operating object storage service based on proxy server, and electronic device
CN117076364A (en) A RISC-V USB control system, method, device and medium
CN115495406A (en) A PCIe-based message transmission method, device, equipment and storage medium
CN111898151A (en) Data transmission assisting method, system, terminal device and storage medium
CN116418829A (en) System processing method, device, equipment and storage medium
CN115617824B (en) A transaction message processing method, device and system
EP4518303A1 (en) Image management apparatus, method of controlling image management apparatus, and computer program