TWI657687B - High-performance data length variable message composition method and system thereof - Google Patents

High-performance data length variable message composition method and system thereof Download PDF

Info

Publication number
TWI657687B
TWI657687B TW107100084A TW107100084A TWI657687B TW I657687 B TWI657687 B TW I657687B TW 107100084 A TW107100084 A TW 107100084A TW 107100084 A TW107100084 A TW 107100084A TW I657687 B TWI657687 B TW I657687B
Authority
TW
Taiwan
Prior art keywords
message
fields
field
template
communication
Prior art date
Application number
TW107100084A
Other languages
Chinese (zh)
Other versions
TW201931838A (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 TW107100084A priority Critical patent/TWI657687B/en
Application granted granted Critical
Publication of TWI657687B publication Critical patent/TWI657687B/en
Publication of TW201931838A publication Critical patent/TW201931838A/en

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一種高效能資料長度可變之訊息組成方法及其系統,係透過蒐集複數個訊息資料而定義複數個訊息欄位;分析該等訊息欄位而獲得複數個欄位內容;篩選該等欄位內容,以利用最具通用性之該等欄位內容定義形成至少一第一訊息樣板;及填入複數個通訊資料至該第一訊息樣板中對應之欄位內而組合形成該通訊訊息等步驟,實現傳輸於一應用層中之複數個通訊訊息的備製。 A method for synthesizing a high-performance data length variable and a system thereof, wherein a plurality of message fields are defined by collecting a plurality of message materials; analyzing the message fields to obtain a plurality of field contents; and filtering the contents of the fields Forming at least one first message template by using the most versatile content definitions of the fields; and filling in a plurality of communication materials into corresponding fields in the first message template to form the communication message, etc. A preparation for implementing a plurality of communication messages transmitted in an application layer.

Description

高效能資料長度可變之訊息組成方法及其系統 High-performance data length variable message composition method and system thereof

本發明係屬於通訊系統之技術領域,特別是關於一種高效能資料長度可變之訊息組成方法及其系統,以實現兼顧固定欄位訊息之處理效能與變動欄位訊息之應用彈性而提升通訊系統應用效益。 The invention belongs to the technical field of communication systems, in particular to a message composition method and system thereof with variable length of high-efficiency data, so as to improve the communication system by taking into account the processing performance of fixed field messages and the application flexibility of changing field messages. Application benefits.

為確保兩通訊裝置即使各自內裝的作業系統或運作程式不同,彼此透過網路連線進行傳輸的複數個通訊訊息仍得以溝通無礙,係需要利用一個共同語言,所謂的「通訊協定(Communications Protocol)」編制該等通訊訊息,例如TCP/IP、NetBEUI、DHCP、FTP等。而,現行各通訊系統係皆透過自身專屬的通訊協定與訊息格式為網路連線上的異質端點提供資料交換服務,又,通訊協定大抵可區分為連線導向或非連線導向兩者,且訊息格式則多可區分為固定長度或變動欄位兩類。 In order to ensure that even if the two communication devices are different in their respective operating systems or operating procedures, the multiple communication messages transmitted through the network connection can still be communicated. It is necessary to use a common language, the so-called "Communications". Protocol)" to compile these communication messages, such as TCP/IP, NetBEUI, DHCP, FTP, etc. However, the current communication systems provide data exchange services for heterogeneous endpoints on the network connection through their own proprietary communication protocols and message formats. Moreover, the communication protocol can be roughly classified into either a wired or a non-wired guide. And the message format can be divided into two types: fixed length or variable field.

一般,採固定長度的訊息格式,如下所示,因其欄位內容長度與欄位順序固定,所以於實際應用上可具有較高的訊息傳輸效能,不過,各該通訊訊息的應用彈性亦將受限於此。 Generally, a fixed-length message format is adopted. As shown below, the length of the field and the order of the fields are fixed, so that the message transmission performance can be high in practical applications. However, the application flexibility of each communication message will also be Limited by this.

反觀之,採用變動欄位的訊息格式,如下所示,則因其欄位內容長度與欄位順序皆可不固定而大幅增加整體應用性與擴充彈性,不過,也因此於製 備待傳輸之該等通訊訊息時需組合附加各欄位而造成處理效能低落。 On the other hand, the message format of the changed field is as follows, because the length of the column content and the order of the fields are not fixed, and the overall application and expansion flexibility are greatly increased. However, it is also prepared for the transmission to be transmitted. In the case of communication messages, it is necessary to combine the additional fields to cause a low processing performance.

而,由於各技術類型的實作要求與效能承載互異,所以不同的產業業務對於通訊訊息的傳輸格式要求亦會有所不同,例如銀行存匯業務可能需求較高彈性的內容格式而採用變動欄位訊息或證券投資業務可能需求較快速的傳輸效能而採用固定欄位訊息,造成即使可同謂為金融業的兩者業務對於該等通訊訊息的編組設計於實務上仍會視不同的應用情境搭配不同的組合格式,以期利用最適切的形式實現高傳輸信賴度與高順序精確度的同時兼顧高流量與低延遲的服務水平。然而,也因此,由於實務上的各通訊系統需求不同的訊息編組格式,故造成兩系統或兩裝置間對於訊息格式轉譯的難度增加而不利於處理效能與傳輸效率,實不符現行產業對於網路通訊的速率期待。 However, since the implementation requirements and performance bearers of different technology types are different, different industry services may have different transmission format requirements for communication messages. For example, bank deposit and exchange services may require a more flexible content format and adopt changes. The field information or securities investment business may require faster transmission performance and use fixed field information, resulting in the fact that even the two businesses that can be referred to as the financial industry will still treat different applications for the grouping of such communication messages. The situation is combined with different combination formats, in order to achieve high transmission reliability and high order accuracy while taking into account the high traffic and low latency service levels. However, as a result, the various communication systems in practice require different message grouping formats, which results in an increase in the difficulty of translating the message format between the two systems or the two devices, which is not conducive to processing performance and transmission efficiency, and is inconsistent with the current industry for the network. The rate of communication is expected.

有感於此,如何改善變動欄位訊息格式的組合形式,而提升通訊系統對於OSI(Open System Interconnection Reference Model,開放式系統互聯通訊參考模型)架構中應用層內通訊訊息的處理效能與適應彈性,以切合現今金融業中不同類型業務間對於電子訊息的不同傳輸需求,即為本發明所亟欲探究之課題。 In view of this, how to improve the combination form of the change field message format, and improve the processing efficiency and adaptability of the communication system in the application layer of the OSI (Open System Interconnection Reference Model) architecture In order to meet the different transmission needs of electronic messages between different types of businesses in the current financial industry, it is the subject of the invention.

有鑑於習知技藝之問題,本發明之目的在於提供一種高效能資料長度可變之訊息組成方法及其系統,以利用求同存異的數據組合方式使一通訊訊息兼具高處理效能與高可讀性之特點。 In view of the problems of the prior art, the present invention aims to provide a high-performance data length variable message composition method and system thereof, so as to make a communication message have high processing performance and high readability by using the data combination method of seeking common ground while differentiating. The characteristics.

根據本發明之目的,該高效能資料長度可變之訊息組成方法係供傳輸一應用層中之複數個通訊訊息,其包含下列步驟:蒐集複數個訊息資料而定義複數個訊息欄位;分析該等訊息欄位而獲得複數個欄位內 容;篩選該等欄位內容,以利用最具通用性之該等欄位內容定義形成至少一第一訊息樣板;及填入複數個通訊資料至該第一訊息樣板中對應之欄位內而組合形成該通訊訊息。 According to the purpose of the present invention, the high-performance data length variable message composition method is for transmitting a plurality of communication messages in an application layer, and the method comprises the following steps: collecting a plurality of message materials and defining a plurality of message fields; analyzing the Wait for a message field to get multiple fields Aligning the contents of the fields to form at least one first message template using the most versatile content definitions of the fields; and filling in a plurality of communication materials into corresponding fields in the first message template The combination forms the communication message.

並且,當分析該等訊息欄位時,更包含下列步驟:獲得複數個欄位順序與複數個欄位長度;及篩選該等欄位順序與該等欄位長度,以利用最具通用性之該欄位順序排序該等欄位內容與利用最具通用性之該欄位長度定址各該欄位內容,而形成該第一訊息樣板。當篩選該等欄位內容時,更包含下列步驟:集合不符通用性之該等欄位內容定義形成至少一第二訊息樣板。 Moreover, when analyzing the message fields, the method further comprises the steps of: obtaining a plurality of field sequences and a plurality of field lengths; and screening the order of the fields and the length of the fields to utilize the most versatile The field sequentially sorts the contents of the fields and positions the contents of the field with the most common length of the field to form the first message template. When the content of the fields is filtered, the following steps are further included: the collection of the field content definitions that do not conform to the versatility form at least one second message template.

其中,當該等通訊資料填入該第一訊息樣板前,更包含下列步驟:利用該等欄位內容分析待傳輸之該等通訊資料,以至少區分形成符合該等欄位內容之複數個第一資料與不符該等欄位內容之複數個第二資料。當該等通訊資料填入該第一訊息樣板時,更包含下列步驟:各該第一資料依據該欄位長度進行補白或刪減後填入該第一訊息樣板中對應之欄位內。當該等通訊資料填入該第一訊息樣板後,更包含下列步驟:組合該等第二資料之其中至少一者至該第二訊息樣板,以形成該通訊訊息。該第一訊息樣板中之各該欄位內容之欄位長度係具有一上限。 Wherein, before the communication materials are filled in the first message template, the method further comprises the steps of: analyzing the communication materials to be transmitted by using the contents of the fields to at least distinguish the plurality of pieces that meet the contents of the fields. A data and a plurality of second materials that do not conform to the contents of the fields. When the communication data is filled in the first message template, the method further includes the following steps: each of the first data is filled or deleted according to the length of the field, and then filled in the corresponding field in the first message template. After the communication data is filled in the first message template, the method further includes the step of: combining at least one of the second data to the second message template to form the communication message. The field length of each of the field contents in the first message template has an upper limit.

根據本發明之另一目的,該實施高效能資料長度可變之訊息組成方法之系統係供傳輸一應用層中之複數個通訊訊息,其包含一樣板製成模組及一訊息處理模組。該樣板製成模組自該應用層中蒐集複數個訊息資料而定義複數個訊息欄位,且分析該等訊息欄位而獲得複數個欄位內容後,篩選該等欄位內容,以利用最具通用性之該等欄位內容定義形成至少一第一訊息樣板。該訊息處理模組電訊連接該樣板製成模組,並填入複數個通訊資料至該第一訊息樣板中對應之欄位內而組合形成該通訊訊息。 According to another aspect of the present invention, the system for implementing a high-performance data length variable message composition method is for transmitting a plurality of communication messages in an application layer, comprising a same board module and a message processing module. The template module generates a plurality of message fields from the application layer to define a plurality of message fields, and after analyzing the message fields to obtain a plurality of field contents, screening the fields to select the most The field content definitions with versatility form at least one first message template. The message processing module telecommunications connects the template to form a module, and fills in a plurality of communication materials into corresponding fields in the first message template to form the communication message.

其中,該樣板製成模組係集合不符通用性之該等欄位內容定義形成至少一第二訊息樣板。該訊息處理模組利用該等欄位內容分析待傳輸之該等通訊資料並至少區分形成符合該等欄位內容之複數個第一資料與 不符該等欄位內容之複數個第二資料,以將各該第一資料依據該欄位長度進行補白或刪減後填入該第一訊息樣板中對應之欄位內,及組合該等第二資料之其中至少一者至該第二訊息樣板而形成該通訊訊息。 Wherein, the template is made into a module that is inconsistent with the versatility of the field content definition to form at least one second message template. The message processing module uses the contents of the fields to analyze the communication materials to be transmitted and at least distinguishes between the plurality of first materials that form the content of the fields and a plurality of second data that do not conform to the contents of the fields, such that the first data is filled or deleted according to the length of the field, and is filled in the corresponding field in the first message template, and the combination is The communication message is formed by at least one of the two materials to the second message template.

綜上所述,本發明係利用補白或刪減該第一資料至該訊息樣板之欄位內後,彈性附加該第二資料至該訊息樣板而完成可傳送之該通訊訊息,以實現混合習知固定欄位訊息與變動欄位訊息的組成方式而使該通訊訊息兼具高可讀性、高效能、高維護性與高彈性等特色,並滿足現今金融業與證券業對於高變化性與高時效性電子訊息的傳輸應用需求。 In summary, the present invention uses the filler or the deletion of the first data into the field of the message template, and then elastically attaches the second data to the message template to complete the communication message that can be transmitted to implement the hybrid learning. Knowing the composition of the fixed field message and the change field message makes the communication message have the characteristics of high readability, high efficiency, high maintenance and high flexibility, and meet the high variability of today's financial industry and securities industry. The need for transmission applications for highly time-sensitive electronic messages.

1‧‧‧實施高效能資料長度可變之訊息組成方法之系統 1‧‧‧System for implementing a message composition method with variable data length

10‧‧‧樣板製成模組 10‧‧‧Models made into modules

100‧‧‧分析單元 100‧‧‧analysis unit

1000‧‧‧欄位內容 1000‧‧‧ field content

1001‧‧‧欄位順序 1001‧‧‧ field order

101‧‧‧數據庫 101‧‧‧ database

102‧‧‧樣板單元 102‧‧‧Model unit

1020‧‧‧第一訊息樣板 1020‧‧‧First message template

1021‧‧‧第二訊息樣板 1021‧‧‧Second message template

11‧‧‧訊息處理模組 11‧‧‧Message Processing Module

110‧‧‧通訊訊息 110‧‧‧Communication messages

S1~S6‧‧‧步驟 S1~S6‧‧‧Steps

第1圖 係為本發明較佳實施例之一實施態樣之系統方塊圖。 BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a block diagram of a system in accordance with an embodiment of the preferred embodiment of the present invention.

第2圖 係為本發明較佳實施例之一實施態樣之方法流程圖。 2 is a flow chart of a method according to an embodiment of the preferred embodiment of the present invention.

第3圖 係為本發明較佳實施例之二實施態樣之系統方塊圖。 Figure 3 is a block diagram of a second embodiment of the preferred embodiment of the present invention.

第4圖 係為本發明較佳實施例之二實施態樣之方法流程圖。 Figure 4 is a flow chart of a second embodiment of the preferred embodiment of the present invention.

第5圖 係為本發明較佳實施例之二實施態樣之訊息樣板示意圖。 Figure 5 is a schematic diagram of a message template of a second embodiment of the preferred embodiment of the present invention.

為使 貴審查委員能清楚了解本發明之內容,謹以下列說明搭配圖式,敬請參閱。 In order for your review board to have a clear understanding of the contents of the present invention, please refer to the following description for matching drawings.

請參閱第1、2圖,其係分別為本發明較佳實施例之一實施態樣之系統方塊圖與方法流程圖。如圖所示,實施該高效能資料長度可變之訊息組成方法之系統1係供傳輸一應用層中之複數個通訊訊息而設有一樣板製成模組10與一訊息處理模組11,該訊息處理模組11電訊連接該樣板製成模組10,且該高效能資料長度可變之訊息組成方法可包含下列步驟。 Please refer to FIG. 1 and FIG. 2, which are respectively a system block diagram and a method flowchart of an embodiment of the preferred embodiment of the present invention. As shown in the figure, the system 1 for implementing the message composition method with variable data length is provided for transmitting a plurality of communication messages in an application layer, and is provided with the same board module 10 and a message processing module 11, The message processing module 11 is connected to the template to form the module 10, and the method for composing the high-performance data length variable may include the following steps.

步驟S1,該樣板製成模組10自該應用層中蒐集複數個訊息資料而定義複數個訊息欄位後,於步驟S2中分析該等訊息欄位而獲得複數個欄位內容,並於步驟S3中篩選該等欄位內容,以於步驟S31中利用最具 通用性之該等欄位內容定義形成一第一訊息樣板。並且,步驟S5,該訊息處理模組11填入複數個通訊資料至該第一訊息樣板中對應之欄位內而於步驟S6中組合形成該通訊訊息。 Step S1, the template module 10 collects a plurality of message data from the application layer to define a plurality of message fields, and then analyzes the message fields in step S2 to obtain a plurality of field contents, and Screening the contents of the fields in S3 to utilize the most in step S31 These field contents of versatility are defined to form a first message template. In addition, in step S5, the message processing module 11 fills in a plurality of communication materials into corresponding fields in the first message template and combines to form the communication message in step S6.

請參閱第3~5圖,其係分別為本發明較佳實施例之二實施態樣之系統方塊圖、方法流程圖與訊息樣板示意圖。如圖所示,為使傳輸於一應用層中之複數個通訊訊息110可同時兼顧高處理效能與高適應彈性等特點而符合時下各產業業務的通訊需求,該高效能資料長度可變之訊息組成方法係利用設有一樣板製成模組10及一訊息處理模組11之該系統1執行下列步驟實現,且該樣板製成模組10電訊連接該訊息處理模組11,該樣板製成模組10設有一分析單元100、一數據庫101與一樣板單元102,該分析單元100電訊連接該數據庫101與該樣板單元102。 Please refer to FIG. 3 to FIG. 5 , which are respectively a system block diagram, a method flowchart and a message template diagram of a second embodiment of the preferred embodiment of the present invention. As shown in the figure, in order to enable a plurality of communication messages 110 transmitted in an application layer to meet the communication requirements of various industrial services at the same time, such as high processing performance and high adaptability flexibility, the high-performance data length can be changed. The message composition method is implemented by the system 1 having the same board forming module 10 and a message processing module 11, and the template forming module 10 is telecommunicationly connected to the message processing module 11, and the template is made. The module 10 is provided with an analysis unit 100, a database 101 and a same board unit 102. The analysis unit 100 is telecommunicationally connected to the database 101 and the template unit 102.

步驟S1,該樣板製成模組10自該應用層中蒐集複數個訊息資料後儲存於該數據庫101中,且該分析單元100利用該等訊息資料進行分析而定義出複數個訊息欄位。舉例而言,本實施態樣若以證券業之交易環境為例,由於現行交易所已數位化而多半藉由至少一主機連線系統接收來自至少一券商的委託操作訊息並傳送相關交易回報,故該樣板製成模組10可蒐集傳輸於該主機連線系統與該券商間各類委託操作訊息之該等訊息資料,使供該分析單元100定義出各該訊息欄位而整理出一電文傳輸之格式規範並獲知各委託訊息於操作時所需具備之有效欄位,如下表(一)所示。 In step S1, the template module 10 collects a plurality of message materials from the application layer and stores them in the database 101, and the analysis unit 100 uses the message data to perform analysis to define a plurality of message fields. For example, if the transaction environment of the securities industry is taken as an example, since the current exchange has been digitized, most of the at least one host connection system receives the commissioned operation message from at least one brokerage and transmits the related transaction return. Therefore, the template module 10 can collect the message data transmitted by the host connection system and the brokers for various types of commissioning operation messages, so that the analysis unit 100 defines each of the message fields and organizes a message. The format specification of the transmission is known and the valid fields required for the operation of each entrusted message are as shown in the following table (1).

步驟S2,該分析單元100分析該等訊息欄位而獲得複數個欄位內容1000,同時,於步驟S20中分析獲得複數個欄位順序1001與複數個欄位長度。該樣板單元102於步驟S3中篩選該等欄位內容1000,同時,於步驟S30中篩選該等欄位順序1001與該等欄位長度,以於步驟S31中利用最具通用性之該等欄位內容1000、及透過最具通用性之該欄位順序1001排序該等欄位內容1000與最具通用性之該欄位長度定址各該欄位內容1000後,定義形成至少一第一訊息樣板1020,又,該第一訊息樣板1020中之各該欄位內容1000之欄位長度係具有一上限。由於,交易所係採用變動欄位長度的電文傳輸內容,且某一刪除操作訊號呈現為「35=C*37=A1234*」之14位元組、某一修改操作訊息呈現為「35=M*37=B1234*44=010050*38=008*」之31位元組,故該分析單元100透過該等訊息欄位的分析後,除可獲知形成一欄位單元之各該欄位內容1000間需插入「=」符號作為區隔,例如表代號之該欄位內容1000與表內容說明之該欄位內容1000間,與該欄位單元之末連結具有供辨識之「*」符號外,亦可歸納出一14位元組之欄位單元樣板「35=□*37=□□□□□*」與一17位元組之欄位單元樣板「44=□□□□□□*38=□□□*」,以供該樣板單元102進一步利用此等欄位單元樣板中該等欄位內容1000、該等欄位順序1001與該等欄位長度之配置分別定義形成長度固定之14位元組之該第一訊息樣板1020與17位元組之該第一訊息樣板1020。 In step S2, the analyzing unit 100 analyzes the message fields to obtain a plurality of field contents 1000, and at the same time, obtains a plurality of field order 1001 and a plurality of field lengths in step S20. The template unit 102 filters the field contents 1000 in step S3, and simultaneously filters the field order 1001 and the field lengths in step S30 to utilize the most versatile columns in step S31. Bit content 1000, and sorting the field contents 1000 through the most common field order 1001 and the most common field length to address each field content 1000, defining at least one first message template 1020. In addition, the field length of each of the field contents 1000 in the first message template 1020 has an upper limit. Because the exchange uses the text transmission content of the variable field length, and a deletion operation signal is displayed as "35=C*37=A1234*" 14-bit tuple, and a modification operation message is presented as "35=M *37=31st bit of B1234*44=010050*38=008*", so the analysis unit 100 can obtain the content of each field of the field by 1000 after analyzing the information fields. The "=" symbol is required to be inserted as a segment, for example, the field content 1000 of the table code and the content of the field in the table description 1000, and the "*" symbol for identification is added to the end of the field unit. It can also be summarized as a 14-digit field unit model "35=□*37=□□□□□*" and a 17-byte field unit sample "44=□□□□□□*38 =□□□*", for the template unit 102 to further utilize the field contents 1000 in the field unit templates, the field order 1001 and the configuration of the field lengths respectively define a fixed length 14 The first message template 1020 of the first message template 1020 and the 17-byte group of the byte.

步驟S4,該樣板單元102更集合不符通用性之該等欄位內容1000定義形成至少一第二訊息樣板1021。接著,步驟S50,該訊息處理模組11利用該等欄位內容1000分析待傳輸之該等通訊資料,以至少區分 形成符合該等欄位內容1000之複數個第一資料與不符該等欄位內容1000之複數個第二資料後,於步驟S51中使各該第一資料依據該欄位長度進行補白或刪減後填入該第一訊息樣板1020中對應之欄位內,及於步驟S52中組合該等第二資料之其中至少一者至該第二訊息樣板1021內。如此,即可於步驟S6中備製形成各類待傳輸之該通訊訊息110。 In step S4, the template unit 102 further defines the field contents 1000 that do not conform to the versatility to define at least one second message template 1021. Next, in step S50, the message processing module 11 analyzes the communication materials to be transmitted by using the field contents 1000 to distinguish at least After forming a plurality of first data that meets the content 1000 of the field and a plurality of second materials that do not conform to the content 1000 of the fields, in step S51, each of the first data is whitened or deleted according to the length of the field. Then, the corresponding fields in the first message template 1020 are filled in, and at least one of the second materials is combined into the second message template 1021 in step S52. In this way, the communication message 110 to be transmitted can be prepared in step S6.

順帶一提的是,該樣板製成模組10係廣泛蒐集有效之該等訊息資料,以使後續定義獲得之各類樣板,諸如該第一訊息樣板1020,甚或該第二訊息樣板1021足以代表所有應用情境。如此,即使各類待傳輸之該通訊訊息110並不存在共通性欄位區段,其組合過程亦可為本發明所產生之各類樣板涵蓋。 Incidentally, the template module 10 is widely used to collect valid information materials, so that various types of templates obtained by subsequent definitions, such as the first message template 1020, or even the second message template 1021, are sufficient. All application scenarios. In this way, even if the various communication messages 110 to be transmitted do not have a common field segment, the combination process can also be covered by various templates generated by the present invention.

以上所述僅為舉例性之較佳實施例,而非為限制性者。任何未脫離本發明之精神與範疇,而對其進行之等效修改或變更,均應包含於後附之申請專利範圍中。 The above description is only illustrative of preferred embodiments and not limiting. Any equivalent modifications or alterations to the spirit and scope of the invention are intended to be included in the scope of the appended claims.

Claims (4)

一種高效能資料長度可變之訊息組成方法,係供傳輸一應用層中之複數個通訊訊息,其包含下列步驟:蒐集複數個訊息資料而定義複數個訊息欄位;分析該等訊息欄位而獲得複數個欄位內容;篩選該等欄位內容,以利用最具通用性之該等欄位內容定義形成至少一第一訊息樣板;及填入複數個通訊資料至該第一訊息樣板中對應之欄位內容而組合形成該通訊訊息,其中當分析該等訊息欄位時,更包含下列步驟:獲得複數個欄位順序與複數個欄位長度;篩選該等欄位順序與該等欄位長度,以利用最具通用性之該欄位順序排序該等欄位內容與利用最具通用性之該欄位長度定址各該欄位內容,而形成該第一訊息樣板;集合不符通用性之該等欄位內容定義形成至少一第二訊息樣板;利用該等欄位內容分析待傳輸之該等通訊資料,以至少區分形成符合該等欄位內容之複數個第一資料與不符該等欄位內容之複數個第二資料;及各該第一資料依據該欄位長度進行補白或刪減後填入該第一訊息樣板中對應之欄位內。 A high-performance data length variable message composition method for transmitting a plurality of communication messages in an application layer, comprising the steps of: collecting a plurality of message data to define a plurality of message fields; analyzing the message fields Obtaining a plurality of field contents; screening the contents of the fields to form at least one first message template by using the most versatile content of the fields; and filling in a plurality of communication materials to correspond to the first message template The content of the field is combined to form the communication message, wherein when analyzing the message fields, the method further comprises the steps of: obtaining a plurality of field sequences and a plurality of field lengths; screening the fields in the order of the fields Length, the first message template is formed by sorting the contents of the fields in the most common order of the fields and using the most common field length to form the first message template; the collection is not universal Forming, by the field content, at least one second message template; analyzing the communication materials to be transmitted by using the contents of the fields to at least distinguish and form the fields that meet the a plurality of first data and a plurality of second data that do not conform to the contents of the fields; and each of the first data is filled or deleted according to the length of the field, and then filled in the corresponding field in the first message template . 如申請專利範圍第1項所述之高效能資料長度可變之訊息組成方法,其中當該等通訊資料填入該第一訊息樣板後,更包含下列步驟:組合該等第二資料之其中至少一者至該第二訊息樣板,以形成該通訊訊息。 The method for composing a message of a variable length of a high-performance data as described in claim 1 , wherein when the communication material is filled in the first message template, the method further comprises the steps of: combining at least one of the second materials; One to the second message template to form the communication message. 如申請專利範圍第2項所述之高效能資料長度可變之訊息組成方法,其中該第一訊息樣板中之各該欄位內容之欄位長度係具有一上限。 The method for composing a high-performance data length variable according to claim 2, wherein a field length of each of the field contents in the first message template has an upper limit. 一種實施申請專利範圍第1項所述之高效能資料長度可變之訊息組成方法之系統,係供傳輸一應用層中之複數個通訊訊息,其包含:一樣板製成模組,係自該應用層中蒐集複數個訊息資料而定義複數個訊息欄位,且分析該等訊息欄位而獲得複數個欄位內容後,篩選該等欄位內容,以利用最具通用性之該等欄位內容定義形成至少一第一訊息樣板;及一訊息處理模組,係電訊連接該樣板製成模組,並填入複數個通訊資料至該第一訊息樣板中對應之欄位內而組合形成該通訊訊息,其中該樣板製成模組係集合不符通用性之該等欄位內容定義形成至少一第二訊息樣板,其中該訊息處理模組係利用該等欄位內容分析待傳輸之該等通訊資料並至少區分形成符合該等欄位內容之複數個第一資料與不符該等欄位內容之複數個第二資料,以將各該第一資料依據該欄位長度進行補白或刪減後填入該第一訊息樣板中對應之欄位內,及組合該等第二資料之其中至少一者至該第二訊息樣板而形成該通訊訊息。 A system for implementing a message composition method of variable energy length data according to item 1 of the patent application scope is for transmitting a plurality of communication messages in an application layer, comprising: a module made of the same board, The application layer collects a plurality of message data to define a plurality of message fields, and after analyzing the message fields to obtain a plurality of field contents, screening the contents of the fields to utilize the most versatile fields The content definition forms at least one first message template; and a message processing module is configured to telecommunications the template to form a module, and fill a plurality of communication materials into corresponding fields in the first message template to form the same The communication message, wherein the template is formed into a module that is inconsistent with the versatility, and the field content definition forms at least one second message template, wherein the message processing module uses the field contents to analyze the communication to be transmitted. And at least distinguishing between the plurality of first materials that meet the contents of the fields and the plurality of second materials that do not conform to the contents of the fields, so as to base each of the first materials with the length of the field After filling or deleting, filling in the corresponding field in the first message template, and combining at least one of the second materials to the second message template to form the communication message.
TW107100084A 2018-01-02 2018-01-02 High-performance data length variable message composition method and system thereof TWI657687B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107100084A TWI657687B (en) 2018-01-02 2018-01-02 High-performance data length variable message composition method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107100084A TWI657687B (en) 2018-01-02 2018-01-02 High-performance data length variable message composition method and system thereof

Publications (2)

Publication Number Publication Date
TWI657687B true TWI657687B (en) 2019-04-21
TW201931838A TW201931838A (en) 2019-08-01

Family

ID=66996260

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107100084A TWI657687B (en) 2018-01-02 2018-01-02 High-performance data length variable message composition method and system thereof

Country Status (1)

Country Link
TW (1) TWI657687B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998010591A1 (en) * 1996-09-02 1998-03-12 Kabushiki Kaisha Toshiba Information transmitting method, encoder/decoder of information transmitting system using the method, and encoding multiplexer/decoding inverse multiplexer
TW201118589A (en) * 2009-06-09 2011-06-01 Ebh Entpr Inc Methods, apparatus and software for analyzing the content of micro-blog messages
TWI431972B (en) * 2006-06-29 2014-03-21 Wi Lan Inc A system and process for packet delineation

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998010591A1 (en) * 1996-09-02 1998-03-12 Kabushiki Kaisha Toshiba Information transmitting method, encoder/decoder of information transmitting system using the method, and encoding multiplexer/decoding inverse multiplexer
TWI431972B (en) * 2006-06-29 2014-03-21 Wi Lan Inc A system and process for packet delineation
TW201118589A (en) * 2009-06-09 2011-06-01 Ebh Entpr Inc Methods, apparatus and software for analyzing the content of micro-blog messages

Also Published As

Publication number Publication date
TW201931838A (en) 2019-08-01

Similar Documents

Publication Publication Date Title
CN111970353A (en) Data processing method and device for heterogeneous equipment in Internet of things of cloud computing platform
CN105578488B (en) Network data acquisition system and method
CN101282331A (en) Method for recognizing P2P network flow based on transport layer characteristics
CN104283891A (en) Method and device for access of service function node to service link network
CN109150854B (en) Dynamic configurable communication protocol conversion system based on XML file
CN106713351B (en) Secure communication method and device based on serial server
CN111064726B (en) Method and system for realizing data conversion between GOOSE protocol and HDLC protocol
CN101848239B (en) High-timeliness distributed service integration calling system
CN114119026B (en) Virtual currency transaction tracking and tracing method and system
CN107087006A (en) A kind of agreement shunt method, system and server
CN101247434B (en) Traffic analyzing method and system
CN103780435B (en) The method and system classified using port numbers mask to data stream
CN106779472A (en) Using the method and device of flow template treatment bank different business data
CN108462707A (en) A kind of mobile application recognition methods based on deep learning sequence analysis
CN109981676A (en) One kind being based on the customized Internet of Things information interacting method of binary system analysis protocol
CN114979186B (en) Flow link analysis method and system based on Flink component
TWI657687B (en) High-performance data length variable message composition method and system thereof
CN101888303B (en) Recording method of network traffic information and related device
CN111800292A (en) Early warning method and device based on historical flow, computer equipment and storage medium
CN110336798A (en) Message matching filtering method and device based on DPI
JP2021039732A (en) Data transmission method
CN108880940B (en) Signaling decoding adaptation method and system
EP3790260A1 (en) Device and method for identifying network devices in a nat based communication network
CN113763514B (en) Method, device and system for generating stroke order animation and electronic equipment
CN110519160A (en) Things-internet gateway multimode communication means, device and computer readable storage medium