CN104993906B - A kind of method and system of message transmission - Google Patents
A kind of method and system of message transmission Download PDFInfo
- Publication number
- CN104993906B CN104993906B CN201510256642.2A CN201510256642A CN104993906B CN 104993906 B CN104993906 B CN 104993906B CN 201510256642 A CN201510256642 A CN 201510256642A CN 104993906 B CN104993906 B CN 104993906B
- Authority
- CN
- China
- Prior art keywords
- data structure
- data
- format
- data object
- consistent
- 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.)
- Active
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 40
- 238000000034 method Methods 0.000 title claims abstract description 34
- 241000406668 Loxodonta cyclotis Species 0.000 claims 1
- 238000011161 development Methods 0.000 abstract description 12
- 238000004891 communication Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000001419 dependent effect Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
本发明公开了一种消息传输的方法及系统,属于通信技术领域。所述方法包括:源系统和目标系统将其数据结构格式设定为通用格式;源系统创建数据对象;源系统对创建的数据对象按照JSON格式进行编码;源系统向目标系统发送编码后的数据对象;目标系统对接收的数据对象按照JSON格式进行解码;目标系统从解码后的数据对象中获取数据;其中,源系统和目标系统互为异构系统。本发明通过将源系统和目标系统的数据结构格式均设定为通用格式,源系统和目标系统均可以准确且有效的识别采用通用格式承载的消息,与源系统和目标系统的操作系统或依赖的编程开发平台无关,实现了异构系统的消息传输。
The invention discloses a method and system for message transmission, belonging to the technical field of communication. The method includes: the source system and the target system set their data structure format to a common format; the source system creates a data object; the source system encodes the created data object according to the JSON format; the source system sends the encoded data to the target system object; the target system decodes the received data object according to the JSON format; the target system obtains data from the decoded data object; wherein, the source system and the target system are heterogeneous systems. In the present invention, by setting the data structure formats of the source system and the target system to a common format, both the source system and the target system can accurately and effectively identify the messages carried in the common format, and the operating systems or dependencies of the source system and the target system It has nothing to do with the programming development platform, and realizes the message transmission of heterogeneous systems.
Description
技术领域technical field
本发明涉及通信技术领域,特别涉及一种消息传输的方法及系统。The present invention relates to the field of communication technology, in particular to a method and system for message transmission.
背景技术Background technique
异构系统为操作系统不同或依赖的编程开发平台不同的至少两种系统。由于操作系统或编程开发平台不同的系统,消息传输所遵循的标准(包括承载消息的数据结构等)不同,因此互为异构系统的至少两种系统之间无法直接进行消息传输,必须通过消息中间件才能实现。Heterogeneous systems refer to at least two systems with different operating systems or different dependent programming development platforms. Due to different operating systems or programming development platforms, the standards followed by message transmission (including data structures carrying messages, etc.) Middleware can be realized.
现有的消息中间件通常只针对两种指定类型的互为异构系统的系统,如.NET系统和JAVA系统。当.NET系统向JAVA系统传输消息时,接收.NET系统发送的符合.NET系统的标准的消息;按照设定的标准,对符合.NET系统的标准的消息进行格式转换,得到符合JAVA系统的标准的消息;向JAVA系统发送符合JAVA系统的标准的消息。当JAVA系统向.NET系统传输消息时,将上述过程的操作对象交换即可。Existing message middleware usually only targets two specified types of mutually heterogeneous systems, such as .NET system and JAVA system. When the .NET system transmits a message to the JAVA system, it receives the message that conforms to the standard of the .NET system sent by the .NET system; according to the set standard, converts the format of the message conforming to the standard of the .NET system to obtain a message conforming to the JAVA system Standard message; send a message that conforms to the standard of the JAVA system to the JAVA system. When the JAVA system transmits a message to the .NET system, the operation objects of the above process can be exchanged.
在实现本发明的过程中,发明人发现现有技术至少存在以下问题:In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art:
消息中间件只针对两种指定类型的互为异构系统的系统,若一个异构系统包括不止两种指定类型的互为异构系统的系统时,如.NET系统、JAVA系统、C++系统三种系统,则需要如针对.NET系统和JAVA系统的消息中间件、以及针对JAVA系统和C++系统的消息中间件协同实现异构系统的消息传输。但是消息中间件进行格式转换所按照的标准是各个公司为了推广自己的产品而设定的,并没有达到统一,从而导致各个消息中间件在接口等方面存在差异,各个消息中间件之间很难实现有效匹配和融合,进而导致异构系统的消息传输无法实现。Message middleware is only for two specified types of heterogeneous systems, if a heterogeneous system includes more than two specified types of heterogeneous systems, such as .NET system, JAVA system, C++ system Such a system requires, for example, message middleware for .NET system and JAVA system, and message middleware for JAVA system and C++ system to realize message transmission of heterogeneous systems. However, the standard for format conversion of message middleware is set by each company in order to promote its own products, and it has not been unified. As a result, there are differences in the interface of each message middleware, and it is difficult for each message middleware to Effective matching and fusion are realized, which leads to the impossibility of message transmission in heterogeneous systems.
发明内容Contents of the invention
为了解决现有技术导致异构系统的消息传输无法实现的问题,本发明实施例提供了一种消息传输的方法及系统。所述技术方案如下:In order to solve the problem that the message transmission of heterogeneous systems cannot be realized in the prior art, the embodiment of the present invention provides a method and system for message transmission. Described technical scheme is as follows:
第一方面,本发明实施例提供了一种消息传输的方法,适用于异构系统之间的消息传输,所述方法包括:In the first aspect, an embodiment of the present invention provides a method for message transmission, which is suitable for message transmission between heterogeneous systems, and the method includes:
源系统将所述源系统的数据结构格式设定为通用格式;The source system sets the data structure format of the source system as a common format;
创建所述数据对象,创建的所述数据对象符合所述通用格式对所述数据对象的要求;Create the data object, and the created data object meets the requirements of the general format for the data object;
对创建的所述数据对象按照JSON格式进行编码;Encoding the created data object according to JSON format;
向目标系统发送编码后的所述数据对象;sending the encoded data object to a target system;
其中,所述源系统和所述目标系统互为异构系统,所述通用格式为所述源系统和所述目标系统共同采用的数据结构格式。Wherein, the source system and the target system are mutually heterogeneous systems, and the common format is a data structure format commonly adopted by the source system and the target system.
可选地,所述通用格式对数据对象的要求包括:Optionally, the requirements of the general format for data objects include:
数据结构体名称的字符和大小写在所述数据结构体所属的系统中均保持一致;The characters and case of the data structure name are consistent in the system to which the data structure belongs;
数据结构体中成员名称的字符和大小写在所述数据结构体所属的系统中均保持一致;The characters and capitalization of member names in the data structure are consistent in the system to which the data structure belongs;
数据结构体中成员类型的描述方式在所述数据结构体所属的系统中保持一致;The description method of the member type in the data structure is consistent in the system to which the data structure belongs;
数据结构体中嵌套关系在所述数据结构体所属的系统中保持一致;The nesting relationship in the data structure is consistent in the system to which the data structure belongs;
数据结构体名称与数据结构体中成员名称在所述数据结构体所属的系统中不重复。The name of the data structure and the member names in the data structure are not repeated in the system to which the data structure belongs.
第二方面,本发明实施例提供了一种消息传输的方法,适用于异构系统之间的消息传输,所述方法包括:In the second aspect, an embodiment of the present invention provides a method for message transmission, which is suitable for message transmission between heterogeneous systems, and the method includes:
目标系统将所述目标系统的数据结构格式设定为通用格式;The target system sets the data structure format of the target system as a common format;
接收源系统发送的所述数据对象;receiving said data object sent by the source system;
基于所述通用格式对所述数据对象的要求,对接收的所述数据对象按照JSON格式进行解码;Decoding the received data object according to the JSON format based on the requirements of the general format for the data object;
从解码后的所述数据对象中获取数据;obtaining data from the decoded data object;
其中,所述源系统和所述目标系统互为异构系统,所述通用格式为所述源系统和所述目标系统共同采用的数据结构格式。Wherein, the source system and the target system are mutually heterogeneous systems, and the common format is a data structure format commonly adopted by the source system and the target system.
可选地,所述通用格式对数据对象的要求包括:Optionally, the requirements of the general format for data objects include:
数据结构体名称的字符和大小写在所述数据结构体所属的系统中均保持一致;The characters and case of the data structure name are consistent in the system to which the data structure belongs;
数据结构体中成员名称的字符和大小写在所述数据结构体所属的系统中均保持一致;The characters and capitalization of member names in the data structure are consistent in the system to which the data structure belongs;
数据结构体中成员类型的描述方式在所述数据结构体所属的系统中保持一致;The description method of the member type in the data structure is consistent in the system to which the data structure belongs;
数据结构体中嵌套关系在所述数据结构体所属的系统中保持一致;The nesting relationship in the data structure is consistent in the system to which the data structure belongs;
数据结构体名称与数据结构体中成员名称在所述数据结构体所属的系统中不重复。The name of the data structure and the member names in the data structure are not repeated in the system to which the data structure belongs.
第三方面,本发明实施例提供了一种源系统,所述源系统与目标系统互为异构系统,所述源系统包括:In a third aspect, an embodiment of the present invention provides a source system, where the source system and the target system are heterogeneous systems, and the source system includes:
设定模块,用于将所述源系统的数据结构格式设定为通用格式,所述通用格式为所述源系统和所述目标系统共同采用的数据结构格式;A setting module, configured to set the data structure format of the source system to a common format, and the common format is a data structure format commonly adopted by the source system and the target system;
创建模块,用于创建所述数据对象,创建的所述数据对象符合所述通用格式对所述数据对象的要求;A creating module, configured to create the data object, and the created data object meets the requirements of the general format for the data object;
编码模块,用于对创建的所述数据对象按照JSON格式进行编码;An encoding module, configured to encode the created data object in JSON format;
发送模块,用于向所述目标系统发送编码后的所述数据对象。A sending module, configured to send the encoded data object to the target system.
可选地,所述通用格式对数据对象的要求包括:Optionally, the requirements of the general format for data objects include:
数据结构体名称的字符和大小写在所述数据结构体所属的系统中均保持一致;The characters and case of the data structure name are consistent in the system to which the data structure belongs;
数据结构体中成员名称的字符和大小写在所述数据结构体所属的系统中均保持一致;The characters and capitalization of member names in the data structure are consistent in the system to which the data structure belongs;
数据结构体中成员类型的描述方式在所述数据结构体所属的系统中保持一致;The description method of the member type in the data structure is consistent in the system to which the data structure belongs;
数据结构体中嵌套关系在所述数据结构体所属的系统中保持一致;The nesting relationship in the data structure is consistent in the system to which the data structure belongs;
数据结构体名称与数据结构体中成员名称在所述数据结构体所属的系统中不重复。The name of the data structure and the member names in the data structure are not repeated in the system to which the data structure belongs.
第四方面,本发明实施例提供了一种目标系统,所述目标系统与源系统互为异构系统,所述目标系统包括:In a fourth aspect, an embodiment of the present invention provides a target system, where the target system and the source system are heterogeneous systems, and the target system includes:
设定模块,用于将所述目标系统的数据结构格式设定为通用格式,所述通用格式为所述源系统和所述目标系统共同采用的数据结构格式;A setting module, configured to set the data structure format of the target system as a common format, and the common format is a data structure format commonly adopted by the source system and the target system;
接收模块,用于接收所述源系统发送的所述数据对象;a receiving module, configured to receive the data object sent by the source system;
解码模块,用于基于所述通用格式对所述数据对象的要求,对接收的所述数据对象按照JSON格式进行解码;A decoding module, configured to decode the received data object in JSON format based on the requirements of the general format for the data object;
获取模块,用于从解码后的所述数据对象中获取数据。An acquisition module, configured to acquire data from the decoded data object.
可选地,所述通用格式对数据对象的要求包括:Optionally, the requirements of the general format for data objects include:
数据结构体名称的字符和大小写在所述数据结构体所属的系统中均保持一致;The characters and case of the data structure name are consistent in the system to which the data structure belongs;
数据结构体中成员名称的字符和大小写在所述数据结构体所属的系统中均保持一致;The characters and capitalization of member names in the data structure are consistent in the system to which the data structure belongs;
数据结构体中成员类型的描述方式在所述数据结构体所属的系统中保持一致;The description method of the member type in the data structure is consistent in the system to which the data structure belongs;
数据结构体中嵌套关系在所述数据结构体所属的系统中保持一致;The nesting relationship in the data structure is consistent in the system to which the data structure belongs;
数据结构体名称与数据结构体中成员名称在所述数据结构体所属的系统中不重复。The name of the data structure and the member names in the data structure are not repeated in the system to which the data structure belongs.
第五方面,本发明实施例提供了一种消息传输的系统,所述系统包括互为异构系统的源系统和目标系统,In a fifth aspect, an embodiment of the present invention provides a message transmission system, the system includes a source system and a target system that are heterogeneous systems,
所述源系统用于,将所述源系统的数据结构格式设定为通用格式;创建数据对象,创建的所述数据对象符合所述通用格式对所述数据对象的要求;对创建的所述数据对象按照JSON格式进行编码;向所述目标系统发送编码后的所述数据对象;The source system is used to set the data structure format of the source system to a general format; create a data object, and the created data object meets the requirements of the general format for the data object; The data object is encoded according to the JSON format; the encoded data object is sent to the target system;
所述目标系统用于,将所述目标系统的数据结构格式设定为通用格式;接收所述源系统发送的所述数据对象;基于所述通用格式对所述数据对象的要求,对接收的所述数据对象按照JSON格式进行解码;从解码后的所述数据对象中获取数据;The target system is configured to set the data structure format of the target system to a common format; receive the data object sent by the source system; The data object is decoded according to the JSON format; data is obtained from the decoded data object;
其中,所述通用格式为所述源系统和所述目标系统共同采用的数据结构格式。Wherein, the common format is a data structure format commonly adopted by the source system and the target system.
可选地,所述通用格式对数据对象的要求包括:Optionally, the requirements of the general format for data objects include:
数据结构体名称的字符和大小写在所述数据结构体所属的系统中均保持一致;The characters and case of the data structure name are consistent in the system to which the data structure belongs;
数据结构体中成员名称的字符和大小写在所述数据结构体所属的系统中均保持一致;The characters and capitalization of member names in the data structure are consistent in the system to which the data structure belongs;
数据结构体中成员类型的描述方式在所述数据结构体所属的系统中保持一致;The description method of the member type in the data structure is consistent in the system to which the data structure belongs;
数据结构体中嵌套关系在所述数据结构体所属的系统中保持一致;The nesting relationship in the data structure is consistent in the system to which the data structure belongs;
数据结构体名称与数据结构体中成员名称在所述数据结构体所属的系统中不重复。The name of the data structure and the member names in the data structure are not repeated in the system to which the data structure belongs.
本发明实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by the embodiments of the present invention are:
通过将源系统和目标系统的数据结构格式均设定为通用格式,源系统和目标系统均可以准确且有效的识别采用通用格式承载的消息,与源系统和目标系统的操作系统或依赖的编程开发平台无关,实现了异构系统的消息传输。By setting the data structure format of the source system and the target system to a common format, both the source system and the target system can accurately and effectively identify the messages carried in the common format, and the operating systems or dependent programming of the source system and the target system The development platform is independent, and the message transmission of heterogeneous systems is realized.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本发明实施例提供的消息传输的方法的应用场景图;FIG. 1 is an application scenario diagram of a method for message transmission provided by an embodiment of the present invention;
图2是本发明实施例一提供的一种消息传输的方法的交互流程图;FIG. 2 is an interaction flowchart of a method for message transmission provided by Embodiment 1 of the present invention;
图3是本发明实施例二提供的一种源系统的结构示意图;FIG. 3 is a schematic structural diagram of a source system provided by Embodiment 2 of the present invention;
图4是本发明实施例三提供的一种目标系统的结构示意图;FIG. 4 is a schematic structural diagram of a target system provided by Embodiment 3 of the present invention;
图5是本发明实施例四提供的一种消息传输的系统的结构示意图。FIG. 5 is a schematic structural diagram of a message transmission system provided by Embodiment 4 of the present invention.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.
下面先结合图1简单介绍一下本发明实施例提供的消息传输的方法的应用场景(即异构系统)。如图1所示,互为异构系统的系统A、系统B、系统C、系统D四个系统分别与一个中间设备E(如消息代理)连接,从而实现系统A、系统B、系统C、系统D四个系统之间的消息传输。The application scenario (that is, heterogeneous system) of the method for message transmission provided by the embodiment of the present invention will be briefly introduced below with reference to FIG. 1 . As shown in Figure 1, the four systems of system A, system B, system C, and system D, which are heterogeneous systems, are respectively connected to an intermediate device E (such as a message agent), so as to realize system A, system B, system C, System D Message transmission between the four systems.
需要说明的是,异构系统包括的系统数量、各个系统之间的具体连续方式仅为举例,本发明对此不作限制。It should be noted that the number of systems included in the heterogeneous system and the specific connection manner between the systems are only examples, and the present invention is not limited thereto.
实施例一Embodiment one
本发明实施例提供了一种消息传输的方法,适用于异构系统之间的消息传输,参见图2,该方法包括:An embodiment of the present invention provides a method for message transmission, which is suitable for message transmission between heterogeneous systems. Referring to FIG. 2, the method includes:
步骤101:源系统将源系统的数据结构格式设定为通用格式,目标系统将目标系统的数据结构格式设定为通用格式。Step 101: the source system sets the data structure format of the source system as a common format, and the target system sets the data structure format of the target system as a common format.
其中,消息的发送方为源系统,消息的接收方为目标系统。源系统和目标系统互为异构系统。具体地,源系统和目标系统的操作系统不同或开发所应用的编程平台不同。例如(操作系统不同),源系统为Linux系统,目标系统为Windows系统。又如(开发所应用的编程平台不同),源系统为.NET系统,目标系统为JAVA系统。Wherein, the sender of the message is the source system, and the receiver of the message is the target system. The source system and the target system are heterogeneous systems. Specifically, the operating systems of the source system and the target system are different or the programming platforms used for development are different. For example (different operating systems), the source system is a Linux system, and the target system is a Windows system. Another example (different programming platforms are used for development), the source system is the .NET system, and the target system is the JAVA system.
通用格式为源系统和目标系统共同采用的数据结构格式。进一步地,通用格式对数据对象的要求满足所有类型的系统,也就是说,通用格式适用于所有类型的系统。比如,系统A对数据对象的要求为要求1,系统B对数据对象的要求为要求2,通用格式对数据对象的要求为同时满足要求1和要求2的要求。当系统A和系统B的数据格式均设定为通用格式之后,系统A和系统B对数据对象的要求就是相同的,并且该要求同时适用系统A和系统B。同样地,在步骤101执行之后,源系统和目标系统的数据格式均设定为通用格式,因此源系统和目标系统的数据格式是相同的,对数据对象的要求是相同的,并且该要求可以同时适用于源系统和目标系统,使得源系统和目标系统之间传输的消息可以被有效识别,实现了源系统和目标系统之间的消息传输。The common format is the data structure format commonly adopted by the source system and the target system. Further, the requirements of the universal format on data objects satisfy all types of systems, that is, the universal format is applicable to all types of systems. For example, system A's requirement for data objects is requirement 1, system B's requirement for data objects is requirement 2, and the requirement for data objects in the general format is to meet requirements 1 and 2 at the same time. When the data formats of system A and system B are both set to a common format, system A and system B have the same requirements for data objects, and this requirement applies to both system A and system B. Similarly, after step 101 is executed, the data formats of the source system and the target system are set to a common format, so the data formats of the source system and the target system are the same, and the requirements for data objects are the same, and the requirements can be It is applicable to the source system and the target system at the same time, so that the messages transmitted between the source system and the target system can be effectively identified, and the message transmission between the source system and the target system is realized.
具体地,该类型可以为操作系统,也可以为开发所应用的编程平台。更具体地,当该类型为操作系统时,通用格式适用于所有操作系统的系统,如Linux系统、Windows系统等。当该类型为编程平台时,通用格式适用于所有编程平台所开发的系统,如.NET系统、JAVA系统、C系统、C++系统等。Specifically, the type may be an operating system, or a programming platform used for development. More specifically, when the type is an operating system, the general format is applicable to systems of all operating systems, such as Linux systems and Windows systems. When the type is a programming platform, the general format is applicable to systems developed by all programming platforms, such as .NET system, JAVA system, C system, C++ system, etc.
具体地,通用格式对数据对象的要求可以包括:Specifically, the general format requirements for data objects may include:
数据结构体名称的字符和大小写在数据结构体所属的系统中均保持一致,例如,DataStructName1不能写成datastructname1;The characters and case of the data structure name are consistent in the system to which the data structure belongs. For example, DataStructName1 cannot be written as datastructname1;
数据结构体中成员名称的字符和大小写在数据结构体所属的系统中均保持一致,例如,MemberName1不能写成membername1;The characters and case of the member names in the data structure are consistent in the system to which the data structure belongs. For example, MemberName1 cannot be written as membername1;
数据结构体中成员类型的描述方式在数据结构体所属的系统中保持一致,例如,字符串均用string定义,整型均用int描述;The description method of the member type in the data structure is consistent in the system to which the data structure belongs, for example, a string is defined by string, and an integer is described by int;
数据结构体中嵌套关系在数据结构体所属的系统中保持一致,例如,数据结构体DataStructName1中成员MemberName1不能写成数据结构体datastructname1中成员MemberName1,或者数据结构体DataStructName1中成员membername1;The nesting relationship in the data structure is consistent in the system to which the data structure belongs. For example, the member MemberName1 in the data structure DataStructName1 cannot be written as the member MemberName1 in the data structure datastructname1, or the member membername1 in the data structure DataStructName1;
数据结构体名称与数据结构体中成员名称在数据结构体所属的系统中不重复,例如,数据结构体名称和数据结构体中成员名称不能均为Name1。The name of the data structure and the member names in the data structure are not duplicated in the system to which the data structure belongs. For example, the name of the data structure and the member names in the data structure cannot both be Name1.
举例来说,满足通用格式对数据对象的要求的数据结构格式可以如下:For example, the data structure format that meets the requirements of the general format for data objects can be as follows:
Public class DataStructName1Public class DataStructName1
{{
MemberType MemberName1; MemberType MemberName1;
… …
MemberType MemberNameN; MemberType MemberNameN;
}}
其中,DataStructName1表示数据结构体名称,MemberType表示数据结构体中成员类型,MemberName1、……、MemberNameN表示数据结构体中成员名称。Among them, DataStructName1 represents the name of the data structure, MemberType represents the type of members in the data structure, and MemberName1, ..., MemberNameN represent the names of members in the data structure.
可以理解地,执行步骤101时,源系统和目标系统可以同时将其数据结构格式设定为通用格式,也可以分别将其数据结构格式设定为通用格式,本发明对此不作限定。It can be understood that when step 101 is executed, the source system and the target system can set their data structure formats to a common format at the same time, or set their data structure formats to a common format respectively, which is not limited in the present invention.
在执行步骤101之后,由于源系统和目标系统的数据结构格式均设定为通用格式,通用格式对数据对象的要求满足所有类型的系统,因此异构系统之间消息的传输与各个系统的操作系统不同或开发所应用的编程平台无关,源系统和目标系统均可以准确且有效的识别采用通用格式承载的消息,实现了异构系统之间消息传输的统一性。After step 101 is executed, since the data structure format of the source system and the target system are both set to a general format, the requirements of the general format on data objects meet all types of systems, so the transmission of messages between heterogeneous systems is closely related to the operation of each system Regardless of the different systems or the programming platform used for development, both the source system and the target system can accurately and effectively identify messages carried in a common format, realizing the uniformity of message transmission between heterogeneous systems.
特别地,对于一个异构系统包括不止两种类型的系统的情况,由于所有系统的数据结构格式均设定为通用格式,因此所有系统都可以识别采用通用格式承载的消息,不需要针对系统的类型数量增加消息中间件,导致异构系统繁琐,也不存在各个消息中间件无法协同的问题。In particular, when a heterogeneous system includes more than two types of systems, since the data structure formats of all systems are set to a common format, all systems can recognize messages carried in a common format, and there is no need for system-specific The number of types of message middleware increases, resulting in cumbersome heterogeneous systems, and there is no problem that various message middleware cannot cooperate.
步骤102:源系统创建数据对象,创建的数据对象符合通用格式对数据对象的要求。Step 102: the source system creates a data object, and the created data object meets the requirements of the common format for the data object.
具体地,步骤102中的创建数据对象可以与现有技术中创建数据对象的具体实现方式相同,本申请可以只更改数据对象创建过程中所遵循的要求,在此不再详述。Specifically, the creation of the data object in step 102 may be the same as the specific implementation of creating the data object in the prior art, and the present application may only change the requirements followed during the creation of the data object, which will not be described in detail here.
例如,创建的数据对象可以如下:For example, the data object created can be as follows:
DataStructName dataSample=new DataStructName();DataStructName dataSample = new DataStructName();
dataSample.MemberName1=“MemberValue1”; dataSample.MemberName1 = "MemberValue1";
… …
dataSample.MemberNameN=“MemberValueN”; dataSample.MemberNameN = "MemberValueN";
其中,dataSample表示数据结构体名称,MemberName1、……、MemberNameN表示数据结构体中成员名称,MemberValue1、……、MemberValueN表示数据结构体中成员名称对应的数值。Among them, dataSample represents the name of the data structure, MemberName1, ..., MemberNameN represent the member names in the data structure, and MemberValue1, ..., MemberValueN represent the values corresponding to the member names in the data structure.
步骤103:对创建的数据对象按照JSON格式进行编码。Step 103: Encode the created data object according to the JSON format.
其中,编码就是进行序列化,将采用数据结构体形式表示的多个数据对象编写为一串序列,一个数据对象包括数据结构体中一个成员名称和对应的数值,序列中依次为各个成员名称和对应的数值。Among them, encoding is serialization, which writes multiple data objects expressed in the form of a data structure into a series of sequences. A data object includes a member name and corresponding value in the data structure, and the sequence is in turn each member name and the corresponding value.
例如,编码后的数据对象可以如下:For example, the encoded data object can be as follows:
{“MemberName1”:“MemberValue1”,…,“MemberNameN”:“MemberValueN”}{"MemberName1": "MemberValue1", ..., "MemberNameN": "MemberValueN"}
其中,MemberName1、……、MemberNameN表示数据结构体中成员名称,MemberValue1、……、MemberValueN表示数据结构体中成员名称对应的数值。Among them, MemberName1, ..., MemberNameN represent the member names in the data structure, and MemberValue1, ..., MemberValueN represent the values corresponding to the member names in the data structure.
容易知道,JSON是一种轻量级的数据交换格式,采用完全独立于语言的文本格式,易于人阅读和编写、机器解析和生成。特别地,JSON与目前常用的轻量级XML相比,除了与XML不相上下的可读性、扩展性、以及编码难度低,还具有良好的解码难度,因此JSON的性能要优于XML。而且XML具有很多结构上的字符,极大地占用了传输带宽,因此采用JSON传输效率更高、占用通信信道带宽更小。It is easy to know that JSON is a lightweight data exchange format, using a text format completely independent of language, easy to read and write for humans, and easy for machines to parse and generate. In particular, compared with the currently commonly used lightweight XML, JSON not only has comparable readability, extensibility, and low encoding difficulty as XML, but also has good decoding difficulty, so the performance of JSON is better than XML. Moreover, XML has many structural characters, which greatly occupy the transmission bandwidth. Therefore, the transmission efficiency of JSON is higher and the bandwidth of the communication channel is smaller.
步骤104:源系统将编码后的数据对象发送给目标系统。Step 104: the source system sends the encoded data object to the target system.
可选地,源系统和目标系统之间可以设有消息代理(Transform Agent,简称TA)。在执行步骤104的过程中,源系统先将编码后的数据对象发送给消息代理,再由消息代理将编码后的数据对象发送给目标系统。Optionally, a message agent (Transform Agent, TA for short) may be set between the source system and the target system. During the execution of step 104, the source system first sends the encoded data object to the message broker, and then the message broker sends the encoded data object to the target system.
具体地,该步骤104可以包括:Specifically, this step 104 may include:
消息代理接收源系统发送的数据对象;The message broker receives the data objects sent by the source system;
将接收的数据对象缓存;Cache the received data object;
向目标系统发送缓存的数据对象。Send the cached data object to the target system.
可以理解地,消息代理将编码后的数据对象缓存后发送给目标系统,而不是即时发送给目标系统,避免目标系统由于系统繁忙而没有接收到数据对象,提高了数据对象传输的可靠性。优选地,消息代理可以在接收到目标系统发送的表示接收到数据对象的确认消息之后,再删除缓存的数据对象。Understandably, the message agent caches the encoded data object and then sends it to the target system instead of sending it to the target system immediately, so as to prevent the target system from not receiving the data object due to the busy system and improve the reliability of data object transmission. Preferably, the message agent can delete the cached data object after receiving a confirmation message from the target system indicating that the data object has been received.
步骤105:目标系统基于通用格式对数据对象的要求,对接收的数据对象按照JSON格式进行解码。Step 105: The target system decodes the received data object according to the JSON format based on the requirements of the common format for the data object.
其中,解码为编码的逆过程,即反序列化,将采用一串序列表示的各个成员名称和对应的数值转换为数据结构体形式,数据结构体中一个成员名称和对应的数值表示一个数据对象。Among them, decoding is the inverse process of encoding, that is, deserialization, which converts each member name and corresponding value represented by a string of sequences into a data structure form, and a member name and corresponding value in the data structure represent a data object .
可以理解地,由于源系统和目标系统均将其数据结构格式设定为通用格式,并基于JSON格式编码和译码,因此目标系统在对接收的数据对象进行解码之后,可以得到按照通用格式创建的数据对象。Understandably, since both the source system and the target system set their data structure format as a common format, and encode and decode based on the JSON format, after the target system decodes the received data object, it can obtain data object.
例如,解码后的数据对象如下:For example, the decoded data object is as follows:
dataSample.MemberName1=“MemberValue1”;dataSample.MemberName1 = "MemberValue1";
……
dataSample.MemberNameN=“MemberValueN”;dataSample.MemberNameN = "MemberValueN";
其中,dataSample表示数据结构体名称,MemberName1、……、MemberNameN表示数据结构体中成员名称,MemberValue1、……、MemberValueN表示数据结构体中成员名称对应的数值。Among them, dataSample represents the name of the data structure, MemberName1, ..., MemberNameN represent the member names in the data structure, and MemberValue1, ..., MemberValueN represent the values corresponding to the member names in the data structure.
步骤106:目标系统从解码后的数据对象中获取数据。Step 106: The target system obtains data from the decoded data object.
具体地,由于源系统和目标系统均将其数据结构格式设定为通用格式,因此目标系统可以从解码后的数据对象中获取数据。Specifically, since both the source system and the target system set their data structure formats to a common format, the target system can obtain data from the decoded data object.
例如,从解码后的数据对象中获取到,有一个数据结构体dataSample包括N个成员,分别为MemberName1、……、MemberNameN,各个成员对应的数值分别为MemberValue1、……、MemberValueN。For example, obtained from the decoded data object, there is a data structure dataSample including N members, respectively MemberName1, ..., MemberNameN, and the corresponding values of each member are MemberValue1, ..., MemberValueN.
本发明实施例通过将源系统和目标系统的数据结构格式均设定为通用格式,源系统和目标系统均可以准确且有效的识别采用通用格式承载的消息,与源系统和目标系统的操作系统或依赖的编程开发平台无关,实现了异构系统的消息传输。In the embodiment of the present invention, by setting the data structure format of the source system and the target system to a common format, both the source system and the target system can accurately and effectively identify the messages carried in the common format, and the operating systems of the source system and the target system It has nothing to do with the programming and development platform it depends on, and realizes the message transmission of heterogeneous systems.
实施例二Embodiment two
本发明实施例提供了一种源系统,参见图3,该源系统包括:An embodiment of the present invention provides a source system, see Figure 3, the source system includes:
设定模块201,用于将源系统的数据结构格式设定为通用格式,通用格式为源系统和目标系统共同采用的数据结构格式;The setting module 201 is used to set the data structure format of the source system to a common format, and the common format is a data structure format commonly adopted by the source system and the target system;
创建模块202,用于创建数据对象,创建的数据对象符合通用格式对数据对象的要求;The creation module 202 is used to create a data object, and the created data object meets the requirements of the general format for the data object;
编码模块203,用于对创建的数据对象按照JSON格式进行编码;An encoding module 203, configured to encode the created data object in JSON format;
发送模块204,用于向目标系统发送编码后的数据对象。The sending module 204 is configured to send the encoded data object to the target system.
具体地,通用格式对数据对象的要求可以包括:Specifically, the general format requirements for data objects may include:
数据结构体名称的字符和大小写在数据结构体所属的系统中均保持一致;The characters and case of the data structure name are consistent in the system to which the data structure belongs;
数据结构体中成员名称的字符和大小写在数据结构体所属的系统中均保持一致;The characters and capitalization of member names in the data structure are consistent in the system to which the data structure belongs;
数据结构体中成员类型的描述方式在数据结构体所属的系统中保持一致;The description method of the member type in the data structure is consistent in the system to which the data structure belongs;
数据结构体中嵌套关系在数据结构体所属的系统中保持一致;The nesting relationship in the data structure is consistent in the system to which the data structure belongs;
数据结构体名称与数据结构体中成员名称在数据结构体所属的系统中不重复。The name of the data structure and the member names in the data structure are not duplicated in the system to which the data structure belongs.
本发明实施例通过将源系统和目标系统的数据结构格式均设定为通用格式,源系统和目标系统均可以准确且有效的识别采用通用格式承载的消息,与源系统和目标系统的操作系统或依赖的编程开发平台无关,实现了异构系统的消息传输。In the embodiment of the present invention, by setting the data structure format of the source system and the target system to a common format, both the source system and the target system can accurately and effectively identify the messages carried in the common format, and the operating systems of the source system and the target system It has nothing to do with the programming and development platform it depends on, and realizes the message transmission of heterogeneous systems.
实施例三Embodiment Three
本发明实施例提供了一种目标系统,参见图4,该目标系统包括:The embodiment of the present invention provides a kind of target system, referring to Fig. 4, this target system comprises:
设定模块301,用于将目标系统的数据结构格式设定为通用格式,通用格式为源系统和目标系统共同采用的数据结构格式;The setting module 301 is used to set the data structure format of the target system as a common format, and the common format is a data structure format commonly adopted by the source system and the target system;
接收模块302,用于接收源系统发送的数据对象;A receiving module 302, configured to receive the data object sent by the source system;
解码模块303,用于基于通用格式对数据对象的要求,对接收的数据对象按照JSON格式进行解码;The decoding module 303 is used to decode the received data object according to the JSON format based on the requirements of the general format for the data object;
获取模块304,用于从解码后的数据对象中获取数据。An acquisition module 304, configured to acquire data from the decoded data object.
具体地,通用格式对数据对象的要求可以包括:Specifically, the general format requirements for data objects may include:
数据结构体名称的字符和大小写在数据结构体所属的系统中均保持一致;The characters and case of the data structure name are consistent in the system to which the data structure belongs;
数据结构体中成员名称的字符和大小写在数据结构体所属的系统中均保持一致;The characters and capitalization of member names in the data structure are consistent in the system to which the data structure belongs;
数据结构体中成员类型的描述方式在数据结构体所属的系统中保持一致;The description method of the member type in the data structure is consistent in the system to which the data structure belongs;
数据结构体中嵌套关系在数据结构体所属的系统中保持一致;The nesting relationship in the data structure is consistent in the system to which the data structure belongs;
数据结构体名称与数据结构体中成员名称在数据结构体所属的系统中不重复。The name of the data structure and the member names in the data structure are not duplicated in the system to which the data structure belongs.
本发明实施例通过将源系统和目标系统的数据结构格式均设定为通用格式,源系统和目标系统均可以准确且有效的识别采用通用格式承载的消息,与源系统和目标系统的操作系统或依赖的编程开发平台无关,实现了异构系统的消息传输。In the embodiment of the present invention, by setting the data structure format of the source system and the target system to a common format, both the source system and the target system can accurately and effectively identify the messages carried in the common format, and the operating systems of the source system and the target system It has nothing to do with the programming and development platform it depends on, and realizes the message transmission of heterogeneous systems.
实施例四Embodiment Four
本发明实施例提供了一种消息传输的系统,参见图5,该系统包括互为异构系统的源系统501和目标系统502。An embodiment of the present invention provides a message transmission system. Referring to FIG. 5 , the system includes a source system 501 and a target system 502 that are heterogeneous systems.
源系统501用于,将源系统的数据结构格式设定为通用格式;创建数据对象,创建的数据对象符合通用格式对数据对象的要求;对创建的数据对象按照JSON格式进行编码;向目标系统发送编码后的数据对象;The source system 501 is used to set the data structure format of the source system to a general format; create a data object, and the created data object meets the requirements of the general format for the data object; encode the created data object according to the JSON format; Send the encoded data object;
目标系统502用于,将目标系统的数据结构格式设定为通用格式;接收源系统发送的数据对象;基于通用格式对数据对象的要求,对接收的数据对象按照JSON格式进行解码;从解码后的数据对象中获取数据;The target system 502 is used to set the data structure format of the target system to a general format; receive the data object sent by the source system; based on the requirements of the general format for the data object, decode the received data object according to the JSON format; Get data from the data object;
其中,通用格式为源系统和目标系统共同采用的数据结构格式。Among them, the common format is a data structure format commonly adopted by the source system and the target system.
具体地,通用格式对数据对象的要求可以包括:Specifically, the general format requirements for data objects may include:
数据结构体名称的字符和大小写在数据结构体所属的系统中均保持一致;The characters and case of the data structure name are consistent in the system to which the data structure belongs;
数据结构体中成员名称的字符和大小写在数据结构体所属的系统中均保持一致;The characters and capitalization of member names in the data structure are consistent in the system to which the data structure belongs;
数据结构体中成员类型的描述方式在数据结构体所属的系统中保持一致;The description method of the member type in the data structure is consistent in the system to which the data structure belongs;
数据结构体中嵌套关系在数据结构体所属的系统中保持一致;The nesting relationship in the data structure is consistent in the system to which the data structure belongs;
数据结构体名称与数据结构体中成员名称在数据结构体所属的系统中不重复。The name of the data structure and the member names in the data structure are not duplicated in the system to which the data structure belongs.
可选地,该系统还可以包括:Optionally, the system can also include:
消息代理503,用于接收源系统发送的数据对象;将接收的数据对象缓存;向目标系统发送缓存的数据对象。The message agent 503 is configured to receive the data object sent by the source system; cache the received data object; and send the cached data object to the target system.
本发明实施例通过将源系统和目标系统的数据结构格式均设定为通用格式,源系统和目标系统均可以准确且有效的识别采用通用格式承载的消息,与源系统和目标系统的操作系统或依赖的编程开发平台无关,实现了异构系统的消息传输。In the embodiment of the present invention, by setting the data structure format of the source system and the target system to a common format, both the source system and the target system can accurately and effectively identify the messages carried in the common format, and the operating systems of the source system and the target system It has nothing to do with the programming and development platform it depends on, and realizes the message transmission of heterogeneous systems.
需要说明的是:上述实施例提供的源系统、目标系统、消息传输的系统在消息传输时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将系统的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的源系统、目标系统、消息传输的系统与消息传输的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: the source system, target system, and message transmission system provided by the above embodiments only use the division of the above-mentioned functional modules as an example for illustration during message transmission. In practical applications, the above-mentioned functions can be allocated by Completion of different functional modules means that the internal structure of the system is divided into different functional modules to complete all or part of the functions described above. In addition, the source system, target system, message transmission system and message transmission method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, and will not be repeated here.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present invention are for description only, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510256642.2A CN104993906B (en) | 2015-05-18 | 2015-05-18 | A kind of method and system of message transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510256642.2A CN104993906B (en) | 2015-05-18 | 2015-05-18 | A kind of method and system of message transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104993906A CN104993906A (en) | 2015-10-21 |
CN104993906B true CN104993906B (en) | 2018-07-06 |
Family
ID=54305667
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510256642.2A Active CN104993906B (en) | 2015-05-18 | 2015-05-18 | A kind of method and system of message transmission |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104993906B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107040613B (en) * | 2017-06-05 | 2020-03-31 | 上海艾融软件股份有限公司 | Message transmission method and system |
CN110096379B (en) * | 2019-04-30 | 2022-09-09 | 武汉斗鱼鱼乐网络科技有限公司 | Message distribution method, device, equipment and storage medium based on general protocol |
CN110275789A (en) * | 2019-06-24 | 2019-09-24 | 恒生电子股份有限公司 | Data processing method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101754221A (en) * | 2008-12-19 | 2010-06-23 | 中国移动通信集团山东有限公司 | Data transmission method between heterogeneous systems and data transmission system |
CN102523200A (en) * | 2011-11-29 | 2012-06-27 | 上海计算机软件技术开发中心 | Internet of things information processing method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080306798A1 (en) * | 2007-06-05 | 2008-12-11 | Juergen Anke | Deployment planning of components in heterogeneous environments |
-
2015
- 2015-05-18 CN CN201510256642.2A patent/CN104993906B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101754221A (en) * | 2008-12-19 | 2010-06-23 | 中国移动通信集团山东有限公司 | Data transmission method between heterogeneous systems and data transmission system |
CN102523200A (en) * | 2011-11-29 | 2012-06-27 | 上海计算机软件技术开发中心 | Internet of things information processing method |
Also Published As
Publication number | Publication date |
---|---|
CN104993906A (en) | 2015-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109902274B (en) | Method and system for converting json character string into thraft binary stream | |
CN107835178A (en) | A kind of multi-protocols communication for service method, apparatus and electronic equipment | |
CN105450232A (en) | Encoding method, decoding method, encoding device and decoding device | |
WO2017054597A1 (en) | Processing method and device for emoji string | |
CN104575502A (en) | Intelligent toy and voice interaction method thereof | |
US11196868B2 (en) | Audio data processing method, server, client and server, and storage medium | |
CN104993906B (en) | A kind of method and system of message transmission | |
CN116803176A (en) | Communication method, device, equipment and storage medium | |
CN105871819B (en) | Transfer control method and equipment | |
WO2012027932A1 (en) | Method, equipment and terminal for encoding/decoding short message | |
CN113691531B (en) | WebSocket protocol-based data transmission method, system, equipment and storage medium | |
US20240243864A1 (en) | Data transmission method, apparatus, and system | |
CN114363121A (en) | Gateway framework supporting custom protocol and implementation method | |
US8429138B2 (en) | Method and apparatus for data exchange in a distributed system | |
CN109428861A (en) | Network communication method and equipment | |
CN105024923B (en) | The method and device that message category based on XMPP extension message is realized | |
CN115604365B (en) | Data encoding and decoding method, device, electronic equipment and readable storage medium | |
CN110548285B (en) | Game communication control method and device, medium and electronic equipment | |
WO2015154621A1 (en) | Method, device and system for transmitting address book information | |
CN114138063B (en) | A transmission method and device for reducing connector signals based on CPLD | |
CN117762899A (en) | Data migration method and device | |
CN114817113B (en) | A method, system, device and storage medium for judging the direction of SDA data | |
CN103631716B (en) | The conversion method and equipment of a kind of debug command | |
CN103561105A (en) | Image transmitting method, sending end and receiving end | |
CN114968607A (en) | Calling method of development page, storage medium and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |