CN109815138A - Business information test method, device, computer equipment and storage medium - Google Patents
Business information test method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109815138A CN109815138A CN201910004186.0A CN201910004186A CN109815138A CN 109815138 A CN109815138 A CN 109815138A CN 201910004186 A CN201910004186 A CN 201910004186A CN 109815138 A CN109815138 A CN 109815138A
- Authority
- CN
- China
- Prior art keywords
- business information
- interface
- channel
- business
- service
- 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
- 238000010998 test method Methods 0.000 title claims abstract description 14
- 238000012360 testing method Methods 0.000 claims abstract description 79
- 238000000034 method Methods 0.000 claims abstract description 25
- 241000208340 Araliaceae Species 0.000 claims description 48
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 claims description 48
- 235000003140 Panax quinquefolius Nutrition 0.000 claims description 48
- 235000008434 ginseng Nutrition 0.000 claims description 48
- 238000012795 verification Methods 0.000 claims description 30
- 238000004590 computer program Methods 0.000 claims description 24
- 238000004088 simulation Methods 0.000 claims description 11
- 230000004044 response Effects 0.000 claims description 10
- 238000004891 communication Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims 1
- 238000010606 normalization Methods 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000010365 information processing Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000001105 regulatory effect Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- BQCADISMDOOEFD-UHFFFAOYSA-N Silver Chemical compound [Ag] BQCADISMDOOEFD-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 229910052709 silver Inorganic materials 0.000 description 1
- 239000004332 silver Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Landscapes
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
This application involves a kind of business information test method, device, computer equipment and storage medium based on the field of test technology receives the service request that terminal uploads, and the service request carries business information, and the business information includes type of service;Analog channel corresponding with third square channel is selected according to the type of service;The business information is tested using the analog channel, obtains corresponding test result;Corresponding business operation is executed to the service request according to the test result, and corresponding prompt information is sent to the terminal.Dependence to external channel side can be effectively reduced using this method, improve the normalization of business information.
Description
Technical field
This application involves field of computer technology, set more particularly to a kind of business information test method, device, computer
Standby and storage medium.
Background technique
Financial institution the business such as can carry out loan, withhold, pay out by the channel of connection more banks.Most of silver
Capable channel is open to test environment when accessing for the first time, after waiting tests to pass through, does not then continue to open.Financial institution
When receiving the service request of business side, need just execute corresponding operation by test, and testing in environment can not benefit
It is accordingly tested with third square channel.If third party has modified the function in channel, needle can not be carried out if testing in environment
Test to property leads to not determine whether business information meets the requirements, brings inconvenience to business operation.Therefore, it reduces
The dependence of external channel, so that improving the normalization of business information becomes the current technical issues that need to address.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, a kind of dependence for reducing external channel is provided, to improve business
Business information test method, device, computer equipment and the storage medium of information norm.
A kind of business information test method, which comprises
The service request that terminal uploads is received, the service request carries business information, and the business information includes industry
Service type;
Analog channel corresponding with third square channel is selected according to the type of service;
The business information is tested using the analog channel, obtains corresponding test result;
Corresponding business operation is executed to the service request according to the test result, and corresponding prompt information is sent out
It send to the terminal.
In one of the embodiments, before the service request that the reception terminal uploads, the method also includes:
The interface document of third square channel is obtained, the interface document includes that multiple interfaces enter ginseng, interface goes out to join and industry
Business logic;
Enter ginseng using the interface, interface goes out to join and service logic simulation third square channel, the corresponding simulation of generation are logical
Road.
In one of the embodiments, it is described using the analog channel to the business information carry out test include:
Authentication is carried out to the business information using the analog channel;
After through authentication, ginseng is entered according to the business information and interface and carries out service logic verification;
After service logic verification passes through, go out to join return test result according to interface.
It is described in one of the embodiments, that according to interface, ginseng return test result includes: out
Go out interface to join corresponding multiple fields using the analog channel and assemble;
It is endorsed using the field after assembling according to the format of endorsing of third square channel, generates corresponding response message;
It obtains to the analog channel preconfigured white list rule, according to the business information and the white list
Rule returns to corresponding stateful transaction.
In one of the embodiments, it is described the business information is tested using the analog channel before,
The method also includes:
Obtain the corresponding format of endorsing of third square channel;
The business information is decrypted using the third square channel corresponding format of endorsing, the industry after being decrypted
Business information.
A kind of business information test device, which is characterized in that described device includes:
Communication module, for receiving the service request of terminal upload, the service request carries business information, the industry
Information of being engaged in includes type of service;
Selecting module, for selecting analog channel corresponding with third square channel according to the type of service;
Test module obtains corresponding test knot for testing using the analog channel the business information
Fruit;
Operation executing module, for executing corresponding business operation to the service request according to the test result;
The communication module is also used to corresponding prompt information being sent to the terminal.
Described device in one of the embodiments, further include:
Analog module, for obtaining the interface document of third square channel, the interface document includes that multiple interfaces enter ginseng, connect
Mouth goes out ginseng and service logic;For entering ginseng using the interface, interface goes out to join and service logic simulates third square channel, raw
At corresponding analog channel.
In one of the embodiments, the test module be also used to using the analog channel to the business information into
Row authentication;After through authentication, ginseng is entered according to the business information and interface and carries out service logic verification;?
After the service logic verification passes through, go out to join return test result according to interface.
A kind of computer equipment, including memory and processor, the memory are stored with and can run on a processor
Computer program, the processor realize the step in above-mentioned each embodiment of the method when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
The step in above-mentioned each embodiment of the method is realized when row.
Above-mentioned business information test method, device, computer equipment and storage medium, the business uploaded by receiving terminal
It requests, carries business information in service request.According to the type of service in business information, select corresponding with third square channel
Analog channel.Server by utilizing analog channel tests business information, according to obtained test result to service request
Corresponding business operation is executed, and corresponding prompt information is sent to terminal.Since analog channel is according to third square channel
Simulation generation is carried out, business information is tested using analog channel, that is, can verify that whether business information meets third party
Regulatory requirements.To, not in the case where testing environment open channel, be effectively reduced logical to third party in third party
The dependence of road side improves the normalization of business information.
Detailed description of the invention
Fig. 1 is the applied environment figure of business information test method in one embodiment;
Fig. 2 is the flow diagram of business information test method in one embodiment;
Fig. 3 is the flow diagram that analog channel step is generated in one embodiment;
Fig. 4 is the structural block diagram of business information test device in one embodiment;
Fig. 5 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Business information test method provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, eventually
End 102 is communicated by network with server 104.Wherein, server 104 receives the service request that terminal 102 uploads, business
Request carries business information, and business information includes type of service.Server 104 is according to type of service selection and third square channel
Corresponding analog channel.Server 104 tests business information using analog channel, obtains corresponding test result.
Server 104 executes corresponding business operation to service request according to test result, and corresponding prompt information is sent to end
End 102.Wherein, terminal 102 can be, but not limited to be various personal computers, laptop, tablet computer, server 104
It can be realized with the server cluster of the either multiple server compositions of independent server.
In one embodiment, as shown in Fig. 2, providing a kind of business information test method, it is applied to Fig. 1 in this way
In server for be illustrated, comprising the following steps:
Step 202, the service request that terminal uploads is received, service request carries business information, and business information includes industry
Service type.
Business side can upload service request to server by terminal.Business side can be personal, enterprise and trade company etc..
Service request can be loan requests, withhold and request and pay out request etc..Business information includes bank card, number, identity card letter
The plurality of kinds of contents such as breath.Type of service includes account service business, debit transaction, credit business.For example, personal in loan, industry
Business side uploads the service request of loan by terminal, and the service request that server receiving terminal uploads carries in loan requests
There are the business information such as residence booklet, identity card, bank card and number.Enterprise passes wage generation when paying out wages for employee, through terminal
The service request of hair, the service request for the wage generation hair that server receiving terminal uploads, carries multiple members in the service request
The bank card and wage number of work.
Step 204, analog channel corresponding with third square channel is selected according to type of service.
Corresponding analog channel can be generated on server previously according to third square channel.Wherein, server can obtain
The interface document of third square channel is taken, the interface document includes that multiple interfaces enter ginseng, interface goes out to join and service logic.Service
Device enters ginseng using the interface, interface goes out to join and service logic simulates third square channel, generates corresponding analog channel.
The same third party can have multiple third square channels, and different third parties can there are many different third parties to lead to
Road.Each third square channel can correspond to an analog channel.Each third square channel can handle a kind of type of service.Accordingly
, each analog channel also can handle a kind of type of service.
Server parses service request after receiving the service request that terminal uploads, and obtains corresponding business letter
Breath.It include type of service in business information.Server is according to the type of service carried in service request, selection and third square channel
Corresponding analog channel.
Further, when server accesses multiple third parties, analog channel can be corresponding with multiple.Server can be pre-
The corresponding priority of multiple analog channels is first configured, server can use analog channel according to corresponding priority to handle phase
Answer the service request of business side.For example, 5 business sides, wherein having 2 business sides corresponding is A bank, 2 business sides' correspondences
Be B bank, corresponding 1 business side be C bank, then the third party being currently accessed is exactly A bank, B bank, C bank.It is false
If the priority of A bank is higher than B bank, the priority of B bank is higher than C bank.Server is logical first with the simulation of A bank
Road handles the service request of A bank, recycles the service request of the analog channel processing B bank of B bank, finally utilizes C bank
Analog channel processing processing C bank service request, can be in the limited situation of server resource, according to service request
Urgency level handles the service request of corresponding service side, the reasonable distribution of server resource is realized, thus Optimum utilization service
Device resource.
Step 206, business information is tested using analog channel, obtains corresponding test result.
Server is after selecting analog channel corresponding with third square channel according to type of service, using analog channel
Business information is tested, corresponding test result is obtained.Specifically, analog channel described in server by utilizing is to the business
Information carries out authentication.After through authentication, ginseng is entered according to the business information and interface and carries out service logic
Verification goes out to join return test result according to interface after service logic verification passes through.
Step 208, corresponding business operation is executed to service request according to test result, and corresponding prompt information is sent out
It send to terminal.
Server is testing business information using analog channel, can be according to survey after obtaining corresponding test result
Test result executes corresponding business operation to service request, and corresponding prompt information is sent to terminal.Specifically, server
If obtain testing it is unsanctioned as a result, if refuse to execute the corresponding business operation of service request, and corresponding prompt information is sent out
It send to terminal, prompt information includes refusing the information of service request.Server if obtain test pass through as a result, if execute business
Corresponding business operation is requested, and corresponding prompt information is sent to terminal, prompt information includes the letter for executing service request
Breath.
For example, personal in loan, business side uploads the service request of loan by terminal, and server receiving terminal uploads
The service request, carry the business information such as residence booklet, identity card, bank card and number in loan requests.Server according to
The business information such as residence booklet, identity card, bank card and number select corresponding analog channel, using analog channel to service request
It is tested, if test passes through, server pays matching amount to bank card, and the prompt letter offered loans is returned to terminal
Breath.
For another example, enterprise uploads the service request of wage generation hair by terminal when paying out wages for employee, and server receives eventually
The service request of the wage generation hair uploaded is held, the bank card and wage number of multiple employees are carried in the service request.Clothes
Device be engaged according to the corresponding analog channel of bank card selection, service request is tested using analog channel, if test passes through,
Server pays corresponding wage number into each bank card, and the prompt information of wage generation hair is returned to terminal.
In the present embodiment, server, which passes through, receives the service request that terminal uploads, and business letter is carried in service request
Breath selects analog channel corresponding with third square channel according to the type of service in business information.Server by utilizing simulation is logical
Business information is tested in road, executes corresponding business operation to service request according to obtained test result, and will be corresponding
Prompt information be sent to terminal.Since analog channel is to carry out simulation generation according to third square channel, analog channel is utilized
Business information is tested, that is, can verify that whether business information meets third-party Regulatory requirements.To third party not
In the case where test environment open channel, the dependence to third square channel side can be effectively reduced, the rule of business information are improved
Plasticity.
In one embodiment, before receiving the service request that terminal uploads, this method further include: generate analog channel
The step of.As shown in figure 3, the step specifically includes:
Step 302, obtain third square channel interface document, interface document include multiple interfaces enter ginseng, interface go out join with
And service logic.
Step 304, enter ginseng, interface ginseng and service logic simulation third square channel out using interface, generate corresponding mould
Quasi- channel.
In the present embodiment, server obtains the interface document of third square channel, including multiple interfaces enter ginseng, interface goes out to join
And service logic.Wherein, it includes: version number, coding mode, certificate ID (IDentity), signature, signer that interface, which enters ginseng,
Method, type of transaction, transaction subclass, product type, access style, trade company's code, acquirer code, date of settlement, order hair
Send time, transaction amount, transaction currency type, Transaction Inquiries serial number, branch Payment Type, means of payment etc..It includes: version that interface, which goes out to join,
This number, coding mode, certificate ID (IDentity), signature, endorsement method, type of transaction, transaction subclass, product type, access
Type, trade company's code, acquirer code, date of settlement, order sending time, trade company's order number etc..The interface of distinct interface
Enter ginseng and interface goes out ginseng and can be different.
What service logic can be used for controlling business information executes sequence.The function that different business logic has is different.Clothes
Device of being engaged in obtains the service logic of third party's channel interface document, enters ginseng using interface, interface goes out to join and service logic simulation the
Three square channels generate corresponding analog channel.Server can be effectively reduced by simulation third square channel to external channel side
Dependence.
Further, if third square channel upgrades, server can be according to the interface text of the third square channel after upgrading
Shelves upgrade analog channel.Thus server can carry out needle to the performance of third channel after the upgrading of third square channel
Test to property can quickly support itself function modifications.
In one embodiment, carrying out test to business information using analog channel includes: using analog channel to business
Information carries out authentication;After through authentication, service logic school is carried out according to the ginseng that enters of business information and interface
It tests;After service logic verification passes through, go out to join return test result according to interface.
In the present embodiment, server by utilizing analog channel carries out authentication to business information, and business information includes industry
The identity information of business side, if authentication does not pass through, server directly terminates to test using the business information as exception information.If
Authentication passes through, and server enters ginseng according to business information and interface and carries out service logic verification.
Specifically, server enters ginseng according to interface and is verified.Wherein, it includes multiple fields that interface, which enters ginseng, for example, client
Name, gender, identification card number, phone, the bank of deposit, bank's card number, exchange hour, type of transaction, signature scheme etc..Server
The length of each field is verified, if the length of each field is wrong, verifies and does not pass through.If the length of each field is just
Really, then whether capable verification must be filled into field, if required field is not filled out, verifies and do not pass through.If required field all complete it is whole,
Verification passes through.Server to the length of field and whether must be filled into the sequence of row verification can be without limitation.When each field
Length it is all correct and whether must fill out when all completing whole, then server enters the verification that ginseng carries out according to interface and passes through, and verification is logical
It crosses and means that analog channel passes through verifying to the service request of business side.After the verifying that service request passes through analog channel,
Server goes out to join the result for returning to test and passing through according to interface.
For example, server by utilizing analog channel carries out authentication to the signing messages etc. in loan transaction information, in body
After part is verified, server enters ginseng according to loan interface and carries out service logic verification, and server can first enter loan interface
The length of multiple fields in ginseng is verified, if the length of multiple fields is incorrect, is verified and is not passed through.If multiple fields
Length is all correct, then whether must be filled into performing check to field, if required field is not filled out, verify and do not pass through.If required field is all
Complete it is whole, then verification pass through.
It in one embodiment, include: to go out to join by interface using analog channel according to the ginseng return test result that goes out of interface
Corresponding multiple fields are assembled;It is endorsed using field after assembling according to the format of endorsing of third square channel, generates phase
The response message answered;It obtains to analog channel preconfigured white list rule, is returned according to business information and white list rule
Return corresponding stateful transaction.
In the present embodiment, interface is gone out to join corresponding multiple fields and be assembled by server by utilizing analog channel, wherein
Multiple fields can be assembled into the field of JSON (Java Script Object Notation) format.Server by utilizing group
Field after dress is endorsed according to the format of endorsing of third square channel, generates corresponding response message.Wherein, response message
Message element include: message body, type of business, transaction journal number, date of settlement, recipient's account institutional affiliation mark,
Recipient's account, recipient's Account Type, dynamic short message associated code, transmitting mechanism identify, promoter account institutional affiliation identifies,
System response message etc..Response message is used to return the test result of server, and can return to stateful transaction, stateful transaction
It can be successfully or fail.
Server is obtained to analog channel preconfigured white list rule, is returned according to business information and white list rule
Return corresponding stateful transaction.Wherein, white list rule can be configured in advance, can also be asked according to the business of third square channel
Ask and configured, white list rule specifically includes: 1, specific card number returns to specific stateful transaction, and specific card number can be difference
Card, stateful transaction can be successfully or failure;2, particular address and type of transaction return to specific stateful transaction, specifically
Location can be IP address, network address;3, to bank's card number remainder, even number is returned successfully, and odd number returns to failure;4, all return at
Function.Server returns to the stateful transaction of corresponding success or failure according to business information and white list rule.In this implementation
In example, server is by carrying out authentication to business information and carries out service logic verification, and returns to corresponding test knot
Fruit, can determine whether business information meets third-party Regulatory requirements.
Further, analog channel may include multiple interfaces, can be interrelated between multiple interfaces, a upper interface
Interface goes out to join the interface that can be used as next interface and enters ginseng.For example, open account interface, send short messages account interface and verification it is short
Interface between letter interface enters that ginseng and interface goes out to join can be interrelated.It, can be with after the test for sending short message interface terminates
The interface is gone out to join, the interface as verification short message interface enters ginseng.Ginseng between the transmission short message interface and verification short message interface
There is association in number.
Further, business information is generated reconciliation file by server by utilizing analog channel, by reconciliation file write data
Library.Specifically, server by utilizing analog channel is by the exchange hour in flowing water information, type of transaction, transaction amount, both parties
The information such as identity information, account generate reconciliation file.Server, can be to the whole process of test environment by generating reconciliation file
It is verified, is settled accounts according to reconciliation file with third party it is possible thereby to facilitate, realize that the day trade transaction same day provides reconciliation text
Part and reconciliation.
In one embodiment, before being tested using analog channel business information, further includes: obtain third party
The corresponding format of endorsing in channel;Business information is decrypted using third square channel corresponding format of endorsing, after obtaining decryption
Business information.
In the present embodiment, server can also obtain before testing using analog channel business information
The corresponding mode of endorsing of three square channels, different third square channels can use different modes of endorsing, and the mode of endorsing refers to
Enter the endorsement method of ginseng, wherein enter ginseng endorsement method can there are many.For example, asymmetric signature, RSA (Rivest
Shamir Adleman, a kind of rivest, shamir, adelman) signature, SHA-256 (Secure Hash Algorithm 256, safety
Hashing algorithm), SM3 (a kind of Cryptographic Hash Function standard) etc..The corresponding format of endorsing of server by utilizing third square channel is to industry
Business information is decrypted, and carries out signature verification operations, the business information after being decrypted.
In the present embodiment, business information is decrypted in the corresponding format of endorsing of server by utilizing third square channel, obtains
Business information after to decryption can be improved the safety of business information, carry out authentication to the business information after decryption, real
The normalization of existing business information.
It should be understood that although each step in the flow chart of Fig. 2-3 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-3
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown in figure 4, providing a kind of business information processing unit, comprising: communication module 402,
Selecting module 404, test module 406 and operation executing module 408, in which:
Communication module 402, for receiving the service request of terminal upload, service request carries business information, business letter
Breath includes type of service.
Selecting module 404, for selecting analog channel corresponding with third square channel according to type of service.
Test module 406 obtains corresponding test result for testing using analog channel business information.
Operation executing module 408, for executing corresponding business operation to service request according to test result, and will be corresponding
Prompt information be sent to terminal.
Communication module 402 is also used to corresponding prompt information being sent to terminal.
In one embodiment, above-mentioned business information processing unit further includes analog module, and the analog module is for obtaining
The interface document of third square channel, interface document include that multiple interfaces enter ginseng, interface goes out to join and service logic;Entered using interface
Ginseng, interface go out to join and service logic simulates third square channel, generates corresponding analog channel.
In one embodiment, test module 406 is also used to carry out authentication to business information using analog channel;?
After authentication, ginseng is entered according to business information and interface and carries out service logic verification;Pass through in service logic verification
Later, go out to join according to interface and return to test result.
In one embodiment, test module 406 is also used to go out interface to join corresponding multiple fields using analog channel
It is assembled;It is endorsed using field after assembling according to the format of endorsing of third square channel, generates corresponding response message;It obtains
It takes to analog channel preconfigured white list rule, corresponding transaction shape is returned to according to business information and white list rule
State.
In one embodiment, above-mentioned business information processing unit further includes deciphering module, and the deciphering module is for obtaining
The corresponding format of endorsing of third square channel;Business information is decrypted using third square channel corresponding format of endorsing, is obtained
Business information after decryption.
Specific about business information test device limits the limit that may refer to above for business information test method
Fixed, details are not described herein.Modules in above-mentioned business information test device can fully or partially through software, hardware and its
Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with
It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding
Operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 5.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment is used for storage service information.The network interface of the computer equipment is used to pass through network with external terminal
Connection communication.To realize a kind of business information test method when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Fig. 5, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with
Computer program, the processor perform the steps of when executing computer program
The service request that terminal uploads is received, service request carries business information, and business information includes type of service;
Analog channel corresponding with third square channel is selected according to type of service;
Business information is tested using analog channel, obtains corresponding test result;
Corresponding business operation is executed to service request according to test result, and corresponding prompt information is sent to end
End.
In one embodiment, it is also performed the steps of when processor executes computer program and obtains third square channel
Interface document, interface document include that multiple interfaces enter ginseng, interface goes out to join and service logic;Enter ginseng using interface, interface goes out to join
And service logic simulates third square channel, generates corresponding analog channel.
In one embodiment, it also performs the steps of using analog channel when processor executes computer program to institute
It states business information and carries out authentication;After through authentication, enters to join carry out business according to business information and interface and patrol
Collect verification;After service logic verification passes through, go out to join return test result according to interface.
In one embodiment, also performing the steps of when processor executes computer program will be connect using analog channel
Mouth, which goes out to join corresponding multiple fields, to be assembled;Added using the field after assembling according to the format of endorsing of third square channel
Label, generate corresponding response message;It obtains to analog channel preconfigured white list rule, according to business information and white name
Single gauge then returns to corresponding stateful transaction.
In one embodiment, it is also performed the steps of when processor executes computer program and obtains third square channel pair
The format of endorsing answered;Business information is decrypted using third square channel corresponding format of endorsing, the business after being decrypted
Information.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
The step in the method for the various embodiments described above is realized when machine program is executed by processor:
The service request that terminal uploads is received, service request carries business information, and business information includes type of service;
Analog channel corresponding with third square channel is selected according to type of service;
Business information is tested using analog channel, obtains corresponding test result;
Corresponding business operation is executed to service request according to test result, and corresponding prompt information is sent to end
End.
In one embodiment, it is also performed the steps of when processor executes computer program and obtains third square channel
Interface document, interface document include that multiple interfaces enter ginseng, interface goes out to join and service logic;Enter ginseng using interface, interface goes out to join
And service logic simulates third square channel, generates corresponding analog channel.
In one embodiment, it also performs the steps of using analog channel when processor executes computer program to institute
It states business information and carries out authentication;After through authentication, enters to join carry out business according to business information and interface and patrol
Collect verification;After service logic verification passes through, go out to join return test result according to interface.
In one embodiment, also performing the steps of when processor executes computer program will be connect using analog channel
Mouth, which goes out to join corresponding multiple fields, to be assembled;Added using the field after assembling according to the format of endorsing of third square channel
Label, generate corresponding response message;It obtains to analog channel preconfigured white list rule, according to business information and white name
Single gauge then returns to corresponding stateful transaction.
In one embodiment, it is also performed the steps of when processor executes computer program and obtains third square channel pair
The format of endorsing answered;Business information is decrypted using third square channel corresponding format of endorsing, the business after being decrypted
Information.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of business information test method, which comprises
The service request that terminal uploads is received, the service request carries business information, and the business information includes service class
Type;
Analog channel corresponding with third square channel is selected according to the type of service;
The business information is tested using the analog channel, obtains corresponding test result;
Corresponding business operation is executed to the service request according to the test result, and corresponding prompt information is sent to
The terminal.
2. the method according to claim 1, wherein it is described reception terminal upload service request before, institute
State method further include:
The interface document of third square channel is obtained, the interface document includes that multiple interfaces enter ginseng, interface goes out to join and business is patrolled
Volume;
Enter ginseng, interface ginseng and service logic simulation third square channel out using the interface, generates corresponding analog channel.
3. the method according to claim 1, wherein it is described using the analog channel to the business information into
Row is tested
Authentication is carried out to the business information using the analog channel;
After through authentication, ginseng is entered according to the business information and interface and carries out service logic verification;
After service logic verification passes through, go out to join return test result according to interface.
4. according to the method described in claim 3, it is characterized in that, it is described according to interface go out join return test result include:
Go out interface to join corresponding multiple fields using the analog channel and assemble;
It is endorsed using the field after assembling according to the format of endorsing of third square channel, generates corresponding response message;
It obtains to the analog channel preconfigured white list rule, according to the business information and white list rule
Return to corresponding stateful transaction.
5. the method according to claim 1, wherein utilizing the analog channel to the business information described
Before being tested, the method also includes:
Obtain the corresponding format of endorsing of third square channel;
The business information is decrypted using the third square channel corresponding format of endorsing, the business letter after being decrypted
Breath.
6. a kind of operational trials device, which is characterized in that described device includes:
Communication module, for receiving the service request of terminal upload, the service request carries business information, the business letter
Breath includes type of service;
Selecting module, for selecting analog channel corresponding with third square channel according to the type of service;
Test module obtains corresponding test result for testing using the analog channel the business information;
Operation executing module, for executing corresponding business operation to the service request according to the test result;
The communication module is also used to corresponding prompt information being sent to the terminal.
7. device according to claim 6, which is characterized in that described device further include:
Analog module, for obtaining the interface document of third square channel, the interface document includes that multiple interfaces enter ginseng, interface goes out
Ginseng and service logic;Enter ginseng using the interface, interface goes out to join and service logic simulation third square channel, generation are corresponding
Analog channel.
8. device according to claim 6, which is characterized in that the test module is also used to utilize the analog channel pair
The business information carries out authentication;After through authentication, ginseng is entered according to the business information and interface and is carried out
Service logic verification;After service logic verification passes through, go out to join return test result according to interface.
9. a kind of computer equipment, including memory and processor, the memory are stored with the meter that can be run on a processor
Calculation machine program, which is characterized in that the processor realizes any one of claims 1 to 5 institute when executing the computer program
The step of stating method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of any one of claims 1 to 5 the method is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910004186.0A CN109815138A (en) | 2019-01-03 | 2019-01-03 | Business information test method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910004186.0A CN109815138A (en) | 2019-01-03 | 2019-01-03 | Business information test method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109815138A true CN109815138A (en) | 2019-05-28 |
Family
ID=66603823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910004186.0A Pending CN109815138A (en) | 2019-01-03 | 2019-01-03 | Business information test method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109815138A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110580225A (en) * | 2019-09-20 | 2019-12-17 | 中国银行股份有限公司 | Simulation method and device of service system |
CN110784374A (en) * | 2019-10-25 | 2020-02-11 | 上海中通吉网络技术有限公司 | Method, device, equipment and system for monitoring operation state of service system |
CN111294359A (en) * | 2020-02-27 | 2020-06-16 | 平安养老保险股份有限公司 | Pressure testing method and device, computer equipment and storage medium |
CN111666565A (en) * | 2020-06-22 | 2020-09-15 | 深圳壹账通智能科技有限公司 | Sandbox simulation test method and device, computer equipment and storage medium |
CN111831552A (en) * | 2020-06-08 | 2020-10-27 | 南通大学 | Automatic testing method for real-time user behavior system |
CN111901298A (en) * | 2020-06-22 | 2020-11-06 | 北京天融信网络安全技术有限公司 | Method and device for determining cloud short message platform during SSLVPN authentication and electronic equipment |
WO2021008119A1 (en) * | 2019-07-17 | 2021-01-21 | 创新先进技术有限公司 | Service processing method, apparatus, and device |
CN112508643A (en) * | 2020-12-03 | 2021-03-16 | 海腾保险代理有限公司 | Information processing method and device for quotation |
CN112598420A (en) * | 2020-11-23 | 2021-04-02 | 贝壳技术有限公司 | On-line regression verification method and device |
CN112994959A (en) * | 2019-12-02 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Service test control system, method, device and storage medium |
CN114257649A (en) * | 2020-09-25 | 2022-03-29 | 深圳市腾讯计算机系统有限公司 | Automatic test method, system and device |
CN114826623A (en) * | 2022-06-28 | 2022-07-29 | 云账户技术(天津)有限公司 | Mock test message processing method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040082032A (en) * | 2003-03-17 | 2004-09-24 | 하나로통신 주식회사 | Web-based Simulation Method of End-to-End VoIP Quality in Broadband Internet Service |
WO2006089386A1 (en) * | 2005-02-22 | 2006-08-31 | Nextair Corporation | Simulating an application for subsequent deployment to a device |
CN107277146A (en) * | 2017-06-26 | 2017-10-20 | 郑州云海信息技术有限公司 | A kind of distributed storage service traffics model generating method and system |
CN107688526A (en) * | 2017-08-25 | 2018-02-13 | 上海壹账通金融科技有限公司 | Performance test methods, device, computer equipment and the storage medium of application program |
-
2019
- 2019-01-03 CN CN201910004186.0A patent/CN109815138A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20040082032A (en) * | 2003-03-17 | 2004-09-24 | 하나로통신 주식회사 | Web-based Simulation Method of End-to-End VoIP Quality in Broadband Internet Service |
WO2006089386A1 (en) * | 2005-02-22 | 2006-08-31 | Nextair Corporation | Simulating an application for subsequent deployment to a device |
CN107277146A (en) * | 2017-06-26 | 2017-10-20 | 郑州云海信息技术有限公司 | A kind of distributed storage service traffics model generating method and system |
CN107688526A (en) * | 2017-08-25 | 2018-02-13 | 上海壹账通金融科技有限公司 | Performance test methods, device, computer equipment and the storage medium of application program |
Non-Patent Citations (2)
Title |
---|
孟燕;: "自动化测试技术中Mock框架的建设与应用", 武汉理工大学学报(信息与管理工程版), no. 03, 15 June 2017 (2017-06-15) * |
廖根健;: "面向测试能力提升的环境仿真构建研究与实践", 中国金融电脑, no. 12, 7 December 2018 (2018-12-07) * |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021008119A1 (en) * | 2019-07-17 | 2021-01-21 | 创新先进技术有限公司 | Service processing method, apparatus, and device |
CN110580225A (en) * | 2019-09-20 | 2019-12-17 | 中国银行股份有限公司 | Simulation method and device of service system |
CN110784374A (en) * | 2019-10-25 | 2020-02-11 | 上海中通吉网络技术有限公司 | Method, device, equipment and system for monitoring operation state of service system |
CN112994959A (en) * | 2019-12-02 | 2021-06-18 | 腾讯科技(深圳)有限公司 | Service test control system, method, device and storage medium |
CN112994959B (en) * | 2019-12-02 | 2022-05-31 | 腾讯科技(深圳)有限公司 | Service test control system, method, device and storage medium |
CN111294359A (en) * | 2020-02-27 | 2020-06-16 | 平安养老保险股份有限公司 | Pressure testing method and device, computer equipment and storage medium |
CN111294359B (en) * | 2020-02-27 | 2023-09-05 | 平安养老保险股份有限公司 | Pressure testing method, pressure testing device, computer equipment and storage medium |
CN111831552A (en) * | 2020-06-08 | 2020-10-27 | 南通大学 | Automatic testing method for real-time user behavior system |
CN111666565A (en) * | 2020-06-22 | 2020-09-15 | 深圳壹账通智能科技有限公司 | Sandbox simulation test method and device, computer equipment and storage medium |
CN111901298A (en) * | 2020-06-22 | 2020-11-06 | 北京天融信网络安全技术有限公司 | Method and device for determining cloud short message platform during SSLVPN authentication and electronic equipment |
CN114257649B (en) * | 2020-09-25 | 2023-05-12 | 深圳市腾讯计算机系统有限公司 | Automatic test method, system and device |
CN114257649A (en) * | 2020-09-25 | 2022-03-29 | 深圳市腾讯计算机系统有限公司 | Automatic test method, system and device |
CN112598420A (en) * | 2020-11-23 | 2021-04-02 | 贝壳技术有限公司 | On-line regression verification method and device |
CN112598420B (en) * | 2020-11-23 | 2023-05-09 | 贝壳技术有限公司 | Online regression verification method and device |
CN112508643A (en) * | 2020-12-03 | 2021-03-16 | 海腾保险代理有限公司 | Information processing method and device for quotation |
CN114826623B (en) * | 2022-06-28 | 2022-09-20 | 云账户技术(天津)有限公司 | Mock test message processing method and device |
CN114826623A (en) * | 2022-06-28 | 2022-07-29 | 云账户技术(天津)有限公司 | Mock test message processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109815138A (en) | Business information test method, device, computer equipment and storage medium | |
CN110782240B (en) | Business data processing method and device, computer equipment and storage medium | |
US10776101B2 (en) | Systems and methods for updatable applets | |
US10657502B2 (en) | Systems and methods for performing financial transactions | |
US9582830B2 (en) | Offsite financial account onboarding | |
US20180365662A1 (en) | System and method to protect a purchaser's account information during an electronic transaction | |
CN112801658B (en) | Cross-border resource transfer authenticity auditing method and device and electronic equipment | |
US12026704B2 (en) | System and method for assessing a digital interaction with a digital third party account service | |
CN109285069B (en) | Resource transfer method, device and server | |
CN110378755A (en) | Electronic invoice generation method, device, computer equipment and storage medium | |
US8341080B2 (en) | Offsite financial account onboarding | |
CN112116482A (en) | Financing data processing method and device based on block chain | |
KR20160140218A (en) | Financial open platform and method for providing financial service using identification information which replaces account number, and computer program for the same | |
CN109460963A (en) | Electronic signature method, apparatus, computer equipment and storage medium | |
CN110138743A (en) | Acquisition methods, device, computer equipment and the storage medium of resource bid file | |
US20230385891A1 (en) | Prototype message service | |
CN111709709A (en) | Information processing method, system and computer equipment based on warranty service | |
KR101737559B1 (en) | Apparatus and method for generating identification information for replacing account number, and computer program for the same | |
CN109801075A (en) | Method of payment, device, computer equipment and storage medium | |
CN109472661A (en) | Data processing method, system and computer equipment based on electronic contract | |
CN113988844A (en) | Service subscription method, device and system | |
CN110310196A (en) | Product demand application method, device, computer equipment and storage medium | |
US20240242188A1 (en) | Secure processing of central bank digital currency (cbdc) card payments | |
CN116644925A (en) | Financial business processing method, device, equipment and storage medium | |
CN114219478A (en) | Bank card binding method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |