CN100586109C - Communication method and system for universal service data based on self-defined template - Google Patents

Communication method and system for universal service data based on self-defined template Download PDF

Info

Publication number
CN100586109C
CN100586109C CN200710179937A CN200710179937A CN100586109C CN 100586109 C CN100586109 C CN 100586109C CN 200710179937 A CN200710179937 A CN 200710179937A CN 200710179937 A CN200710179937 A CN 200710179937A CN 100586109 C CN100586109 C CN 100586109C
Authority
CN
China
Prior art keywords
message
data
template
communication
message template
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN200710179937A
Other languages
Chinese (zh)
Other versions
CN101188561A (en
Inventor
龚健
赵天越
丑成业
李平立
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Peking University
Founder International Beijing Co Ltd
Original Assignee
Peking University
Founder International Beijing Co Ltd
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 Peking University, Founder International Beijing Co Ltd filed Critical Peking University
Priority to CN200710179937A priority Critical patent/CN100586109C/en
Publication of CN101188561A publication Critical patent/CN101188561A/en
Application granted granted Critical
Publication of CN100586109C publication Critical patent/CN100586109C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to a common business data communication method and a device based on a user-defined template, and belongs to the technical field of the network communication. In the prior technology, communication data are typically converted to the message according to the appointed protocol first, then the receiver converts the message to the communication data according to the appointed protocol again, wherein, the protocol defines the format and the semantic meaning of the transmitting message. On the base of communication protocol, the invention realizes synchronous generation of message at a message sending terminal and message analysis at a message receiving terminal through definition of message format and semantic meaning by a user-defined definable message template. The method and the device of the invention have the advantages that the data of the frequent communication between similar businesses can be greatly lowered, and agile and high safe data communication of multiple businesses in a distributed application system is realized.

Description

The general-purpose service data means of communication and system based on self-defined template
Technical field
Invention belongs to field of computer network communication, is specifically related to a kind of general-purpose service data means of communication and system based on self-defined template.
Background technology
In the prior art for communication data general earlier by appointment protocol conversion be message, reciever is a communication data according to this protocol conversion with message again, wherein protocol definition transmit the form of message with semantic.According to present this mode, adopt general communications protocol just to solve data transmission problem, at concrete service application, transmit leg and reciever still need the form of communication data and semanteme are reached an agreement, promptly use the message of coupling to generate and parsing module, if new business takes place to revise or increase in message data, often need to write again the corresponding communication module code, this mode is system maintenance cost height not only, and under distributed network application environment, under the prerequisite of not interrupting using synchronously all transmission with accept communication module with regard to suitable difficulty, and lower to the fail safe of the load mode communication data of disclosure agreement.
The research that flexibility is handled to message, domestic patents that also have some to be correlated with, as number of patent application is 02111897.3 " a kind of communication packet treatment facility and method of basic class template manager ", this patent conducts interviews and processing method in order to the representation model of setting up a series of object class hierarchical structures and to these object class, and these object class comprise the object class of describing the message in the computer communication system, to all message object class message object class template of unifying to describe and the class template manager of unifying to handle these object class template institute formation object examples; Can realize using unified, succinct interface to handle thousands of message object class and be not only object instance, thereby reduce the complexity of programming greatly, improve the reusability and the reliability of software.Communication packet treatment facility and method that this patent provides based on the class template manager, the communication interface message processing module (MPM) that can be used for network management system, also can be used for other application systems, the convenient tool of object class management and visit is provided for systems design and development.This patent proposes the processing to communication packet, but this patent is not method and the device that general message is resolved at the association message processing of carrying out in a kind of basic class template manager only.Patent such as above-mentioned is not all mentioned the function of carrying out digital coding conversion, analysis, extraction and the message encryption transmission of message by the mode of message template, and the master-slave mode of configuration manager that does not more relate to transmit leg and reciever is synchronous to the distribution of the message template of transmit leg and reciever.
Summary of the invention
At problems of the prior art, the purpose of this invention is to provide a kind of general-purpose service data means of communication and system based on self-defined template, can allow User Defined message template also can realize the conversion of communication data and message by this method and system according to this message template, only need obtain consistent message template to message transmitting party with reciever, promptly can resolve or generate message according to this message template, thereby can realize the data sync between transmit leg and the reciever, can realize the message encryption of communication by setting the message template of different application rule simultaneously.
For achieving the above object, the technical solution used in the present invention is:
A kind of general-purpose service data communication system based on self-defined template, this system comprises: packet parsing device, data buffering pond, configuration manager, template manager, rule management, data-interface and communication interface, wherein, data-interface is connected with the packet parsing device respectively with communication interface;
Described packet parsing device can change into the data based message template that needs communication message data and further be converted into message, also message can be become message data according to message template resolving inversely, and message data is transformed communication data;
Described data buffering pond is with the form buffer memory packet parsing device of data stack and data queue, the intermediate data that configuration manager uses, also can recorded message transmission/acceptance whether successful state;
Described configuration manager is used to manage and preserve the business rule that the user selects corresponding message template to set for communication data, and selects suitable message template according to the result that rule management is judged from template manager or to the request of template definition side;
Described rule management is used for the judgement of business rule, and when the user specified the message template for communication data, whether this appointments meets user's business rule definite in advance and that be stored in configuration manager was judged by rule management;
Described template manager is used for the administrative message template;
Described data-interface is the external interface that the packet parsing device need to accept communication data;
Described communication interface is the interface of packet parsing device and communication module.
A kind of general-purpose service data means of communication based on self-defined template comprise the steps:
(A) data-interface of transmit leg packet parsing device is accepted communication data and it is saved in the data buffering pond, and configuration manager is selected corresponding message template according to master-slave mode and business configuration;
(B) transmit leg packet parsing device is converted to message data with communication data according to the message template of selecting in the steps A, and is converted into message;
(C) the transmit leg communication interface sends to reciever with message;
(D) communication interface of reciever packet parsing device is accepted message and it is saved in the data buffering pond, and configuration manager is selected corresponding message template according to master-slave mode and heading;
(E) reciever packet parsing device is message data according to the message template that step D selects with the message reverse resolution, and is converted into communication data, and the end data communication is handled.
Further, described message template is a structural data, and the format information that it has defined communication data has write down between communication data and the message data, the mutual transformation rule between message data and the message;
Further, described business configuration is meant that the user is that each data of reading over that need transmit is specified corresponding message template, the user need observe the business rule that the user sets up when specifying corresponding message template for communication data, business rule is set up as required voluntarily by the user, common business rule is that the user specifies corresponding message template type according to traffic data type, is that the business datum of same type is selected concrete message template according to applicable elements then on this basis;
Further, the master-slave mode of the configuration manager described in step (A) and the step (D) comprises two kinds of transmit leg active mode and reciever active modes, by transmit leg definition message template, and provide and send the message template according to the request of reciever configuration manager in the transmit leg active mode by transmit leg; By reciever definition message template, and provide and send the message template according to the request of transmit leg configuration manager in the reciever active mode by reciever;
Further, suddenly in (A), when configuration manager is selected corresponding message template according to master-slave mode and business configuration, the concrete grammar that adopts is: when the master-slave mode of configuration manager is the transmit leg active mode, the message template is defined by transmit leg, according to the determined corresponding message template of business configuration, the configuration manager of transmit leg directly selects this corresponding message template to get final product; When the master-slave mode of configuration manager is the reciever active mode, the message template is defined by reciever, according to the determined corresponding message template of business configuration, the configuration manager of transmit leg at first searches whether there is this message template in the template manager of transmit leg, if find the message template then directly select this message template, if search less than, then send by this message template to the reciever request;
Further, in the step (D), when the configuration manager of reciever is selected corresponding message template according to master-slave mode and heading, the concrete grammar that adopts is: when the master-slave mode of configuration manager is the transmit leg active mode, the message template is defined by transmit leg, owing to write down the name information of selected message template in the heading, can determine selected message template in view of the above, this moment, the configuration manager of reciever at first searched whether there is this message template in the template manager of reciever, if find the message template then select this message template, if search less than, then send this message template to the transmit leg request; When the master-slave mode of configuration manager was the reciever active mode, the message template was defined by reciever, and according to the message Template Information that writes down in the heading, configuration manager is directly selected this message template;
Further, in the step (B), when the packet parsing device is converted to message data according to the message template with communication data, change according to message template established data structure, hierarchical sequence;
Further, in the step (C), transmit leg sends to reciever by communications protocol with message, and described communications protocol is meant http protocol, soap protocol etc.
Effect of the present invention is: adopt message parsing method of the present invention and system, carry out data transaction, analysis, the extraction of message by the mode of message template, thereby when between transmit leg and reciever, transmitting message, can detect automatically, analyze, transmit and extract message, make the associative operation in the message transmittance process become easy, quick, accurate, and the saving cost, and for transmit leg and recipient, realized data sync and the data encryption of message in transmittance process simultaneously.
Particularly, beneficial effect performance of the present invention is as follows:
(1) the general-purpose service data means of communication of the present invention and system, data transfer device by the message template definition, the processing variation message format the time, data sync between transmit leg and the reciever, and, realized the effect that communication packet is encrypted by setting the template of corresponding different application rule;
(2), can realize detecting, analyze, transmit, extract and realize message encryption automatically for message by the method and the device of packet parsing of the present invention;
(3) automatic detection, analysis, transmission, extraction and the realization message encryption of the present invention by template being defined all kinds message that can be widely used in the Computer Communication Networks field, the type of message can be a lteral data, it also can be voice data, even can be image, data type schema, stream medium data or the like;
(4) the present invention can realize automatic detection, analysis, transmission, extraction that the user will reach and the effect that realizes message encryption by the study to the definition template;
(5) by method of the present invention and device, can realize taking minimum communication resources, with the fastest transmission speed, transmit the effect of message.
Why the present invention has the foregoing invention effect, its reason is: the present invention by can self-defining message template definition message format with semantic, realize the message source message generate with receiving terminal to packet parsing synchronously, at different communication datas, realized function by the message template to digital coding conversion, analysis, extraction and the message encryption of message, reduce the data volume of the frequent communication of same line of business greatly, realized multiple business in the distribution application system flexibly, the data communication of high safety.New business takes place to revise or increase for message data, the message template and the service configuration information that only need to revise correspondence just can adapt to professional variation flexibly, and can be implemented under the distributed network application environment, upgrading in the prerequisite system of not interrupting using, and can realize high security communication by configuration pin to complex rule such as different business and based on the message template of the encryption of structural data node to data.
Description of drawings
Fig. 1 is a message transmitting party schematic flow sheet in the method for the invention;
Fig. 2 is a message reciever schematic flow sheet in the method for the invention;
Fig. 3 is the structural representation of system of the present invention.
Embodiment
The invention will be further described below in conjunction with specification drawings and specific embodiments.
Need transmit following student information to reciever by message transmitting party in the present embodiment:
<?xml?version=”1.0”encoding=”UTF-16”>
<students>
<student>
<name〉Zhang San</name 〉
<num>0001</num>
<class notes=" advanced class " 01</class 〉
</student>
<student>
<num>0010</num>
<name〉Li Si</name 〉
<grade>2001</grade>
<class notes=" several classes difficult to understand " 03</class 〉
</student>
</students>
That is: adopt XML language, input student information: name is that Zhang San, student number are 0001, class is an advanced class 01; Student number is 0010, name is for Li Si, grade are 2001, class is several classes 03 difficult to understand.
As depicted in figs. 1 and 2, adopt the general-purpose service data means of communication based on self-defined template of the present invention, when above-mentioned student information is transmitted by the sending direction reciever, specifically may further comprise the steps:
Step 1, when the sending direction reciever sends message, the data-interface of the packet parsing device of transmit leg need to accept the communication data of transmission, communication data is saved in the data buffering pond, and configuration manager is selected corresponding message template according to master-slave mode and business configuration;
In present embodiment, the packet parsing device data-interface of transmit leg is at first accepted the structuring communication data of the relevant student information of the above-mentioned XML of using language description, this communication data is saved in the data buffering pond, and the configuration manager of transmit leg is selected corresponding message template according to master-slave mode and business configuration then;
When configuration manager is selected corresponding message template according to master-slave mode and business configuration, the concrete grammar that adopts is: in the present embodiment, the master-slave mode of configuration manager is the reciever active mode, be that the message template is defined by reciever, on the other hand, the user reads over the data student information for this and has specified corresponding message template STU0021 when carrying out business configuration, thereby determine that the message template that should select in the present embodiment is the STU0021 by the reciever definition, because transmit leg is this template not, therefore, the configuration manager of transmit leg is at first searched the STU0021 that whether exists this message template promptly to be defined by reciever in template manager by the mode of mapping, if find then directly select this message template, if search less than, then the configuration manager of transmit leg sends by this message template to the reciever request; In the present embodiment, STU0021 is the template of reciever redetermination, so the configuration manager of transmit leg do not find in template manager, so the request reciever sends by this STU0021, receives that the back selects this STU0021; In fact, the master-slave mode of configuration manager can freely define according to user's needs, can be the transmit leg active mode, also can be the reciever active mode;
Business configuration is exactly that the user promptly determined well before the communication data transmission as required, the user specifies corresponding template for each data of reading over that need transmit, in the present embodiment, the user is that the student information of XML language description has been specified corresponding STU0021 for the data of reading over that need transmission, directly specify the message template to get final product to so simple data, but, in fact in actual application, need the communication data of transmission often to have a plurality of, the user directly specifies relatively difficulty, therefore, need to establish in advance business rule when the user specifies corresponding template for communication data in such cases, promptly can be each communication data according to this business rule user and specify a definite corresponding templates; Business rule is established as required by the user, usually the user can specify corresponding message template type according to type of service, then on this basis for the concrete applicable elements of the traffic set of same type to select concrete message template, as for the type of service of transmission bill data, the user can specify corresponding ticket templates type, then for all be the transmission bill communication data for, pass through to set concrete applicable elements such as different time sections, different application terminal again, thereby be that each communication data is specified a concrete message template; When realizing communication data and message template corresponding relation by business rule, the user is when specifying concrete message template for communication data, whether this specifies correctly needs through check, check correctly could finally be determined template, if through checking this appointment not meet business rule, it is invalid then should to specify, and need reassign;
Obviously the message template is an important link, therefore the definition of message template also becomes very important, described message template is a structural data, and the format information that it has defined communication data has write down between communication data and the message data, the mutual transformation rule between message data and the message; Message data is meant the intermediate data that generates when communication data is changed according to the form of message template definition, and message is meant the data that are used for communication transmission of message data according to the form generation of message template definition; Structural data commonly used is XML data and CSV data format.In present embodiment, reciever to the definition procedure of message template STU0021 is: reciever carries out the definition of message template according to the characteristics of communication data, the characteristics of communication data are in the present embodiment: data type is the XML form, these data are made up of node, and its student father node comprises num at most, name, four child nodes of grade and class, its data type is respectively integer, character string type, integer and integer, according to this data characteristic, after extracting its data structure and hierarchical sequence, determine the composition form of message template STU0021, its form is followed the regular expression requirement, and is specific as follows:
<root>
<info>
<version=″1.0″/>
<encoding>UTF-16</encoding>
<name>STU0021</name>
<item?code=“001”file=“student_template.xml”/>
</info>
<streamdef?pre=””attr=”>”>
<item?name=”field”type=”section”regex=”#$#*”>
<item?name=”A1”type=“int”regex=”^\d+$”/>
<item?name=”B1”type=“string”regex=“^\h+$L*”>
</item>
</streamdef>
<data>
<students>
<student?type=“field“>
<num?type=“A1“/>
<name?type=“B1“/>
<grade?type=“A1“/>
<class?type=“A1“notes=““/>
</student>
</students>
</data>
</root>
The packet parsing device of step 2, transmit leg is converted to message data with communication data according to the message template of selecting in the step 1, and is converted into message;
In the present embodiment, the packet parsing device of transmit leg is converted to message data according to the STU0021 of reciever definition with communication data, carry out according to the determined data structure of STU0021, hierarchical sequence during conversion, the packet parsing device further is converted into message with message data then, and the message data that obtains after the conversion is as follows:
<root>
<info>
<version=″1.0″/>
<encoding>UTF-16</encoding>
<name>STU0021</name>
<item?code=“001”file=“student_template.xml”/>
</info>
<streamdef?pre=””attr=”>”>
<item?name=”field”type=”section”regex=”#$#*”>
<item?name=”A1”type=“int”regex=”^\d+$”/>
<item?name=”B1”type=“string”regex=“^\h+$L*”/>
</item>
</streamdef>
<data>
<students>
<student?type=“field“>
<num?type=“A1“>01</num>
<name type=" B1 "〉Zhang San</name 〉
<grade?type=“A1“>NULL</grade>
<class type=" A1 " notes=" advanced class "〉01</class 〉
</student>
<student?type=“field“>
<num?type=“A1“>0A</num>
<name type=" B1 "〉Li Si</name 〉
<grade?type=“A1“>07D1</grade>
<classt ype=" several classes difficult to understand of A1 " notes=" "〉03</class 〉
</student>
</students>
</data>
</root>
The message that obtains after the conversion is made up of heading and data field two parts, wherein, the data of data field are to obtain after extracting in proper order by the data content to message data, and the data of data field do not comprise the original data structure of message data, a retention data content; Wherein, heading is determined by communication interface, because transmit leg has consistent communication interface with reciever, communication interface has fixing heading form, the heading form is in the present embodiment: coded system, compress mode, transmit leg title, analytic message template name, adopt UTF16, use that ZIP compression algorithm, transmit leg ID are 8920, the parsing template name is STU0021 as the heading coding that generates, then the heading of Sheng Chenging is: UTF16ZIP008920xSTU0021yyy, and wherein yyy is the check code position of agreement; The content of data field is: " #$#0104L Zhang San NULL〉advanced class 01#$#0A 04L Li Si 07D1〉several classes 03 difficult to understand "; Above-mentioned message data content is expressed as readable character string form for ease of understanding, then is directly message Byte to be transmitted in reality transmits;
Step 3, transmit leg communication interface send to reciever with message;
Present embodiment, transmit leg sends to reciever by the communications protocol http protocol with message, can certainly send by communications protocol soap protocol etc.;
The communication interface of step 4, reciever packet parsing device is accepted message and is saved in the data buffering pond, configuration manager is selected corresponding message template according to master-slave mode and heading then, and wherein the master-slave mode of the master-slave mode of transmit leg configuration manager and reciever configuration manager is consistent;
In the present embodiment, the communication interface of the packet parsing device of reciever is accepted message, message is saved in the data buffering pond, the configuration manager of reciever is selected corresponding message template according to master-slave mode and heading, particularly, recording the message template name that should select in the heading is STU0021, the master-slave mode and the transmit leg of configuration manager are consistent, for reciever initiatively is that the message template is provided by reciever, determine that in view of the above the message template that should select is the STU0021 by the reciever definition, therefore, the configuration manager of reciever directly adopts the STU0021 of definition voluntarily to get final product; When if the master-slave mode of reciever configuration manager is the transmit leg active certainly, because reciever is this template not, configuration manager can be searched earlier corresponding message template in template manager, as search less than corresponding message template, can send corresponding message template to the transmit leg request according to the template name information that writes down in the heading;
Step 5, reciever packet parsing device are message data according to the message template of selecting in the step 4 with the message reverse resolution, and are converted into communication data, and the end data communication is handled;
In the present embodiment, the packet parsing device of reciever is message data according to the STU0021 that has chosen with the message reverse resolution, and message data is converted to communication data.During the reverse resolution message, the packet parsing device of reciever is according to the data field of the determined rule parsing message of STU0021, content in the message data district is converted to the message data shown in the step 2, extracts student information then and further be converted into following communication data according to STU0021.The final communication data that generates of packet parsing device is consistent with the content of original communication data, but order may there are differences before and after the arrangement of content, but information unanimities such as the semanteme of communication data, hierarchical structure, data type, the communication data that obtains at last is as follows:
<students>
<student>
<num>01</num>
<name〉Zhang San</name 〉
<grade>NULL</grade>
<class notes=" advanced class " 01</class 〉
</student>
<student>
<num>0A</num>
<name〉Li Si</name 〉
<grade>07D1</grade>
<class notes=" several classes difficult to understand " 03</class 〉
</student>
</students>
That is: student number is 0001, name is that Zhang San, class are advanced class 01; Student number is 0010, name is for Li Si, grade are 2001, class is several classes 03 difficult to understand.
For simplified embodiment is described, do not enumerate in the foregoing description to encrypt and use, in actual use, can be at the different encryption of the node definition in the message template, for example at streamdef node definition cryptographic attributes Crypto=" SHA1 " CryFun=" NormalCrypto " CryParam=" SE89as ", data have then been defined under this node after above-mentioned processing, carry out further cryptographic operation, it is encrypted and uses the SHA1 algorithm, specifically call the NormalCrypto function, wherein the parameter of encryption and decryption needs is at CryParam character string record.Above-mentioned encryption can be selected different encryptions for use at different node, and encryption can be nested.Above-mentioned encryption is at heading, the encipher only message.
After reciever is accepted, before message is converted into message data, carry out decryption processing earlier according to the message template definition.
Above-mentioned message encryption, decryption processing are given an example with symmetric key encryption algorithm, and the asymmetric-key encryption algorithm is suitable equally.
As shown in Figure 3, be the general-purpose service data communication system 11 of realizing that said method adopts based on self-defined template, this system comprises: packet parsing device 13, data buffering pond 14, configuration manager 15, template manager 16, rule management 17 and data-interface 12 and communication interface 18, wherein, data-interface 12 is connected with packet parsing device 13 respectively with communication interface 18;
1) the packet parsing device 13, the data based message template that needs communication can be changed into message data and further be converted into message, also message can be become message data according to message template resolving inversely, and message data is transformed communication data;
2) the data buffering pond 14, with the form buffer memory packet parsing device 13 of data stack and data queue, the intermediate data that configuration manager 15 uses, also can recorded message transmission/acceptance whether successful state;
3) configuration manager 15, are used to manage and preserve the business rule that the user selects corresponding message template to set for communication data, and select suitable message template according to the result that rule management is judged from template manager or to the request of template definition side;
4) template manager 16, are used for the administrative message template;
5) rule management 17, are used for the judgement of business rule, and when the user specified the message template for communication data, whether this appointments meets user's business rule definite in advance and that be stored in configuration manager was judged by rule management;
6) data-interface 12, are meant that 13 acceptance of packet parsing device need the external interface of communication data, and communication interface 18 is meant the interface of packet parsing device and communication module.
Method of the present invention and device are not limited to the embodiment described in the embodiment, and those skilled in the art's technical scheme according to the present invention draws other execution mode, belongs to technological innovation scope of the present invention equally.

Claims (6)

1, a kind of general-purpose service data means of communication based on self-defined template comprise the steps:
(A) data-interface of transmit leg packet parsing device is accepted communication data and it is saved in the data buffering pond, configuration manager is selected corresponding message template according to master-slave mode and business configuration, be specially: when the master-slave mode of configuration manager is the transmit leg active mode, the message template is defined by transmit leg, according to the determined corresponding message template of business configuration, the configuration manager of transmit leg directly selects this corresponding message template to get final product; When the master-slave mode of configuration manager is the reciever active mode, the message template is defined by reciever, according to the determined corresponding message template of business configuration, the configuration manager of transmit leg at first searches whether there is this message template in the template manager of transmit leg, if find the message template then directly select this message template, if search less than, then send this message template to the reciever request;
(B) transmit leg packet parsing device is converted to message data with communication data according to the message template of selecting in the steps A, and is converted into message;
(C) the transmit leg communication interface sends to reciever with message;
(D) communication interface of reciever packet parsing device is accepted message and it is saved in the data buffering pond, configuration manager is selected corresponding message template according to master-slave mode and heading, be specially: when the master-slave mode of configuration manager is the transmit leg active mode, the message template is defined by transmit leg, owing to write down the name information of selected message template in the heading, can determine selected message template in view of the above, this moment, the configuration manager of reciever at first searched whether there is this message template in the template manager of reciever, if find the message template then select this message template, if search less than, then send this message template to the transmit leg request; When the master-slave mode of configuration manager was the reciever active mode, the message template was defined by reciever, and according to the message Template Information that writes down in the heading, configuration manager is directly selected this message template;
(E) reciever packet parsing device is message data according to the message template that step D selects with the message reverse resolution, and is converted into communication data, and the end data communication is handled.
2, a kind of general-purpose service data means of communication as claimed in claim 1 based on self-defined template, it is characterized in that: described message template is a structural data, the format information that it has defined communication data has write down between communication data and the message data, the mutual transformation rule between message data and the message.
3, a kind of general-purpose service data means of communication as claimed in claim 1 or 2 based on self-defined template, it is characterized in that: described business configuration is meant that the user is that each data of reading over that need transmit is specified corresponding message template, the user need observe the business rule that the user sets up when specifying corresponding message template for communication data, business rule is set up on their own as required by the user.
4, a kind of general-purpose service data means of communication as claimed in claim 2 based on self-defined template, it is characterized in that: in the step (B), when the packet parsing device is converted to message data according to the message template with communication data, change according to message template established data structure, hierarchical sequence.
5, a kind of general-purpose service data means of communication based on self-defined template as claimed in claim 1, it is characterized in that: in the step (C), transmit leg sends to reciever by communications protocol with message, and described communications protocol is meant http protocol, soap protocol.
6, a kind of general-purpose service data communication system based on self-defined template, this system comprises: packet parsing device, data buffering pond, configuration manager, template manager, rule management, data-interface and communication interface, wherein, data-interface is connected with the packet parsing device respectively with communication interface;
Described packet parsing device can change into the data based message template that needs communication message data and further be converted into message, also message can be become message data according to message template resolving inversely, and message data is transformed communication data;
Described data buffering pond is with the form buffer memory packet parsing device of data stack and data queue, the intermediate data that configuration manager uses, also can recorded message transmission/acceptance whether successful state;
Described configuration manager is used to manage and preserve the business rule that the user selects corresponding message template to set for communication data, and selects suitable message template according to the result that rule management is judged from template manager or to the request of template definition side;
Described rule management is used for the judgement of business rule, and when the user specified the message template for communication data, whether this appointments meets user's business rule definite in advance and that be stored in configuration manager was judged by rule management;
Described template manager is used for the administrative message template;
Described data-interface is the external interface that the packet parsing device need to accept communication data;
Described communication interface is the interface of packet parsing device and communication module.
CN200710179937A 2007-12-20 2007-12-20 Communication method and system for universal service data based on self-defined template Expired - Fee Related CN100586109C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200710179937A CN100586109C (en) 2007-12-20 2007-12-20 Communication method and system for universal service data based on self-defined template

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200710179937A CN100586109C (en) 2007-12-20 2007-12-20 Communication method and system for universal service data based on self-defined template

Publications (2)

Publication Number Publication Date
CN101188561A CN101188561A (en) 2008-05-28
CN100586109C true CN100586109C (en) 2010-01-27

Family

ID=39480758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200710179937A Expired - Fee Related CN100586109C (en) 2007-12-20 2007-12-20 Communication method and system for universal service data based on self-defined template

Country Status (1)

Country Link
CN (1) CN100586109C (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102394874B (en) * 2011-10-26 2014-04-16 深圳天源迪科信息技术股份有限公司 TUXEDO (Transaction for UNIX has been Extended for Distributed Operation) data protocol conversion method
CN103138877A (en) * 2011-11-29 2013-06-05 中国商用飞机有限责任公司 Message decoding method and device for plane communication addressing and reporting system
CN103827901B (en) * 2013-03-18 2018-04-06 深圳市银信网银科技有限公司 A kind of method and system of logistics information safe transmission
CN103475465B (en) * 2013-09-10 2017-02-08 杭州华三通信技术有限公司 MACsec key update method and device in ISSU process
CN105721402B (en) * 2014-12-04 2019-02-05 北京航管科技有限公司 A kind of method and apparatus parsing SITA message
CN105049281A (en) * 2015-06-25 2015-11-11 浪潮(北京)电子信息产业有限公司 Message parsing method and equipment
CN106209830B (en) * 2016-07-08 2019-12-10 中国人民解放军国防科学技术大学 message construction method based on XML network protocol expression
CN106254392B (en) * 2016-09-28 2020-07-31 天津轻工职业技术学院 Communication method based on dynamically customizable exT L V message transmission protocol
CN106850341A (en) * 2017-01-17 2017-06-13 盛科网络(苏州)有限公司 For the automated software group bag method of exchanger chip simulation performance test
CN107516272A (en) * 2017-06-29 2017-12-26 中国建设银行股份有限公司 Transaction processing method, system, device and storage medium based on unified message
CN108111493A (en) * 2017-12-13 2018-06-01 盛科网络(苏州)有限公司 The production method and device of a kind of excited message
CN110351325B (en) * 2018-04-08 2022-04-29 腾讯科技(深圳)有限公司 Data processing method and related equipment
CN108881172A (en) * 2018-05-22 2018-11-23 阿里巴巴集团控股有限公司 The analysis method and device of message
CN109783375B (en) * 2018-12-27 2022-04-12 四川驹马科技有限公司 Data analysis and simulation method
CN109561106B (en) * 2018-12-29 2021-06-04 北京工业大学 Ship communication message real-time analysis and filtering method
CN109889553B (en) * 2019-04-18 2021-07-13 中国电子科技集团公司第二十九研究所 Structured message self-adaptive conversion method and device
CN110399612A (en) * 2019-07-16 2019-11-01 工业互联网创新中心(上海)有限公司 The semantic conversion method and middleware of marginal layer in industry internet
CN111464565B (en) * 2020-05-13 2021-09-28 中国科学院自动化研究所 Intelligent decoding method and decoder following general information exchange protocol specification
CN112528083B (en) * 2020-12-10 2022-09-30 天津(滨海)人工智能军民融合创新中心 Message customization method based on distributed semantic template distribution
CN115297183B (en) * 2022-07-29 2023-11-03 天翼云科技有限公司 Data processing method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1645857A (en) * 2005-02-21 2005-07-27 刘莎 Network information appointing communicating method
CN101025734A (en) * 2003-10-31 2007-08-29 夏普株式会社 Data processing device, data processing method and data processing program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101025734A (en) * 2003-10-31 2007-08-29 夏普株式会社 Data processing device, data processing method and data processing program
CN1645857A (en) * 2005-02-21 2005-07-27 刘莎 Network information appointing communicating method

Also Published As

Publication number Publication date
CN101188561A (en) 2008-05-28

Similar Documents

Publication Publication Date Title
CN100586109C (en) Communication method and system for universal service data based on self-defined template
WO2016145981A1 (en) Data transmission system and method
CN110457190A (en) A kind of full link monitoring method, apparatus and system based on block chain
CN102938770B (en) A kind of method and relevant apparatus, system realizing multi-protocols message unified interface
US20120099478A1 (en) Method and Device for Auto-Generating Goose Signal Connection Topology from Substation Level
CN103294652B (en) A kind of data transfer device and system
CN109561106B (en) Ship communication message real-time analysis and filtering method
CN109768970A (en) It is a kind of based on configurable puppy parc generation method
CN101651683B (en) Method for generating analysis source code of signaling message
CN102404306B (en) Protocol configuration method and device
CN110677427A (en) Multi-message analysis method
CN101286953A (en) Medical system information integration platform
CN112929437A (en) Data transmission system, method and device based on Internet of things MQTT technical framework
CN112671734A (en) Message processing method facing multiple data sources and related equipment thereof
CN106254392B (en) Communication method based on dynamically customizable exT L V message transmission protocol
CN106657393A (en) Device remote interaction system and method based on Websocket
CN113987530A (en) Data transmission method and system based on block chain
CN102999329A (en) Active directory interface developing method based on extensive markup language mapping configuration
JP2011118853A (en) Server for providing mobile standard template data
Liu Design and implementation of heterogeneous data exchange platform based on web technology
CN101706901B (en) Device and method for realizing shielding of different working flow products
CN105959263B (en) Aged caring institutions data interactive method and system based on JSON
CN112181856B (en) Encrypted industrial control protocol testing method and device
CN102314406A (en) The method and system that is used for the lazy data sequenceization of compunication
CN112187443A (en) Citizen data cross-domain security joint calculation method and system based on homomorphic encryption

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100127

Termination date: 20141220

EXPY Termination of patent right or utility model