CN107480286A - A kind of message processing method and trusted systems - Google Patents
A kind of message processing method and trusted systems Download PDFInfo
- Publication number
- CN107480286A CN107480286A CN201710736108.0A CN201710736108A CN107480286A CN 107480286 A CN107480286 A CN 107480286A CN 201710736108 A CN201710736108 A CN 201710736108A CN 107480286 A CN107480286 A CN 107480286A
- Authority
- CN
- China
- Prior art keywords
- provinces
- cities
- mark
- message
- program bag
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 11
- 238000000034 method Methods 0.000 claims abstract description 102
- 238000012545 processing Methods 0.000 claims abstract description 36
- 238000006243 chemical reaction Methods 0.000 claims description 24
- 230000007246 mechanism Effects 0.000 claims description 20
- 230000008569 process Effects 0.000 claims description 12
- 230000006870 function Effects 0.000 description 46
- 230000005856 abnormality Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013500 data storage Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 210000001503 joint Anatomy 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000033772 system development Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/252—Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/08—Insurance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network 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)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Accounting & Taxation (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- Data Mining & Analysis (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- General Business, Economics & Management (AREA)
- Computer And Data Communications (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a kind of message processing method and trusted systems, this method includes:Program bag corresponding at least one provinces and cities' mark and each province and city mark is determined, includes at least one mh in each program bag, and each mh is corresponding with business function number;The first provinces and cities mark of provinces and cities' agent's system outside obtaining, message information;When judging to exist program bag corresponding to the first provinces and cities mark, the business function number in message information is obtained;When judging to exist mh corresponding to the business function number, using the mh analytic message information to obtain business tine.By the way that mh subpackage is managed, to handle corresponding message information using different mhs, this processing mode without setting configuration file repeatedly, therefore this programme can improve Message processing efficiency.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of message processing method and trusted systems.
Background technology
Trusted systems, such as professional annuity trusted systems, old-age pension trusted systems, it can believe with each province and city agent's system
Breath docking, to handle the message information that each province and city agent's system information is sent.
At present, trusted systems can set this when receiving any message information that each province and city agent's system is sent
Configuration file corresponding to message information.Different configuration files are used to handle different message informations.
Because each province and city agent's system is typically to be built by different developers, and the individual demand in each province and city causes respectively
Provinces and cities' message there may be difference, and this just needs to set configuration file repeatedly so that Message processing is less efficient.
The content of the invention
The invention provides a kind of message processing method and trusted systems, it is possible to increase Message processing efficiency.
In order to achieve the above object, the present invention is achieved through the following technical solutions:
On the one hand, the invention provides a kind of message processing method, at least one provinces and cities' mark, and each institute are determined
Program bag corresponding to provinces and cities' mark is stated, wherein, at least one mh is included in each described program bag, and
Each described mh is corresponding with business function number;Also include:
S1:The first provinces and cities for obtaining outside provinces and cities' agent's system identify, the corresponding to the provinces and cities agent system
One message information;
S2:With the presence or absence of program corresponding to first provinces and cities mark at least one described program bag for judging to determine
Bag, if so, obtaining business function No. the first that first message information includes;
S3:Judge in program bag corresponding to the first provinces and cities mark with the presence or absence of corresponding to the business function No. first
Mh, believe if so, parsing first message using mh corresponding to the business function No. first
Cease to obtain business tine.
Further, provinces and cities' mark includes:Provinces and cities are referred to as;
The S1, including:In the first report that the preposition application server for the provinces and cities' agent's system for receiving outside is sent
During literary information, the IP address of the preposition application server is obtained;Default provinces and cities' mechanism information table is inquired about, to obtain the IP
First provinces and cities corresponding to address are referred to as.
Further, decryption class method is included in each described program bag;
First message information includes:The ciphertext of first message information;
This method also includes:Default provinces and cities' mechanism information table is inquired about, it is close corresponding to the first provinces and cities mark to obtain
Key;
The S2, including:By performing default first factory class method, at least one described program from determination is judged
Bao Zhong, if program bag corresponding to the first provinces and cities mark can be found, if so, being identified by performing first provinces and cities
The decryption class method that corresponding program bag includes, to be reported using ciphertext described in the secret key decryption, first after being decrypted
The plaintext of literary information;Obtain business function No. the first that the plaintext includes.
Further, default second factory class method is included in each described program bag;
It is described to judge to whether there is the first business work(in program bag corresponding to the first provinces and cities mark in the S3
Mh corresponding to energy number, including:Second included by program bag corresponding to performing first provinces and cities mark
Factory's class method, judge from program bag corresponding to first provinces and cities mark, if the first business work(can be found
Mh corresponding to energy number.
Further, this method also includes:Based on default data bank service middle table template, the business tine is generated
Corresponding data bank service middle table, and the table name prefix of the data bank service middle table identifies including first provinces and cities;
Based on default data bank service middle table handling process, the data bank service middle table of generation is handled.
Further, include in each described mh:Town-brand is saved corresponding to program bag where itself
Know;
This method also includes:Determine the message content of message information corresponding to each described mh;
In the S2, further comprise:When judging to be not present program bag corresponding to first provinces and cities mark, judge
In at least one message content determined, if either objective message content and first message got be present
The message content of information is consistent, if so, program bag corresponding to the newly-built first provinces and cities mark, and perform S2;
Wherein, program bag corresponding to the newly-built first provinces and cities mark, including:
First dummy routine bag corresponding to the newly-built first provinces and cities mark;By corresponding to the object message content at message
Program copy is managed into the first dummy routine bag;Obtained mh and the first business function phase will be replicated
Correspond to, and provinces and cities' mark that the mh that duplication is obtained includes replaces with the first provinces and cities mark;
Or,
Replicate the program bag where mh corresponding to the object message content;Obtained program bag will be replicated
It is corresponding with the first provinces and cities mark, and the province that each mh includes in the program bag that duplication is obtained
City's mark replaces with the first provinces and cities mark.
Further, the message content of first message information of the object message content with getting is consistent,
Including:Node species number in the object message content and the node species number in the message content of first message information
It is equal, and the title of each node and each in the message content of first message information in the object message content
The title one-to-one corresponding of node is simultaneously identical.
Further, this method also includes:When judging to be not present the object message content, newly-built first province
Second dummy routine bag corresponding to city's mark;Based on the message content of first message information, calculated and determined according to formula one
At least one message content in each message content similarity;It is determined that at least one similarity calculated
Maximum;Determine the purpose message content that similarity is the maximum;It is determined that be present in the purpose message content but
At least one first node being not present in the message content of first message information, and it is present in first message
In the message content of information but at least one section point for being not present in the purpose message content;By the purpose message
Purpose mh corresponding to content is copied in the second dummy routine bag;By the purpose mh and institute
State that business function No. the first is corresponding, and provinces and cities' mark that the purpose mh includes is replaced with described the
One provinces and cities mark, delete program in machine code corresponding to each described first node, increase corresponding to each described section point
Program in machine code;
Wherein, the formula one includes:
S=k1×n1+k2×n2
Wherein, S is the similarity, k1For the first default weight, n1For the number of at least one first node, k2
For the second default weight, n2For the number of at least one section point.
On the other hand, the invention provides a kind of trusted systems, including:
Front subsystem, the first provinces and cities mark of provinces and cities' agent's system for obtaining outside, the provinces and cities agent
First message information corresponding to system;
Conversion platform subsystem, for determining at least one provinces and cities' mark, and corresponding to each described provinces and cities' mark
Program bag, wherein, at least one mh is included in each described program bag, and at each described message
Reason program is corresponding with business function number;It whether there is first province town-brand at least one described program bag for judging to determine
Program bag corresponding to knowledge, if so, obtaining business function No. the first that first message information includes;Judge first province
It whether there is mh corresponding to the business function No. first in program bag corresponding to city's mark, if so, utilizing institute
State mh corresponding to business function No. the first and parse first message information to obtain business tine.
Further, provinces and cities' mark includes:Provinces and cities are referred to as;
The front subsystem, specifically for being sent out in the preposition application server for receiving provinces and cities' agent's system of outside
During the first message information come, the IP address of the preposition application server is obtained;Default provinces and cities' mechanism information table is inquired about, with
Obtain the first provinces and cities corresponding to the IP address referred to as.
Further, decryption class method is included in each described program bag;
First message information includes:The ciphertext of first message information;
The conversion platform subsystem, it is additionally operable to inquire about default provinces and cities' mechanism information table, to obtain first provinces and cities
Key corresponding to mark;Specifically for by performing default first factory class method, judging from least one described of determination
In program bag, if program bag corresponding to the first provinces and cities mark can be found, if so, by performing first provinces and cities
The decryption class method that program bag corresponding to mark includes, with using ciphertext described in the secret key decryption, the after being decrypted
The plaintext of one message information;Obtain business function No. the first that the plaintext includes.
Further, default second factory class method is included in each described program bag;
The conversion platform subsystem, specifically for being included by program bag corresponding to performing first provinces and cities mark
Second factory's class method, judge from corresponding to first provinces and cities mark in program bag, if described first can be found
Mh corresponding to business function number.
Further, the conversion platform subsystem, it is additionally operable to be based on default data bank service middle table template, generates
Data bank service middle table corresponding to the business tine, and the table name prefix of the data bank service middle table includes described the
One provinces and cities identify;
The trusted systems also include:It is commissioned service sub-system, for based on default data bank service middle table processing stream
Journey, handle the data bank service middle table of generation.
Further, the conversion platform subsystem includes:The newly-built unit of program bag;
Include in each described mh:Provinces and cities corresponding to program bag where itself identify;
The conversion platform subsystem, it is additionally operable to determine the report of message information corresponding to each described mh
Literary content;When judging to be not present program bag corresponding to first provinces and cities mark, judge to determine is at least one described
In message content, if either objective message content and the message content phase one of first message information got be present
Cause, if so, triggering the newly-built unit of described program bag with program bag corresponding to the newly-built first provinces and cities mark, and sentence described in execution
With the presence or absence of program bag corresponding to first provinces and cities mark in the disconnected at least one described program bag determined;
Wherein, the newly-built unit of described program bag, for the first dummy routine bag corresponding to the newly-built first provinces and cities mark;Will
Mh corresponding to the object message content is copied in the first dummy routine bag;It will replicate at obtained message
Reason program is corresponding with the business function No. first, and the provinces and cities that the mh that duplication is obtained includes identify
Replace with the first provinces and cities mark;
Or,
Replicate the program bag where mh corresponding to the object message content;Obtained program bag will be replicated
It is corresponding with the first provinces and cities mark, and the province that each mh includes in the program bag that duplication is obtained
City's mark replaces with the first provinces and cities mark.
Further, the conversion platform subsystem, specifically at least one message content for judging to determine
In, if either objective message content be present, the node species number in the object message content and first message information
Message content in node species number it is equal, and in the object message content title of each node with described first report
In the message content of literary information each node title correspond and it is identical.
Further, the conversion platform subsystem, it is additionally operable to when judging to be not present the object message content, newly
Build the second dummy routine bag corresponding to the first provinces and cities mark;Based on the message content of first message information, according to formula
One calculates the similarity of each message content at least one message content determined;It is determined that calculate at least
Maximum in one similarity;Determine the purpose message content that similarity is the maximum;It is determined that it is present in the purpose
In message content but at least one first node for being not present in the message content of first message information, and it is present in
In the message content of first message information but at least one section point for being not present in the purpose message content;Will
Purpose mh corresponding to the purpose message content is copied in the second dummy routine bag;By the purpose message
Processing routine is corresponding with the business function No. first, and the provinces and cities that the purpose mh is included identify
Replace with first provinces and cities mark, delete program in machine code corresponding to each described first node, increase each described the
Program in machine code corresponding to two nodes;
Wherein, the formula one includes:
S=k1×n1+k2×n2
Wherein, S is the similarity, k1For the first default weight, n1For the number of at least one first node, k2
For the second default weight, n2For the number of at least one section point.
The invention provides a kind of message processing method and trusted systems, this method includes:Determine at least one province's town-brand
Know and each province and city mark corresponding to program bag, include at least one mh, and each Message processing in each program bag
Program is corresponding with business function number;The first provinces and cities mark of provinces and cities' agent's system outside obtaining, message information;Judging
When going out to exist program bag corresponding to the first provinces and cities mark, the business function number in message information is obtained;Judging the industry be present
Corresponding to function number of being engaged in during mh, using the mh analytic message information to obtain business tine.It is logical
Cross and manage mh subpackage, to handle corresponding message information, this processing side using different mhs
Formula without setting configuration file repeatedly, therefore the present invention can improve Message processing efficiency.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of the method for determination mh that one embodiment of the invention provides;
Fig. 2 is the flow chart for another method for determining mh that one embodiment of the invention provides;
Fig. 3 is a kind of schematic diagram for trusted systems that one embodiment of the invention provides;
Fig. 4 is the schematic diagram for another trusted systems that one embodiment of the invention provides.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of message processing method, may comprise steps of:
Step 101:At least one provinces and cities' mark, and program bag corresponding to each described provinces and cities' mark are determined, wherein,
Include at least one mh in each described program bag, and each described mh is corresponding
There is business function number.
Step 102:The first provinces and cities mark, the provinces and cities agent system of provinces and cities' agent's system outside obtaining are corresponding
The first message information.
Step 103:With the presence or absence of corresponding to first provinces and cities mark at least one described program bag for judging to determine
Program bag, if so, obtaining business function No. the first that first message information includes.
Step 104:Judge to whether there is the business function No. first in program bag corresponding to the first provinces and cities mark
Corresponding mh, if so, utilizing mh parsing described first corresponding to the business function No. first
Message information is to obtain business tine.
The embodiments of the invention provide a kind of message processing method, this method includes:Determine at least one provinces and cities mark and
Program bag corresponding to the mark of each province and city, includes at least one mh, and each mh in each program bag
It is corresponding with business function number;The first provinces and cities mark of provinces and cities' agent's system outside obtaining, message information;Judging to deposit
In program bag corresponding to the first provinces and cities mark, the business function number in message information is obtained;Judging the business work(be present
Can number corresponding to mh when, using the mh analytic message information to obtain business tine.Passing through will
Mh subpackage management, to handle corresponding message information using different mhs, this processing mode without
Configuration file need to be set repeatedly, therefore the embodiment of the present invention can improve Message processing efficiency.
In detail, the method provided in an embodiment of the present invention for determining mh can apply to trusted systems, such as
Professional annuity trusted systems, old-age pension trusted systems etc..
In an embodiment of the invention, provinces and cities' mark includes:Provinces and cities are referred to as;
The step 102, including:The sent in the preposition application server for the provinces and cities' agent's system for receiving outside
During one message information, the IP address of the preposition application server is obtained;Default provinces and cities' mechanism information table is inquired about, to obtain
State the first provinces and cities corresponding to IP address referred to as.
In detail, trusted systems can start socket communication services, monitor socket clients, for example can monitor every
The preposition application server of one provinces and cities' agent's system.In the message information for receiving any preposition application server and sending
When, obtain the IP address of the preposition application server.
In an embodiment of the invention, provinces and cities' mechanism information table can be preset with trusted systems, can be wrapped in the table
Each province and city relevant information, such as provinces and cities' abbreviation, key, IP address are included.In this way, by tabling look-up, you can it is corresponding to obtain IP address
Provinces and cities referred to as, this provinces and cities of acquisition can referred to as think the province for the provinces and cities' agent's system for sending above-mentioned first message information
City is referred to as.
For example, in an embodiment of the invention, this provinces and cities' mechanism information table can be as described in Table 1:
Table 1
In detail, in table 1, we can be the side of trusted systems one, and other side can be any provinces and cities agent system one
Side.
In an embodiment of the invention, to improve the security of Message processing, outside provinces and cities' agent's system is sent
Message information can be the message information ciphertext, processing it can be decrypted in trusted systems, believed with obtaining the message
The plaintext of breath.Wherein, key used in encryption and decryption technology and encryption and decryption can be trusted systems and the advance business of provinces and cities' agent's system
Set.For example the public and private key of both sides can be included as described in above-mentioned table 1, in table 1.
Therefore, in an embodiment of the invention, in order to illustrate a kind of possibility implementation of message decryption, so, often
Include decryption class method in one described program bag;
First message information includes:The ciphertext of first message information;
This method also includes:Default provinces and cities' mechanism information table is inquired about, it is close corresponding to the first provinces and cities mark to obtain
Key;
The step 103, including:By performing default first factory class method, at least one institute from determination is judged
State in program bag, if program bag corresponding to the first provinces and cities mark can be found, if so, by performing first province
The decryption class method that program bag corresponding to city's mark includes, to utilize ciphertext described in the secret key decryption, after being decrypted
The plaintext of first message information;Obtain business function No. the first that the plaintext includes.
Under normal circumstances, the encryption and decryption mode used in same provinces and cities agent system is fixed, therefore corresponding to the mark of each province and city
Corresponding decryption class method can be included in program bag.
Certainly, in an alternative embodiment of the invention, the encryption and decryption mode more than one used in same provinces and cities agent system
When, the corresponding decryption class method that corresponding program bag includes corresponds more than one kind with each encryption and decryption mode.It is corresponding
Ground, in above-mentioned table 1, same provinces and cities identify the accordingly same more than one of public and private key, and being corresponded with each encryption and decryption mode.Such as
This, when sending the ciphertext of message information, the ciphertext can carry the identification information of corresponding encryption and decryption mode, and trusted systems can root
Required decruption key and decryption class method are determined according to the identification information.
In an embodiment of the invention, the Bao Mingke of program bag thinks that provinces and cities identify, such as provinces and cities referred to as.
In detail, above-mentioned first factory class method can be consolidator, can be stored in any public of trusted systems
Region, and be not stored in any program bag.Trusted systems, can be with based on the provinces and cities' mark determined after ciphertext is received
Program bag corresponding to provinces and cities mark is searched by performing factory's class method.Certainly, when there are required program bag, lead to
Cross perform the first factory class method can determine needed for program bag be which program bag, in the absence of required program bag,
By performing the first factory class method, retrieval is met the requirements less than any program bag.
After program bag is found, you can obtain the decryption class method that program bag includes.By performing the decryption class method,
Ciphertext can be decrypted using the key determined before, to obtain corresponding plaintext, and then the business work(in plaintext can be obtained
Energy number.
In an embodiment of the invention, it is similar with above-mentioned first factory class method, in each program bag except
Beyond decryption class method, at least one mh, second factory's class method can also be included.Trusted systems need
, can be by performing second in present procedure bag when wanting decryption class method or any mh in present procedure bag
Factory's class method, it is required for which program to determine.
Therefore, in an embodiment of the invention, default second factory class is included in each described program bag
Program;
It is described to judge to whether there is described first in program bag corresponding to the first provinces and cities mark in the step 104
Mh corresponding to business function number, including:Included by program bag corresponding to performing first provinces and cities mark
Second factory's class method, judge from corresponding to first provinces and cities mark in program bag, if described first can be found
Mh corresponding to business function number.
In detail, second factory's class method that each program bag includes is identical.
Certainly, when there are required program, it can determine that required program is by performing the second factory class method
Which program, in the absence of required program, by performing the second factory class method, retrieval is conformed to less than any program
Ask.
Based on the above, in detail, provinces and cities' agent's system corresponding to the provinces and cities' mark determined in step 101 can be
Provinces and cities' agent's system of trusted systems joint debugging.
Accordingly, for provinces and cities' agent's system in step 102 and its corresponding first message information, at least can be
Following any implementations:
Mode 1:Provinces and cities agent's system is provinces and cities' agent's system of any joint debugging, and the message information is to have located
The message information managed;
Mode 2:Provinces and cities agent's system is provinces and cities' agent's system of the non-joint debugging of trusted systems, accordingly, the message
Information is untreated message information;
Mode 3:Provinces and cities agent's system is provinces and cities' agent's system of any joint debugging, but the message information is not locate
The message information managed.
In detail, for aforesaid way 1, the judged result of above-mentioned steps 103 and step 104 is to be;For above-mentioned side
Formula 2, the judged result of above-mentioned steps 103 is no;For aforesaid way 3, the judged result of above-mentioned steps 103 is yes, step 104
Judged result be no.
In detail, for aforesaid way 1:
Message processing process corresponding to aforesaid way 1 can be that above-mentioned steps 101 to content described in step 104, details can
With reference to descriptions above, therefore not to repeat here.
In detail, for aforesaid way 2:
When provinces and cities' agent's system and message information are newly-increased, it is necessary to create corresponding program bag, and create phase
Answer mh.Therefore, in an embodiment of the invention, include in each described mh:Itself
Provinces and cities corresponding to the program bag at place identify;
This method also includes:Determine the message content of message information corresponding to each described mh;
In the step 103, further comprise:Judging program bag corresponding to first provinces and cities mark is not present
When, judge at least one message content for determining, if it is described with getting to there is either objective message content
The message content of first message information is consistent, if so, program bag corresponding to the newly-built first provinces and cities mark, and perform step
103。
In detail, message information corresponding to identified each mh, the plaintext after typically decrypting.Will
After being parsed in plain text using corresponding mh, corresponding service content can be obtained.
In an embodiment of the invention, when the message content phase that at least two message contents and the first message information be present
When consistent, can therefrom optional one as object message content.
In detail, when judging to be not present required program bag, the program bag can be created.Wherein, based on the first message
The contrast of the message content of information and existing each message content, to judge whether above-mentioned object message content.Wherein, judge
As a result different, program bag subsequently creates mode difference.For example at least there may be following two kinds of implementations:
Mode A:Above-mentioned object message content be present, based on the object message content to perform establishment;
Mode B:In the absence of above-mentioned object message content, a purpose message content is further determined that, based on the purpose report
Literary content is to perform establishment.
In detail, in embodiments of the present invention, judged result is yes above-mentioned object message content be present, therefore can be right
Should be in aforesaid way A.
For aforesaid way A:
In detail, when judging to exist this object message content, the object message content creating first can be based on
Program bag corresponding to provinces and cities' mark, and the required mh that program bag includes is created, and step is performed again
103.When performing step 103 again, due to existing required program bag, therefore judged result is yes, therefore can continue executing with step
104。
In an embodiment of the invention, in detail, in the case of aforesaid way A, the establishment mode of program bag is at least
It can be any implementation in following two kinds of implementations:
Mode a:Reproducer bag;
Mode b:Create dummy routine bag, and copy packet processing routine.
For aforesaid way a:
In an embodiment of the invention, program bag corresponding to the newly-built first provinces and cities mark, including:Newly-built institute
State the first dummy routine bag corresponding to the first provinces and cities mark;Mh corresponding to the object message content is copied into institute
State in the first dummy routine bag;The mh that duplication is obtained is corresponding with the business function No. first, and will be multiple
Provinces and cities' mark that the mh being made includes replaces with the first provinces and cities mark.
In detail, it is assumed that any two provinces and cities agent's system, when both Message processing modes differ larger, can adopt
With the establishment mode for creating dummy routine bag and copy packet processing routine.
Similarly, in an embodiment of the invention, the mark of encryption and decryption technology is corresponded to according to message information, when a certain program
, can be by the decryption class method in the program bag when mark of encryption and decryption technology is same corresponding to decryption class method in bag
Copy in the dummy routine bag of establishment.
Further, since second factory's class method all same in each program bag, therefore can be by second in any program bag
Factory class program copy is into the dummy routine bag of establishment.
Identified in addition, provinces and cities' mark that each program includes in program bag is replaced with into above-mentioned first provinces and cities, and should
The bag name of dummy routine bag is revised as above-mentioned first provinces and cities mark.
For aforesaid way b:
In an embodiment of the invention, program bag corresponding to the newly-built first provinces and cities mark, including:Replicate institute
State the program bag where mh corresponding to object message content;Obtained program bag and first provinces and cities will be replicated
Identify corresponding, and replace with institute by provinces and cities' mark that each mh includes in obtained program bag is replicated
State the first provinces and cities mark.
In detail, it is assumed that any two provinces and cities agent's system, when both Message processing modes are more or less the same, can adopt
With the establishment mode of reproducer bag.
Identified in addition, provinces and cities' mark that each program includes in program bag is replaced with into above-mentioned first provinces and cities, and should
The bag name of dummy routine bag is revised as above-mentioned first provinces and cities mark.
For aforesaid way B:
In an embodiment of the invention, this method may further include:Judging the object message is not present
During content, the second dummy routine bag corresponding to the newly-built first provinces and cities mark;Based on the message content of first message information,
The similarity of each message content at least one message content determined is calculated according to following formula (1);Really
Maximum at least one similarity calculated of devising a stratagem;Determine the purpose message content that similarity is the maximum;It is determined that
It is present in the purpose message content but is not present at least one first in the message content of first message information
Node, and be present in the message content of first message information but be not present in the purpose message content at least
One section point;Purpose mh corresponding to the purpose message content is copied into the second dummy routine bag
In;The purpose mh is corresponding with the business function No. first, and by the purpose Message processing journey
Provinces and cities' mark that sequence includes replaces with the first provinces and cities mark, deletes code journey corresponding to each described first node
Sequence, increase program in machine code corresponding to each described section point;
S=k1×n1+k2×n2(1)
Wherein, S is the similarity, k1For the first default weight, n1For the number of at least one first node, k2
For the second default weight, n2For the number of at least one section point.
In detail, when consistent with the message content of the first message information in the absence of object message content, can find
One supreme good message content relative with the similarity of the message content of the first message information, and based in the purpose message
Hold to perform establishment.
In an embodiment of the invention, can be with when the similarity that at least two message contents be present is maximum
Therefrom optional one is as purpose message content.
In detail, for aforesaid way 3:
When message information is newly-increased message, though corresponding program bag be present, corresponding Message processing is not included in program bag
Program, therefore need to create this mh.
In an embodiment of the invention, based on the above, with determining above-mentioned object message content and above-mentioned purpose report
The implementation process of literary content is consistent, can create mh corresponding to newly-increased message in existing corresponding program bag.
Because based on identical realization principle, therefore not to repeat here for the embodiment of the present invention.
In summary, when trusted systems are with each province's interface joint debugging, if newly-increased provinces and cities and the provinces and cities of joint debugging portal contents one
Cause, i.e. the message content of message information is consistent, can replicate a joint debugging program bag, and it is new referred to as to replace wherein provinces and cities
Provinces and cities' program bag, it is quick, accurate.If newly-increased provinces and cities differ greatly with the provinces and cities of joint debugging portal contents, new procedures bag is flexible
Modification preserves data SQL (Structured Query Language, SQL), mutual with the provinces and cities of joint debugging data
Do not influence, data storage is clear.
In an embodiment of the invention, in order to illustrate a kind of possibility implementation that message content uniformity judges, institute
With, the message content of first message information of the object message content with getting is consistent, including:The target report
Node species number in literary content is equal with the node species number in the message content of first message information, and the target
The title of each node is one by one in the message content of the title of each node and first message information in message content
It is corresponding and identical.
In detail, when node species number and each nodename are corresponding and identical, you can think that both message contents are consistent,
Wherein, the node content of each node can be different.
For example, the message content of the first message information can be as follows shown in content:
<Encoding=" the UTF-8 " of xml version=" 0.1 ">
< pensiondata >
20170613 < of < senddate >/senddate >
Normal </appmsg the > of < appmsg >
< dgst > message packet example </dgst >
< sendername > </sendername >
< receivername > </receivername >
< datasettype >
0101 < of < typecode >/typecode >
< typename > continuity testing </typename >
</datasettype >
0000 < of < appcode >/appcode >
141733 < of < sendtime >/sendtime >
< receivecode > T09 </receivecode >
< sendcode > S44 </sendcode >
< version > 1.0.0 </version >
< pensioninfo >
< appseriono > 20170613S440101000000001 </appseriono >
</pensioninfo >
</pensiondata >
As can be seen that in this message content, include 16 nodes, or field, be successively pensiondata,
senddate、appmsg、dgst、sendername、receivername、datasettype、typecode、typename、
Appcode, sendtime, receivecode, sendcode, version, pensioninfo, appseriono, therefore node kind
Class number is 16.
Content between same group node is the node content of the node, such as, the node content of node " senddate " is
“20170613”;The node content of node " appmsg " is " normal ";The node content of node " sendername " is sky;Node
The node content of " datasettype " is " 0101 < of < typecode >/typecode > < typename > continuity testings
</typename > ".
So, it is assumed that the node species number in another message content is also 16, and the title of each node is respectively above-mentioned 16
Individual nodename, no matter whether the node content of each node is identical, you can it is object message content to determine the message content.
In an embodiment of the invention, in order to illustrate a kind of possible message information subsequent treatment implementation, so,
This method may further include:Based on default data bank service middle table template, number corresponding to the business tine is generated
According to storehouse business middle table, and the table name prefix of the data bank service middle table identifies including first provinces and cities;Based on default
Data bank service middle table handling process, handle the data bank service middle table of generation.
In an embodiment of the invention, this data bank service middle table template can be as described in Table 2:
Table 2
As shown in Fig. 2 one embodiment of the invention provides another message processing method, this method with professional annuity by
Exemplified by support system processing message, following steps are specifically included:
Step 201:Professional annuity trusted systems determine 3 provinces and cities referred to as, and program corresponding to each provinces and cities' abbreviation
Bag.
In detail, factory's class method 1, decryption class method and at least one Message processing are included in each program bag
Program, and each mh both corresponds to a business function number.
In detail, the entitled corresponding provinces and cities' abbreviation of the bag of program bag.
For example, 3 provinces and cities are referred to as respectively corresponding to Pekinese BJ, corresponding to the SH in Shanghai, corresponding to Guangzhou
GZ.
Step 202:Professional annuity trusted systems are sent in the preposition application server for receiving provinces and cities' agent's system
Ciphertext when, obtain the IP address of preposition application server.
For example, this provinces and cities agent's system is corresponding to provinces and cities of Pekinese agent's system.
Step 203:Professional annuity trusted systems inquire about default provinces and cities' mechanism information table, to obtain province corresponding to IP address
City referred to as 1 and key 1.
In detail, provinces and cities' mechanism information table can be as shown in Table 1 above.
Assuming that the provinces and cities obtained referred to as 1 are BJ.
Step 204:Professional annuity trusted systems by performing default factory's class method 2, judge in 3 program bags whether
Program bag corresponding to provinces and cities' abbreviation 1 can be found, if so, performing step 205, otherwise, abnormality processing is performed and simultaneously terminates currently
Flow.
In detail, factory's class method 2 is different from above-mentioned 1 each self-applying of factory's class method, deposit position is different.
In detail, in a case of no, it is newly-increased system to illustrate this provinces and cities agent's system, there is no corresponding program bag,
Therefore abnormality processing can be performed.Wherein, the implementation procedure of abnormality processing is referred to aforesaid way 2.
Step 205:Professional annuity trusted systems are by performing provinces and cities' decryption class that referred to as program bag corresponding to 1 includes
Sequence, to decrypt ciphertext, the plaintext after being decrypted using key 1.
Step 206:Professional annuity trusted systems obtain the business function number 1 that plaintext includes.
Step 207:Professional annuity trusted systems are by performing provinces and cities' factory's class that referred to as program bag corresponding to 1 includes
Sequence, judge from provinces and cities referred to as program bag corresponding to 1, if mh corresponding to business function number 1 can be found,
If so, performing step 208, otherwise, perform abnormality processing and terminate current process.
In detail, in a case of no, it is newly-increased message information to illustrate this ciphertext, there is no corresponding mh,
Therefore abnormality processing can be performed.Wherein, the implementation procedure of abnormality processing is referred to aforesaid way 3.
Step 208:Professional annuity trusted systems are parsed in plain text using mh corresponding to business function number 1 to obtain
Obtain business tine 1.
Step 209:Professional annuity trusted systems are based on default data bank service middle table template, generate business tine 1
Corresponding data bank service middle table.
In detail, the table name prefix of data bank service middle table can be provinces and cities referred to as 1.
Step 210:Professional annuity trusted systems are based on default data bank service middle table handling process, handle generation
Data bank service middle table.
In an embodiment of the invention, the specific implementation program in machine code of trusted systems processing message implementation can be as
Shown in the description below:
In an embodiment of the invention, based on the above, agent end SOCKET ports IP message is obtained, according to IP
Robot mechanism message is acted on behalf of in acquisition, calls Abstract Exchange get Instance (Map<String,String>
dlrMap);Method, obtain message decryption class.Decrypt class and perform transaction.recive (String ywid, byte []
buffer,Map<String,String>dlrMap);Method, decrypted message, obtain business function number.According to business function number
Perform Abstract Transaction get Instance (Map<String,String>dlrMap,String ywgnh);
Method obtains each interface parsing class.Parse class and call transaction.processor (String ywid, Map<
String,Object>Params) method, dynamic access provinces and cities referred to as, flexibly preserve data.
In summary, the embodiment of the present invention passes through in database configuration information, matching network link information and allocation list number
According to, subpackage parsing each province and city interface, mode is flexibly put in storage, preferably resolves the information pair of trusted systems and each province and city system
Connect.This implementation enormously simplify professional annuity trusted systems access each province and city message information, reduces professional annuity, supports
The system development of Lao Jin management organizations and company are tuned into this, meet the customer demand of professional annuity, improve and are participated in professional year by support mechanism
The enthusiasm of gold, promote Occupational annuity healthy and rapid development.
As shown in figure 3, one embodiment of the invention provides a kind of trusted systems, including:
Front subsystem 301, the first provinces and cities mark of provinces and cities' agent's system for obtaining outside, provinces and cities agency
First message information corresponding to people's system;
Conversion platform subsystem 302, for determining that at least one provinces and cities' mark, and each described provinces and cities' mark correspond to
Program bag, wherein, at least one mh, and each described message are included in each described program bag
Processing routine is corresponding with business function number;It whether there is first provinces and cities at least one described program bag for judging to determine
Program bag corresponding to mark, if so, obtaining business function No. the first that first message information includes;Judge described first
It whether there is mh corresponding to the business function No. first in program bag corresponding to provinces and cities' mark, if so, utilizing
Mh corresponding to the business function No. first parses first message information to obtain business tine.
In an embodiment of the invention, provinces and cities' mark includes:Provinces and cities are referred to as;
The front subsystem 301, specifically for the preposition application service in the provinces and cities' agent's system for receiving outside
During the first message information that device is sent, the IP address of the preposition application server is obtained;Inquire about default provinces and cities' mechanism information
Table, to obtain the first provinces and cities corresponding to the IP address referred to as.
In an embodiment of the invention, decryption class method is included in each described program bag;
First message information includes:The ciphertext of first message information;
The conversion platform subsystem 302, it is additionally operable to inquire about default provinces and cities' mechanism information table, to obtain first province
Key corresponding to city's mark;Specifically for by performing default first factory class method, judging at least one institute from determination
State in program bag, if program bag corresponding to the first provinces and cities mark can be found, if so, by performing first province
The decryption class method that program bag corresponding to city's mark includes, to utilize ciphertext described in the secret key decryption, after being decrypted
The plaintext of first message information;Obtain business function No. the first that the plaintext includes.
In an embodiment of the invention, default second factory class method is included in each described program bag;
The conversion platform subsystem 302, specifically for by performing in program bag corresponding to the first provinces and cities mark
Including second factory's class method, judge from corresponding to first provinces and cities mark in program bag, if can find described
Mh corresponding to business function No. first.
In an embodiment of the invention, the conversion platform subsystem 302, it is additionally operable to be based on default data bank service
Middle table template, generate data bank service middle table corresponding to the business tine, and the table of the data bank service middle table
Name prefix identifies including first provinces and cities;
Fig. 4 is refer to, the trusted systems also include:It is commissioned service sub-system 401, for based on default data bank service
Middle table handling process, handle the data bank service middle table of generation.
In an embodiment of the invention, Fig. 4 is refer to, the conversion platform subsystem 302 includes:The newly-built list of program bag
Member 3021;
Include in each described mh:Provinces and cities corresponding to program bag where itself identify;
The conversion platform subsystem 302, it is additionally operable to determine message information corresponding to each described mh
Message content;When judging to be not present program bag corresponding to first provinces and cities mark, judge to determine at least one
In the message content, if either objective message content and the message content phase of first message information got be present
Unanimously, if so, the triggering newly-built unit 3021 of described program bag is with program bag corresponding to the newly-built first provinces and cities mark, and perform
With the presence or absence of program bag corresponding to first provinces and cities mark at least one described program bag for judging to determine;
Wherein, the newly-built unit 3021 of described program bag, for the first dummy routine corresponding to the newly-built first provinces and cities mark
Bag;Mh corresponding to the object message content is copied in the first dummy routine bag;It will replicate what is obtained
Mh is corresponding with the business function No. first, and the province that the mh that duplication is obtained includes
City's mark replaces with the first provinces and cities mark;
Or,
Replicate the program bag where mh corresponding to the object message content;Obtained program bag will be replicated
It is corresponding with the first provinces and cities mark, and the province that each mh includes in the program bag that duplication is obtained
City's mark replaces with the first provinces and cities mark.
In an embodiment of the invention, the conversion platform subsystem 302, at least one determined specifically for judgement
In the individual message content, if either objective message content be present, node species number and institute in the object message content
The node species number stated in the message content of the first message information is equal, and in the object message content each node name
Claim to correspond with the title of each node in the message content of first message information and identical.
In an embodiment of the invention, the conversion platform subsystem 302, it is additionally operable to judging the mesh is not present
When marking message content, the second dummy routine bag corresponding to the newly-built first provinces and cities mark;Report based on first message information
Literary content, the phase of each message content at least one message content determined is calculated according to above-mentioned formula (1)
Like degree;It is determined that the maximum at least one similarity calculated;Determine similarity in the purpose message of the maximum
Hold;It is determined that it is present in the purpose message content but is not present at least one in the message content of first message information
Individual first node, and be present in the message content of first message information but be not present in the purpose message content
At least one section point;Purpose mh corresponding to the purpose message content is copied into second idle running
In sequence bag;The purpose mh is corresponding with the business function No. first, and by the purpose message
Provinces and cities' mark that reason program includes replaces with the first provinces and cities mark, deletes code corresponding to each described first node
Program, increase program in machine code corresponding to each described section point.
In an embodiment of the invention, a kind of message handling system can be provided, including:Any of the above-described described is commissioned
System, and at least one provinces and cities agent system.
In detail, trusted systems can start socket communication services, monitor socket clients, for example can monitor every
The preposition application server of one provinces and cities' agent's system.In an embodiment of the invention, trusted systems listen to it is any
During the trigger request of preposition application server, its ciphertext sent can be received, and obtain its IP address.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method
Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
In summary, each embodiment of the invention at least has the advantages that:
1st, in the embodiment of the present invention, program bag corresponding at least one provinces and cities' mark and each province and city mark, each program are determined
Bao Zhongjun includes at least one mh, and each mh is corresponding with business function number;Outside obtaining
The first provinces and cities mark of provinces and cities' agent's system, message information;When judging to exist program bag corresponding to the first provinces and cities mark,
Obtain the business function number in message information;When judging to exist mh corresponding to the business function number, utilize
The mh analytic message information is to obtain business tine.By the way that mh subpackage is managed, with using not
With mh to handle corresponding message information, this processing mode without setting configuration file repeatedly, therefore the present invention is real
Message processing efficiency can be improved by applying example.
2nd, in the embodiment of the present invention, when trusted systems are with each province's interface joint debugging, if newly-increased provinces and cities connect with the provinces and cities of joint debugging
Intraoral to hold unanimously, i.e. the message content of message information is consistent, can replicate a joint debugging program bag, replaces wherein provinces and cities' letter
Claim, as new provinces and cities' program bag, it is quick, accurate.If newly-increased provinces and cities differ greatly with the provinces and cities of joint debugging portal contents, new journey
Sequence bag, which is flexibly changed, preserves data SQL, is independent of each other with the provinces and cities of joint debugging data, data storage is clear.
3rd, in the embodiment of the present invention, by database configuration information, matching network link information and allocation list data, point
Packet analyzing each province and city interface, mode is flexibly put in storage, preferably resolves the information butt joint of trusted systems and each province and city system.This
Implementation enormously simplify professional annuity trusted systems access each province and city message information, reduce professional annuity, old-age pension pipe
Reason train of mechanism is developed and is even tuned into this, meets the customer demand of professional annuity, improves the product that professional annuity is participated in by support mechanism
Polarity, promote Occupational annuity healthy and rapid development.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation makes a distinction with another entity or operation, and not necessarily require or imply and exist between these entities or operation
Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements,
But also the other element including being not expressly set out, or also include solid by this process, method, article or equipment
Some key elements.In the absence of more restrictions, by sentence " including the key element that a 〃 〃 " is limited, it is not excluded that
Other identical factor in the process including the key element, method, article or equipment also be present.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in computer-readable storage medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention,
Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.
Claims (10)
1. a kind of message processing method, it is characterised in that determine at least one provinces and cities' mark, and each described provinces and cities' mark
Corresponding program bag, wherein, include at least one mh in each described program bag, and described in each
Mh is corresponding with business function number;Also include:
S1:First provinces and cities of provinces and cities' agent's system outside obtaining identify, the first report corresponding to the provinces and cities agent system
Literary information;
S2:With the presence or absence of program bag corresponding to first provinces and cities mark at least one described program bag for judging to determine, if
It is to obtain business function No. the first that first message information includes;
S3:Judge to whether there is message corresponding to the business function No. first in program bag corresponding to the first provinces and cities mark
Processing routine, if so, using mh corresponding to the business function No. first parse first message information with
Obtain business tine.
2. according to the method for claim 1, it is characterised in that
Provinces and cities' mark includes:Provinces and cities are referred to as;
The S1, including:In the first message letter that the preposition application server for the provinces and cities' agent's system for receiving outside is sent
During breath, the IP address of the preposition application server is obtained;Default provinces and cities' mechanism information table is inquired about, to obtain the IP address
Corresponding first provinces and cities are referred to as;
And/or
Include decryption class method in each described program bag;
First message information includes:The ciphertext of first message information;
Further comprise:Default provinces and cities' mechanism information table is inquired about, to obtain key corresponding to the first provinces and cities mark;
The S2, including:By performing default first factory class method, at least one described program bag from determination is judged
In, if program bag corresponding to the first provinces and cities mark can be found, if so, by performing the first provinces and cities mark pair
The decryption class method that the program bag answered includes, to utilize ciphertext described in the secret key decryption, the first message after being decrypted
The plaintext of information;Obtain business function No. the first that the plaintext includes.
3. according to the method for claim 1, it is characterised in that
Include default second factory class method in each described program bag;
It is described to judge to whether there is the business function No. first in program bag corresponding to the first provinces and cities mark in the S3
Corresponding mh, including:The second factory included by program bag corresponding to performing first provinces and cities mark
Class method, judge from program bag corresponding to first provinces and cities mark, if the business function No. first can be found
Corresponding mh;
And/or
Further comprise:Based on default data bank service middle table template, database sector corresponding to the business tine is generated
Business middle table, and the table name prefix of the data bank service middle table includes first provinces and cities and identified;Based on default data
Storehouse business middle table handling process, handle the data bank service middle table of generation.
4. according to any described method in claims 1 to 3, it is characterised in that
Include in each described mh:Provinces and cities corresponding to program bag where itself identify;
Further comprise:Determine the message content of message information corresponding to each described mh;
In the S2, further comprise:When judging to be not present program bag corresponding to first provinces and cities mark, judge to determine
In at least one message content gone out, if either objective message content and first message information got be present
Message content it is consistent, if so, program bag corresponding to newly-built first provinces and cities mark, and perform S2;
Wherein, program bag corresponding to the newly-built first provinces and cities mark, including:
First dummy routine bag corresponding to the newly-built first provinces and cities mark;By Message processing journey corresponding to the object message content
Sequence is copied in the first dummy routine bag;It is relative with the business function No. first by obtained mh is replicated
Answer, and provinces and cities' mark that the mh that duplication is obtained includes replaces with the first provinces and cities mark;
Or,
Replicate the program bag where mh corresponding to the object message content;Obtained program bag and institute will be replicated
It is corresponding to state the first provinces and cities mark, and province's town-brand that each mh includes in the program bag that duplication is obtained
Knowledge replaces with the first provinces and cities mark.
5. according to the method for claim 4, it is characterised in that
The message content of first message information of the object message content with getting is consistent, including:The target
Node species number in message content is equal with the node species number in the message content of first message information, and the mesh
Mark the title of each node and the title one of each node in the message content of first message information in message content
One is corresponding and identical;
And/or
Further comprise:When judging to be not present the object message content, the corresponding to newly-built first provinces and cities mark
Two dummy routine bags;Based on the message content of first message information, calculated according to formula one determine it is at least one described in
The similarity of each message content in message content;It is determined that the maximum at least one similarity calculated;It is determined that
Similarity is the purpose message content of the maximum;It is determined that it is present in the purpose message content but is not present in described
At least one first node in the message content of one message information, and it is present in the message content of first message information
In but at least one section point for being not present in the purpose message content;By purpose corresponding to the purpose message content
Mh is copied in the second dummy routine bag;By the purpose mh and first business function
It is number corresponding, and provinces and cities' mark that the purpose mh includes replaced with into the first provinces and cities mark, is deleted
Except program in machine code corresponding to first node each described, increase program in machine code corresponding to each described section point;
Wherein, the formula one includes:
S=k1×n1+k2×n2
Wherein, S is the similarity, k1For the first default weight, n1For the number of at least one first node, k2For
Two default weights, n2For the number of at least one section point.
A kind of 6. trusted systems, it is characterised in that including:
Front subsystem, the first provinces and cities mark, the provinces and cities agent system of provinces and cities' agent's system for obtaining outside
Corresponding first message information;
Conversion platform subsystem, for determining at least one provinces and cities' mark, and program corresponding to each described provinces and cities' mark
Bag, wherein, at least one mh, and each described Message processing journey are included in each described program bag
Sequence is corresponding with business function number;With the presence or absence of first provinces and cities mark pair at least one described program bag for judging to determine
The program bag answered, if so, obtaining business function No. the first that first message information includes;Judge first province town-brand
It whether there is mh corresponding to the business function No. first in program bag corresponding to knowledge, if so, utilizing described
Mh corresponding to business function No. one parses first message information to obtain business tine.
7. trusted systems according to claim 6, it is characterised in that
Provinces and cities' mark includes:Provinces and cities are referred to as;
The front subsystem, specifically for what is sent in the preposition application server for the provinces and cities' agent's system for receiving outside
During the first message information, the IP address of the preposition application server is obtained;Default provinces and cities' mechanism information table is inquired about, to obtain
First provinces and cities corresponding to the IP address are referred to as;
And/or
Include decryption class method in each described program bag;
First message information includes:The ciphertext of first message information;
The conversion platform subsystem, it is additionally operable to inquire about default provinces and cities' mechanism information table, is identified with obtaining first provinces and cities
Corresponding key;Specifically for by performing default first factory class method, judging at least one described program from determination
Bao Zhong, if program bag corresponding to the first provinces and cities mark can be found, if so, being identified by performing first provinces and cities
The decryption class method that corresponding program bag includes, to be reported using ciphertext described in the secret key decryption, first after being decrypted
The plaintext of literary information;Obtain business function No. the first that the plaintext includes.
8. trusted systems according to claim 6, it is characterised in that
Include default second factory class method in each described program bag;
The conversion platform subsystem, specifically for included by program bag corresponding to performing first provinces and cities mark the
Two factory's class methods, judge from program bag corresponding to first provinces and cities mark, if first business can be found
Mh corresponding to function number;
And/or
The conversion platform subsystem, it is additionally operable to be based on default data bank service middle table template, generates the business tine
Corresponding data bank service middle table, and the table name prefix of the data bank service middle table identifies including first provinces and cities;
Also include:It is commissioned service sub-system, for based on default data bank service middle table handling process, handling the number of generation
According to storehouse business middle table.
9. according to any described trusted systems in claim 6 to 8, it is characterised in that
The conversion platform subsystem includes:The newly-built unit of program bag;
Include in each described mh:Provinces and cities corresponding to program bag where itself identify;
The conversion platform subsystem, it is additionally operable to determine corresponding to each described mh in the message of message information
Hold;When judging to be not present program bag corresponding to first provinces and cities mark, at least one message determined is judged
In content, if it is consistent the message content of first message information of the either objective message content with getting to be present, if
It is that the triggering newly-built unit of described program bag is with program bag corresponding to the newly-built first provinces and cities mark, and it is true to perform the judgement
With the presence or absence of program bag corresponding to first provinces and cities mark in fixed at least one described program bag;
Wherein, the newly-built unit of described program bag, for the first dummy routine bag corresponding to the newly-built first provinces and cities mark;By described in
Mh corresponding to object message content is copied in the first dummy routine bag;Obtained Message processing journey will be replicated
Sequence is corresponding with the business function No. first, and the provinces and cities that the mh that duplication is obtained includes identify replacement
Identified for first provinces and cities;
Or,
Replicate the program bag where mh corresponding to the object message content;Obtained program bag and institute will be replicated
It is corresponding to state the first provinces and cities mark, and province's town-brand that each mh includes in the program bag that duplication is obtained
Knowledge replaces with the first provinces and cities mark.
10. trusted systems according to claim 9, it is characterised in that
The conversion platform subsystem, specifically for judging at least one message content for determining, if exist and appoint
One object message content, node species number in the object message content with the message content of first message information
Node species number is equal, and in the object message content in the message of the title of each node and first message information
In appearance each node title correspond and it is identical;
And/or
The conversion platform subsystem, it is additionally operable to when judging to be not present the object message content, newly-built first province
Second dummy routine bag corresponding to city's mark;Based on the message content of first message information, calculated and determined according to formula one
At least one message content in each message content similarity;It is determined that at least one similarity calculated
Maximum;Determine the purpose message content that similarity is the maximum;It is determined that be present in the purpose message content but
At least one first node being not present in the message content of first message information, and it is present in first message
In the message content of information but at least one section point for being not present in the purpose message content;By the purpose message
Purpose mh corresponding to content is copied in the second dummy routine bag;By the purpose mh and institute
State that business function No. the first is corresponding, and provinces and cities' mark that the purpose mh includes is replaced with described the
One provinces and cities mark, delete program in machine code corresponding to each described first node, increase corresponding to each described section point
Program in machine code;
Wherein, the formula one includes:
S=k1×n1+k2×n2
Wherein, S is the similarity, k1For the first default weight, n1For the number of at least one first node, k2For
Two default weights, n2For the number of at least one section point.
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 true CN107480286A (en) | 2017-12-15 |
CN107480286B 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)
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, device, system for forwarding message and device for receiving message |
CN101335708A (en) * | 2008-08-06 | 2008-12-31 | 杭州华三通信技术有限公司 | A message forwarding method and a carrier edge aggregation device |
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, device 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 |
-
2017
- 2017-08-24 CN CN201710736108.0A patent/CN107480286B/en active Active
Patent Citations (11)
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, device, system for forwarding message and device for receiving message |
CN101335708A (en) * | 2008-08-06 | 2008-12-31 | 杭州华三通信技术有限公司 | A message forwarding method and a carrier edge aggregation device |
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, device 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 |
---|---|
CN107480286B (en) | 2020-08-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100455566B1 (en) | Device and method for updating code | |
CN106874461A (en) | A kind of workflow engine supports multi-data source configuration security access system and method | |
US20060106748A1 (en) | System and method for orchestrating composite web services in constrained data flow environments | |
CN112583887B (en) | A method for trusted data sharing based on blockchain | |
CN105939284B (en) | The matching process and device of message control strategy | |
CN111026567A (en) | Blockchain-based handle identification coding system and method | |
CN109213790A (en) | A kind of data circulation analysis method and system based on block chain | |
CN107341096A (en) | The generation method and device of journal file, computer equipment and storage medium | |
CN104933188A (en) | Data synchronism system and method of patent individuation index | |
CN112804354A (en) | Method and device for data transmission across chains, computer equipment and storage medium | |
CN114793244B (en) | Resource processing method, device, equipment and medium for block chain | |
CN103067363A (en) | Index conversion method for public data integrity checking | |
CN105071966B (en) | Server is extracted in a kind of log information management method and daily record | |
CN107196936A (en) | Interface retransmission method, system, computer equipment and storage medium | |
CN100542109C (en) | Testing method, system and configuration method and system thereof | |
CN106603721A (en) | Remote control method and system and remote control client | |
CN110830500B (en) | Network attack tracking method and device, electronic equipment and readable storage medium | |
US20080155263A1 (en) | Systems and Methods for Tracking Electronic Files in Computer Networks Using Electronic Signatures | |
CN101159632B (en) | Network event processing method | |
CN107480286A (en) | A kind of message processing method and trusted systems | |
JP2022007690A (en) | Network service system, network management method and computer program | |
CN111367867A (en) | Log information processing method and device, electronic equipment and storage medium | |
CN112988740B (en) | A data storage method for distribution network based on multiple data sources | |
CN118210799A (en) | Index switching method, device and computer readable storage medium | |
CN115733687A (en) | System account login control method, device, server and readable 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 |