CN110580225A - Simulation method and device of service system - Google Patents
Simulation method and device of service system Download PDFInfo
- Publication number
- CN110580225A CN110580225A CN201910890710.9A CN201910890710A CN110580225A CN 110580225 A CN110580225 A CN 110580225A CN 201910890710 A CN201910890710 A CN 201910890710A CN 110580225 A CN110580225 A CN 110580225A
- Authority
- CN
- China
- Prior art keywords
- service
- request message
- service request
- module
- processing module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 74
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000012545 processing Methods 0.000 claims abstract description 92
- 230000004044 response Effects 0.000 claims abstract description 28
- 230000010365 information processing Effects 0.000 claims description 14
- 238000004590 computer program Methods 0.000 claims description 13
- 238000012795 verification Methods 0.000 claims description 5
- 238000004422 calculation algorithm Methods 0.000 claims description 4
- 238000012360 testing method Methods 0.000 abstract description 26
- 230000000694 effects Effects 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 12
- 230000006870 function Effects 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 4
- 230000006872 improvement Effects 0.000 description 2
- 238000013522 software testing Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011056 performance test Methods 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3684—Test management for test design, e.g. generating new test cases
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
the invention discloses a method and a device for simulating a service system, wherein the method comprises the following steps: receiving a service request message; analyzing the service request message to obtain a service system identifier and a service type identifier corresponding to the service request message; based on the service system identifier and the service type identifier, routing the service request message to a corresponding service simulation processing module, wherein the service simulation processing module is used for processing the service request message to obtain a service processing result of the service request message; and generating a service response message according to the service processing result, the service system identifier and the service type identifier of the service request message. The invention can realize the technical effects of improving the testing efficiency of the software system and reducing the testing cost.
Description
Technical Field
the present invention relates to the field of software system testing technologies, and in particular, to a method and an apparatus for simulating a service system.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
Because the number of insurance companies cooperating with banks is large, there are differences between the insurance companies; each time the system of the bank is upgraded, the bank needs to be tested by all cooperative insurance companies, a large amount of time and communication cost are consumed, rapid online cannot be guaranteed, and the bank can meet the increasing customer demands. Therefore, a device for simulating processing of the insurance company needs to be designed, so that when the internal of the bank system is modified and the insurance company cannot cooperate with the test, the correctness of the internal system of the bank can be verified by using the simulation device, the network overtime of the insurance company is simulated, the encryption and decryption are carried out, and the insurance company returns an abnormal message.
the existing simulation device has a part belonging to a hardware simulation device, a part used for simulating internal abnormity of a system and a part only used for performance test and configuring a return message. Devices suitable for a variety of scenarios are not designed for insurance services.
Disclosure of Invention
The embodiment of the invention provides a simulation method of a service system, which is used for solving the technical problems of low test efficiency and high cost caused by the fact that a plurality of service systems are required to be matched when a software system is tested in the prior art, and comprises the following steps: receiving a service request message; analyzing the service request message to obtain a service system identifier and a service type identifier corresponding to the service request message; based on the service system identifier and the service type identifier, routing the service request message to a corresponding service simulation processing module, wherein the service simulation processing module is used for processing the service request message to obtain a service processing result of the service request message; and generating a service response message according to the service processing result, the service system identifier and the service type identifier of the service request message.
The embodiment of the present invention further provides a simulation apparatus for a service system, which is used to solve the technical problems of low test efficiency and high cost caused by the need of matching a plurality of service systems when testing a software system in the prior art, and the apparatus includes: the session processing module is used for receiving a service request message; the message coding and decoding module is connected with the session processing module and is used for analyzing the service request message to obtain a service system identifier and a service type identifier corresponding to the service request message; the message routing module is connected with the message coding and decoding module and used for routing the service request message to the corresponding service simulation processing module based on the service system identifier and the service type identifier, wherein the service simulation processing module is used for processing the service request message to obtain a service processing result of the service request message; and the return information processing module is connected with the message routing module and used for generating a service response message according to the service processing result of the service request message, the service system identifier and the service type identifier.
The embodiment of the invention also provides a computer device, which is used for solving the technical problems of low testing efficiency and high cost caused by the fact that a plurality of service systems are required to be matched when a software system is tested in the prior art.
An embodiment of the present invention further provides a computer-readable storage medium, so as to solve the technical problems of low testing efficiency and high cost caused by the need of matching a plurality of service systems when testing a software system in the prior art.
In the embodiment of the invention, after receiving a service request message sent to a service system, the service request message is analyzed to obtain a service system identifier and a service type identifier corresponding to the service request message; then based on analysis to obtain service system identification and service type identification, the service request message is routed to the corresponding service simulation processing module, the service simulation processing module which receives the service request message processes the service request message to obtain the service processing result of the service request message, and finally, according to the service processing result of the service request message, the service system identification and the service type identification, the corresponding service response message is generated.
By the embodiment of the invention, for the software system test needing the cooperation of a plurality of peripheral service systems, the technical effects of improving the software system test efficiency and reducing the test cost can be realized by simulating the service systems.
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 described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
fig. 1 is a schematic diagram of a simulation apparatus of a service system provided in an embodiment of the present invention;
fig. 2 is a schematic diagram of an optional simulation apparatus of a service system provided in an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative banking insurance system simulation system provided in an embodiment of the present invention;
Fig. 4 is a flowchart of a simulation method of a service system according to 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 more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
In the description of the present specification, the terms "comprising," "including," "having," "containing," and the like are used in an open-ended fashion, i.e., to mean including, but not limited to. Reference to the description of the terms "one embodiment," "a particular embodiment," "some embodiments," "for example," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. The sequence of steps involved in the embodiments is for illustrative purposes to illustrate the implementation of the present application, and the sequence of steps is not limited and can be adjusted as needed.
An embodiment of the present invention provides a simulation apparatus of a service system, fig. 1 is a schematic diagram of the simulation apparatus of the service system provided in the embodiment of the present invention, and as shown in fig. 1, the apparatus may include: a session processing module 11, a message coding and decoding module 12, a message routing module 13 and a return information processing module 14.
The session processing module 11 is configured to receive a service request packet; the message coding and decoding module 12 is connected with the session processing module 11 and is used for analyzing the service request message to obtain a service system identifier and a service type identifier corresponding to the service request message; the message routing module 13 is connected with the message encoding and decoding module 12 and is used for routing the service request message to a corresponding service simulation processing module based on the service system identifier and the service type identifier, wherein the service simulation processing module is used for processing the service request message to obtain a service processing result of the service request message; and the return information processing module 14 is connected with the message routing module 13 and is used for generating a service response message according to the service processing result of the service request message, the service system identifier and the service type identifier.
Optionally, because communication protocols of different service systems may be different, in the simulation apparatus of a service system provided in the embodiment of the present invention, the session processing module 11 may receive a service request packet or send a service response packet based on a pre-configured communication protocol (e.g., socket, https, etc.). It should be noted that the message formats of the service request message and the service response message may be, but are not limited to, fixed length packets, XML, JSON, and the like.
It should be noted that, the simulation apparatus of the business system provided in the embodiment of the present invention may be, but is not limited to, connected to a software system to be tested (e.g., a banking system), and the received business request message may be, but is not limited to, a message sent by the software system to be tested to the business system (e.g., an insurance business system of each insurance company interfacing with the banking system).
It should be further noted that, in the embodiment of the present invention, the service simulation processing module may be a virtual module or an entity module, the module includes a process for processing the service request message, and different service systems and service simulation processing modules corresponding to different service types are different, by configuring association relationships between different service systems, different service types and different service simulation processing modules in advance, after the message encoding and decoding module 12 analyzes the service request message received by the session processing module 11 to obtain a service system identifier and a service type identifier corresponding to the service request message, the message routing module 13 may route the service request message to the service simulation processing module corresponding to the service system and the service type according to the service system identifier and the service type identifier obtained by analysis, and the service simulation processing module processes the service request message, obtaining a service processing result of the service request message; finally, the returned information processing module 14 generates a service response message of the service request message according to the service processing result, the service system identifier and the service type identifier of the service request message.
in the simulation apparatus of the service system provided in the embodiment of the present invention, after receiving a service request packet sent to the service system through the session processing module 11, the message coding and decoding module 12 parses the service request packet to obtain a service system identifier and a service type identifier corresponding to the service request packet; then, a service system identifier and a service type identifier are obtained through the message routing module 13 based on the analysis, the service request message is routed to the corresponding service simulation processing module, the service simulation processing module which receives the service request message processes the service request message to obtain a service processing result of the service request message, and finally, a corresponding service response message is generated through the return information processing module 14 according to the service processing result of the service request message, the service system identifier and the service type identifier.
By the aid of the service system simulation device, software system tests needing cooperation of a plurality of peripheral service systems can be realized, and technical effects of improving software system test efficiency and reducing test cost can be realized by simulating the service systems.
In an optional embodiment, when the service request packet received by the session processing module is an encrypted service request packet, as shown in fig. 2, the simulation apparatus of the service system provided in the embodiment of the present invention may further include: the encryption and decryption module 15 is connected to the session processing module 11 and the returned information processing module 14, respectively, and is configured to decrypt the encrypted service request message received by the session processing module or encrypt the service response message generated by the returned information processing module. The encryption and decryption modes of the encryption and decryption module 15 include, but are not limited to, 3DES, SM4, and the like.
In an optional embodiment, in a case that the service request packet is a service request packet added with a digital signature, as shown in fig. 2, the simulation apparatus of the service system provided in the embodiment of the present invention may further include: and the signature verification module 16 is connected with the session processing module 11 and the return information processing module 14, respectively, and is configured to verify the digital signature of the service request message and generate the digital signature of the service response message.
optionally, in an optional embodiment, as shown in fig. 2, the simulation apparatus of the service system provided in the embodiment of the present invention may further include: a parameter management module 17, configured to store at least one of the following parameters: encryption algorithm type, decryption algorithm type, encryption key, decryption key, service system identifier, service type identifier, digital certificate, timeout time. Through the parameter management module, the device is more flexible and more simulation, dependence on a peripheral service system is reduced, test cost is reduced, and test efficiency is improved.
Further, as shown in fig. 2, the simulation apparatus of the service system according to the embodiment of the present invention may further include: and the interface configuration module 18 is used for receiving the parameters configured by the user and outputting the information inquired by the user.
Optionally, in an optional embodiment, as shown in fig. 2, the simulation apparatus of the service system provided in the embodiment of the present invention may further include: and the log recording module 19 is used for recording log information. For example, each transaction log is recorded, and the log level can be divided into information, warning, exception, debugging and the like for statistical analysis.
Further, as shown in fig. 2, the simulation apparatus of the service system according to the embodiment of the present invention may further include: and the information statistics module 20 is used for counting data. For example, the transaction number, the processing time of each transaction, the error condition, the concurrent number, the total size of the received message, the total size of the returned message, and other data are counted.
based on any one of the optional embodiments described above, in an optional embodiment, as shown in fig. 2, the simulation apparatus of the service system provided in the embodiment of the present invention may further include: and the exception handling module 21 is configured to detect an exception condition of each module and handle the exception condition. The exception handling module 21 can handle the exception condition occurred in the analog device handling process.
It should be noted that the common module shown in fig. 2 refers to a general module of the simulation apparatus, and the common module may be called in each flow, or in one request flow, the common module may not be used, for example, the encryption/decryption module is not called if the service request message is not encrypted.
It should be noted that the simulation apparatus of the business system provided in the embodiment of the present invention may be, but is not limited to, a simulation apparatus interfacing with a bank insurance system for each insurance business system, and fig. 3 is a schematic diagram of a simulation system of an optional bank insurance business system provided in the embodiment of the present invention, and as shown in fig. 3, based on the simulation apparatus of the business system provided in the embodiment of the present invention, a simulation apparatus simulating insurance businesses of each insurance company is designed and connected with the bank insurance system, and when other systems of a bank connected with the bank insurance system need software testing, a business request message may be directly sent to the simulation apparatus of the insurance business, and a business response message returned therefrom is received, without interfacing with the business systems of each insurance company, so that software testing efficiency is greatly improved, and testing cost is reduced.
Optionally, the simulation apparatus of insurance service of fig. 3 may include: the method comprises the following steps: the system comprises a session processing module, an encryption and decryption module, a signature verification module, a message routing module, a returned information processing module, an exception processing module, an interface configuration module, a log recording module and an information statistics module; the session processing module receives a service request message from a bank insurance system according to a communication protocol configured by the receiving port; if the encryption, decryption and signature are used in agreement, the encryption, decryption module and the signature verification module are called; the message coding and decoding module analyzes the received message according to the appointed message format to acquire key information (such as insurance company codes and transaction codes); the message routing module acquires configuration information according to the insurance company code and the transaction code and routes the configuration information to the corresponding service simulation processing module; the returned information processing module reads the returned information according to the insurance company code and the transaction code and generates a message corresponding to the required service request; if the request is successfully returned to the bank insurance system, the request process is ended; otherwise, entering an exception handling module, generating corresponding error information and returning the error information to the bank insurance system, and ending the request process. In addition, the user can configure various parameters through the interface configuration module. Through the log recording and statistical information module, business transaction logs, transaction results or other statistical data can be checked.
Based on the same inventive concept, the embodiment of the present invention further provides a simulation method of a service system, as described in the following embodiments. Because the principle of the embodiment of the method for solving the problems is similar to that of the simulation device of the service system, the implementation of the embodiment of the method can be referred to the implementation of the device, and repeated details are not repeated.
Fig. 4 is a flow chart of a simulation method of a service system provided in the embodiment of the present invention, and as shown in fig. 4, the method may include the following steps:
S401, receiving a service request message.
It should be noted that the service request message may be, but is not limited to, a message sent by the software system to be tested to the service system; depending on the service system, the service request message may have different message formats. In addition, for a service system which needs to be encrypted and decrypted, the service request message may also be an encrypted service message; for a service system needing digital signature verification, the service request message may also be a service request message added with a digital signature; optionally, the service request message may also be a service request message added with a digital signature and encrypted.
S402, analyzing the service request message to obtain a service system identifier and a service type identifier corresponding to the service request message.
Specifically, since the processing flows of the service request messages of different service systems and different service types are different, after receiving the service request message, the service request message can be analyzed to obtain the service system identifier and the service type identifier of the service request message, so that the received service request message is processed by using the processing flows of the service request messages of the corresponding service systems and the corresponding service types.
and S403, based on the service system identifier and the service type identifier, routing the service request message to a corresponding service simulation processing module, where the service simulation processing module is configured to process the service request message to obtain a service processing result of the service request message.
It should be noted that, in the embodiment of the present invention, the service simulation processing module may be a virtual module or an entity module, where the module includes a process for processing a service request packet, and different service systems and different service types correspond to different service simulation processing modules, and by configuring an association relationship between different service systems, different service types and different service simulation processing modules in advance, after obtaining a corresponding service system identifier and a service type identifier by analyzing the service request packet through S402, the service request packet is routed to the service simulation processing module of the corresponding service system and the corresponding service type through S403, and the service simulation processing module processes the service request packet to obtain a service processing result of the service request packet.
s404, generating a service response message according to the service processing result, the service system identifier and the service type identifier of the service request message.
Specifically, after the service processing result corresponding to the service request message is obtained through S403, a service response message of the service request message is generated through S404 according to the service processing result, the service system identifier, and the service type identifier of the service request message, so as to be returned to the software system that sent the service request message.
In the method for simulating a service system provided in the embodiment of the present invention, after receiving a service request packet sent to a service system, the service request packet is analyzed to obtain a service system identifier and a service type identifier corresponding to the service request packet; then based on analysis to obtain service system identification and service type identification, the service request message is routed to the corresponding service simulation processing module, the service simulation processing module which receives the service request message processes the service request message to obtain the service processing result of the service request message, and finally, according to the service processing result of the service request message, the service system identification and the service type identification, the corresponding service response message is generated.
By the service system simulation method provided by the embodiment of the invention, the technical effects of improving the software system test efficiency and reducing the test cost can be realized by simulating the service system for the software system test needing the cooperation of a plurality of peripheral service systems.
As a first optional implementation manner, in a case that the service request packet received in S401 is an encrypted service request packet, after S401, the method for simulating a service system provided in the embodiment of the present invention may further include: decrypting the encrypted service request message based on a pre-configured decryption key; after S404, the method for simulating a service system provided in the embodiment of the present invention may further include: and encrypting the service response message based on a pre-configured encryption key to obtain an encrypted service response message.
As a second optional implementation manner, in a case that the service request packet received in S401 is a service request packet added with a digital signature, after S401, the method for simulating a service system provided in the embodiment of the present invention may further include: verifying the digital signature of the service request message based on a pre-configured digital certificate; after S404, the method for simulating a service system provided in the embodiment of the present invention may further include: and generating a digital signature of the service response message based on the pre-configured digital certificate.
As a third optional implementation manner, in a case that the service request packet received in S401 is an encrypted service request packet added with a digital signature, after S401, the method for simulating a service system provided in the embodiment of the present invention may further include: decrypting the encrypted service request message based on a pre-configured decryption key; verifying the digital signature of the decrypted service request message based on a pre-configured digital certificate; after S404, the method for simulating a service system provided in the embodiment of the present invention may further include: generating a digital signature of the service response message based on a pre-configured digital certificate; and based on a pre-configured encryption key, encrypting the service response message added with the digital signature to obtain the encrypted service response message added with the digital signature.
the embodiment of the present invention further provides a computer device, which is used to solve the technical problems of low testing efficiency and high cost caused by the need of matching a plurality of service systems when testing a software system in the prior art, and the computer device includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the processor implements any one of the optional or preferred simulation methods for the service systems.
An embodiment of the present invention further provides a computer-readable storage medium, so as to solve the technical problems of low testing efficiency and high cost caused by the need of matching multiple service systems when testing a software system in the prior art, where the computer-readable storage medium stores a computer program for executing any one of the optional or preferred simulation methods for the service systems.
In summary, the embodiments of the present invention provide a simulation apparatus and a simulation method for a business system, which are suitable for but not limited to insurance business of cooperation between a bank and an insurance company, and can fully cover the functions of the insurance company; the improvement efficiency of the internal system of the bank is improved, and the method is not dependent on an insurance company; the user is easy and convenient to operate, the abnormity between the user and an insurance company is easy to simulate, and the robustness of the internal system of the bank is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (10)
1. A method for simulating a business system, comprising:
Receiving a service request message;
Analyzing the service request message to obtain a service system identifier and a service type identifier corresponding to the service request message;
Based on the service system identifier and the service type identifier, routing the service request message to a corresponding service simulation processing module, wherein the service simulation processing module is used for processing the service request message to obtain a service processing result of the service request message;
And generating a service response message according to the service processing result, the service system identifier and the service type identifier of the service request message.
2. The method of claim 1, wherein the service request message is an encrypted service request message, the method further comprising:
Decrypting the encrypted service request message based on a pre-configured decryption key;
And encrypting the service response message based on a pre-configured encryption key to obtain an encrypted service response message.
3. The method according to claim 1 or 2, wherein the service request message is a service request message to which a digital signature is added, the method further comprising:
verifying the digital signature of the service request message based on a pre-configured digital certificate;
and generating a digital signature of the service response message based on a pre-configured digital certificate.
4. An apparatus for simulating a business system, comprising:
the session processing module is used for receiving a service request message;
The message coding and decoding module is connected with the session processing module and used for analyzing the service request message to obtain a service system identifier and a service type identifier corresponding to the service request message;
The message routing module is connected with the message coding and decoding module and used for routing the service request message to a corresponding service simulation processing module based on the service system identifier and the service type identifier, wherein the service simulation processing module is used for processing the service request message to obtain a service processing result of the service request message;
And the return information processing module is connected with the message routing module and is used for generating a service response message according to the service processing result, the service system identifier and the service type identifier of the service request message.
5. The apparatus of claim 4, wherein the service request message is an encrypted service request message, the apparatus further comprising:
and the encryption and decryption module is respectively connected with the session processing module and the returned information processing module and is used for decrypting the encrypted service request message received by the session processing module or encrypting the service response message generated by the returned information processing module.
6. the apparatus of claim 4, wherein the service request message is a service request message to which a digital signature is added, the apparatus further comprising:
and the signature verification module is respectively connected with the session processing module and the return information processing module and is used for verifying the digital signature of the service request message and generating the digital signature of the service response message.
7. The apparatus of claim 4, wherein the apparatus further comprises:
The parameter management module is used for storing at least one of the following parameters: encryption algorithm type, decryption algorithm type, encryption key, decryption key, service system identifier, service type identifier, digital certificate, timeout time.
8. The apparatus of any of claims 4 to 7, further comprising:
and the exception handling module is used for detecting the exception condition and handling the exception condition.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the simulation method of the business system according to any one of claims 1 to 3 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the simulation method of the business system of any one of claims 1 to 3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910890710.9A CN110580225A (en) | 2019-09-20 | 2019-09-20 | Simulation method and device of service system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910890710.9A CN110580225A (en) | 2019-09-20 | 2019-09-20 | Simulation method and device of service system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110580225A true CN110580225A (en) | 2019-12-17 |
Family
ID=68813153
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910890710.9A Pending CN110580225A (en) | 2019-09-20 | 2019-09-20 | Simulation method and device of service system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110580225A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111311261A (en) * | 2020-02-24 | 2020-06-19 | 中国工商银行股份有限公司 | Security processing method, device and system for online transaction |
CN112084109A (en) * | 2020-09-01 | 2020-12-15 | 中国银联股份有限公司 | System test method, apparatus, device and medium |
CN113127372A (en) * | 2021-05-18 | 2021-07-16 | 中国银行股份有限公司 | Mobile terminal APP test method and device |
CN113157382A (en) * | 2020-12-16 | 2021-07-23 | 建信金融科技有限责任公司 | Virtual drive-based equipment calling method and device |
CN114022278A (en) * | 2021-11-05 | 2022-02-08 | 光大科技有限公司 | Simulated transaction processing method and device |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917312A (en) * | 2010-09-01 | 2010-12-15 | 中国建设银行股份有限公司 | Performance test stimulator, and message package module, message packaging and sending method thereof |
US20140156557A1 (en) * | 2011-08-19 | 2014-06-05 | Jun Zeng | Providing a Simulation Service by a Cloud-Based Infrastructure |
CN104618182A (en) * | 2015-01-21 | 2015-05-13 | 中国移动通信集团广东有限公司 | Simulation testing system supporting a plurality of mobile service protocols |
CN105825428A (en) * | 2016-04-22 | 2016-08-03 | 中国农业银行股份有限公司 | Production simulation test method and system for commercial bank |
CN106487603A (en) * | 2015-08-26 | 2017-03-08 | 阿里巴巴集团控股有限公司 | A kind of response test method and device |
CN106506283A (en) * | 2016-12-08 | 2017-03-15 | 用友网络科技股份有限公司 | Bank and the service test method and device of enterprise's docking system |
CN106790206A (en) * | 2017-01-05 | 2017-05-31 | 厦门中控生物识别信息技术有限公司 | The protocol analysis method and device of operation system |
CN106875170A (en) * | 2016-07-22 | 2017-06-20 | 阿里巴巴集团控股有限公司 | A kind of method and device for business processing of intermediate business system |
CN107741903A (en) * | 2017-09-11 | 2018-02-27 | 平安科技(深圳)有限公司 | Application compatibility method of testing, device, computer equipment and storage medium |
CN108023922A (en) * | 2016-11-04 | 2018-05-11 | 阿里巴巴集团控股有限公司 | A kind of method, apparatus and system for issuing and setting configuration data |
CN109815138A (en) * | 2019-01-03 | 2019-05-28 | 深圳壹账通智能科技有限公司 | Business information test method, device, computer equipment and storage medium |
CN109831355A (en) * | 2019-01-28 | 2019-05-31 | 网联清算有限公司 | Test method, test device and medium |
US20190347189A1 (en) * | 2017-02-06 | 2019-11-14 | Visa International Service Association | Simulator for system testing |
-
2019
- 2019-09-20 CN CN201910890710.9A patent/CN110580225A/en active Pending
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917312A (en) * | 2010-09-01 | 2010-12-15 | 中国建设银行股份有限公司 | Performance test stimulator, and message package module, message packaging and sending method thereof |
US20140156557A1 (en) * | 2011-08-19 | 2014-06-05 | Jun Zeng | Providing a Simulation Service by a Cloud-Based Infrastructure |
CN104618182A (en) * | 2015-01-21 | 2015-05-13 | 中国移动通信集团广东有限公司 | Simulation testing system supporting a plurality of mobile service protocols |
CN106487603A (en) * | 2015-08-26 | 2017-03-08 | 阿里巴巴集团控股有限公司 | A kind of response test method and device |
CN105825428A (en) * | 2016-04-22 | 2016-08-03 | 中国农业银行股份有限公司 | Production simulation test method and system for commercial bank |
CN106875170A (en) * | 2016-07-22 | 2017-06-20 | 阿里巴巴集团控股有限公司 | A kind of method and device for business processing of intermediate business system |
CN108023922A (en) * | 2016-11-04 | 2018-05-11 | 阿里巴巴集团控股有限公司 | A kind of method, apparatus and system for issuing and setting configuration data |
CN106506283A (en) * | 2016-12-08 | 2017-03-15 | 用友网络科技股份有限公司 | Bank and the service test method and device of enterprise's docking system |
CN106790206A (en) * | 2017-01-05 | 2017-05-31 | 厦门中控生物识别信息技术有限公司 | The protocol analysis method and device of operation system |
US20190347189A1 (en) * | 2017-02-06 | 2019-11-14 | Visa International Service Association | Simulator for system testing |
CN107741903A (en) * | 2017-09-11 | 2018-02-27 | 平安科技(深圳)有限公司 | Application compatibility method of testing, device, computer equipment and storage medium |
CN109815138A (en) * | 2019-01-03 | 2019-05-28 | 深圳壹账通智能科技有限公司 | Business information test method, device, computer equipment and storage medium |
CN109831355A (en) * | 2019-01-28 | 2019-05-31 | 网联清算有限公司 | Test method, test device and medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111311261A (en) * | 2020-02-24 | 2020-06-19 | 中国工商银行股份有限公司 | Security processing method, device and system for online transaction |
CN111311261B (en) * | 2020-02-24 | 2023-07-21 | 中国工商银行股份有限公司 | Safe processing method, device and system for online transaction |
CN112084109A (en) * | 2020-09-01 | 2020-12-15 | 中国银联股份有限公司 | System test method, apparatus, device and medium |
CN113157382A (en) * | 2020-12-16 | 2021-07-23 | 建信金融科技有限责任公司 | Virtual drive-based equipment calling method and device |
CN113127372A (en) * | 2021-05-18 | 2021-07-16 | 中国银行股份有限公司 | Mobile terminal APP test method and device |
CN114022278A (en) * | 2021-11-05 | 2022-02-08 | 光大科技有限公司 | Simulated transaction processing method and device |
CN114022278B (en) * | 2021-11-05 | 2024-04-02 | 光大科技有限公司 | Analog transaction processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110580225A (en) | Simulation method and device of service system | |
Meyer et al. | Revisiting {SSL/TLS} implementations: New bleichenbacher side channels and attacks | |
CN111901327B (en) | Cloud network vulnerability mining method and device, electronic equipment and medium | |
TW201826772A (en) | Blockchain technology-based robust atm network system and information processing method therefor | |
CN108734028B (en) | Data management method based on block chain, block chain link point and storage medium | |
TWI564732B (en) | A method and apparatus for monitoring user requests to run in a decentralized system | |
CN110519260A (en) | A kind of information processing method and information processing unit | |
CN113366478A (en) | Auditing of instrument measurement data maintained in a blockchain using independently stored verification keys | |
US10824549B1 (en) | System and method for regression testing of an application programming interface | |
CN109376021A (en) | The response method and server that interface calls | |
García et al. | Certified side channels | |
CN106372497A (en) | Application programming interface (API) protection method and device | |
CN106130830B (en) | The test method and test device of safety equipment stability | |
CN109416716A (en) | Processing control apparatus, process control method and record have the recording medium of processing control program | |
CN112783787A (en) | Interface test method, device and system and electronic equipment | |
CN111488277A (en) | Node matching method, device, equipment and system | |
CN108566368A (en) | A kind of data processing method, server and diagnosis connector | |
CN111464384A (en) | Consistency test method and device for asynchronous messages | |
CN113205337A (en) | Transaction processing system and method | |
CN114567469B (en) | Application password type detection method and platform based on B/S mode | |
CN105446867B (en) | A kind of generation method and device of test data | |
CN116361833A (en) | Verification method and device and terminal equipment | |
CN115052053A (en) | Message processing method and simulator for bank system test | |
CN107451435B (en) | Management and control method, management and control machine and management and control system of hardware encryption machine | |
CN114745216A (en) | Dynamic access method and device |
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 |