CN108874565A - Baffle method of servicing and system - Google Patents

Baffle method of servicing and system Download PDF

Info

Publication number
CN108874565A
CN108874565A CN201810694786.XA CN201810694786A CN108874565A CN 108874565 A CN108874565 A CN 108874565A CN 201810694786 A CN201810694786 A CN 201810694786A CN 108874565 A CN108874565 A CN 108874565A
Authority
CN
China
Prior art keywords
content
response
request message
baffle
baffled
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810694786.XA
Other languages
Chinese (zh)
Inventor
唐翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201810694786.XA priority Critical patent/CN108874565A/en
Publication of CN108874565A publication Critical patent/CN108874565A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of baffle method of servicing and systems, are related to the technical field of baffle service, which includes:Receive the request message that requesting party sends, wherein requesting party is a component in goal systems associated component;The response mode of request message is determined according to pre- baffled content;The response message of request message is generated, based on response mode to send response message to requesting party.The present invention alleviates the larger technical problem of traditional baffle service limitation.

Description

Baffle method of servicing and system
Technical field
The present invention relates to the technical fields of baffle service, more particularly, to a kind of baffle method of servicing and system.
Background technique
Baffle service usually applies to during the synchronous development of the multiple associated components of system, in simulation associated component The service of response message obtained by requesting party, that is, use the purpose for shifting to an earlier date the multiple associated component joint debugging tests of simulated implementation.
Currently, baffle service is that simulate to obtain requesting party in associated component by the baffle content pre-defined resulting Response message.Specifically, the baffle content for corresponding to requesting party's transaction number is searched, then searches and hands over from above-mentioned baffle content Corresponding response message is easily numbered, using as the resulting response message of requesting party.In this tradition baffle service, obtained by requesting party Response message be in advance in baffle content and transaction number correspond establishment, that is, response message is present in baffle content In, response message is limited by pre-defined baffle content, and the service limitation of baffle service is larger.
For the biggish technical problem of service limitation of traditional baffle service, lack effective solution side in the prior art Case.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of baffle method of servicing and system, to alleviate traditional baffle clothes The business service biggish technical problem of limitation.
In a first aspect, the embodiment of the invention provides a kind of baffle method of servicing, including:
Receive the request message that requesting party sends, wherein the requesting party is a group in goal systems associated component Part;
The response mode of the request message is determined according to pre- baffled content;
The response message of the request message is generated, based on the response mode to send the response to the requesting party Message.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein root The response mode of the request message is determined according to pre- baffled content, including:
Transaction number included in the request message is parsed, and obtains the transaction from the pre- baffled content The configuration information of number;
Judge whether the configuration information configures and opens outer component call mode;
In the case where the configuration information configures and opens outer component call mode, by being asked described in the outer component responds Seek message.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides second of first aspect Possible embodiment, wherein the method also includes:
In the case where configuration information configuration is not turned on outer component call mode, looked into from the pre- baffled content Look for the dynamic returned packet rule with the presence or absence of the transaction number;
In the case where regular there are the dynamic returned packet in the pre- baffled content, returned by the dynamic Request message described in message rule dynamic response.
The possible embodiment of second with reference to first aspect, the embodiment of the invention provides the third of first aspect Possible embodiment, wherein the method also includes:
In the case where regular there is no the dynamic returned packet in the pre- baffled content, from described pre- baffled The predefined baffle there are the transaction number is searched whether in content;
There are in the case where the predefined baffle in the pre- baffled content, responded by the predefined baffle The request message.
The third possible embodiment with reference to first aspect, the embodiment of the invention provides the 4th kind of first aspect Possible embodiment, wherein the predefined baffle includes multiple response messages, and a response message correspond to it is same One transaction scene of transaction number responds the request message by the predefined baffle, including:
Obtain setting information, wherein the setting information is that the information of target transaction scene is arranged;
According to the setting information, response corresponding to the target transaction scene is obtained from multiple response messages Message;
The request message is responded by response message corresponding to the target transaction scene.
The third possible embodiment with reference to first aspect, the embodiment of the invention provides the 5th kind of first aspect Possible embodiment, wherein the method also includes:
In the case where the predefined baffle is not present in the pre- baffled content, mesh will be sent to the requesting party Mark information is determined as the response mode of the request message, wherein
The target information is to indicate that the request message has abnormal information.
With reference to first aspect, the embodiment of the invention provides the 6th kind of possible embodiments of first aspect, wherein institute The method of stating further includes:
Receive the modification information modified to the pre- baffled content;
It is modified according to the modification information to the pre- baffled content, obtains modification content;
The pre- baffled content is updated by the modification content.
The 6th kind of possible embodiment with reference to first aspect, the embodiment of the invention provides the 7th kind of first aspect Possible embodiment, wherein the request message that requesting party sends is received by the first network address, is received by the second network address to institute The modification information that pre- baffled content is modified is stated, and first network address and second network address are the same network address.
Second aspect, the embodiment of the present invention also provide a kind of baffle service system, including:
Receiving module, for receiving the request message of requesting party's transmission, wherein the requesting party is goal systems associated group A component in part;
Determining module, for determining the response mode of the request message according to pre- baffled content;
Generation module, for generating the response message of the request message based on the response mode, with to the request Side sends the response message.
The embodiment of the present invention brings following beneficial effect:
The baffle method of servicing includes:Receive the request message that requesting party sends, wherein requesting party is goal systems association A component in component;The response mode of request message is determined according to pre- baffled content;It is generated and is requested based on response mode The response message of message, to send response message to requesting party.In the baffle method of servicing, pre- baffled content determines request report The response mode of text, and different response modes generates different response messages, thus, the response message of request message is because of response Mode is different and different, and response message is no longer limited to pre-stored response message in baffle content, thus, alleviate tradition The biggish technical problem of service limitation of baffle service.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification and attached drawing Specifically noted structure is achieved and obtained.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart for baffle method of servicing that the embodiment of the present invention one provides;
Fig. 2 is a kind of side that request message response mode is determined according to pre- baffled content that the embodiment of the present invention one provides Method flow chart;
Fig. 3 is a kind of structural block diagram of baffle service system provided by Embodiment 2 of the present invention;
Fig. 4 is the structural block diagram of another baffle service system provided by Embodiment 2 of the present invention.
Icon:1- receiving module;2- determining module;3- generation module;100- request message parsing module;101- associated group Part calls forwarding module;102- dynamic message response module;The predetermined baffle message response module of 103-;The online baffle plate setting of 200- Service module;300- database.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
In current baffle service, response message is present in baffle content, and response message is by pre-defined baffle content Limitation, the service limitation of baffle service is larger.Based on this, a kind of baffle method of servicing provided in an embodiment of the present invention and it is System, can alleviate the larger technical problem of traditional baffle service limitation.
For convenient for understanding the present embodiment, first to the present invention relates to some terms explain:
(1) transaction message:The carrier that information is transmitted between each system component, is divided into request message and response message, usually For XML textual form.
(2) transaction number:It identifies the number of the business function of a transaction, is a nodal information in request message.
(3) associated component:There are the system components in message interaction system.
(4) dynamic response message:The structure and content of response message can change according to the content dynamic of request message.
(5) transaction scene:There are a variety of test cases (for example, having transaction successful story and transaction for same transaction number The case of failure), a transaction scene of same transaction number corresponds to a kind of test cases.
Embodiment one
A kind of baffle method of servicing provided in an embodiment of the present invention is applied in baffle service system, as shown in Figure 1, should Baffle method of servicing includes:
Step S102 receives the request message that requesting party sends, wherein requesting party is one in goal systems associated component A component.
Specifically, the request message sent to the serve port of baffle service system can be received by lasting monitoring. When primary legal request message is sent in baffle service system, baffle service system, can be with by parsing the request message Get the transaction number and other service related informations in request message.
Step S104 determines the response mode of request message according to pre- baffled content.
Specifically, the response mode of request message may include the responder of request message, response policy etc., that is, request The response mode of message is different, can be responder's difference, is also possible to response policy difference.
Step S106 generates the response message of request message based on response mode, to send response message to requesting party.
Specifically, it can be the address of service that response message is sent to requesting party.
In embodiments of the present invention, which includes:Receive the request message that requesting party sends, wherein ask The side of asking is a component in goal systems associated component;The response mode of request message is determined according to pre- baffled content;Base The response message of request message is generated in response mode, to send response message to requesting party.In the baffle method of servicing, preset Baffle content determines the response mode of request message, and different response modes generates different response messages, thus, request report The response message of text is different because of response mode difference, and response message is no longer limited to pre-stored response report in baffle content Text, thus, alleviate the biggish technical problem of service limitation of traditional baffle service.
Below to step S104, the response mode of request message is determined according to pre- baffled content, is described in detail:
In one optional embodiment of the embodiment of the present invention, as shown in Fig. 2, determining request report according to pre- baffled content The response mode of text, including:
Step S201, transaction number included in analysis request message, and obtain transaction from pre- baffled content and compile Number configuration information;
Step S202 judges whether configuration information configures and opens outer component call mode;
Step S203 is requested in the case where configuration information configures and opens outer component call mode by outer component responds Message.
Specifically, in this response mode by outer component responds request message:Firstly, to configuration information China and foreign countries component Address of service forward the request message content;Then, receive outer component for the returned packet of the request message, by the return Message is by the response message as this request message.Meanwhile can record the response message to database, to make backup note Record.
The embodiment of the present invention makes baffle method of servicing have outside component forwarding request message and forward to requesting party The ability of outer component responds message only supports baffle to return (that is, response message is present in gear relative to traditional baffle method of servicing Returned in plate content by baffle content) for, the baffle method of servicing which provides is opened in configuration information configuration In the case where opening outer component call mode, outer component is supported to return, realizes the switching that baffle returns and outer component returns, i.e., no longer It is confined to baffle return, is conducive to the biggish technical problem of service limitation for alleviating traditional baffle service.
In another optional embodiment of the embodiment of the present invention, as shown in Fig. 2, baffle method of servicing further includes:
Step S204, in the case where configuration information configuration is not turned on outer component call mode, from pre- baffled content Search whether the dynamic returned packet rule there are transaction number;
Step S205 is returned by dynamic and is reported in the case where regular there are dynamic returned packet in pre- baffled content Literary rule dynamic response request message.
Specifically, in this response mode by dynamic returned packet rule dynamic response request message:Firstly, calling Corresponding dynamic returned packet rule (message comprising response message generates logic in dynamic returned packet rule);Then, according to Related service information in request message, differentiation assemble the content of response message, the response message as this request message.
Baffle method of servicing provided in an embodiment of the present invention supports the content dynamic generation response message according to request field Content, response message content are no longer limited by the response message in baffle content, and the clothes for alleviating traditional baffle service are conducive to The larger technical problem of limitation of being engaged in.
In another optional embodiment of the embodiment of the present invention, as shown in Fig. 2, baffle method of servicing further includes:
Step S206, in the case where regular there is no dynamic returned packet in pre- baffled content, from it is pre- it is baffled in The predefined baffle there are transaction number is searched whether in appearance;
Step S207 is asked there are in the case where predefined baffle in pre- baffled content by the response of predefined baffle Seek message.
In the embodiment of the present invention, in this response mode by predefined baffle respond request message:Predefined baffle In be stored with response message, request message can then be directly obtained by the response message stored in predefined baffle and rung accordingly Message is answered, it is convenient and efficient.
In another optional embodiment of the embodiment of the present invention, predefined baffle includes multiple response messages, and one Response message corresponds to a transaction scene of same transaction number, by predefined baffle respond request message, including:
Obtain setting information, wherein setting information is that the information of target transaction scene is arranged;
According to setting information, response message corresponding to target transaction scene is obtained from multiple response messages;
Pass through response message respond request message corresponding to target transaction scene.
Specifically, setting information is obtained, can be and baffle service system is accessed based on user to send out to baffle service system The setting information sent, to reach the different trading floors for allowing user to complete same transaction number using the dynamic setting of the online page The switching of scape.
The baffle method of servicing provided in the embodiment of the present invention supports the different transaction scene response message contents of same transaction Customization, meet the demand of various aspects in baffle test job, to exploitation working efficiency promotion have very great help.
In another optional embodiment of the embodiment of the present invention, as shown in Fig. 2, baffle method of servicing further includes:
Step S208 will send target to requesting party in the case where predefined baffle is not present in pre- baffled content Information is determined as the response mode of request message, wherein
Target information is to indicate that request message has abnormal information.
Specifically, if predefined baffle is not present in pre- baffled content, show that the corresponding transaction of the request message is compiled Number it is not configured baffle, request message exists abnormal, and further, baffle service system assembles the message of the exception information, as this The response message of secondary request message.
Baffle method of servicing provided in an embodiment of the present invention deposits request message when abnormal, and request can understand direct Know on ground.
In another optional embodiment of the embodiment of the present invention, baffle method of servicing further includes:
Receive the modification information modified to pre- baffled content;
It is modified according to modification information to pre- baffled content, obtains modification content;
Pre- baffled content is updated by modifying content.
It should be noted that the pre- baffled content in the embodiment of the present invention includes at least following one:Corresponding to transaction The configuration information of number, corresponding to the dynamic returned packet rule of transaction number, corresponding to the predefined baffle of transaction number, after And modify to pre- baffled content, that is, above-mentioned configuration information, dynamic returned packet rule or predefined baffle are repaired Change.
Baffle method of servicing provided in an embodiment of the present invention then carries out pre- baffled content after receiving modification information Modification supports online modification baffle and makes to modify the function of coming into force in real time, without restarting baffle service system for modification baffle.
In another optional embodiment of the embodiment of the present invention, the request report that requesting party sends is received by the first network address Text receives the modification information modified to pre- baffled content by the second network address, and the first network address and the second network address are same One network address.
In the embodiment of the present invention, the first network address and the second network address are the same network address, that is, baffle service function with to baffle The function that service function is arranged online is externally issued with unified address format, convenient for reducing the operation of baffle service system Entrance.
Embodiment two
A kind of baffle service system provided in an embodiment of the present invention, as shown in figure 3, including:
Receiving module 1, for receiving the request message of requesting party's transmission, wherein requesting party is goal systems associated component In a component;
Determining module 2, for determining the response mode of request message according to pre- baffled content;
Generation module 3, for generating the response message of request message based on response mode, to send response report to requesting party Text.
Specifically, it is determined that module 2 is by parsing the request message, available transaction number into request message and its His service related information.The response mode of request message is determined then in conjunction with pre- baffled content.
In embodiments of the present invention, receiving module 1 receives the request message that requesting party sends, wherein requesting party is target A component in system relationship component;Determining module 2 determines the response mode of request message according to pre- baffled content;It generates Module 3 generates the response message of request message based on response mode, to send response message to requesting party.The baffle service system The response mode of request message is determined by pre- baffled content, and different response modes generates different response messages, from And the response message of request message is different because of response mode difference, response message is no longer limited to deposit in advance in baffle content The response message of storage, thus, alleviate the biggish technical problem of service limitation of traditional baffle service.
In one optional embodiment of the embodiment of the present invention, determining module 2 includes:
Resolution unit for transaction number included in analysis request message, and is obtained from pre- baffled content and is handed over The configuration information easily numbered;
Judging unit opens outer component call mode for judging whether configuration information configures;
First response unit, for passing through outer component in the case where configuration information configures and opens outer component call mode Respond request message.
In another optional embodiment of the embodiment of the present invention, determining module 2 further includes:
First searching unit, for configuration information configuration be not turned on outer component call mode in the case where, from default gear The dynamic returned packet rule there are transaction number is searched whether in plate content;
Second response unit, in the case where regular there are dynamic returned packet in pre- baffled content, by dynamically returning Return message rule dynamic response request message.
In another optional embodiment of the embodiment of the present invention, determining module 2 further includes:
Second searching unit, for it is regular there is no dynamic returned packet in pre- baffled content in the case where, from pre- The predefined baffle there are transaction number is searched whether in baffled content;
Third response unit, for, there are in the case where predefined baffle, passing through predefined gear in pre- baffled content Plate respond request message.
In another optional embodiment of the embodiment of the present invention, predefined baffle includes multiple response messages, and one Response message corresponds to a transaction scene of same transaction number, and third response unit is used for:
Obtain setting information, wherein setting information is that the information of target transaction scene is arranged;
According to setting information, response message corresponding to target transaction scene is obtained from multiple response messages;
Pass through response message respond request message corresponding to target transaction scene.
In another optional embodiment of the embodiment of the present invention, baffle service system further includes:
4th response unit will be to requesting party in the case where for predefined baffle to be not present in pre- baffled content Send the response mode that target information is determined as request message, wherein
Target information is to indicate that request message has abnormal information.
In another optional embodiment of the embodiment of the present invention, baffle service system further includes:Update module is used for:
Receive the modification information modified to pre- baffled content;
It is modified according to modification information to pre- baffled content, obtains modification content;
Pre- baffled content is updated by modifying content.
In another optional embodiment of the embodiment of the present invention, baffle service system receives requesting party by the first network address The request message of transmission receives the modification information modified to pre- baffled content by the second network address, and the first network address and Second network address is the same network address.
It should be noted that baffle service system can also be using as schemed in the specific build process of the baffle service system Structure shown in 4, specifically, the baffle service system include request message parsing module 100, associated component calling forwarding module 101, dynamic message response module 102, predetermined baffle message response module 103, online baffle plate setting service module 200, data Library 300, wherein
Request message parsing module 100 is realized in above-mentioned determining module 2 to the function of request message parsing;
Be stored with pre- baffled content in database 300, database 300 called respectively with associated component forwarding module 101, Dynamic message response module 102 and the connection of predetermined baffle message response module 103, so that the reading of these three modules is pre- baffled Content;
Associated component calls forwarding module 101 also to connect with outer component, realizes above-mentioned resolution unit, judging unit and first The function of response unit;
Dynamic message response module 102 realizes the function of above-mentioned first searching unit and the second response unit;
Predetermined baffle message response module 103 realizes the function of above-mentioned second searching unit and third response unit;
Online baffle plate setting service module 200 is also connected with database 300, realizes the function of above-mentioned update module.
It is emphasized that being not limited in the specific build process of baffle service system using one kind shown in Fig. 4 Structure, as long as can be realized the baffle service in embodiment one.
Baffle method of servicing and the computer program product of system provided by the embodiment of the present invention, including store program The computer readable storage medium of code, the instruction that said program code includes can be used for executing described in previous methods embodiment Method, specific implementation can be found in embodiment of the method, details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description It with the specific work process of device, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition Concrete meaning in invention.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical", The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation, It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.
In addition, term " first ", " second ", " third " are used for description purposes only, it is not understood to indicate or imply phase To importance.
Finally it should be noted that:Embodiment described above, only a specific embodiment of the invention, to illustrate the present invention Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, those skilled in the art should understand that:Anyone skilled in the art In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. a kind of baffle method of servicing, which is characterized in that including:
Receive the request message that requesting party sends, wherein the requesting party is a component in goal systems associated component;
The response mode of the request message is determined according to pre- baffled content;
The response message of the request message is generated, based on the response mode to send the response report to the requesting party Text.
2. the method according to claim 1, wherein determining the sound of the request message according to pre- baffled content Mode is answered, including:
Transaction number included in the request message is parsed, and obtains the transaction number from the pre- baffled content Configuration information;
Judge whether the configuration information configures and opens outer component call mode;
In the case where the configuration information configures and opens outer component call mode, reported by being requested described in the outer component responds Text.
3. according to the method described in claim 2, it is characterized in that, further including:
In the case where configuration information configuration is not turned on outer component call mode, searching from the pre- baffled content is It is no that there are the dynamic returned packet rules of the transaction number;
In the case where regular there are the dynamic returned packet in the pre- baffled content, pass through the dynamic returned packet Request message described in regular dynamic response.
4. according to the method described in claim 3, it is characterized in that, further including:
In the case where regular there is no the dynamic returned packet in the pre- baffled content, from the pre- baffled content In search whether predefined baffle there are the transaction number;
There are in the case where the predefined baffle in the pre- baffled content, by described in the predefined baffle response Request message.
5. according to the method described in claim 4, it is characterized in that, the predefined baffle includes multiple response messages, and one A response message corresponds to a transaction scene of same transaction number, responds the request by the predefined baffle and reports Text, including:
Obtain setting information, wherein the setting information is that the information of target transaction scene is arranged;
According to the setting information, response report corresponding to the target transaction scene is obtained from multiple response messages Text;
The request message is responded by response message corresponding to the target transaction scene.
6. according to the method described in claim 4, it is characterized in that, further including:
In the case where the predefined baffle is not present in the pre- baffled content, target letter will be sent to the requesting party Breath is determined as the response mode of the request message, wherein
The target information is to indicate that the request message has abnormal information.
7. the method according to claim 1, wherein further including:
Receive the modification information modified to the pre- baffled content;
It is modified according to the modification information to the pre- baffled content, obtains modification content;
The pre- baffled content is updated by the modification content.
8. the method according to the description of claim 7 is characterized in that
By the first network address receive requesting party send request message, by the second network address receive to the pre- baffled content into The modification information of row modification, and first network address and second network address are the same network address.
9. a kind of baffle service system, which is characterized in that including:
Receiving module, for receiving the request message of requesting party's transmission, wherein the requesting party is in goal systems associated component A component;
Determining module, for determining the response mode of the request message according to pre- baffled content;
Generation module, for generating the response message of the request message based on the response mode, to be sent out to the requesting party Send the response message.
10. system according to claim 9, which is characterized in that the determining module includes:
Resolution unit is obtained for parsing transaction number included in the request message, and from the pre- baffled content Take the configuration information of the transaction number;
Judging unit opens outer component call mode for judging whether the configuration information configures;
First response unit is used in the case where the configuration information configures and opens outer component call mode, by described outer Request message described in component responds.
CN201810694786.XA 2018-06-28 2018-06-28 Baffle method of servicing and system Pending CN108874565A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810694786.XA CN108874565A (en) 2018-06-28 2018-06-28 Baffle method of servicing and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810694786.XA CN108874565A (en) 2018-06-28 2018-06-28 Baffle method of servicing and system

Publications (1)

Publication Number Publication Date
CN108874565A true CN108874565A (en) 2018-11-23

Family

ID=64296809

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810694786.XA Pending CN108874565A (en) 2018-06-28 2018-06-28 Baffle method of servicing and system

Country Status (1)

Country Link
CN (1) CN108874565A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688029A (en) * 2019-01-28 2019-04-26 浪潮金融信息技术有限公司 A kind of method and system at the simulation end P applied to financial self-service equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6779072B1 (en) * 2000-07-20 2004-08-17 Silicon Graphics, Inc. Method and apparatus for accessing MMR registers distributed across a large asic
US20130346639A1 (en) * 2012-06-21 2013-12-26 Jonathan Stroud Systems and methods for programming configurable logic devices via usb
CN104463584A (en) * 2014-11-13 2015-03-25 广东优迈信息通信股份有限公司 Method for achieving mobile terminal App safety payment
CN105389256A (en) * 2015-11-11 2016-03-09 中国建设银行股份有限公司 Unit testing method and system
CN105718437A (en) * 2016-01-19 2016-06-29 《中国学术期刊(光盘版)》电子杂志社有限公司 Method and device for intelligently splitting electronic document format file on small-screen device
CN106027330A (en) * 2016-05-23 2016-10-12 中国银行股份有限公司 Message testing method for front-end system, and simulation baffle system
CN107656874A (en) * 2017-11-07 2018-02-02 中国银行股份有限公司 A kind of interface test method, device, simulation baffle plate and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6779072B1 (en) * 2000-07-20 2004-08-17 Silicon Graphics, Inc. Method and apparatus for accessing MMR registers distributed across a large asic
US20130346639A1 (en) * 2012-06-21 2013-12-26 Jonathan Stroud Systems and methods for programming configurable logic devices via usb
CN104463584A (en) * 2014-11-13 2015-03-25 广东优迈信息通信股份有限公司 Method for achieving mobile terminal App safety payment
CN105389256A (en) * 2015-11-11 2016-03-09 中国建设银行股份有限公司 Unit testing method and system
CN105718437A (en) * 2016-01-19 2016-06-29 《中国学术期刊(光盘版)》电子杂志社有限公司 Method and device for intelligently splitting electronic document format file on small-screen device
CN106027330A (en) * 2016-05-23 2016-10-12 中国银行股份有限公司 Message testing method for front-end system, and simulation baffle system
CN107656874A (en) * 2017-11-07 2018-02-02 中国银行股份有限公司 A kind of interface test method, device, simulation baffle plate and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688029A (en) * 2019-01-28 2019-04-26 浪潮金融信息技术有限公司 A kind of method and system at the simulation end P applied to financial self-service equipment

Similar Documents

Publication Publication Date Title
CN103973741B (en) Method and apparatus for carrying out remote debugging in cloud system
CN102647482B (en) Method and system for accessing website
CN109150572B (en) Method, device and computer readable storage medium for realizing alarm association
CN109495308A (en) A kind of automation operational system based on management information system
CN101930400A (en) SDK (Software Development Kit) automatic test system and method
CN103283209A (en) Application service platform system and implementation method thereof
JP2002108728A (en) Method for inserting fault information and provider facility
US7047526B1 (en) Generic command interface for multiple executable routines
CN114791846B (en) Method for realizing observability aiming at cloud-originated chaos engineering experiment
CN105208047A (en) Online and off line methods of distributed system server, and server
CN105320522B (en) Service-oriented architecture based XBRL application platform
CN104899134B (en) Domain name registration service device automatization test system and method
CN109062619A (en) Third party stores equipment Explore of Unified Management Ideas, system, device and storage medium
CN103166980A (en) Internet data pulling method and system
CN105468619A (en) Resource distribution method and device used for database connection pool
CN109271172A (en) A kind of host behavior extension method and device of swarm cluster
CN101931557A (en) User behaviour auditing method and system
CN113626128B (en) Audio-visual media micro-service third-party module access method, system and electronic equipment
CN107222575B (en) The method that OPC is communicated between realization industrial control equipment
CN116048467A (en) Micro-service development platform and business system development method
CN108874565A (en) Baffle method of servicing and system
CN112291264B (en) Security control method, device, server and storage medium
CN110061876A (en) The optimization method and system of O&M auditing system
CN108052286A (en) A kind of method, apparatus and equipment for managing heterogeneous storage devices
CN114745280B (en) Asset information management method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181123