Summary of the invention
The embodiment of the present application technical matters to be solved is to provide a kind of abnormal problem localization method, can orient abnormal problem more accurately in system interaction.
Accordingly, the embodiment of the present application additionally provides a kind of abnormal problem locating device, in order to ensure the implementation and application of said method.
In order to solve the problem, this application discloses a kind of abnormal problem localization method, comprising:
The first system receives first mechanism's return code that second system sends;
The first system according to the mechanism's return code set up in advance and the mapping relations of translating between return code, determine described first mechanism's return code corresponding first translate return code;
The first system sends described first to the 3rd system and translates return code, to make described 3rd system determine that described first translates abnormal problem official documents and correspondence corresponding to return code according to the corresponding relation of translating between return code with abnormal problem official documents and correspondence set up in advance, in described abnormal problem official documents and correspondence, at least comprise abnormal problem.
Further, at described the first system according to the mechanism's return code set up in advance and the mapping relations of translating between return code, determine described first mechanism's return code corresponding first translate return code before, also comprise:
Described the first system inquires about the corresponding relation between mechanism's return code and result set up in advance, determines the first result that described first mechanism's return code is corresponding;
Described the first system according to the mechanism's return code set up in advance and the mapping relations of translating between return code, determine described first mechanism's return code corresponding first translate return code, comprising:
When described first result be unsuccessfully time, the first system according to the mechanism's return code set up in advance and the mapping relations of translating between return code, determine described first mechanism's return code corresponding first translate return code.
Further, abnormal problem solution is also comprised in described abnormal problem official documents and correspondence.
The embodiment of the present application also discloses a kind of abnormal problem localization method, comprising:
Return code is translated in first of 3rd system acceptance the first system transmission, wherein, described first to translate return code be described the first system after receiving first mechanism's return code that second system sends, according to the mechanism's return code set up in advance and the mapping relations of translating between return code, what the described first mechanism's return code determined was corresponding translates return code;
According to the corresponding relation of translating between return code with abnormal problem official documents and correspondence set up in advance, described 3rd system determines that described first translates abnormal problem official documents and correspondence corresponding to return code, at least comprise abnormal problem in described abnormal problem official documents and correspondence.
Further, described method also comprises:
Described 3rd system sends described first to user terminal and/or Quaternary system system and translates abnormal problem official documents and correspondence corresponding to return code.
Further, abnormal problem solution is also comprised in described abnormal problem official documents and correspondence.
The embodiment of the present application also discloses a kind of abnormal problem locating device, comprising:
First receiving element, is configured to the first mechanism's return code receiving second system transmission;
Map unit, is configured to according to mechanism's return code of setting up in advance and the mapping relations of translating between return code, determine described first mechanism's return code corresponding first translate return code;
First transmitting element, be configured to send described first to the 3rd system and translate return code, to make described 3rd system determine that described first translates abnormal problem official documents and correspondence corresponding to return code according to the corresponding relation of translating between return code with abnormal problem official documents and correspondence set up in advance, in described abnormal problem official documents and correspondence, at least comprise abnormal problem.
Further, also comprise:
Result determining unit, be configured to described map unit determine described first mechanism's return code corresponding first translate return code before, inquire about the corresponding relation between mechanism's return code and result set up in advance, determine the first result that described first mechanism's return code is corresponding;
Described map unit, be specifically configured to when described first result be unsuccessfully time, the first system according to the mechanism's return code set up in advance and the mapping relations of translating between return code, determine described first mechanism's return code corresponding first translate return code.
Further, abnormal problem solution is also comprised in described abnormal problem official documents and correspondence.
The embodiment of the present application also discloses a kind of abnormal problem locating device, comprising:
Second receiving element, be configured to receive first of the first system transmission and translate return code, wherein, described first to translate return code be described the first system after receiving first mechanism's return code that second system sends, according to the mechanism's return code set up in advance and the mapping relations of translating between return code, what the described first mechanism's return code determined was corresponding translates return code;
Positioning problems unit, the corresponding relation of translating between return code with abnormal problem official documents and correspondence be configured to according to setting up in advance determines that described first translates abnormal problem official documents and correspondence corresponding to return code, at least comprises abnormal problem in described abnormal problem official documents and correspondence.
Further, described device also comprises:
Second transmitting element, is configured to send described first to user terminal and/or Quaternary system system and translates abnormal problem official documents and correspondence corresponding to return code.
Further, abnormal problem solution is also comprised in described abnormal problem official documents and correspondence.
Compared with prior art, the embodiment of the present application comprises following advantage:
The embodiment of the present application is by set up mechanism return code and the mapping relations of translating between return code, and the corresponding relation of translating between return code and abnormal problem official documents and correspondence, exception between each system link that reports an error is got through, when occurring abnormal problem, when mechanism's return code is translated, avoid the loss of the original semantic of abnormal problem, achieve the accurate location to abnormal problem.
Embodiment
For enabling above-mentioned purpose, the feature and advantage of the application more become apparent, below in conjunction with the drawings and specific embodiments, the application is described in further detail.
With reference to Fig. 1, show the flow chart of steps of a kind of abnormal problem localization method embodiment of the application, specifically can comprise the steps:
Step 101, the first system receives first mechanism's return code that second system sends.
The first system, between second system and the 3rd system, connect that it is mutual to realize.This second system is provided with the corresponding relation of mechanism's return code and result.Second system obtains the first result after carrying out data processing, then the first mechanism return code corresponding with this first result is sent to the first system.After the first system receives this first mechanism return code, perform step 102.
Step 102, the first system according to the mechanism's return code set up in advance and the mapping relations of translating between return code, determine first mechanism's return code corresponding first translate return code.
In a particular embodiment, second system may have multiple, and each second system has a set of mechanism return code of oneself, for a same abnormal problem (as Sorry, your ticket has not enough value), different second systems can return different mechanism's return codes, for reducing the understanding cost of the 3rd system, this the first system can as the intermediate translation between second system and the 3rd system, mechanism's return code is changed into and translates return code and (as unified 100 different mechanism's return codes that Sorry, your ticket has not enough value are changed into and translate return code alierr11001, represent that Sorry, your ticket has not enough value), to reduce system understanding cost.
In order to realize translating the mapping relations needing set up mechanism return code in advance and translate between return code, these mapping relations can be set up according to artificial experience or experimental result, when newly-increased second system, or when second system increases mechanism's return code newly, these mapping relations can according to new content synchronized update.These mapping relations can be stored in the first system, also can be stored in unified data platform.The first system after receiving first mechanism's return code that second system sends, can according to this mapping relationship searching obtain this first mechanism return code corresponding first translate return code.
Step 103, the first system sends first to the 3rd system and translates return code, to make the 3rd system determine that first translates abnormal problem official documents and correspondence corresponding to return code according to the corresponding relation of translating between return code with abnormal problem official documents and correspondence set up in advance, in this abnormal problem official documents and correspondence, at least comprise abnormal problem.
This first translates after return code is sent to the 3rd system by the first system, and the 3rd system can be searched according to the corresponding relation of translating between return code with abnormal problem official documents and correspondence and be obtained this and first translate abnormal problem official documents and correspondence corresponding to return code, thus location abnormal problem.Can abnormal problem be comprised in this abnormal problem official documents and correspondence, the solution for this abnormal problem can also be comprised, solve this abnormal problem to guide user.
The embodiment of the present application is by set up mechanism return code and the mapping relations of translating between return code, and the corresponding relation of translating between return code and abnormal problem official documents and correspondence, exception between each system link that reports an error is got through, when occurring abnormal problem, when mechanism's return code is translated, avoid the loss of the original semantic of abnormal problem, achieve the accurate location to abnormal problem.
In another embodiment of the application, as shown in Figure 2, at the first system according to the mechanism's return code set up in advance and the mapping relations of translating between return code, determine first mechanism's return code corresponding first translate return code before, can also comprise:
Step 201, the first system inquires about the corresponding relation between mechanism's return code and result set up in advance, determines the first result that first mechanism's return code is corresponding.
The corresponding relation between this mechanism's return code and result can be stored in the first system, the first result corresponding to first mechanism's return code is obtained by inquiring about this corresponding relation, this corresponding relation also can be stored in second system or unified data platform, inquires about the first result corresponding to this first mechanism return code of acquisition by the first system to second system or data platform.
After this first result of acquisition, when this first result be unsuccessfully time, perform abovementioned steps 102 again, by the first system according to the mechanism's return code set up in advance and the mapping relations of translating between return code, determine first mechanism's return code corresponding first translate return code, and perform subsequent step.
See Fig. 3, it is the process flow diagram of the another kind of abnormal problem localization method of the embodiment of the present application.
The difference of the present embodiment and previous embodiment is only, the present embodiment with above-mentioned 3rd system for executive agent is described.The method can comprise:
Step 301, return code is translated in first of 3rd system acceptance the first system transmission, wherein, first to translate return code be the first system after receiving first mechanism's return code that second system sends, according to the mechanism's return code set up in advance and the mapping relations of translating between return code, what the first mechanism's return code determined was corresponding translates return code.
In this step, the first system receives first mechanism's return code and determines that the first step 101 ~ 102 of translating in the process of return code and previous embodiment are similar, repeats no more herein.
After 3rd system acceptance translates return code to first, perform step 302.
Step 302, according to the corresponding relation of translating between return code with abnormal problem official documents and correspondence set up in advance, the 3rd system determines that first translates abnormal problem official documents and correspondence corresponding to return code, at least comprise abnormal problem in abnormal problem official documents and correspondence.
The corresponding relation of translating between return code and abnormal problem official documents and correspondence can be previously stored with in 3rd system, also can store this corresponding relation in unified data platform, by this corresponding relation of inquiry, the 3rd system can determine that first translates abnormal problem official documents and correspondence corresponding to return code.This corresponding relation can obtain according to artificial experience.Can abnormal problem be comprised in this abnormal problem official documents and correspondence, the solution for this abnormal problem can also be comprised.
The embodiment of the present application is by set up mechanism return code and the mapping relations of translating between return code, and the corresponding relation of translating between return code and abnormal problem official documents and correspondence, exception between each system link that reports an error is got through, when occurring abnormal problem, when mechanism's return code is translated, avoid the loss of the original semantic of abnormal problem, achieve the accurate location to abnormal problem.
In another embodiment, the 3rd system, after determining abnormal problem official documents and correspondence, as shown in Figure 4, can further include:
Step 401, the 3rd system translates abnormal problem official documents and correspondence corresponding to return code to user terminal and/or the transmission first of Quaternary system system.
3rd system can send this to user terminal or Quaternary system system and first translate abnormal problem official documents and correspondence corresponding to return code, also can send this abnormal problem official documents and correspondence to user terminal and Quaternary system system simultaneously.This Quaternary system system can be customer service system, by sending abnormal problem official documents and correspondence to customer service system, when user seeks advice to customer service system, customer service system can backstage real-time query to this document abnormal problem and provide subsequent boots and solution to user.
Be payment system below with the first system, second system is banking system, and the 3rd system is service product is example, positions the abnormal problem that user uses Alipay to carry out producing in the link of online transaction, and as shown in Figure 5, this localization method can comprise:
Step 501, user terminal initiates transaction request to service product.
Step 502, service product generating trading order form is also sent to payment system.
After service product receives transaction request, complete the verification of product rule, then generating trading order form be sent to payment system.
Step 503, after payment system receives order request, executes corresponding business School Affairs operation, and is distributed to gateway.
Step 504, after gateway receives transaction request, based on the element of transaction assembling message that business transmits, is sent to corresponding banking system.
Step 505, banking system performs transaction processing and returns process message, comprises the mechanism's return code representing transaction processing result in this process message.
Banking system performs transaction processing after receiving the transaction request of the payment system that gateway sends, and searches the corresponding relation of mechanism's return code and result, then determines mechanism's return code according to the result of transaction.Banking system generating process message also returns this process message to gateway, comprises the mechanism's return code representing transaction processing result in this process message.
Step 506, after gateway receives the process message that banking system returns, the mechanism's return code in message is also turned back to payment system by analytic message.
Step 507, payment system obtain mechanism return code corresponding translate return code, and return code will be translated be sent to service product.
After payment system receives the analysis result that gateway returns, go the result that this mechanism's return code of data platform inquiry is corresponding, if result is unsuccessfully, then according to mechanism's return code and the mapping relations of translating between return code, determine this mechanism's return code corresponding translate return code, and return code, mechanism's return code and result will be translated return and be given to service product.
Step 508, service product receives after this translates return code, determines that this translates abnormal problem official documents and correspondence corresponding to return code.
Service product receives after this translates return code, and seek advice from this to data platform and translate abnormal problem official documents and correspondence corresponding to return code, this abnormal problem official documents and correspondence comprises abnormal problem and follow-up operation guide.
Step 509, abnormal problem official documents and correspondence is showed user terminal and pushes this abnormal problem official documents and correspondence simultaneously and is sent to customer service system by service product.
User is when this abnormal problem of telephone counseling, and customer service system can inquire this abnormal problem official documents and correspondence, answers customer problem, and guides client to solve this abnormal problem.
It should be noted that, for embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present application is not by the restriction of described sequence of movement, because according to the embodiment of the present application, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the embodiment of the present application is necessary.
With reference to Fig. 6, show the structured flowchart of a kind of abnormal problem locating device of the application embodiment, specifically can comprise as lower unit:
First receiving element 601, is configured to the first mechanism's return code receiving second system transmission.
Map unit 602, is configured to according to mechanism's return code of setting up in advance and the mapping relations of translating between return code, determine described first mechanism's return code corresponding first translate return code.
First transmitting element 603, be configured to send described first to the 3rd system and translate return code, to make described 3rd system determine that described first translates abnormal problem official documents and correspondence corresponding to return code according to the corresponding relation of translating between return code with abnormal problem official documents and correspondence set up in advance, in described abnormal problem official documents and correspondence, at least comprise abnormal problem.
The embodiment of the present application is by said units set up mechanism return code and the mapping relations of translating between return code, and the corresponding relation of translating between return code and abnormal problem official documents and correspondence, exception between each system link that reports an error is got through, when occurring abnormal problem, when mechanism's return code is translated, avoid the loss of the original semantic of abnormal problem, achieve the accurate location to abnormal problem.
In another embodiment, as shown in Figure 7, this device can also comprise:
Result determining unit 701, be configured to described map unit 602 determine described first mechanism's return code corresponding first translate return code before, inquire about the corresponding relation between mechanism's return code and result set up in advance, determine the first result that described first mechanism's return code is corresponding.
Described map unit 602, be specifically configured to when described first result be unsuccessfully time, the first system according to the mechanism's return code set up in advance and the mapping relations of translating between return code, determine described first mechanism's return code corresponding first translate return code.
With reference to Fig. 8, show the structured flowchart of the application's another kind of abnormal problem locating device embodiment, specifically can comprise as lower unit:
Second receiving element 801, be configured to receive first of the first system transmission and translate return code, wherein, described first to translate return code be described the first system after receiving first mechanism's return code that second system sends, according to the mechanism's return code set up in advance and the mapping relations of translating between return code, what the described first mechanism's return code determined was corresponding translates return code.
Positioning problems unit 802, the corresponding relation of translating between return code with abnormal problem official documents and correspondence be configured to according to setting up in advance determines that described first translates abnormal problem official documents and correspondence corresponding to return code, at least comprises abnormal problem in described abnormal problem official documents and correspondence.
The embodiment of the present application is by said units set up mechanism return code and the mapping relations of translating between return code, and the corresponding relation of translating between return code and abnormal problem official documents and correspondence, exception between each system link that reports an error is got through, when occurring abnormal problem, when mechanism's return code is translated, avoid the loss of the original semantic of abnormal problem, achieve the accurate location to abnormal problem.
In another embodiment, as shown in Figure 9, this device also comprises:
Second transmitting element 901, is configured to send described first to user terminal and/or Quaternary system system and translates abnormal problem official documents and correspondence corresponding to return code.
The embodiment of the present application also discloses a kind of electronic equipment, comprises data bus, storer, display and processor, wherein, store one section of program code execution in storer, processor obtains the program code in storer by data bus, and performs following steps:
Receive first mechanism's return code that second system sends;
According to the mechanism's return code set up in advance and the mapping relations of translating between return code, determine described first mechanism's return code corresponding first translate return code;
Send described first to the 3rd system and translate return code, to make described 3rd system determine that described first translates abnormal problem official documents and correspondence corresponding to return code according to the corresponding relation of translating between return code with abnormal problem official documents and correspondence set up in advance, in described abnormal problem official documents and correspondence, at least comprise abnormal problem.
The embodiment of the present application also discloses another kind of electronic equipment, comprises data bus, storer, display and processor, wherein, store one section of program code execution in storer, processor obtains the program code in storer by data bus, and performs following steps:
Receive the first system transmission first translates return code, wherein, described first to translate return code be described the first system after receiving first mechanism's return code that second system sends, according to the mechanism's return code set up in advance and the mapping relations of translating between return code, what the described first mechanism's return code determined was corresponding translates return code;
Determine that described first translates abnormal problem official documents and correspondence corresponding to return code according to the corresponding relation of translating between return code with abnormal problem official documents and correspondence set up in advance, in described abnormal problem official documents and correspondence, at least comprise abnormal problem.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually see.
Those skilled in the art should understand, the embodiment of the embodiment of the present application can be provided as method, device or computer program.Therefore, the embodiment of the present application can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the embodiment of the present application can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
In one typically configuration, described computer equipment comprises one or more processor (CPU), input/output interface, network interface and internal memory.Internal memory may comprise the volatile memory in computer-readable medium, and the forms such as random access memory (RAM) and/or Nonvolatile memory, as ROM (read-only memory) (ROM) or flash memory (flashRAM).Internal memory is the example of computer-readable medium.Computer-readable medium comprises permanent and impermanency, removable and non-removable media can be stored to realize information by any method or technology.Information can be computer-readable instruction, data structure, the module of program or other data.The example of the storage medium of computing machine comprises, but be not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic RAM (DRAM), the random access memory (RAM) of other types, ROM (read-only memory) (ROM), Electrically Erasable Read Only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc ROM (read-only memory) (CD-ROM), digital versatile disc (DVD) or other optical memory, magnetic magnetic tape cassette, tape magnetic rigid disk stores or other magnetic storage apparatus or any other non-transmitting medium, can be used for storing the information can accessed by computing equipment.According to defining herein, computer-readable medium does not comprise the computer readable media (transitorymedia) of non-standing, as data-signal and the carrier wave of modulation.
The embodiment of the present application describes with reference to according to the process flow diagram of the method for the embodiment of the present application, terminal device (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminal equipment to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing terminal equipment produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing terminal equipment, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing terminal equipment, make to perform sequence of operations step to produce computer implemented process on computing machine or other programmable terminal equipment, thus the instruction performed on computing machine or other programmable terminal equipment is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although described the preferred embodiment of the embodiment of the present application, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the embodiment of the present application scope.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or terminal device and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or terminal device.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the terminal device comprising described key element and also there is other identical element.
A kind of abnormal problem localization method above the application provided and a kind of abnormal problem locating device, be described in detail, apply specific case herein to set forth the principle of the application and embodiment, the explanation of above embodiment is just for helping method and the core concept thereof of understanding the application; Meanwhile, for one of ordinary skill in the art, according to the thought of the application, all will change in specific embodiments and applications, in sum, this description should not be construed as the restriction to the application.