CN107480286B - Message processing method and trusted system - Google Patents

Message processing method and trusted system Download PDF

Info

Publication number
CN107480286B
CN107480286B CN201710736108.0A CN201710736108A CN107480286B CN 107480286 B CN107480286 B CN 107480286B CN 201710736108 A CN201710736108 A CN 201710736108A CN 107480286 B CN107480286 B CN 107480286B
Authority
CN
China
Prior art keywords
program
message
province
mark
provincial
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710736108.0A
Other languages
Chinese (zh)
Other versions
CN107480286A (en
Inventor
王涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur General Software Co Ltd
Original Assignee
Inspur General Software 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 Inspur General Software Co Ltd filed Critical Inspur General Software Co Ltd
Priority to CN201710736108.0A priority Critical patent/CN107480286B/en
Publication of CN107480286A publication Critical patent/CN107480286A/en
Application granted granted Critical
Publication of CN107480286B publication Critical patent/CN107480286B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/08Insurance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer And Data Communications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a message processing method and a trustee system, wherein the method comprises the following steps: determining at least one province mark and a program package corresponding to each province mark, wherein each program package comprises at least one message processing program, and each message processing program corresponds to a service function number; acquiring a first provincial mark and message information of an external provincial agent system; when judging that the program package corresponding to the first province and city mark exists, acquiring a service function number in the message information; and when the message processing program corresponding to the service function number exists, analyzing the message information by using the message processing program to obtain service content. By sub-packaging and managing the message processing programs, the corresponding message information is processed by utilizing different message processing programs, and the processing mode does not need to repeatedly set configuration files, so the scheme can improve the message processing efficiency.

Description

Message processing method and trusted system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a message processing method and a trusted system.
Background
The trusted system, such as an occupational annuity trusted system, an pension trusted system and the like, can be in butt joint with the system information of the provincial and municipal agents so as to process message information sent by the system information of the provincial and municipal agents.
At present, when a trusted system receives any message information sent by each provincial and municipal agent system, a configuration file corresponding to the message information can be set. Different profiles are used to process different message information.
Since the agent systems of provinces and cities are usually built by different developers, and the provinces and cities have differences in messages due to the personalized requirements of the provinces and cities, configuration files need to be set repeatedly, so that the message processing efficiency is low.
Disclosure of Invention
The invention provides a message processing method and a trustee system, which can improve the message processing efficiency.
In order to achieve the purpose, the invention is realized by the following technical scheme:
in one aspect, the present invention provides a message processing method, which determines at least one provincial mark and a program package corresponding to each provincial mark, wherein each program package comprises at least one message processing program, and each message processing program corresponds to a service function number; further comprising:
s1: acquiring a first provincial mark of an external provincial agent system and first message information corresponding to the provincial agent system;
s2: judging whether a program package corresponding to the first provincial and municipal identification exists in at least one determined program package, and if so, acquiring a first service function number included in the first message information;
s3: and judging whether a message processing program corresponding to the first service function number exists in a program packet corresponding to the first provincial mark, if so, analyzing the first message information by using the message processing program corresponding to the first service function number to obtain service content.
Further, the province mark comprises: province and city are abbreviated;
the S1, including: when first message information sent by a front-end application server of an external province and city agent system is received, the IP address of the front-end application server is obtained; and inquiring a preset provincial city mechanism information table to obtain a first provincial city abbreviation corresponding to the IP address.
Further, each program package comprises a decryption-type program;
the first message information includes: a ciphertext of the first message information;
the method further comprises the following steps: inquiring a preset provincial and city institution information table to obtain a key corresponding to the first provincial and city identification;
the S2, including: judging whether the program package corresponding to the first province and city identification can be found from at least one determined program package by executing a preset first factory type program, if so, decrypting the ciphertext by using the secret key by executing a decryption type program included in the program package corresponding to the first province and city identification to obtain the plaintext of the decrypted first message information; and acquiring a first service function number included in the plaintext.
Further, each program package comprises a preset second factory type program;
in S3, the determining whether the packet corresponding to the first provincial mark includes a packet processing program corresponding to the first service function number includes: and judging whether the message processing program corresponding to the first service function number can be found from the program package corresponding to the first provincial city identification or not by executing a second factory type program included in the program package corresponding to the first provincial city identification.
Further, the method further comprises: generating a database service intermediate table corresponding to the service content based on a preset database service intermediate table template, wherein the table name prefix of the database service intermediate table comprises the first provincial mark; and processing the generated database business intermediate table based on a preset database business intermediate table processing flow.
Further, each of the message processing programs includes: the province and city mark corresponding to the program packet where the program is located;
the method further comprises the following steps: determining the message content of the message information corresponding to each message processing program;
in S2, the method further includes: when it is determined that the program package corresponding to the first province city identifier does not exist, determining whether any target message content in the determined at least one message content is consistent with the message content of the acquired first message information, if so, newly building a program package corresponding to the first province city identifier, and executing S2;
wherein, the newly creating the program package corresponding to the first provincial mark includes:
newly building a first empty program package corresponding to the first provincial mark; copying a message processing program corresponding to the target message content into the first empty program packet; the copied message processing program corresponds to the first service function number, and a provincial mark included in the copied message processing program is replaced by the first provincial mark;
or the like, or, alternatively,
copying a program packet of a message processing program corresponding to the target message content; and the copied program package corresponds to the first province mark, and the province mark included in each message processing program in the copied program package is replaced by the first province mark.
Further, the step of enabling the target message content to be consistent with the message content of the acquired first message information includes: the number of node types in the target message content is equal to the number of node types in the message content of the first message information, and the name of each node in the target message content corresponds to and is the same as the name of each node in the message content of the first message information.
Further, the method further comprises: when the target message content does not exist, a second empty program packet corresponding to the first province and city mark is newly established; based on the message content of the first message information, calculating and determining the similarity of each message content in at least one message content according to a formula I; determining a maximum value of the calculated at least one similarity; determining the target message content with the similarity as the maximum value; determining at least one first node that exists in the destination message content but does not exist in the message content of the first message information, and at least one second node that exists in the message content of the first message information but does not exist in the destination message content; copying a target message processing program corresponding to the target message content into the second empty program packet; the target message processing program corresponds to the first service function number, and a province mark included in the target message processing program is replaced by the first province mark, a code program corresponding to each first node is deleted, and a code program corresponding to each second node is added;
wherein the first formula comprises:
S=k1×n1+k2×n2
wherein S is the similarity, k1Is a first predetermined weight, n1Is the number, k, of the at least one first node2Is a second predetermined weight, n2Is at least oneThe number of second nodes.
In another aspect, the present invention provides a trusted system comprising:
the system comprises a preposed subsystem, a system management subsystem and a system management subsystem, wherein the preposed subsystem is used for acquiring a first province mark of an external province and city agent system and first message information corresponding to the province and city agent system;
the system comprises a conversion platform subsystem and a service platform subsystem, wherein the conversion platform subsystem is used for determining at least one provincial mark and a program package corresponding to each provincial mark, each program package comprises at least one message processing program, and each message processing program corresponds to a service function number; judging whether a program package corresponding to the first provincial and municipal identification exists in at least one determined program package, and if so, acquiring a first service function number included in the first message information; and judging whether a message processing program corresponding to the first service function number exists in a program packet corresponding to the first provincial mark, if so, analyzing the first message information by using the message processing program corresponding to the first service function number to obtain service content.
Further, the province mark comprises: province and city are abbreviated;
the preposed subsystem is specifically used for acquiring the IP address of a preposed application server when receiving first message information sent by the preposed application server of an external province and city agent system; and inquiring a preset provincial city mechanism information table to obtain a first provincial city abbreviation corresponding to the IP address.
Further, each program package comprises a decryption-type program;
the first message information includes: a ciphertext of the first message information;
the conversion platform subsystem is also used for inquiring a preset provincial and municipal institution information table to obtain a key corresponding to the first provincial and municipal identity; the encryption key decryption method is specifically used for judging whether a program package corresponding to the first province and city identification can be found from at least one determined program package by executing a preset first factory type program, and if so, decrypting the ciphertext by using the encryption key by executing a decryption type program included in the program package corresponding to the first province and city identification to obtain the plaintext of the decrypted first message information; and acquiring a first service function number included in the plaintext.
Further, each program package comprises a preset second factory type program;
the conversion platform subsystem is specifically configured to determine whether the message processing program corresponding to the first service function number can be found from the program package corresponding to the first provincial/city identifier by executing a second factory type program included in the program package corresponding to the first provincial/city identifier.
Further, the conversion platform subsystem is further configured to generate a database service intermediate table corresponding to the service content based on a preset database service intermediate table template, and a table name prefix of the database service intermediate table includes the first provincial mark;
the entrusted system further comprises: and the trusted service subsystem is used for processing the generated database service intermediate table based on a preset database service intermediate table processing flow.
Further, the translation platform subsystem includes: a program package new unit;
each message processing program comprises: the province and city mark corresponding to the program packet where the program is located;
the conversion platform subsystem is also used for determining the message content of the message information corresponding to each message processing program; when judging that the program package corresponding to the first province city identifier does not exist, judging whether any target message content in the determined at least one message content is consistent with the message content of the acquired first message information, if so, triggering a program package newly-establishing unit to newly establish the program package corresponding to the first province city identifier, and executing whether the program package corresponding to the first province city identifier exists in the at least one program package determined by the judgment;
the program package creating unit is configured to create a first empty program package corresponding to the first provincial mark; copying a message processing program corresponding to the target message content into the first empty program packet; the copied message processing program corresponds to the first service function number, and a provincial mark included in the copied message processing program is replaced by the first provincial mark;
or the like, or, alternatively,
copying a program packet of a message processing program corresponding to the target message content; and the copied program package corresponds to the first province mark, and the province mark included in each message processing program in the copied program package is replaced by the first province mark.
Further, the conversion platform subsystem is specifically configured to determine whether any target packet content exists in at least one determined packet content, where the number of node types in the target packet content is equal to the number of node types in the packet content of the first packet information, and the name of each node in the target packet content corresponds to and is the same as the name of each node in the packet content of the first packet information.
Further, the conversion platform subsystem is further configured to, when it is determined that the target packet content does not exist, create a second empty package corresponding to the first city-province identifier; based on the message content of the first message information, calculating and determining the similarity of each message content in at least one message content according to a formula I; determining a maximum value of the calculated at least one similarity; determining the target message content with the similarity as the maximum value; determining at least one first node that exists in the destination message content but does not exist in the message content of the first message information, and at least one second node that exists in the message content of the first message information but does not exist in the destination message content; copying a target message processing program corresponding to the target message content into the second empty program packet; the target message processing program corresponds to the first service function number, and a province mark included in the target message processing program is replaced by the first province mark, a code program corresponding to each first node is deleted, and a code program corresponding to each second node is added;
wherein the first formula comprises:
S=k1×n1+k2×n2
wherein S is the similarity, k1Is a first predetermined weight, n1Is the number, k, of the at least one first node2Is a second predetermined weight, n2The number of the at least one second node.
The invention provides a message processing method and a trustee system, wherein the method comprises the following steps: determining at least one province mark and a program package corresponding to each province mark, wherein each program package comprises at least one message processing program, and each message processing program corresponds to a service function number; acquiring a first provincial mark and message information of an external provincial agent system; when judging that the program package corresponding to the first province and city mark exists, acquiring a service function number in the message information; and when the message processing program corresponding to the service function number exists, analyzing the message information by using the message processing program to obtain service content. The message processing programs are managed in a sub-packet mode, so that corresponding message information is processed by utilizing different message processing programs, and the processing mode does not need to repeatedly set configuration files, so that the message processing efficiency can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for determining a message handler according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for determining a message handler according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a trusted system provided by an embodiment of the present invention;
fig. 4 is a schematic diagram of another trusted system provided by an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a message processing method, which may include the following steps:
step 101: determining at least one provincial mark and a program package corresponding to each provincial mark, wherein each program package comprises at least one message processing program, and each message processing program corresponds to a service function number.
Step 102: and acquiring a first provincial mark of an external provincial agent system and first message information corresponding to the provincial agent system.
Step 103: and judging whether a program package corresponding to the first provincial and municipal identification exists in at least one determined program package, and if so, acquiring a first service function number included in the first message information.
Step 104: and judging whether a message processing program corresponding to the first service function number exists in a program packet corresponding to the first provincial mark, if so, analyzing the first message information by using the message processing program corresponding to the first service function number to obtain service content.
The embodiment of the invention provides a message processing method, which comprises the following steps: determining at least one province mark and a program package corresponding to each province mark, wherein each program package comprises at least one message processing program, and each message processing program corresponds to a service function number; acquiring a first provincial mark and message information of an external provincial agent system; when judging that the program package corresponding to the first province and city mark exists, acquiring a service function number in the message information; and when the message processing program corresponding to the service function number exists, analyzing the message information by using the message processing program to obtain service content. By sub-packaging and managing the message processing programs, the corresponding message information is processed by utilizing different message processing programs, and the processing mode does not need to repeatedly set configuration files, so the embodiment of the invention can improve the message processing efficiency.
In detail, the method for determining a message processing program provided by the embodiment of the present invention may be applied to a trusted system, such as an occupational annuity trusted system, an pension trusted system, and the like.
In one embodiment of the present invention, the province mark comprises: province and city are abbreviated;
the step 102 includes: when first message information sent by a front-end application server of an external province and city agent system is received, the IP address of the front-end application server is obtained; and inquiring a preset provincial city mechanism information table to obtain a first provincial city abbreviation corresponding to the IP address.
In detail, the trusted system may start a socket communication service, listen to socket clients, such as a front-end application server that may listen to each provincial agent system. And when receiving message information sent by any preposed application server, acquiring the IP address of the preposed application server.
In an embodiment of the present invention, a provincial organization information table may be preset in the trusted system, and the table may include relevant information of each province and city, such as province and city abbreviation, a secret key, an IP address, and the like. Thus, the province and city abbreviation corresponding to the IP address can be obtained by looking up the table, and the obtained province and city abbreviation can be the province and city abbreviation of the province and city agent system sending the first message information.
For example, in one embodiment of the present invention, this provincial agency information table may be as shown in the following table 1:
TABLE 1
Figure BDA0001388167270000091
In detail, in table 1, the present party may be the trusted system side, and the counterpart may be any provincial or municipal agent system side.
In an embodiment of the present invention, to improve the security of message processing, the message information sent by the external provincial and municipal agent system may be a ciphertext of the message information, and the trusted system may decrypt the message information to obtain a plaintext of the message information. The encryption and decryption technology and the encryption and decryption keys can be agreed by the trusted system and the provincial agent system in advance. For example, as described in table 1 above, table 1 may include the public and private keys of both parties.
Therefore, in an embodiment of the present invention, in order to illustrate a possible implementation manner of message decryption, each of the program packages includes a decryption-type program;
the first message information includes: a ciphertext of the first message information;
the method further comprises the following steps: inquiring a preset provincial and city institution information table to obtain a key corresponding to the first provincial and city identification;
the step 103 includes: judging whether the program package corresponding to the first province and city identification can be found from at least one determined program package by executing a preset first factory type program, if so, decrypting the ciphertext by using the secret key by executing a decryption type program included in the program package corresponding to the first province and city identification to obtain the plaintext of the decrypted first message information; and acquiring a first service function number included in the plaintext.
In general, the encryption and decryption modes used by the same province and city agent system are fixed, so that the program package corresponding to each province and city mark may include corresponding decryption type programs.
Of course, in another embodiment of the present invention, when there is more than one encryption/decryption method used by the same province-city agent system, there is also more than one corresponding decryption class program included in the corresponding program package, and the corresponding encryption/decryption methods are in one-to-one correspondence. Correspondingly, in table 1, there is more than one public and private key corresponding to the same province mark, and the public and private keys are in one-to-one correspondence with the encryption and decryption methods. Therefore, when the ciphertext of the message information is sent, the ciphertext can carry the identification information of the corresponding encryption and decryption modes, and the trusted system can determine the required decryption key and the decryption program according to the identification information.
In an embodiment of the present invention, the package name of the package may be a province mark, such as province mark.
In detail, the first plant class program may be a unified program, and may be stored in any common area of the trusted system, not in any package. After receiving the ciphertext, the trusted system can search the program package corresponding to the province mark by executing the factory type program based on the determined province mark. Of course, when the required package exists, the first factory class program can be executed to determine which package the required package is, and when the required package does not exist, any package can not be retrieved according to the requirement by executing the first factory class program.
After finding the program package, the decryption program included in the program package can be obtained. By executing the decryption program, the ciphertext can be decrypted by using the determined key to obtain the corresponding plaintext, and further the service function number in the plaintext can be obtained.
In an embodiment of the present invention, similar to the first factory class program, each package may include a second factory class program in addition to the decryption class program and the at least one message processing program. When the trusted system needs the decryption class program or any message processing program in the current package, it can determine which program is needed by executing the second factory class program in the current package.
Therefore, in one embodiment of the present invention, each of the program packages includes a preset second plant type program;
in step 104, the determining whether the packet corresponding to the first provincial mark includes the message processing program corresponding to the first service function number includes: and judging whether the message processing program corresponding to the first service function number can be found from the program package corresponding to the first provincial city identification or not by executing a second factory type program included in the program package corresponding to the first provincial city identification.
In detail, the second plant class programs included in each package are the same.
Of course, when there is a desired program, it can be determined which program the desired program is by executing the second plant class program, and when there is no desired program, no satisfactory program can be retrieved by executing the second plant class program.
Based on the above, in detail, the province agent system corresponding to the province mark determined in step 101 may be a province agent system in which the trusted system has been co-tuned.
Correspondingly, for the province-city agent system and the corresponding first message information in step 102, at least any one of the following implementations may be used:
mode 1: the province and city agent system is any one province and city agent system which is in joint debugging, and the message information is processed message information;
mode 2: the province and city agent system is a province and city agent system which is not jointly adjusted by a trusted system, and correspondingly, the message information is unprocessed message information;
mode 3: the provincial and municipal agent system is any one of the provincial and municipal agent systems which are in joint debugging, but the message information is unprocessed message information.
In detail, in the embodiment 1, both the determination results in the step 103 and the step 104 are yes; in the embodiment 2, the determination result in the step 103 is no; in the above aspect 3, the determination result in the step 103 is yes, and the determination result in the step 104 is no.
In detail, with respect to the above-described mode 1:
the message processing process corresponding to the above mode 1 may be the content described in the above step 101 to step 104, and details may refer to the above description, which is not described herein again.
In detail, with respect to the above-described mode 2:
when the province and city agent system and the message information are newly added, a corresponding program package and a corresponding message processing program need to be created. Therefore, in an embodiment of the present invention, each of the message handlers includes: the province and city mark corresponding to the program packet where the program is located;
the method further comprises the following steps: determining the message content of the message information corresponding to each message processing program;
in step 103, the method further includes: when it is determined that the program package corresponding to the first province city identifier does not exist, determining whether any target message content in the determined at least one message content is consistent with the message content of the acquired first message information, if so, newly building a program package corresponding to the first province city identifier, and executing step 103.
In detail, the determined message information corresponding to each message processing program may be usually a decrypted plaintext. After the plaintext is analyzed by using the corresponding message processing program, the corresponding service content can be obtained.
In one embodiment of the present invention, when there are at least two message contents that are consistent with the message content of the first message information, any one of the at least two message contents may be selected as the target message content.
In detail, upon determining that there is no required package, the package may be created. And judging whether the target message content exists or not based on the comparison between the message content of the first message information and the existing message contents. Wherein, the judgment results are different, and the subsequent creating modes of the program package are different. For example, there may be at least two implementations:
mode A: the target message content exists, and the creation is executed based on the target message content;
mode B: and further determining a target message content without the target message content, and executing creation based on the target message content.
In detail, in the embodiment of the present invention, the determination result is yes, that is, the target packet content exists, so the method may correspond to the method a.
In view of the above aspect a:
in detail, when it is determined that the target message content exists, a package corresponding to the first provincial mark and a required message handler included in the package may be created based on the target message content, and step 103 may be executed again. When step 103 is executed again, since the required package already exists, the determination result is yes, and step 104 can be continuously executed.
In one embodiment of the present invention, in detail, in the case of the above-mentioned mode a, the creation mode of the package may be at least any one of the following two implementation modes:
the method a: copying the program package;
mode b: an empty package is created and the message handler is copied.
In view of the above aspect a:
in an embodiment of the present invention, the creating of the program package corresponding to the first provincial mark includes: newly building a first empty program package corresponding to the first provincial mark; copying a message processing program corresponding to the target message content into the first empty program packet; and the copied message processing program corresponds to the first service function number, and the provincial mark included in the copied message processing program is replaced by the first provincial mark.
In detail, if any two provincial and municipal agent systems have a large difference in message processing modes, a mode of creating an empty package and copying a message processing program may be adopted.
Similarly, in an embodiment of the present invention, according to the identifier of the encryption/decryption technique corresponding to the message information, when the identifier of the encryption/decryption technique corresponding to the decryption class program in a certain package is the same as the identifier of the encryption/decryption technique corresponding to the decryption class program in the certain package, the decryption class program in the package may be copied to the created empty package.
In addition, since the second factory class programs in each package are identical, the second factory class programs in any package can be copied into the created empty package.
In addition, the province mark included in each program in the program package is replaced by the first province mark, and the package name of the empty program package is modified into the first province mark.
In view of the above aspect b:
in an embodiment of the present invention, the creating of the program package corresponding to the first provincial mark includes: copying a program packet of a message processing program corresponding to the target message content; and the copied program package corresponds to the first province mark, and the province mark included in each message processing program in the copied program package is replaced by the first province mark.
In detail, if any two provincial and municipal agent systems are assumed, and the message processing modes of the two systems are not very different, a creation mode of a copy program package can be adopted.
In addition, the province mark included in each program in the program package is replaced by the first province mark, and the package name of the empty program package is modified into the first province mark.
In view of the above aspect B:
in one embodiment of the present invention, the method may further comprise: when the target message content does not exist, a second empty program packet corresponding to the first province and city mark is newly established; based on the message content of the first message information, calculating the similarity of each message content in at least one determined message content according to the following formula (1); determining a maximum value of the calculated at least one similarity; determining the target message content with the similarity as the maximum value; determining at least one first node that exists in the destination message content but does not exist in the message content of the first message information, and at least one second node that exists in the message content of the first message information but does not exist in the destination message content; copying a target message processing program corresponding to the target message content into the second empty program packet; the target message processing program corresponds to the first service function number, and a province mark included in the target message processing program is replaced by the first province mark, a code program corresponding to each first node is deleted, and a code program corresponding to each second node is added;
S=k1×n1+k2×n2(1)
wherein S is the similarity, k1Is a first predetermined weight, n1Is the number, k, of the at least one first node2Is a second predetermined weight, n2The number of the at least one second node.
In detail, when there is no target packet content consistent with the packet content of the first packet information, a target packet content having a relatively highest similarity to the packet content of the first packet information may be found, and the creation may be performed based on the target packet content.
In an embodiment of the present invention, when there are at least two message contents whose similarity is the maximum, any one of the at least two message contents may be selected as the destination message content.
In detail, with respect to the above-described mode 3:
when the message information is a new message, although a corresponding program package exists, the program package does not include a corresponding message processing program, so that the message processing program needs to be created.
In an embodiment of the present invention, based on the content, consistent with the implementation process of determining the target packet content and the target packet content, a packet processing program corresponding to a newly added packet may be created in an existing corresponding program package. The embodiments of the present invention are not described herein in detail since they are based on the same implementation principles.
In summary, when the trusted system is associated with each province interface, if the contents of the new province interface and the associated province interface are consistent, that is, the message contents of the message information are consistent, a portion of the associated program package can be copied to replace the province interface, that is, the new province interface package, quickly and accurately. If the difference between the interface contents of the newly added province city and the joint province city is large, the new program package flexibly modifies and stores the data SQL (Structured Query Language), the Structured Query Language and the joint province city data are not affected mutually, and the data storage is clear.
In an embodiment of the present invention, to illustrate a possible implementation manner of determining consistency of message contents, therefore, the step of making the target message content consistent with the message content of the acquired first message information includes: the number of node types in the target message content is equal to the number of node types in the message content of the first message information, and the name of each node in the target message content corresponds to and is the same as the name of each node in the message content of the first message information.
In detail, when the node type number and the node name are corresponding and identical, the message contents of the two are considered to be identical, wherein the node contents of the nodes may be different.
For example, the message content of the first message information may be as follows:
<?xml version=”0.1”encoding=”UTF-8”?>
<pensiondata>
<senddate>20170613</senddate>
< appmsg > Normal </appmsg >
< dgst > message example </dgst >
<sendername></sendername>
<receivername></receivername>
<datasettype>
<typecode>0101</typecode>
< typename > connectivity test </typename >
</datasettype>
<appcode>0000</appcode>
<sendtime>141733</sendtime>
<receivecode>T09</receivecode>
<sendcode>S44</sendcode>
<version>1.0.0</version>
<pensioninfo>
<appseriono>20170613S440101000000001</appseriono>
</pensioninfo>
</pensiondata>
It can be seen that, in the message content, 16 nodes, or called fields, are included, which are pendata, senddate, appmsg, dgst, sendname, receivername, datasettype, typecode, typename, appcode, sendtime, receivecode, sendcode, version, pendeinfo, and appsenono in sequence, so the number of the node types is 16.
The content between the nodes in the same group is the node content of the node, for example, the node content of the node "senddate" is "20170613"; the node content of the node "appmsg" is "normal"; the node content of the node "sendername" is null; the node content of the node "datasettype" is "< typecode > 0101 </typecode > < typename > connectivity test </typename >.
Thus, assuming that the number of node types in another message content is also 16, and the names of the nodes are the names of the 16 nodes, whether the node contents of the nodes are the same or not, it can be determined that the message content is the target message content.
In an embodiment of the present invention, to illustrate a possible implementation manner of message information subsequent processing, the method may further include: generating a database service intermediate table corresponding to the service content based on a preset database service intermediate table template, wherein the table name prefix of the database service intermediate table comprises the first provincial mark; and processing the generated database business intermediate table based on a preset database business intermediate table processing flow.
In one embodiment of the present invention, this database service intermediate table template may be as shown in Table 2 below:
TABLE 2
Figure BDA0001388167270000171
As shown in fig. 2, an embodiment of the present invention provides another message processing method, which takes an example of a professional annuity trusted system processing a message, and specifically includes the following steps:
step 201: the professional annuity entrusted system determines 3 provinces and cities for short, and a corresponding program package for each province and city for short.
In detail, each program package comprises a factory class program 1, a decryption class program and at least one message processing program, and each message processing program corresponds to a service function number.
In detail, the package name of the program package is called corresponding province and city for short.
For example, the 3 provinces are abbreviated as BJ corresponding to Beijing, SH corresponding to Shanghai, and GZ corresponding to Guangzhou, respectively.
Step 202: and the professional annuity entrusted system acquires the IP address of the front application server when receiving the ciphertext sent by the front application server of the province and city agent system.
This province-city agent system is, for example, a province-city agent system corresponding to Beijing.
Step 203: and the professional annuity trusted system inquires a preset provincial institution information table to obtain a provincial city abbreviation 1 and a secret key 1 corresponding to the IP address.
In detail, the city-saving institution information table may be as shown in table 1 above.
Suppose that the province is abbreviated as BJ 1.
Step 204: the professional annuity entrusted system judges whether a program package corresponding to province and city short 1 can be found in 3 program packages by executing a preset factory type program 2, if so, step 205 is executed, otherwise, exception handling is executed and the current process is ended.
Specifically, the plant type program 2 functions differently and is stored in a different location from the plant type program 1.
In detail, in the case of no, it is described that the province and city agent system is a newly added system and there is no corresponding package, so that it is possible to perform exception handling. The exception handling may be performed in the manner 2 described above.
Step 205: the professional annuity entrusted system decrypts the ciphertext by using the secret key 1 through executing a decryption program included in a program package corresponding to province and city short for 1, and obtains a decrypted plaintext.
Step 206: the professional annuity entrusted system acquires a business function number 1 included in the plaintext.
Step 207: the professional annuity entrusted system judges whether the message processing program corresponding to the service function number 1 can be found from the program package corresponding to the province city abbreviation 1 or not by executing the factory type program included in the program package corresponding to the province city abbreviation 1, if so, step 208 is executed, otherwise, abnormal processing is executed and the current process is ended.
In detail, in the case of no, the ciphertext is the new message information, and no corresponding message processing program exists, so that exception processing can be executed. The exception handling may be performed in the manner 3 described above.
Step 208: the professional annuity entrusted system analyzes the plaintext by using the message processing program corresponding to the service function number 1 to obtain the service content 1.
Step 209: and the professional annuity entrusted system generates a database business intermediate table corresponding to the business content 1 based on a preset database business intermediate table template.
In detail, the table name prefix of the database service intermediate table may be province and city 1 for short.
Step 210: and the professional annuity entrusted system processes the generated database business intermediate table based on a preset database business intermediate table processing flow.
In an embodiment of the present invention, a specific implementation code program of an implementation manner of handling a message by a trusted system may be as follows:
Figure BDA0001388167270000191
Figure BDA0001388167270000201
Figure BDA0001388167270000211
Figure BDA0001388167270000221
in an embodiment of the present invention, based on the above content, an agent terminal SOCKET port IP message is obtained, an agent mechanism message is obtained according to the IP, and an Abstract Exchange get Instance is called (Map < String > dlrMap); the method obtains the message decryption class. Decryption class performs transaction.receive (String ywid, byte [ ] buffer, Map < String, String > dlrMap); and the method decrypts the message and acquires the service function number. Executing an Abstract Transaction get Instance according to the service function number (Map < String, String > dlrMap, String ywgnh); the method obtains each interface analysis class. Processor (Map < String, Object > params) method is called by the parsing class to dynamically obtain province and city, which is called for short, and data is flexibly stored.
In summary, the embodiment of the present invention better solves the problem of information interfacing between the trusted system and each provincial system by configuring information in the database, matching network connection information and configuration table data, parsing each provincial interface in a sub-package manner, and flexible warehousing. The implementation mode greatly simplifies the access of the professional annuity entrusted system to the message information of each province and city, reduces the system development and continuous adjustment cost of the professional annuity and the pension management mechanism, meets the customer requirements of the professional annuity, improves the enthusiasm of entrusted mechanisms participating in the professional annuity, and promotes the healthy and rapid development of the national professional annuity.
As shown in fig. 3, one embodiment of the present invention provides a trusted system comprising:
the system comprises a preposed subsystem 301, a system management subsystem and a system management subsystem, wherein the preposed subsystem 301 is used for acquiring a first province mark of an external province agent system and first message information corresponding to the province agent system;
the conversion platform subsystem 302 is configured to determine at least one provincial mark and a program package corresponding to each provincial mark, where each program package includes at least one message processing program, and each message processing program corresponds to a service function number; judging whether a program package corresponding to the first provincial and municipal identification exists in at least one determined program package, and if so, acquiring a first service function number included in the first message information; and judging whether a message processing program corresponding to the first service function number exists in a program packet corresponding to the first provincial mark, if so, analyzing the first message information by using the message processing program corresponding to the first service function number to obtain service content.
In one embodiment of the present invention, the province mark comprises: province and city are abbreviated;
the front-end subsystem 301 is specifically configured to obtain an IP address of a front-end application server of an external provincial agent system when receiving first message information sent by the front-end application server; and inquiring a preset provincial city mechanism information table to obtain a first provincial city abbreviation corresponding to the IP address.
In one embodiment of the present invention, each of the packages includes a decryption-type program;
the first message information includes: a ciphertext of the first message information;
the conversion platform subsystem 302 is further configured to query a preset provincial city institution information table to obtain a key corresponding to the first provincial city identifier; the encryption key decryption method is specifically used for judging whether a program package corresponding to the first province and city identification can be found from at least one determined program package by executing a preset first factory type program, and if so, decrypting the ciphertext by using the encryption key by executing a decryption type program included in the program package corresponding to the first province and city identification to obtain the plaintext of the decrypted first message information; and acquiring a first service function number included in the plaintext.
In an embodiment of the present invention, each of the program packages includes a preset second plant type program;
the conversion platform subsystem 302 is specifically configured to determine whether the message processing program corresponding to the first service function number can be found from the program package corresponding to the first provincial city identifier by executing the second factory class program included in the program package corresponding to the first provincial city identifier.
In an embodiment of the present invention, the conversion platform subsystem 302 is further configured to generate a database service intermediate table corresponding to the service content based on a preset database service intermediate table template, where a table name prefix of the database service intermediate table includes the first provincial mark;
referring to fig. 4, the entrusted system further includes: and the trusted service subsystem 401 is configured to process the generated database service intermediate table based on a preset database service intermediate table processing flow.
In an embodiment of the present invention, referring to fig. 4, the conversion platform subsystem 302 includes: a package creation unit 3021;
each message processing program comprises: the province and city mark corresponding to the program packet where the program is located;
the conversion platform subsystem 302 is further configured to determine the message content of the message information corresponding to each message processing program; when it is determined that the program package corresponding to the first provincial city identifier does not exist, determining whether any target message content in the determined at least one message content is consistent with the message content of the acquired first message information, if so, triggering the program package creating unit 3021 to create the program package corresponding to the first provincial city identifier, and executing the determination whether the program package corresponding to the first provincial city identifier exists in the determined at least one program package;
the package creating unit 3021 is configured to create a first empty package corresponding to the first city and province identifier; copying a message processing program corresponding to the target message content into the first empty program packet; the copied message processing program corresponds to the first service function number, and a provincial mark included in the copied message processing program is replaced by the first provincial mark;
or the like, or, alternatively,
copying a program packet of a message processing program corresponding to the target message content; and the copied program package corresponds to the first province mark, and the province mark included in each message processing program in the copied program package is replaced by the first province mark.
In an embodiment of the present invention, the conversion platform subsystem 302 is specifically configured to determine whether any target packet content exists in at least one determined packet content, where the number of node types in the target packet content is equal to the number of node types in the packet content of the first packet information, and the name of each node in the target packet content is one-to-one corresponding to and the same as the name of each node in the packet content of the first packet information.
In an embodiment of the present invention, the conversion platform subsystem 302 is further configured to, when it is determined that the target packet content does not exist, create a second empty package corresponding to the first city-province identifier; based on the message content of the first message information, calculating and determining the similarity of each message content in at least one message content according to the formula (1); determining a maximum value of the calculated at least one similarity; determining the target message content with the similarity as the maximum value; determining at least one first node that exists in the destination message content but does not exist in the message content of the first message information, and at least one second node that exists in the message content of the first message information but does not exist in the destination message content; copying a target message processing program corresponding to the target message content into the second empty program packet; and corresponding the target message processing program to the first service function number, replacing a province mark included in the target message processing program with the first province mark, deleting a code program corresponding to each first node, and adding a code program corresponding to each second node.
In an embodiment of the present invention, there may be provided a message processing system, including: any of the above trusted systems, and at least one provincial agent system.
In detail, the trusted system may start a socket communication service, listen to socket clients, such as a front-end application server that may listen to each provincial agent system. In an embodiment of the present invention, the trusted system may receive the ciphertext sent by any pre-application server and obtain the IP address of the pre-application server when monitoring the trigger request of any pre-application server.
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
In summary, the embodiments of the present invention have at least the following advantages:
1. in the embodiment of the invention, at least one province mark and a program package corresponding to each province mark are determined, each program package comprises at least one message processing program, and each message processing program corresponds to a service function number; acquiring a first provincial mark and message information of an external provincial agent system; when judging that the program package corresponding to the first province and city mark exists, acquiring a service function number in the message information; and when the message processing program corresponding to the service function number exists, analyzing the message information by using the message processing program to obtain service content. By sub-packaging and managing the message processing programs, the corresponding message information is processed by utilizing different message processing programs, and the processing mode does not need to repeatedly set configuration files, so the embodiment of the invention can improve the message processing efficiency.
2. In the embodiment of the invention, when the trusted system is linked and debugged with each province interface, if the interface contents of the newly added province and the linked and debugged province are consistent, namely the message contents of the message information are consistent, a linked and debugged program package can be copied to replace the province and city short name, namely the new province and city program package, and the method is quick and accurate. If the difference between the interface contents of the newly added province city and the joint province city is large, the new program package flexibly modifies the stored data SQL without influencing the data of the joint province city, and the data storage is clear.
3. In the embodiment of the invention, the information butt joint of the trusted system and each province and city system is better solved by configuring information in the database, matching network connection information and configuration table data, analyzing each province and city interface in a sub-packet mode and flexibly warehousing. The implementation mode greatly simplifies the access of the professional annuity entrusted system to the message information of each province and city, reduces the system development and continuous adjustment cost of the professional annuity and the pension management mechanism, meets the customer requirements of the professional annuity, improves the enthusiasm of entrusted mechanisms participating in the professional annuity, and promotes the healthy and rapid development of the national professional annuity.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (8)

1. A message processing method is characterized in that at least one provincial mark and a program package corresponding to each provincial mark are determined, wherein each program package comprises at least one message processing program, and each message processing program corresponds to a service function number; further comprising:
s1: acquiring a first provincial mark of an external provincial agent system and first message information corresponding to the provincial agent system;
s2: judging whether a program package corresponding to the first provincial and municipal identification exists in at least one determined program package, and if so, acquiring a first service function number included in the first message information;
s3: judging whether a message processing program corresponding to the first service function number exists in a program packet corresponding to the first provincial mark, if so, analyzing the first message information by using the message processing program corresponding to the first service function number to obtain service content;
the province mark comprises: province and city are abbreviated;
the S1, including: when first message information sent by a front-end application server of an external province and city agent system is received, the IP address of the front-end application server is obtained; inquiring a preset provincial and municipal institution information table to obtain a first provincial and municipal abbreviation corresponding to the IP address;
and/or the presence of a gas in the gas,
each program package comprises a decryption program;
the first message information includes: a ciphertext of the first message information;
further comprising: inquiring a preset provincial and city institution information table to obtain a key corresponding to the first provincial and city identification;
the S2, including: judging whether the program package corresponding to the first province and city identification can be found from at least one determined program package by executing a preset first factory type program, if so, decrypting the ciphertext by using the secret key by executing a decryption type program included in the program package corresponding to the first province and city identification to obtain the plaintext of the decrypted first message information; and acquiring a first service function number included in the plaintext.
2. The method of claim 1,
each program package comprises a preset second factory type program;
in S3, the determining whether the packet corresponding to the first provincial mark includes a packet processing program corresponding to the first service function number includes: judging whether a message processing program corresponding to the first service function number can be found from a program package corresponding to the first provincial mark by executing a second factory type program included in the program package corresponding to the first provincial mark;
and/or the presence of a gas in the gas,
further comprising: generating a database service intermediate table corresponding to the service content based on a preset database service intermediate table template, wherein the table name prefix of the database service intermediate table comprises the first provincial mark; and processing the generated database business intermediate table based on a preset database business intermediate table processing flow.
3. The method according to any one of claims 1 to 2,
each message processing program comprises: the province and city mark corresponding to the program packet where the program is located;
further comprising: determining the message content of the message information corresponding to each message processing program;
in S2, the method further includes: when it is determined that the program package corresponding to the first province city identifier does not exist, determining whether any target message content in the determined at least one message content is consistent with the message content of the acquired first message information, if so, newly building a program package corresponding to the first province city identifier, and executing S2;
wherein, the newly creating the program package corresponding to the first provincial mark includes:
newly building a first empty program package corresponding to the first provincial mark; copying a message processing program corresponding to the target message content into the first empty program packet; the copied message processing program corresponds to the first service function number, and a provincial mark included in the copied message processing program is replaced by the first provincial mark;
or the like, or, alternatively,
copying a program packet of a message processing program corresponding to the target message content; and the copied program package corresponds to the first province mark, and the province mark included in each message processing program in the copied program package is replaced by the first province mark.
4. The method of claim 3,
the target message content is consistent with the message content of the acquired first message information, and the method comprises the following steps: the node type number in the target message content is equal to the node type number in the message content of the first message information, and the name of each node in the target message content corresponds to and is the same as the name of each node in the message content of the first message information one to one;
and/or the presence of a gas in the gas,
further comprising: when the target message content does not exist, a second empty program packet corresponding to the first province and city mark is newly established; based on the message content of the first message information, calculating and determining the similarity of each message content in at least one message content according to a formula I; determining a maximum value of the calculated at least one similarity; determining the target message content with the similarity as the maximum value; determining at least one first node that exists in the destination message content but does not exist in the message content of the first message information, and at least one second node that exists in the message content of the first message information but does not exist in the destination message content; copying a target message processing program corresponding to the target message content into the second empty program packet; the target message processing program corresponds to the first service function number, and a province mark included in the target message processing program is replaced by the first province mark, a code program corresponding to each first node is deleted, and a code program corresponding to each second node is added;
wherein the first formula comprises:
S=k1×n1+k2×n2
wherein S is the similarity, k1Is a first predetermined weight, n1Is the number, k, of the at least one first node2Is a second predetermined weight, n2The number of the at least one second node.
5. A trusted system, comprising:
the system comprises a preposed subsystem, a system management subsystem and a system management subsystem, wherein the preposed subsystem is used for acquiring a first province mark of an external province and city agent system and first message information corresponding to the province and city agent system;
the system comprises a conversion platform subsystem and a service platform subsystem, wherein the conversion platform subsystem is used for determining at least one provincial mark and a program package corresponding to each provincial mark, each program package comprises at least one message processing program, and each message processing program corresponds to a service function number; judging whether a program package corresponding to the first provincial and municipal identification exists in at least one determined program package, and if so, acquiring a first service function number included in the first message information; judging whether a message processing program corresponding to the first service function number exists in a program packet corresponding to the first provincial mark, if so, analyzing the first message information by using the message processing program corresponding to the first service function number to obtain service content;
the province mark comprises: province and city are abbreviated;
the preposed subsystem is specifically used for acquiring the IP address of a preposed application server when receiving first message information sent by the preposed application server of an external province and city agent system; inquiring a preset provincial and municipal institution information table to obtain a first provincial and municipal abbreviation corresponding to the IP address;
and/or the presence of a gas in the gas,
each program package comprises a decryption program;
the first message information includes: a ciphertext of the first message information;
the conversion platform subsystem is also used for inquiring a preset provincial and municipal institution information table to obtain a key corresponding to the first provincial and municipal identity; the encryption key decryption method is specifically used for judging whether a program package corresponding to the first province and city identification can be found from at least one determined program package by executing a preset first factory type program, and if so, decrypting the ciphertext by using the encryption key by executing a decryption type program included in the program package corresponding to the first province and city identification to obtain the plaintext of the decrypted first message information; and acquiring a first service function number included in the plaintext.
6. A trusted system according to claim 5,
each program package comprises a preset second factory type program;
the conversion platform subsystem is specifically configured to determine whether a message processing program corresponding to the first service function number can be found from a program package corresponding to the first provincial city identifier by executing a second factory type program included in the program package corresponding to the first provincial city identifier;
and/or the presence of a gas in the gas,
the conversion platform subsystem is further used for generating a database service intermediate table corresponding to the service content based on a preset database service intermediate table template, and the table name prefix of the database service intermediate table comprises the first provincial mark;
further comprising: and the trusted service subsystem is used for processing the generated database service intermediate table based on a preset database service intermediate table processing flow.
7. A trusted system according to any one of claims 5 to 6,
the conversion platform subsystem includes: a program package new unit;
each message processing program comprises: the province and city mark corresponding to the program packet where the program is located;
the conversion platform subsystem is also used for determining the message content of the message information corresponding to each message processing program; when judging that the program package corresponding to the first province city identifier does not exist, judging whether any target message content in the determined at least one message content is consistent with the message content of the acquired first message information, if so, triggering a program package newly-establishing unit to newly establish the program package corresponding to the first province city identifier, and executing whether the program package corresponding to the first province city identifier exists in the at least one program package determined by the judgment;
the program package creating unit is configured to create a first empty program package corresponding to the first provincial mark; copying a message processing program corresponding to the target message content into the first empty program packet; the copied message processing program corresponds to the first service function number, and a provincial mark included in the copied message processing program is replaced by the first provincial mark;
or the like, or, alternatively,
copying a program packet of a message processing program corresponding to the target message content; and the copied program package corresponds to the first province mark, and the province mark included in each message processing program in the copied program package is replaced by the first province mark.
8. A trusted system according to claim 5,
the conversion platform subsystem is specifically configured to determine whether any target packet content exists in at least one determined packet content, where the number of node types in the target packet content is equal to the number of node types in the packet content of the first packet information, and the name of each node in the target packet content corresponds to and is the same as the name of each node in the packet content of the first packet information;
and/or the presence of a gas in the gas,
the conversion platform subsystem is further configured to create a second empty program package corresponding to the first province and city identifier when it is determined that the target message content does not exist; based on the message content of the first message information, calculating and determining the similarity of each message content in at least one message content according to a formula I; determining a maximum value of the calculated at least one similarity; determining the target message content with the similarity as the maximum value; determining at least one first node that exists in the destination message content but does not exist in the message content of the first message information, and at least one second node that exists in the message content of the first message information but does not exist in the destination message content; copying a target message processing program corresponding to the target message content into the second empty program packet; the target message processing program corresponds to the first service function number, and a province mark included in the target message processing program is replaced by the first province mark, a code program corresponding to each first node is deleted, and a code program corresponding to each second node is added;
wherein the first formula comprises:
S=k1×n1+k2×n2
wherein S is the similarity, k1Is a first predetermined weight, n1Is the number, k, of the at least one first node2Is a second predetermined weight, n2The number of the at least one second node.
CN201710736108.0A 2017-08-24 2017-08-24 Message processing method and trusted system Active CN107480286B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710736108.0A CN107480286B (en) 2017-08-24 2017-08-24 Message processing method and trusted system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710736108.0A CN107480286B (en) 2017-08-24 2017-08-24 Message processing method and trusted system

Publications (2)

Publication Number Publication Date
CN107480286A CN107480286A (en) 2017-12-15
CN107480286B true CN107480286B (en) 2020-08-11

Family

ID=60601495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710736108.0A Active CN107480286B (en) 2017-08-24 2017-08-24 Message processing method and trusted system

Country Status (1)

Country Link
CN (1) CN107480286B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7251829B1 (en) * 2002-10-26 2007-07-31 Type80 Security Software, Inc. Data analysis and security system
CN101257441A (en) * 2008-02-29 2008-09-03 华为技术有限公司 Method, equipment and system for forwarding message as well as equipment for receiving message
CN101335708A (en) * 2008-08-06 2008-12-31 杭州华三通信技术有限公司 Packet forwarding method and operator edge converging equipment
CN101355505A (en) * 2008-09-12 2009-01-28 成都市华为赛门铁克科技有限公司 Method, apparatus and system for forwarding packet
CN102567540A (en) * 2011-12-31 2012-07-11 北京握奇数据系统有限公司 Application data processing method and smart card using same
CN103051541A (en) * 2011-10-14 2013-04-17 中兴通讯股份有限公司 Method of transmitting message in marked net, and ASR (Access Service Router) and ISR (Internet Service Router)
CN103516610A (en) * 2012-06-18 2014-01-15 华为技术有限公司 Service processing method, device and system
CN103546304A (en) * 2012-07-11 2014-01-29 华为技术有限公司 Business processing method, equipment and system
CN103795520A (en) * 2014-01-23 2014-05-14 国电南瑞科技股份有限公司 Method for real-time synchronization based on FPGA message
CN104144156A (en) * 2013-05-10 2014-11-12 华为技术有限公司 Message processing method and device
CN105099962A (en) * 2014-05-22 2015-11-25 阿里巴巴集团控股有限公司 Message parsing system and message parsing method

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7251829B1 (en) * 2002-10-26 2007-07-31 Type80 Security Software, Inc. Data analysis and security system
CN101257441A (en) * 2008-02-29 2008-09-03 华为技术有限公司 Method, equipment and system for forwarding message as well as equipment for receiving message
CN101335708A (en) * 2008-08-06 2008-12-31 杭州华三通信技术有限公司 Packet forwarding method and operator edge converging equipment
CN101355505A (en) * 2008-09-12 2009-01-28 成都市华为赛门铁克科技有限公司 Method, apparatus and system for forwarding packet
CN103051541A (en) * 2011-10-14 2013-04-17 中兴通讯股份有限公司 Method of transmitting message in marked net, and ASR (Access Service Router) and ISR (Internet Service Router)
CN102567540A (en) * 2011-12-31 2012-07-11 北京握奇数据系统有限公司 Application data processing method and smart card using same
CN103516610A (en) * 2012-06-18 2014-01-15 华为技术有限公司 Service processing method, device and system
CN103546304A (en) * 2012-07-11 2014-01-29 华为技术有限公司 Business processing method, equipment and system
CN104144156A (en) * 2013-05-10 2014-11-12 华为技术有限公司 Message processing method and device
CN103795520A (en) * 2014-01-23 2014-05-14 国电南瑞科技股份有限公司 Method for real-time synchronization based on FPGA message
CN105099962A (en) * 2014-05-22 2015-11-25 阿里巴巴集团控股有限公司 Message parsing system and message parsing method

Also Published As

Publication number Publication date
CN107480286A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
US11394805B1 (en) Automatic discovery of API information
US7284121B2 (en) System and method for transmitting reduced information from a certificate to perform encryption operations
US6636875B1 (en) System and method for synchronizing related data elements in disparate storage systems
US20050027731A1 (en) Compression dictionaries
CN112800472A (en) Industrial internet identification data protection system based on micro-service architecture
EP2410771B1 (en) Method and system for implementing location service
CN113271311B (en) Digital identity management method and system in cross-link network
CN116633701B (en) Information transmission method, apparatus, computer device and storage medium
CN111597543A (en) Wide-area process access authority authentication method and system based on block chain intelligent contract
JP2002297606A (en) Method and system for access to database enabling concealment of inquiry contents
JP2020144586A (en) Data structure of manager terminal, participant terminal, right holder terminal, user terminal, content usage system, administrator program, participant program, right holder program, user program and state data
CN112765169A (en) Data processing method, device, equipment and storage medium
US20210365585A1 (en) Privacy-preserving contact tracing
US8826026B2 (en) Systems and methods for tracking electronic files in computer networks using electronic signatures
CN107480286B (en) Message processing method and trusted system
CN113127448A (en) Method, device, server and storage medium for generating domain dimension table
JP2020046959A (en) Information processing system, information processing device, control method, and control program
CN116095081A (en) Event processing method and device based on block chain system, equipment and medium
US20060253833A1 (en) System and method for efficient hosting of wireless applications by encoding application component definitions
KR20040045149A (en) Registry system and management method for by using uddi web service based on the ebxml registry
KR102433764B1 (en) System and method for monitoring service
CN116151903B (en) Service processing method and device based on sales promotion management system
CN107820222B (en) Method and device for managing multiple tenants
CN115550307B (en) Business processing method, business end, user end and system based on block chain
CN111367867B (en) Log information processing method and device, electronic equipment and storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200715

Address after: 250100 Ji'nan high tech Zone, Shandong, No. 1036 wave road

Applicant after: INSPUR GENERAL SOFTWARE Co.,Ltd.

Address before: 250100, No. 2877, fairway, Sun Town, Ji'nan hi tech Zone, Shandong

Applicant before: SHANDONG INSPUR GENESOFT INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant