CN116828073A - Message conversion method, device, electronic equipment and computer readable storage medium - Google Patents

Message conversion method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN116828073A
CN116828073A CN202310785974.4A CN202310785974A CN116828073A CN 116828073 A CN116828073 A CN 116828073A CN 202310785974 A CN202310785974 A CN 202310785974A CN 116828073 A CN116828073 A CN 116828073A
Authority
CN
China
Prior art keywords
message
parameter
service
node
analysis
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.)
Pending
Application number
CN202310785974.4A
Other languages
Chinese (zh)
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.)
China Telecom International Co ltd
Original Assignee
China Telecom International 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 China Telecom International Co ltd filed Critical China Telecom International Co ltd
Priority to CN202310785974.4A priority Critical patent/CN116828073A/en
Publication of CN116828073A publication Critical patent/CN116828073A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure provides a message conversion method, a device, an electronic device and a computer readable storage medium, and relates to the technical fields of computers and the internet, comprising: receiving a first message conforming to a first message structure; acquiring a message analysis conversion rule corresponding to a first message structure and a plurality of message templates corresponding to first equipment, wherein the message analysis conversion rule comprises at least one analysis rule condition; traversing the first message, and determining an analysis success condition satisfied by the first message in at least one analysis rule condition; matching a first message template corresponding to a resolution success condition in a plurality of message templates corresponding to the first equipment, wherein the first message template comprises at least one first parameter, and the first message template accords with a second message structure; extracting parameter values corresponding to each first parameter from the first message; and filling the first message template according to the parameter value corresponding to at least one first parameter to generate a second message conforming to the second message structure.

Description

Message conversion method, device, electronic equipment and computer readable storage medium
Technical Field
The disclosure relates to the technical field of computers and the internet, and in particular relates to a message conversion method and device, electronic equipment and a computer readable storage medium.
Background
This section is intended to provide a background or context to the embodiments of the disclosure recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
In the related art, interactions between systems gradually take the form of structured messages, especially those represented by JSON format, and some standardized and targeted message parsing and conversion schemes have been formed for the structured messages. However, the current message parsing and conversion scheme can enable the systems to be logically coupled, and after the content of the related message of the upstream system changes, the downstream system needs to rely on the development of the upstream system to perform corresponding system upgrading to complete the parsing and conversion of the message.
Therefore, the technical problem to be solved by the application is how to release the coupling relation between the systems during the message parsing conversion.
Disclosure of Invention
The disclosure aims to provide a message conversion method, a message conversion device, an electronic device and a computer readable storage medium, which can analyze and convert a first message sent by an upstream device into a message with a message structure meeting the requirement of the first device.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
The embodiment of the disclosure provides a message conversion method, which comprises the following steps: receiving a first message conforming to a first message structure; acquiring a message analysis conversion rule corresponding to the first message structure and a plurality of message templates corresponding to the first equipment, wherein the message analysis conversion rule comprises at least one analysis rule condition; traversing the first message, and determining an analysis success condition which is met by the first message in the at least one analysis rule condition; a first message template corresponding to the analysis success condition is matched in a plurality of message templates corresponding to the first equipment, wherein the first message template comprises at least one first parameter, the first message template accords with a second message structure, and the first message structure is different from the second message structure; extracting parameter values corresponding to each first parameter from the first message; and filling the first message template according to the parameter value corresponding to the at least one first parameter to generate a second message conforming to the second message structure.
In some embodiments, the method further comprises: loading the first message to generate a message binary tree corresponding to the first message, wherein the message binary tree comprises a first message node and a second message node; the message analysis and conversion rule comprises a service binary tree of the service corresponding to the first message; the obtaining the message parsing conversion rule corresponding to the first message structure includes: acquiring the service binary tree corresponding to the first message, wherein the service binary tree comprises a first service node and a second service node, each service node comprises at least one analysis rule condition, the first service node of the service binary tree corresponds to a first message node in the message binary tree, and the second service node of the service binary tree corresponds to a second message node in the message binary tree; the traversing processing is performed on the first message, and the determining, in the at least one parsing rule condition, a parsing success condition satisfied by the first message includes: traversing the message data in the first message node through the analysis rule conditions in the first service node to determine the analysis rule conditions which are met by the data in the first message node in at least one analysis rule condition corresponding to the first message node as first analysis success conditions; traversing the message data in the second message node through the analysis rule conditions in the second service node to determine the analysis rule conditions which are met by the data in the second message node from at least two analysis rule conditions corresponding to the second message node as second analysis success conditions; and taking the first analysis success condition and the second analysis success condition as analysis success conditions met by the first message.
In some embodiments, the plurality of message templates corresponding to the first device include a second message template, where the second message template is mounted in the second service node, the second service node includes at least one parsing rule condition, and the at least one parsing rule condition in the second service node includes a first parsing rule condition; traversing the message data in the second message node through the analysis rule conditions in the second service node to determine the analysis rule conditions which are met by the data in the second message node in at least two analysis rule conditions corresponding to the second message node, wherein the analysis rule conditions are used as second analysis success conditions and comprise: traversing the message data in the second message node through a first analysis rule condition in the second service node; if the message data in the second message node meets the first analysis rule condition, determining that the first analysis rule condition is an analysis success condition corresponding to the second message node, wherein after determining that the second message node has the data matched with the first analysis rule condition, stopping traversing the data in the second message node; wherein, matching the first message template corresponding to the analysis success condition in the plurality of message templates corresponding to the first device includes: and matching the first message template matched with the first analysis rule in a plurality of message templates corresponding to the first equipment.
In some embodiments, the first message sent by the second device is a message corresponding to a first service, the message Wen Ercha tree further includes a third message node, and the plurality of message templates corresponding to the first device further includes a third message template; wherein, the service binary tree corresponding to the first message is obtained, and the method further comprises: generating a service binary tree template according to a first message structure and service content corresponding to the first service, wherein the service binary tree template comprises a third service node, the third service node corresponds to the third message node, and the third message template is mounted on the third service node; compiling at least one parsing rule condition corresponding to the third service node according to the third message template and the service content; generating a configuration file corresponding to the third service node according to at least one parsing rule condition corresponding to the third service node; and configuring the configuration file corresponding to the third service node in the first device so as to analyze and traverse the message data in the third message node corresponding to the first message through the configuration file in the first device.
In some embodiments, the parameter value corresponding to the first parameter is obtained by calculating a first sub-parameter and a second sub-parameter; extracting parameter values corresponding to each first parameter from the first message includes: extracting a parameter value corresponding to the first sub-parameter from the first message; extracting a parameter value corresponding to the second sub-parameter from the first message; and carrying out parameter calculation on the parameter value corresponding to the first sub-parameter and the parameter value corresponding to the second sub-parameter to obtain the parameter value corresponding to the first parameter.
In some embodiments, the parameter value corresponding to the first parameter is obtained by calculating a third sub-parameter and an external parameter; extracting parameter values corresponding to each first parameter from the first message includes: extracting a parameter value corresponding to the third sub-parameter from the first message; acquiring a parameter value corresponding to the external parameter from an external system of the first equipment; and carrying out parameter calculation on the parameter value corresponding to the third sub-parameter and the parameter value corresponding to the external parameter to obtain the parameter value corresponding to the first parameter.
In some embodiments, the first message template corresponds to a second service, and the second service is processed by a third device; wherein the method further comprises: determining the second service corresponding to the first message template; determining a third device for processing the second service; and sending the second message generated according to the first message template to the third equipment so that the third equipment can process the second message.
In some embodiments, the parsing success conditions met by the first message include a first parsing success condition and a second parsing success condition, where the first parsing success condition is used to match the first message template, and the plurality of message templates corresponding to the first device further includes a second message template, where the second message template conforms to a third message structure, and the third message structure is different from the first message structure; wherein the method further comprises: matching the second message template corresponding to the second analysis success condition in a plurality of message templates corresponding to the first equipment, wherein the second message template comprises at least one second parameter; extracting parameter values corresponding to each second parameter from the second message; and filling the second message template according to the parameter value corresponding to the at least one second parameter to generate a third message conforming to the third message structure.
The embodiment of the disclosure provides a message conversion device, which comprises: the system comprises a first message receiving module, an analysis conversion rule acquisition module, a traversing module, a first message template matching module, a first parameter value extraction module and a filling module.
The first message receiving module is used for receiving a first message conforming to a first message structure; the parsing conversion rule obtaining module may be configured to obtain a message parsing conversion rule corresponding to the first message structure and a plurality of message templates corresponding to the first device, where the message parsing conversion rule includes at least one parsing rule condition; the traversing module may be configured to perform traversing processing on the first packet, and determine a parsing success condition that the first packet meets in the at least one parsing rule condition; the first message template matching module may be configured to match a first message template corresponding to the parsing success condition in a plurality of message templates corresponding to the first device, where the first message template includes at least one first parameter, the first message template conforms to a second message structure, and the first message structure is different from the second message structure; the first parameter value extraction module may be configured to extract parameter values corresponding to each first parameter from the first packet; the filling module may be configured to fill the first message template according to a parameter value corresponding to the at least one first parameter, so as to generate a second message conforming to the second message structure.
The embodiment of the disclosure provides an electronic device, which comprises: a memory and a processor; the memory is used for storing computer program instructions; the processor invokes the computer program instructions stored in the memory to implement the message conversion method of any one of the above.
The embodiment of the disclosure provides a computer readable storage medium, on which computer program instructions are stored, to implement a message conversion method as described in any one of the above.
Embodiments of the present disclosure propose a computer program product or a computer program comprising computer program instructions stored in a computer-readable storage medium. The computer program instructions are read from the computer readable storage medium, and the processor executes the computer program instructions to implement the message conversion method.
The message conversion method, the device, the electronic equipment and the computer readable storage medium provided by the embodiment of the disclosure can determine the first message template matched with the first message in a plurality of message templates corresponding to the first equipment through the message analysis conversion rule, and then generate the second message of the second message structure meeting the requirements of the first equipment based on the message content in the first message and the first message template. According to the method, the second message which accords with the second message structure required by the downstream equipment can be directly generated according to the first message analysis and conversion sent by the upstream equipment under the condition that the downstream equipment is decoupled from the upstream equipment.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
Fig. 1 shows a schematic view of a message conversion method or a message conversion apparatus, which can be applied to an embodiment of the present disclosure.
Fig. 2 is a flow chart illustrating a method of message conversion according to an exemplary embodiment.
Fig. 3 is a flow chart illustrating a method of message parsing conversion in accordance with an exemplary embodiment.
FIG. 4 is a flowchart illustrating a data traversal method according to an exemplary embodiment.
Fig. 5 is a flow chart illustrating a method of generating a binary tree for a service according to an exemplary embodiment.
Fig. 6 is a schematic diagram of a binary tree of services, shown in accordance with an exemplary embodiment.
Fig. 7 is a flow chart illustrating a method of message parsing conversion according to an exemplary embodiment.
Fig. 8 is a flow chart illustrating a method of message parsing conversion according to an exemplary embodiment.
FIG. 9 is a template instance generation diagram illustrating an example embodiment.
Fig. 10 is an application diagram of a message parsing conversion method according to an exemplary embodiment.
Fig. 11 is a timing diagram illustrating a method of message parsing conversion according to an exemplary embodiment.
Fig. 12 is a block diagram illustrating a message conversion apparatus according to an exemplary embodiment.
Fig. 13 shows a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can be embodied in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted.
One skilled in the art will appreciate that embodiments of the present disclosure may be a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the following forms, namely: complete hardware, complete software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
The described features, structures, or characteristics of the disclosure may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the present disclosure. However, those skilled in the art will recognize that the aspects of the present disclosure may be practiced with one or more of the specific details, or with other methods, components, devices, steps, etc. In other instances, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
The drawings are merely schematic illustrations of the present disclosure, in which like reference numerals denote like or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
The flow diagrams depicted in the figures are exemplary only, and not necessarily all of the elements or steps are included or performed in the order described. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the order of actual execution may be changed according to actual situations.
In the description of the present disclosure, unless otherwise indicated, "/" means "or" and, for example, a/B may mean a or B. "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. Furthermore, "at least one" means one or more, and "a plurality" means two or more. The terms "first," "second," and the like do not limit the amount and order of execution, and the terms "first," "second," and the like do not necessarily differ; the terms "comprising," "including," and "having" are intended to be inclusive and mean that there may be additional elements/components/etc., in addition to the listed elements/components/etc.
In order that the above-recited objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to specific embodiments thereof which are illustrated in the appended drawings, it being understood that embodiments of the present disclosure and features of the embodiments may be combined with each other without departing from the scope of the appended claims.
It should be noted that, in the technical solution of the present disclosure, the related aspects of collecting, updating, analyzing, processing, using, transmitting, storing, etc. of the personal information of the user all conform to the rules of the related laws and regulations, and are used for legal purposes without violating the public order colloquial. Necessary measures are taken for the personal information of the user, illegal access to the personal information data of the user is prevented, and the personal information security, network security and national security of the user are maintained.
The following is a first explanation of some of the terms involved in the embodiments of the present disclosure to facilitate understanding by those skilled in the art.
The message is a protocol defined by file transmission, can be a message with a format such as CSV, XML, JSON, and can be understood as data, and the message analysis is to analyze the message data with a specific format and content into a desired result for convenient processing.
FreeMark: is a template engine: i.e., a generic tool based on templates and data to be changed and used to generate output text (HTML web pages, email, configuration files, source code, etc.).
JSONPath is an information extraction class library, which is a tool for extracting specified information from JSON documents.
Aviator script: is a high-performance, lightweight scripting language hosted on a JVM (Java Virtual Machine ).
MVEL: is a powerful Java application-based expression language.
Betel: is an abbreviation of Bee Template Language, which is a new generation of template engine, and it is powerful, has good performance, and kills the currently popular template engine in seconds. But also easy to learn and use.
Thymeleaf: is a modern server-side Java template engine, is suitable for Web and independent environments, and can process HTML, XML, javaScript, CSS even plain text.
HTML: all known as hypertext markup language, is a markup language. The document format on the network can be unified through the labels, so that the scattered Internet resources are connected into a logic whole.
XML: EXtensible Markup Language, extensible markup language, a subset of standard generic markup language, XML for short. Is a markup language for marking electronic documents to be structured.
JavaScript: abbreviated as "JS", is a lightweight, interpreted or just-in-time compiled programming language with functional preference.
CSS: the full name Cascading Style Sheets, chinese means "cascading style sheet", which is a computer language for representing file styles such as HTML (an application of standard universal markup language) or XML (a subset of standard universal markup language), is a programming language for representing HTML styles, and is a style language capable of separating web pages and contents.
JSON: is called JavaScript Object Notation, and is a lightweight data interaction format.
Having introduced some noun concepts to which embodiments of the present disclosure relate, the following describes technical features to which embodiments of the present disclosure relate.
The following describes example embodiments of the present disclosure in detail with reference to the accompanying drawings.
Fig. 1 shows a schematic view of a message conversion method or a message conversion apparatus, which can be applied to an embodiment of the present disclosure.
Referring to fig. 1, a schematic diagram of an implementation environment provided by an exemplary embodiment of the present disclosure is shown.
As shown in fig. 1, a system architecture 100 may include terminal devices 101, 102, a network 104, and servers 103, 105. The network 104 is the medium used to provide communication links between the terminal devices 101, 102 and the servers 103, 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the servers 103, 105 via the network 104 using the terminal devices 101, 102 to receive or send messages or the like. The terminal devices 101, 102 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop computers, desktop computers, wearable devices, virtual reality devices, smart homes, etc.
The servers 103, 105 may be servers providing various services, such as a background management server providing support for devices operated by the user using the terminal devices 101, 102 or a server providing operator services in an operator system, such as a sms system server, a voice service system server, or other system servers, which the present application is not limited to. The background management server can analyze and process the received data such as the request and the like, and feed back the processing result to the terminal equipment.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server or the like for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network ), basic cloud computing services such as big data and artificial intelligent platform, and the disclosure is not limited thereto.
The server 105 may receive a first message conforming to the first message structure from another device (e.g., the server 103 or the terminal device 101 or 102); the server 105 may, for example, obtain a message parsing conversion rule corresponding to the first message structure and a plurality of message templates corresponding to the first device, where the message parsing conversion rule includes at least one parsing rule condition; the server 105 may, for example, perform a traversal process on the first message, and determine, among the at least one parsing rule condition, a parsing success condition that the first message satisfies; the server 105 may, for example, match a first message template corresponding to the parsing success condition in a plurality of message templates corresponding to the first device, where the first message template includes at least one first parameter, the first message template conforms to a second message structure, and the first message structure is different from the second message structure; the server 105 may extract, for example, parameter values corresponding to the respective first parameters from the first packet; the server 105 may populate the first message template, for example, according to a parameter value corresponding to at least one first parameter, to generate a second message conforming to the second message structure.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative, and that the server 105 may be a server of one entity, or may be composed of a plurality of servers, and may have any number of terminal devices, networks and servers according to actual needs.
Fig. 2 is a flow chart illustrating a method of message conversion according to an exemplary embodiment. The method provided by the embodiments of the present disclosure may be performed by any electronic device having computing processing capability, for example, the method may be performed by a server in the embodiment of fig. 1, and in the following embodiment, a service system server (such as the server 103 or 105) in an operator system is taken as an executing body (such as the first device) for illustration, but the present disclosure is not limited thereto. It will be appreciated that the service system server described above may be used to handle a number of specific services, and the application is not limited in this regard.
Referring to fig. 2, the message conversion method provided by the embodiment of the present disclosure may include the following steps.
Step S202, a first message conforming to the first message structure is received.
In some embodiments, the first device may receive the first message from the second device (e.g., a system or device in an operator system).
In some embodiments, the second device may send the first message of the first message structure according to its own requirement or its own standard.
However, in practical applications, the first message structure corresponding to the first message sent by the second device may not be able to meet the requirements of the first device, so that the first device needs to perform message parsing and conversion on the message sent by the first device to extract the information required by the first device from the first message, and generate the second message according to the information extracted from the first message. The second message structure corresponding to the second message can meet the requirement of the first device or facilitate the information processing of the first device.
The differences in the message structures (e.g., the first message structure or the second message structure) may include differences in the writing language of the message (e.g., xml language, JSON language, CSV language, etc.), differences in the message format (e.g., message layout), differences in the message content, etc., which are not limited by the present application. For example, if the first message and the second message each include a keyword of "name", but the keyword of "name" is located at a different position between the first message and the second message, then the first message structure corresponding to the first message may be considered to be different from the second message structure corresponding to the second message; for another example, if the first message is written in JSON and the second message is written in XML, then the first message structure corresponding to the first message may be considered to be different from the second message structure corresponding to the second message; for another example, if the first message includes a keyword of "name", but the second message does not include a keyword of "name", then the first message structure corresponding to the first message may be considered to be different from the second message structure corresponding to the second message, and so on, which the present application is not limited in this respect.
Step S204, a message parsing conversion rule corresponding to the first message structure and a plurality of message templates corresponding to the first device are obtained, wherein the message parsing conversion rule comprises at least one parsing rule condition.
In some embodiments, the above-mentioned message parsing conversion rule may be written in a configuration file through a logic expression or a script or an SQL type expression, etc., and configured in the first device.
In some embodiments, the above-mentioned message parsing conversion rule may also be implemented by a code, which is not limited by the present application.
In some embodiments, the first message is message data corresponding to a first service in the first device.
In some embodiments, the first device may store, in advance, a message parsing conversion rule corresponding to the first message structure, where the message parsing conversion rule corresponding to the first message structure may be generated according to a first service corresponding to the second device and a requirement of the first device. For example, when the second device accesses the first device, the first device may obtain, in advance, a message structure of a message corresponding to each service of the second device, and then generate, according to the message structure of the message of each service, a message parsing conversion rule corresponding to each message structure. For example, when the second device accesses the first device, the first device knows that the first message transmitted in the second device may include card activation time information, and according to the service requirement of the first device, needs to acquire the card activation time of the user and generate a short message through the card activation time to notify the user, where the message parsing conversion rule may include a parsing rule condition for determining whether the first message includes the card activation time. Those skilled in the art may design the message parsing conversion rule according to the actual requirement of the first device and the message structure sent by the second device, which is not limited in the present application.
In some embodiments, the first device may store a general packet analysis conversion rule in advance, where the general packet analysis conversion rule may be used to load, analyze, and condition match various packets, and the application is not limited to this.
Step S206, traversing the first message, and determining the analysis success condition satisfied by the first message in at least one analysis rule condition.
In some embodiments, the traversing processing may be performed on the first message by using the message parsing conversion rule, and a parsing rule condition that is satisfied by the first message is determined from at least one parsing rule condition of the message parsing rule, as a parsing success condition.
For example, assume that the parsing conversion rule includes the following three parsing rule conditions: 1. the message comprises identity card information; 2. the message comprises the amount information; 3. the message includes activation time information. When the first message includes the identification card information and the amount information, the first message can be considered to satisfy the 1 st and the 2 nd analysis rule conditions, and the 1 st and the 2 nd analysis rule conditions can be used as the analysis success conditions, and the application is not limited to this.
Step S208, a first message template corresponding to the analysis success condition is matched in a plurality of message templates corresponding to the first equipment, wherein the first message template comprises at least one first parameter, the first message template accords with a second message structure, and the first message structure is different from the second message structure.
The analysis success condition may refer to an analysis rule condition that the first message successfully satisfies, for example, in the above example, since the first message satisfies the 1 st and 2 nd analysis rule conditions, the 1 st and 2 nd analysis rule conditions may be considered as analysis success conditions corresponding to the first message.
In some embodiments, the parsing success condition and the message template may be in a one-to-one relationship (e.g., one parsing success condition may be matched with one template), a one-to-many relationship (e.g., one parsing success condition may be matched with a plurality of templates), or a many-to-one relationship (e.g., a plurality of parsing success conditions may be matched with one template), which is not a limitation of the present application. For example, when the first message meets the parsing success condition 1, the first message template may be possibly matched; for another example, when the first message meets the analysis success condition 1 and the analysis success condition 2, the first message template may be matched; for another example, when the first message meets the parsing success condition 1, the first message template and the second message template may be matched at the same time. The corresponding relation between the message module and the analysis success condition can be set by a person skilled in the art according to actual requirements, and the application is not limited to this.
Step S210, extracting parameter values corresponding to the first parameters from the first message.
In some embodiments, after the parsing success condition corresponding to the first message matches the first message template (may be one or more) in the multiple message templates corresponding to the first device, the first parameters (such as card name, card balance, card activation time, etc.) to be filled in the first message template may be further determined, and based on this, parameter values corresponding to the first parameters may be extracted from the first message based on a certain extraction rule.
In some embodiments, the parameter extraction rule corresponding to the first parameter may be implemented by an expression, a step, etc. in the configuration file, or may be implemented by a code. The application is not limited in this regard.
Step S212, filling the first message template according to the parameter value corresponding to at least one first parameter to generate a second message conforming to the second message structure.
In some embodiments, the parameter value corresponding to the at least one first parameter may be directly filled into the first message template to generate the second message conforming to the second message structure.
In some embodiments, the parameter value extracted from the first message may be an intermediate form of the parameter required in the first message template, and calculation of the parameter value extracted from the first message may be required to obtain the parameter value required in the first message template.
For example, the date extracted from the first message may be in the form of XXXX-XX-XX, but the date required in the first message template is in the form of XXXX: XX, then the date extracted from the first message needs to be calculated to generate the parameters required by the first message template; for another example, the account opening time and the time difference between the account opening time and the activation time are extracted from the first message, but the activation time is required to be filled in the first message template, the activation time can be determined according to the account opening time and the time difference between the account opening time and the activation extracted from the first message, and then the activation time is filled in the first message template.
In some embodiments, the parameter value corresponding to the first parameter may be obtained by calculating the first sub-parameter and the second sub-parameter, and then the parameter value required by the first message template may be obtained by: extracting a parameter value corresponding to the first sub-parameter from the first message; extracting a parameter value corresponding to the second sub-parameter from the first message; parameter calculation (such as various calculations of addition, subtraction, multiplication, division, root number and the like) is performed on the parameter value corresponding to the first sub-parameter and the parameter value corresponding to the second sub-parameter, so as to obtain the parameter value corresponding to the first parameter. It will be appreciated that the computing formula between the first sub-parameter and the second sub-parameter can be set by a person skilled in the art according to the actual service requirement, which the present application is not limited to.
In some embodiments, the parameter value corresponding to the first parameter may be obtained by calculating the third sub-parameter and the external parameter, and then the parameter value required by the first message template may be obtained by: extracting a parameter value corresponding to the third sub-parameter from the first message; acquiring a parameter value corresponding to an external parameter from an external system of first equipment; and carrying out parameter calculation on the parameter value corresponding to the third sub-parameter and the parameter value corresponding to the external parameter to obtain the parameter value corresponding to the first parameter. Wherein the external parameter value may refer to a parameter obtained from a device other than the first device.
In some embodiments, after obtaining the parameter value required by the first message, the parameter value may be filled into the first message template to generate the second message.
The above embodiment provides a set of message parsing conversion scheme, and can realize the understanding coupling of the message of the upstream system (the upstream system: the second device, the downstream system: the first device) and the downstream system (the upstream system: the second device) by flexibly configuring the message parsing conversion rule according to the requirement, and the output of the downstream system can be ensured to the expected output of the message result without code adjustment by adjusting the message parsing conversion rule and the management and matching capability of the template no matter whether the input of the upstream system is adjusted or not.
The embodiment can realize a unified and flexible processing mechanism of the service message after the service order is filed, and provide the universal resolving capability of service information transmission.
In some embodiments, the first message template may correspond to a second service, which may be processed by the third device. Then the second business corresponding to the first message template can be determined after the second message is generated; then determining a third device for processing the second service; and then sending the second message generated according to the first message template to the third device so that the third device can process the second message.
For example, the first device may be a server in the operator network, after the first device processes the message sent by the second device into the second message, it may determine a second service (such as a sms notification service) corresponding to the second message and a service processing device (such as a third device, for example, a sms gateway) corresponding to the second service, where, then, the first device may send the second message to the third device corresponding to the second service, so that the third device performs service processing on the second message.
In some embodiments, if the message structure required by the service corresponding to the third device is different from the message structure corresponding to the second message, the third device may also process the second message by using the message parsing and converting method provided by the present application, so as to generate a message meeting the requirement of the third device.
Fig. 3 is a flow chart illustrating a method of message parsing conversion in accordance with an exemplary embodiment. Referring to fig. 3, the above-mentioned message parsing conversion method may include the following steps.
Step S302, a first message conforming to the first message structure is received from the second device.
Step S304, loading the first message to generate a message binary tree corresponding to the first message, wherein the message binary tree comprises a first message node and a second message node.
In some embodiments, the first device may know in advance a message structure of the first message sent by the second device, and then load the first message according to the message structure known in advance, so as to generate a message binary tree corresponding to the first message. It should be noted that there may be no or no logical relationship between the nodes in the binary tree of the message, which is not limited by the present application.
Step S306, a service binary tree corresponding to the first message and a plurality of message templates corresponding to the first device are obtained, wherein the service binary tree comprises a first service node and a second service node, each service node comprises at least one analysis rule condition, the first service node of the service binary tree corresponds to a first message node in the message binary tree, and the second service node of the service binary tree corresponds to a second message node in the message binary tree.
In some embodiments, the first device may know in advance a first message structure of a first message sent by the second device, and then construct a service binary tree according to a service corresponding to the first message structure (as shown in fig. 6). It can be understood that the binary tree structures of the service binary tree and the message binary tree corresponding to the same service are the same, except that the node in the service binary tree corresponds to an analysis rule condition, and the node in the message binary tree corresponds to service data, wherein the analysis rule condition in the service node can be used for performing traversal processing on the service data in the message node corresponding to the service node so as to determine whether the data in the message node meets the analysis rule condition.
Step S308, traversing the message data in the first message node through the analysis rule condition in the first service node to determine the analysis rule condition which is met by the data in the first message node in at least one analysis rule condition corresponding to the first message node as a first analysis success condition.
In some embodiments, the message data in the first message node may be traversed by the parsing rule condition in the first service node, so as to determine, among the parsing rule conditions in the first service node, the parsing rule condition satisfied by the data in the first message node, as the first parsing rule satisfied by the first message node.
Step S310, traversing the message data in the second message node through the analysis rule condition in the second service node to determine the analysis rule condition which is met by the data in the second message node from at least two analysis rule conditions corresponding to the second message node as a second analysis success condition.
In some embodiments, the parsing rule condition in the second service node may be used to traverse the message data in the second message node, so as to determine, among the parsing rule conditions in the second service node, the parsing rule condition satisfied by the data in the second message node, as the second parsing rule satisfied by the second message node.
Step S312, the first analysis success condition and the second analysis success condition are used as the analysis success condition satisfied by the first message.
In some embodiments, the first resolution success condition and the second resolution success condition may be used as resolution success conditions that the first message satisfies.
Step S314, a first message template corresponding to the analysis success condition is matched in a plurality of message templates corresponding to the first equipment, wherein the first message template comprises at least one first parameter, the first message template accords with a second message structure, and the first message structure is different from the second message structure.
Step S316, extracting parameter values corresponding to the first parameters from the first message.
Step S318, the first message template is filled according to the parameter value corresponding to at least one first parameter to generate a second message conforming to the second message structure.
According to the embodiment, the traversing efficiency and the condition matching success rate can be improved through one-to-one matching of the service nodes and the message nodes.
FIG. 4 is a flowchart illustrating a data traversal method according to an exemplary embodiment.
In some embodiments, the plurality of message templates corresponding to the first device may include a second message Wen Moban, the second message template may be mounted in a second service node, the second service node further includes at least one parsing rule condition, and the at least one parsing rule condition in the second service node may include the first parsing rule condition.
Then referring to fig. 4, the data traversal method described above may include the following steps.
Step S402, traversing the message data in the second message node through the first parsing rule condition in the second service node.
Step S404, if the message data in the second message node meets the first parsing rule condition, determining that the first parsing rule condition is a parsing success condition corresponding to the second message node, wherein when determining that the second message node has data matching the first parsing rule condition, stopping traversing the data in the second message node.
In some embodiments, a traversal blocking or traversal continuation condition may be set, for example, when the message data in the second message node meets the first parsing rule condition, it is determined that the first parsing rule condition is a parsing success condition corresponding to the second message node, where when it is determined that there is data matching the first parsing rule condition in the second message node, traversal of the data in the second message node is stopped, and by using the method, traversal time may be shortened and traversal efficiency may be improved. Of course, after determining that the second message node has the data matching the first parsing rule condition, the data in the second message node may be further traversed, which is not limited in the present application.
In some embodiments, a first message template matched with the first parsing rule may also be matched in a plurality of message templates corresponding to the first device.
Fig. 5 is a flow chart illustrating a method of generating a binary tree for a service according to an exemplary embodiment.
In some embodiments, the first message sent by the second device may be a message corresponding to the first service, the binary message tree may further include a third message node, and the plurality of message templates corresponding to the first device may further include a third message template.
Then referring to fig. 5, the service binary tree generation method described above may include the following steps.
Step S502, a service binary tree template is generated according to a first message structure and service content corresponding to the first service, the service binary tree template comprises a third service node, the third service node corresponds to a third message node, and the third message template is mounted on the third service node.
In the following, the present embodiment will explain the process of generating the service binary tree with the third service node and the like, and the present embodiment of the present application may implement the construction of other nodes according to the description of the present embodiment.
In some embodiments, one skilled in the art may generate a service binary tree template from the first message structure and the service content corresponding to the first service (the service binary tree template may be as shown in fig. 6). As shown in fig. 6, the services corresponding to the nodes of the binary tree template may have a logic relationship or may have no logic relationship, may have a sequence or may have no sequence, and the present application is not limited to this.
Step S504, compiling at least one analysis rule condition corresponding to the third service node according to the third message template and the service content.
In some embodiments, the parsing conversion rule corresponding to each node in the service binary tree may be compiled according to the service content corresponding to the second device and the service binary tree template. Specifically, at least one parsing rule condition corresponding to the third service node may be compiled according to the third message template and the service content corresponding to the second device.
It can be understood that, a person skilled in the art can compile the parsing rule conditions in each node of the service binary tree template according to the known message structure and content of the message corresponding to the second device, which is not limited in this application.
Step S506, generating a configuration file corresponding to the third service node according to at least one parsing rule condition corresponding to the third service node.
In some embodiments, the service binary tree can be written in the configuration file through a programming language, so that the configuration file is only required to be modified when the service binary tree needs to be changed next time, code development is not required, and modification efficiency and accuracy are improved.
Step S508, the configuration file corresponding to the third service node is configured in the first device, so as to analyze and traverse the message data in the third message node corresponding to the first message through the configuration file in the first device.
It can be understood that, in this embodiment, only the third message node is taken as an example to explain the process of generating and configuring the parsing rule condition in the third service node, and those skilled in the art can move the above process to other nodes, which is not limited in this application.
It can be understood that, the message parsing and conversion method provided by the present application can be accessed to a plurality of service systems, and each time a system is accessed, the service binary tree modeling method provided by the present embodiment can analyze the service order corresponding to the system to complete the modeling of the service binary tree, so as to form a service tree (as shown in fig. 6) so as to parse and convert the message sent by the new access system according to the service binary tree. The hierarchy and bifurcation complexity of the service binary tree are determined by the service complexity, and can be dynamically contracted or expanded in the operation period.
Fig. 7 is a flow chart illustrating a method of message parsing conversion according to an exemplary embodiment.
In some embodiments, the first device may parse and convert multiple messages (e.g., the second message, the third message, etc.) from the first message.
In some embodiments, the parsing success conditions met by the first message may include a first parsing success condition and a second parsing success condition, where the first parsing success condition may be used to match a first message template (a specific process may refer to fig. 2), and the plurality of message templates corresponding to the first device may further include a second message Wen Moban, where the second message template conforms to a third message structure, and the third message structure may be different from the first message structure (for example, a difference in writing language, a difference in writing format, a difference related to content, and the like).
Referring to fig. 7, the above-mentioned message parsing conversion method may include the following steps.
Step S702, a second message template corresponding to a second analysis success condition is matched in a plurality of message templates corresponding to the first device, where the second message template includes at least one second parameter.
Step S704, extracting the parameter values corresponding to the second parameters from the second message.
Step S706, filling the second message template according to the parameter value corresponding to at least one second parameter to generate a third message conforming to the third message structure.
In some embodiments, the generating process of the third message may refer to the second message, which is not described in detail in this embodiment.
The embodiment provides a method for realizing the programmable message analysis, which can be applied to a scene that the input of a document message expects to obtain one or more document message outputs.
Fig. 8 is a flow chart illustrating a method of message parsing conversion according to an exemplary embodiment.
The core technical steps of the method provided by the embodiment are that service rules of service orders (such as message data corresponding to the service orders) are carded, collected and put into a warehouse in advance to form structure tree data (such as a service binary tree shown in fig. 6) and stored in a database; then analyzing the received message into a message binary tree according to the tree structure of the service binary tree; then, using known sequence traversing logic of the service binary tree, starting from the root node of the message binary tree, finding an access point according to the configured analysis conversion rule, executing the preset analysis rule condition on each message binary tree node to complete the analysis of the service of the message binary tree, matching the service content template according to the analysis rule condition generated in the analysis process of each tree node until the template required by the service order (or more or none) is identified, filtering to obtain the content template and extracting the required content parameters, finally completing the assembly of the output message content through the template engine to form an output message instance, and delivering the result message to the downstream system. For a specific process reference is made to the embodiment shown in fig. 8.
Referring to the embodiment shown in fig. 8, the above-mentioned message parsing conversion method may include the following steps.
1. Message reception and authentication
The method is used for receiving the message, filtering the first step, transmitting the verified message to a message loading module, and storing the message at the same time, so that the message in a specific scene can be replayed conveniently.
2. Message loading
And loading the message lines to each layer (depending on the message format) to a traversing tree module according to the format of the message known in advance to obtain message binary tree structure data based on memory operation, and transmitting the message binary tree structure data to a rule analysis step.
3. Rule parsing
According to the established analysis conversion rule, the binary tree data of the message is processed, the message can be accurately positioned according to the rule condition, and the message can be subjected to fuzzy traversal and the analysis success condition is output.
4. Template matching
And (3) according to the analysis success condition of the step (3), matching and outputting a corresponding message template by combining the matching relation of the template and the rule condition.
5. Parameter extraction
If the variable parameters exist in the content template, extracting the variable parameters in the template, and inputting the variable parameters into a variable parameter list.
6. Parameter calculation
And according to the extraction rule of the variable parameters, analyzing and obtaining assignment of the variable parameters from binary tree structure data.
7. Generating template instances
And combining the result of parameter calculation and the message template to produce a final message instance.
8. Module message conversion
Converting the message instance into a message format required by downstream.
9. Message delivery
In order to more clearly illustrate the technical solution in the embodiment of the method, the method will be described in detail below with reference to specific embodiments.
In some embodiments, the parsing conversion rules may be formulated based on the message format and content of the upstream system prior to performing the message parsing and conversion methods.
1. Business rule preparation: the method is an output object for modeling the service, a service rule expression is compiled on each tree node of a service tree, and an engine can be designated or expanded according to the service complexity, for example, the engine can be designated as follows: the expression engine (JsonPath, XPath, aviatorScript, MVEL, etc., the introduction of the expression engine helps us accomplish the mutual conversion of the regularized expression and the JAVA object, the expression engine should be able to handle the mapping relation between the expression and the object, the mapping relation should be bi-directional), or the script engine (Beetl, thyeleaf, freeMarker, etc., the script engine is an interpreter of a computer programming language, his function is to interpret the text of the program executing the user, translate it into the machine code executable by the computer), or specify the expression to execute database actions for SQL type, or other scripts, such as Shell script, etc., or extend custom engine plug-ins to fully support the business rule expression programming of different complexity, different performance, and different scene requirements. Different types of footstep engines may execute different scripts
Examples are: the product name of what product the order purchases can be simply obtained, and the JsonPath expression can be used for directly expressing and completing the compiling; if a certain specific logic relation exists among a plurality of order items, more complex engines such as FreeMarker and the like can be used for supporting, and logic calculation scripts can be compiled to complete the compiling; the execution type of the scene compiling expression for obtaining data from some databases can be predefined as SQL (language developed for operating the databases), and the runtime sends SQL to the databases for execution so as to meet the scene requirement for completing the compiling; or when external system support is needed, such as the short message content needs to dynamically obtain the arrearage balance information of the current account in the charging system, the rule expression is compiled by configuring the execution of the remote interface.
The business rule expressions compiled above are all expressions which do not need to be compiled in the embodiment of the method, and are analyzed and dynamically executed by an engine or executed by the execution capacity provided in the system of the embodiment of the method, and the system process which is released to the generation line of the embodiment of the method does not need to be changed or upgraded; unless engine capacity expansion is performed to support more complex traffic, the formulated traffic rule expressions are considered data class traffic assets within the present method embodiment, rather than static code class process assets.
In some embodiments, after the parsing conversion rule is compiled, the processes of receiving and verifying the message, loading the message, etc. shown in fig. 8 may be performed;
after the message loading process is completed, the execution process of the business rule can be executed.
2. Execution of business rules: the whole business rule executing process is carried out by carrying out layer sequence priority traversal on a business rule tree, when the business rule tree enters the same-layer traversal, the sequence of execution is guided by presetting sequence among brother nodes, after the same-layer preamble nodes are established, the continuity-break mode is inserted to decide to continue or stop the execution of subsequent nodes, mutual exclusion relation is assisted to be set to exclude the mutual exclusion rule execution, and when all normal type tree nodes in the same layer are not established, one (or no) patty type node is designed and reserved in each layer to bear the final rule verification of the layer.
When the execution of the business rule is completed, a process of matching the business rule with the content template may be performed.
3. The business rules are matched with the content templates: each tree node in the service tree can mount one (or more) content templates, so long as the rule is satisfied, the template mounted by the rule is guided to carry out content module instantiation, and when the relationship is matched, information such as a target system to be sent by the service order is identified.
4. Template parameter extraction: and when the content template is compiled in the earlier stage, carrying out relevance editing on dynamic parameters which need to be filled in the content template. When the content template is matched according to the analysis condition of successful execution of the business rule, the template parameters in the successfully matched template can be extracted. The basic principle of extraction is pattern matching, which can be done in two ways: first kind: marking parameters such as $ { xxx }, which are parameters, in a content template by using a specific placeholder, and completing identification and extraction by using a mode+regular expression; secondly, if the parameter complexity is higher, the name can be drawn in advance and input into a table model designed by the method for storage when the content template is compiled, and the table model is directly loaded from a database for use in running.
The collecting and editing is to collect information and edit information.
5. Template parameter calculation: after the template parameters are extracted, the method provides the computing capability of the value which is mapped to the service order message by the parameters, the principle of the computing capability depends on the execution of a template engine, so that the service order message needs to be decomposed into a context, the decomposition mode is structural decomposition, the decomposed loading mode is lazy-load mode, the running memory consumption is reduced by the minimum necessary principle, the creation of the context is advanced to the beginning of the whole flow, namely, the creation of the context is completed when the task scheduling preparation is completed, so that the whole message processing process is in the same effective context, and the success condition and the failure condition in the rule execution process can be used as one of parameter computing sources, thereby reducing the repeated computation and improving the efficiency of parameter computation. The result set of parameter calculations will also be used in the application-specific validation mechanism of the application-specific immunity mode and black-and-white list when delivering downstream systems.
Among them, lazy loading is a strategy to identify resources as non-blocking (non-critical) resources and load them only when needed.
Wherein, the minimum necessary principle is as follows: processing personal information responses with clarity
6. Generating a template instance (as shown in fig. 9): the template instantiation introduces the support of a template engine and supports a plug-in mechanism of a basic engine, and the method presets and creates a plurality of groups of plug-ins, including plug-ins such as acquisition of system time, calculation of date and month difference, format inversion of date, chinese and English translation of month, automatic formatting of monetary amount (kilobit separator) and the like; when the template is instantiated, the calculation results of the content template, the template parameters and the template parameters are subjected to templatization filling by a template engine, and finally, a template instance, namely a final result message instance, is formed, and the preparation work of delivering the result message is completed.
The purpose of template generation is to solve the coupling between display and data, and simply speaking, the template is a segment of characters, but only some segments are related to the data, and the template is actually developed according to a data model; to dynamically generate final HTML (or other type of fragment); the template engine simplifies the splicing process, and the final HTML is generated simply and intuitively as much as possible through some life and grammar or format tools.
In some embodiments, after the template instance is generated, the message may be delivered to the designated downstream system.
The technical scheme provided by the embodiment has the following beneficial effects:
1. the above embodiment is implemented through the configuration file, so that the coupling relationship between the service systems can be decoupled;
2. all systems can access the message for analysis and reception by the method, and the development of service codes is not needed, and only the configuration service rules are needed to be combed;
3. the service rule configuration of message analysis takes effect in real time;
4. the content of the result message is managed based on a template;
5. non-intrusive access to the application system;
6. compatible with various formats of messages, such as: JSON, XML, HTML, CSS, etc.
The overall flow of interaction between the floor systems of the method (for example, the short message service) can be shown in fig. 10.
As shown in FIG. 10, after the order of the general service system is completed, the order message can be sent to the system where the method is located, and the short message instance is output through rule recognition and filtration and is sent to a short message gateway.
The message parsing and converting method corresponding to the short message service can be shown in fig. 11.
Referring to fig. 11, the above-mentioned message parsing conversion method may include the following steps.
First, the BSTI interface (an interface) may respond to the message data of multiple systems to perform a message parsing conversion task, for example, may perform message parsing conversion on the message data sent in the following manners.
Mode one
1.1databus system (a data change grabbing system) sends message data to the BSTI interface through the http interface.
The 1.2BSTI interface sends a message storage request to the storage system so as to send the message data to the storage system for storage.
1.3 the storage system sends a message store response to the BSTI interface.
And 1.4BSTI receives the message storage response and inputs the message data into a message conversion task list so as to carry out message analysis conversion.
1.5BSTI returns a message receipt response to the databus.
Mode two
1.1 sending message data to the BSTI interface through the http interface by the subsystem.
The 1.2BSTI interface sends a message storage request to the storage system so as to send the message data to the storage system for storage.
1.3 the storage system sends a message store response to the BSTI interface.
The 1.4BSTI receives the message storage response and inputs the message data into a message conversion task table (such as a BST_BUSI_MSG table) so as to perform message analysis conversion.
1.5BSTI returns a message receipt response to the subsystem.
Mode three
1.1 the charging system sends message data to the BSTI interface through the http interface.
The 1.2BSTI interface sends a message storage request to the storage system so as to send the message data to the storage system for storage.
1.3 the storage system sends a message store response to the BSTI interface.
And 1.4BSTI receives the message storage response and inputs the message data into a message conversion task list so as to carry out message analysis conversion.
1.5BSTI returns a message receipt response to the charging system.
After the message data is input into the message conversion task table (e.g., bst_busi_msg table), the BSTU conversion interface performs the following message parsing conversion method (refer to 2.1-2.9 in the asynchronous conversion task).
Mode four
1.1 the service system sends message data to the BSTI interface through the http interface.
The 1.2BSTI interface sends a message storage request to the storage system so as to send the message data to the storage system for storage.
1.3 the storage system sends a message store response to the BSTI interface.
And 1.4BSTI receives the message storage response and inputs the message data into a message conversion task list so as to carry out message analysis conversion.
1.5BSTI returns a message receipt response to the service system.
After the message data is input into the message conversion task table (e.g., bst_busi_msg table), the BSTU conversion interface performs the following message parsing conversion method (refer to 2.1-2.9 in the asynchronous conversion task).
2.1 task extraction.
2.2 sending a message extraction request to the storage system (i.e. extracting the message to be converted and parsed from the storage system).
2.3 receiving a message extraction response (the response comprises a message to be parsed and converted).
2.4 rule filtering (namely traversing the first message, and determining the analysis success condition satisfied by the first message in at least one analysis rule condition).
2.5 template matching (a first message template corresponding to the analysis success condition is matched in a plurality of message templates corresponding to the first equipment, wherein the first message template comprises at least one first parameter, the first message template accords with a second message structure, and the first message structure is different from the second message structure).
2.6 parameter extraction (extracting the parameter value corresponding to each first parameter from the first message).
2.7 parameter calculation.
2.8 generating template examples.
2.9 writing the generated template instance into a real-time task table BST_SMS_INTF for subsequent real-time tasks.
In some embodiments, the use of the template example may be explained by taking a real-time sms task as an example, and specifically, the method may include steps corresponding to 4.1-4.3 and 3.1-3.5.
Wherein, 4.1-4.5 correspond to the triggering of the real-time task, wherein the triggering of the real-time task can comprise the following two modes.
Mode one
And 4.1, sending a real-time short message request to the BSTI interface through the subsystem so as to request the real-time short message request to be written into a table.
And 4.2BSTI interface writes the real-time short message task into the task list BST_SMS-INTF.
4.3BSTI returns a response to the via subsystem.
Mode two
And 4.1, the charging system sends a real-time short message request to the BSTI interface to request to write the real-time short message request into a table.
And 4.2BSTI interface writes the real-time short message task into the task list BST_SMS-INTF.
4.3BSTI returns a response to the billing system.
After the real-time short message task is written into the task list BST_SMS-INTF, the BSTI conversion interface responds to the request to carry out asynchronous real-time short message service, and the method specifically comprises the steps of 3.1-3.5 and the like.
3.1 task extraction.
3.2 rule filtering (filtering based on black and white list, job number, etc.).
And 3.3, obtaining a rule filtering result.
And 3.4, carrying out short message instantiation based on the converted message.
And 3.5, sending the real-time short message.
It should be noted that, in the above embodiments of the message conversion method, the steps may be intersected, replaced, added, and subtracted. Therefore, these reasonable permutation and combination transformation methods should also belong to the protection scope of the present disclosure, and should not limit the protection scope of the present disclosure to the embodiments.
Based on the same inventive concept, the embodiments of the present disclosure further provide a message conversion device, as follows. Since the principle of solving the problem of the embodiment of the device is similar to that of the embodiment of the method, the implementation of the embodiment of the device can be referred to the implementation of the embodiment of the method, and the repetition is omitted.
Fig. 12 is a block diagram illustrating a message conversion apparatus according to an exemplary embodiment. Referring to fig. 12, a message conversion apparatus 1200 provided in an embodiment of the present disclosure may include: the device comprises a first message receiving module 1201, an analysis conversion rule obtaining module 1202, a traversing module 1203, a first message template matching module 1204, a first parameter value extracting module 1205 and a filling module 1206.
The first message receiving module 1201 may be configured to receive a first message conforming to a first message structure; the parsing conversion rule acquiring module 1202 may be configured to acquire a message parsing conversion rule corresponding to a first message structure and a plurality of message templates corresponding to a first device, where the message parsing conversion rule includes at least one parsing rule condition; the traversing module 1203 may be configured to perform traversing processing on the first packet, and determine an parsing success condition satisfied by the first packet in at least one parsing rule condition; the first message template matching module 1204 may be configured to match a first message template corresponding to a resolution success condition from a plurality of message templates corresponding to the first device, where the first message template includes at least one first parameter, the first message template conforms to a second message structure, and the first message structure is different from the second message structure; the first parameter value extracting module 1205 may be configured to extract parameter values corresponding to each first parameter from the first packet; the filling module 1206 may be configured to fill the first message template according to a parameter value corresponding to at least one first parameter, so as to generate a second message conforming to the second message structure.
It should be noted that, the first packet receiving module 1201, the parsing conversion rule obtaining module 1202, the traversing module 1203, the first packet template matching module 1204, the first parameter value extracting module 1205, and the filling module 1206 correspond to S202 to S212 in the method embodiment, and the modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the method embodiment. It should be noted that the modules described above may be implemented as part of an apparatus in a computer system, such as a set of computer-executable instructions.
In some embodiments, the message conversion apparatus further includes: a message loading module; the message loading module is used for loading the first message to generate a message binary tree corresponding to the first message, wherein the message binary tree comprises a first message node and a second message node; the message analysis and conversion rule comprises a service binary tree of the service corresponding to the first message; the parsing conversion rule acquiring module 1202 may include: the service binary tree acquisition sub-module is used for acquiring a service binary tree corresponding to the first message, wherein the service binary tree comprises a first service node and a second service node, each service node comprises at least one analysis rule condition, the first service node of the service binary tree corresponds to a first message node in the message binary tree, and the second service node of the service binary tree corresponds to a second message node in the message binary tree; among other things, the traversal module 1203 may include: the system comprises a first traversing submodule, a second traversing submodule and a analysis success condition determining submodule.
The first traversing submodule is used for traversing the message data in the first message node through the analysis rule condition in the first service node so as to determine the analysis rule condition which is met by the data in the first message node in at least one analysis rule condition corresponding to the first message node as a first analysis success condition; the second traversing submodule is used for traversing the message data in the second message node through the analysis rule conditions in the second service node so as to determine the analysis rule conditions which are met by the data in the second message node in at least two analysis rule conditions corresponding to the second message node as second analysis success conditions; the analysis success condition determination submodule can be used for taking the first analysis success condition and the second analysis success condition as analysis success conditions met by the first message.
In some embodiments, the plurality of message templates corresponding to the first device includes a second message Wen Moban, the second message template being mounted in a second service node, the second service node including at least one parsing rule condition, the at least one parsing rule condition in the second service node including a first parsing rule condition; wherein the second traversal sub-module may comprise: traversing the unit and meeting the condition.
The traversing unit may be configured to traverse the message data in the second message node according to a first parsing rule condition in the second service node; the condition satisfaction unit may be configured to determine that the first parsing rule condition is a parsing success condition corresponding to the second message node if the message data in the second message node satisfies the first parsing rule condition, where after determining that there is data matching the first parsing rule condition in the second message node, stopping traversing the data in the second message node;
the first message template matching module 1204 may include: the first message matches the sub-module. The first message matching sub-module may be configured to match a first message template matched with a first parsing rule from a plurality of message templates corresponding to the first device.
In some embodiments, the first message sent by the second device is a message corresponding to the first service, the binary message tree further includes a third message node, and the plurality of message templates corresponding to the first device further includes a third message template; the method for obtaining the service binary tree corresponding to the first message includes the following steps: the system comprises a business binary tree template generation module, a rule preparation module, a configuration file generation module and a configuration module.
The service binary tree template generation module can be used for generating a service binary tree template according to a first message structure and service content corresponding to a first service, wherein the service binary tree template comprises a third service node, the third service node corresponds to a third message node, and the third service node is loaded with the third message template; the rule programming module can be used for programming at least one analysis rule condition corresponding to the third service node according to the third message template and the service content; the configuration file generating module may be configured to generate a configuration file corresponding to the third service node according to at least one parsing rule condition corresponding to the third service node; the configuration module may be configured to configure a configuration file corresponding to the third service node in the first device, so as to analyze and traverse the packet data in the third packet node corresponding to the first packet through the configuration file in the first device.
In some embodiments, the parameter value corresponding to the first parameter is calculated from the first sub-parameter and the second sub-parameter; wherein the first parameter value extraction module 1205 may include: the device comprises a first sub-parameter value extraction sub-module, a second sub-parameter extraction sub-module and a first calculation sub-module.
The first sub-parameter value extraction sub-module may be configured to extract a parameter value corresponding to the first sub-parameter from the first packet; the second sub-parameter extraction sub-module may be configured to extract a parameter value corresponding to the second sub-parameter from the first packet; the first calculation sub-module may be configured to perform parameter calculation on a parameter value corresponding to the first sub-parameter and a parameter value corresponding to the second sub-parameter, so as to obtain a parameter value corresponding to the first parameter.
In some embodiments, the parameter value corresponding to the first parameter is calculated from the third sub-parameter and the external parameter; wherein the first parameter value extraction module 1205 may include: the third sub-parameter extraction sub-module, the external parameter extraction sub-module and the second calculation sub-module.
The third sub-parameter extraction sub-module may be configured to extract a parameter value corresponding to the third sub-parameter from the first packet; the external parameter extraction sub-module may be configured to obtain a parameter value corresponding to an external parameter from an external system of the first device; the second calculation sub-module may be configured to perform parameter calculation on a parameter value corresponding to the third sub-parameter and a parameter value corresponding to the external parameter, so as to obtain a parameter value corresponding to the first parameter.
In some embodiments, the first message template corresponds to a second service, the second service being processed by a third device; the message conversion device may further include: the system comprises a second service determining module, a third device determining module and a message sending module.
The second service determining module may be configured to determine a second service corresponding to the first message template; the third device determination module may be configured to determine a third device that processes the second service; the message sending module may be configured to send the second message generated according to the first message template to the third device, so that the third device processes the second message.
In some embodiments, the parsing success conditions met by the first message include a first parsing success condition and a second parsing success condition, where the first parsing success condition is used to match a first message template, the plurality of message templates corresponding to the first device further includes a second message Wen Moban, the second message template conforms to a third message structure, and the third message structure is different from the first message structure; the message conversion device may further include: the system comprises a second message module matching module, a second parameter value extracting module and a filling module.
The second message Wen Moban matching module may be configured to match a second message template corresponding to a second parsing success condition in a plurality of message templates corresponding to the first device, where the second message template includes at least one second parameter; the second parameter value extraction module may be configured to extract parameter values corresponding to each second parameter from the second packet; the filling module may be configured to fill the second message template according to a parameter value corresponding to at least one second parameter, so as to generate a third message conforming to the third message structure.
Since the functions of the apparatus 1200 are described in detail in the corresponding method embodiments, the disclosure is not repeated herein.
The modules and/or sub-modules and/or units referred to in the embodiments of the present disclosure may be implemented in software or hardware. The described modules and/or sub-modules and/or units may also be provided in a processor. Wherein the names of the modules and/or sub-modules and/or units do not in some cases constitute a limitation of the module and/or sub-modules and/or units themselves.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module or portion of a program that comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer program instructions.
Furthermore, the above-described figures are only schematic illustrations of processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
Fig. 13 shows a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. It should be noted that the electronic device 1300 shown in fig. 13 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present disclosure.
As shown in fig. 13, the electronic apparatus 1300 includes a Central Processing Unit (CPU) 1301, which can execute various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1302 or a program loaded from a storage portion 1308 into a Random Access Memory (RAM) 1303. In the RAM 1303, various programs and data necessary for the operation of the electronic apparatus 1300 are also stored. The CPU 1301, ROM 1302, and RAM 1303 are connected to each other through a bus 1304. An input/output (I/O) interface 1305 is also connected to bus 1304.
The following components are connected to the I/O interface 1305: an input section 1306 including a keyboard, a mouse, and the like; an output portion 1307 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; a storage portion 1308 including a hard disk or the like; and a communication section 1309 including a network interface card such as a LAN card, a modem, or the like. The communication section 1309 performs a communication process via a network such as the internet. The drive 1310 is also connected to the I/O interface 1305 as needed. Removable media 1311, such as magnetic disks, optical disks, magneto-optical disks, semiconductor memory, and the like, is mounted on drive 1310 as needed so that a computer program read therefrom is mounted into storage portion 1308 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program comprising computer program instructions for performing the method shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from a network via the communication portion 1309 and/or installed from the removable medium 1311. The above-described functions defined in the system of the present disclosure are performed when the computer program is executed by a Central Processing Unit (CPU) 1301.
It should be noted that the computer readable storage medium shown in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may comprise a data signal propagated in baseband or as part of a carrier wave, with computer-readable computer program instructions embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable storage medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Computer program instructions embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
As another aspect, the present disclosure also provides a computer-readable storage medium that may be contained in the apparatus described in the above embodiments; or may be present alone without being fitted into the device. The computer-readable storage medium carries one or more programs which, when executed by a device, cause the device to perform functions including: receiving a first message conforming to a first message structure; acquiring a message analysis conversion rule corresponding to a first message structure and a plurality of message templates corresponding to first equipment, wherein the message analysis conversion rule comprises at least one analysis rule condition; traversing the first message, and determining an analysis success condition satisfied by the first message in at least one analysis rule condition; matching a first message template corresponding to a resolution success condition in a plurality of message templates corresponding to the first equipment, wherein the first message template comprises at least one first parameter, the first message template accords with a second message structure, and the first message structure is different from the second message structure; extracting parameter values corresponding to each first parameter from the first message; and filling the first message template according to the parameter value corresponding to at least one first parameter to generate a second message conforming to the second message structure.
According to one aspect of the present disclosure, there is provided a computer program product or computer program comprising computer program instructions stored in a computer readable storage medium. The computer program instructions are read from a computer-readable storage medium and executed by a processor to implement the methods provided in the various alternative implementations of the above embodiments.
From the above description of embodiments, those skilled in the art will readily appreciate that the example embodiments described herein may be implemented in software, or may be implemented in software in combination with the necessary hardware. Thus, the technical solutions of the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (may be a CD-ROM, a U-disk, a mobile hard disk, etc.), and include several computer program instructions for causing an electronic device (may be a server or a terminal device, etc.) to perform a method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the disclosure is not to be limited to the details of construction, the manner of drawing, or the manner of implementation, which has been set forth herein, but, on the contrary, is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (11)

1. The message conversion method is characterized by being applied to first equipment and comprising the following steps:
receiving a first message conforming to a first message structure;
acquiring a message analysis conversion rule corresponding to the first message structure of the first graph and a plurality of message templates corresponding to the first equipment, wherein the message analysis conversion rule comprises at least one analysis rule condition;
traversing the first message, and determining an analysis success condition which is met by the first message in the at least one analysis rule condition;
a first message template corresponding to the analysis success condition is matched in a plurality of message templates corresponding to the first equipment, wherein the first message template comprises at least one first parameter, the first message template accords with a second message structure, and the first message structure is different from the second message structure;
extracting parameter values corresponding to each first parameter from the first message;
And filling the first message template according to the parameter value corresponding to the at least one first parameter to generate a second message conforming to the second message structure.
2. The method according to claim 1, wherein the method further comprises:
loading the first message to generate a message binary tree corresponding to the first message, wherein the message binary tree comprises a first message node and a second message node;
the message analysis and conversion rule comprises a service binary tree of the service corresponding to the first message; the obtaining the message parsing conversion rule corresponding to the first message structure includes:
acquiring the service binary tree corresponding to the first message, wherein the service binary tree comprises a first service node and a second service node, each service node comprises at least one analysis rule condition, the first service node of the service binary tree corresponds to a first message node in the message binary tree, and the second service node of the service binary tree corresponds to a second message node in the message binary tree;
the traversing processing is performed on the first message, and the determining, in the at least one parsing rule condition, a parsing success condition satisfied by the first message includes:
Traversing the message data in the first message node through the analysis rule conditions in the first service node to determine the analysis rule conditions which are met by the data in the first message node in at least one analysis rule condition corresponding to the first message node as first analysis success conditions;
traversing the message data in the second message node through the analysis rule conditions in the second service node to determine the analysis rule conditions which are met by the data in the second message node from at least two analysis rule conditions corresponding to the second message node as second analysis success conditions;
and taking the first analysis success condition and the second analysis success condition as analysis success conditions met by the first message.
3. The method of claim 2, wherein the plurality of message templates corresponding to the first device include a second message template, the second message template is mounted in the second service node, the second service node includes at least one parsing rule condition, and the at least one parsing rule condition in the second service node includes a first parsing rule condition; traversing the message data in the second message node through the analysis rule conditions in the second service node to determine the analysis rule conditions which are met by the data in the second message node in at least two analysis rule conditions corresponding to the second message node, wherein the analysis rule conditions are used as second analysis success conditions and comprise:
Traversing the message data in the second message node through a first analysis rule condition in the second service node;
if the message data in the second message node meets the first analysis rule condition, determining that the first analysis rule condition is an analysis success condition corresponding to the second message node, wherein after determining that the second message node has the data matched with the first analysis rule condition, stopping traversing the data in the second message node;
wherein, matching the first message template corresponding to the analysis success condition in the plurality of message templates corresponding to the first device includes:
and matching the first message template matched with the first analysis rule in a plurality of message templates corresponding to the first equipment.
4. The method of claim 2, wherein the first message sent by the second device is a message corresponding to a first service, the message Wen Ercha tree further includes a third message node, and the plurality of message templates corresponding to the first device further includes a third message template; wherein, the service binary tree corresponding to the first message is obtained, and the method further comprises:
Generating a service binary tree template according to a first message structure and service content corresponding to the first service, wherein the service binary tree template comprises a third service node, the third service node corresponds to the third message node, and the third message template is mounted on the third service node;
compiling at least one parsing rule condition corresponding to the third service node according to the third message template and the service content;
generating a configuration file corresponding to the third service node according to at least one parsing rule condition corresponding to the third service node;
and configuring the configuration file corresponding to the third service node in the first device so as to analyze and traverse the message data in the third message node corresponding to the first message through the configuration file in the first device.
5. The method of claim 1, wherein the parameter value corresponding to the first parameter is calculated from a first sub-parameter and a second sub-parameter; extracting parameter values corresponding to each first parameter from the first message includes:
extracting a parameter value corresponding to the first sub-parameter from the first message;
Extracting a parameter value corresponding to the second sub-parameter from the first message;
and carrying out parameter calculation on the parameter value corresponding to the first sub-parameter and the parameter value corresponding to the second sub-parameter to obtain the parameter value corresponding to the first parameter.
6. The method according to claim 1, wherein the parameter value corresponding to the first parameter is calculated from a third sub-parameter and an external parameter; extracting parameter values corresponding to each first parameter from the first message includes:
extracting a parameter value corresponding to the third sub-parameter from the first message;
acquiring a parameter value corresponding to the external parameter from an external system of the first equipment;
and carrying out parameter calculation on the parameter value corresponding to the third sub-parameter and the parameter value corresponding to the external parameter to obtain the parameter value corresponding to the first parameter.
7. The method of claim 1, wherein the first message template corresponds to a second service, the second service being processed by a third device; wherein the method further comprises:
determining the second service corresponding to the first message template;
determining a third device for processing the second service;
And sending the second message generated according to the first message template to the third equipment so that the third equipment can process the second message.
8. The method of claim 1, wherein the parsing success conditions met by the first message include a first parsing success condition and a second parsing success condition, wherein the first parsing success condition is used for matching the first message template, the plurality of message templates corresponding to the first device further include a second message template, the second message template conforms to a third message structure, and the third message structure is different from the first message structure; wherein the method further comprises:
matching the second message template corresponding to the second analysis success condition in a plurality of message templates corresponding to the first equipment, wherein the second message template comprises at least one second parameter;
extracting parameter values corresponding to each second parameter from the second message;
and filling the second message template according to the parameter value corresponding to the at least one second parameter to generate a third message conforming to the third message structure.
9. A message conversion apparatus, applied to a first device, comprising:
The first message receiving module is used for receiving a first message conforming to a first message structure;
the message analysis and conversion rule acquisition module is used for acquiring a message analysis and conversion rule corresponding to the first message structure and a plurality of message templates corresponding to the first equipment, wherein the message analysis and conversion rule comprises at least one analysis rule condition;
the traversing module is used for traversing the first message and determining the analysis success condition which is met by the first message in the at least one analysis rule condition;
the first message template matching module is used for matching a first message template corresponding to the analysis success condition in a plurality of message templates corresponding to the first equipment, wherein the first message template comprises at least one first parameter, the first message template accords with a second message structure, and the first message structure is different from the second message structure;
the first parameter value extraction module is used for extracting parameter values corresponding to all the first parameters from the first message;
and the filling module is used for filling the first message template according to the parameter value corresponding to the at least one first parameter so as to generate a second message conforming to the second message structure.
10. An electronic device, comprising:
a memory; and
a processor coupled to the memory, the processor being configured to perform the message conversion method of any of claims 1-8 based on computer program instructions stored in the memory.
11. A computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the message conversion method of any of claims 1-8.
CN202310785974.4A 2023-06-29 2023-06-29 Message conversion method, device, electronic equipment and computer readable storage medium Pending CN116828073A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310785974.4A CN116828073A (en) 2023-06-29 2023-06-29 Message conversion method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310785974.4A CN116828073A (en) 2023-06-29 2023-06-29 Message conversion method, device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116828073A true CN116828073A (en) 2023-09-29

Family

ID=88119897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310785974.4A Pending CN116828073A (en) 2023-06-29 2023-06-29 Message conversion method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116828073A (en)

Similar Documents

Publication Publication Date Title
EP3502896A1 (en) Generation of an adapters configuration user interface
CN112015396B (en) DSL-based intelligent contract code generation method, device, equipment and storage medium
CN112104709A (en) Intelligent contract processing method, device, medium and electronic equipment
CN110020358B (en) Method and device for generating dynamic page
CN110858172A (en) Automatic test code generation method and device
CN110858202A (en) Method and device for generating where clause in database query statement
CN112882844B (en) Joint debugging method, device and storage medium based on network front end and network back end
CN113238740A (en) Code generation method, code generation device, storage medium, and electronic apparatus
CN114168190A (en) Interface document generation method and device, computer equipment and storage medium
CN113626223A (en) Interface calling method and device
WO2023035563A1 (en) Applet cross-application migration method, device, terminal, system and storage medium
CN112084179A (en) Data processing method, device, equipment and storage medium
CN114168149A (en) Data conversion method and device
CN113778897A (en) Automatic test method, device, equipment and storage medium of interface
CN114745449B (en) Message processing method and device, storage medium and electronic equipment
CN112433752B (en) Page analysis method, device, medium and electronic equipment
CN115640279A (en) Method and device for constructing data blood relationship
CN116828073A (en) Message conversion method, device, electronic equipment and computer readable storage medium
CN114449063A (en) Message processing method, device and equipment
CN111580799A (en) Domain specific language script assembling method and system
CN111475403A (en) Dynamic generation method of test script and related device
CN111400623A (en) Method and apparatus for searching information
CN111078230A (en) Code generation method and device
CN117271451A (en) EPG data importing method, device, equipment and computer readable storage medium
Gottardi et al. Model-oriented Web service implementations compared to traditional Web services

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination