CN107038041A - The dynamic compatibility method of data processing method, error code, device and system - Google Patents

The dynamic compatibility method of data processing method, error code, device and system Download PDF

Info

Publication number
CN107038041A
CN107038041A CN201611225314.7A CN201611225314A CN107038041A CN 107038041 A CN107038041 A CN 107038041A CN 201611225314 A CN201611225314 A CN 201611225314A CN 107038041 A CN107038041 A CN 107038041A
Authority
CN
China
Prior art keywords
error code
mapping relations
request
service end
internal memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611225314.7A
Other languages
Chinese (zh)
Other versions
CN107038041B (en
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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201611225314.7A priority Critical patent/CN107038041B/en
Publication of CN107038041A publication Critical patent/CN107038041A/en
Application granted granted Critical
Publication of CN107038041B publication Critical patent/CN107038041B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications

Abstract

The embodiment of the present application provides the dynamic compatibility method of a kind of data processing method, error code, device and system, and error code dynamic compatibility method includes:Receive the request of requesting party;When handling the request failure, the read error code mapping relations from the specified location of internal memory;The error code mapping relations are to be obtained from dynamic load service end in advance and be loaded onto the internal memory, and the error code mapping relations are configured by the dynamic load service end and generated;According to the error code mapping relations corresponding miscue information is returned to the requesting party.The embodiment of the present application can avoid error code mapping relations of every change, it is necessary to the problem of changing the code of primary device or system and issue again.

Description

The dynamic compatibility method of data processing method, error code, device and system
Technical field
The application is related to technical field of data processing, compatible more particularly, to a kind of data processing method, error code dynamic Methods, devices and systems.
Background technology
Error code is set of number (or combination of letter and numeral), and each error code is associated with error message, so that It can be used to the mistake occurred in identifying device or system.General, many devices or system may all hinder or processing failure for some reason And return to error code.Especially for a system (such as search engine system, Third Party Payment System system, e-bank System, net purchase platform etc.) for, because service logic needs, down-stream system can be often called when handling affairs;Once sometimes Request, it is necessary to call multiple down-stream systems, it is very that indivedual down-stream systems, which return to error code because of processing failure, in this case It is possible.
For a device or system, when receiving the downstream error code of down-stream system return, basis is generally required The error code mapping relations being preset in the code of device or system be converted as internal error code, then by internal error code Corresponding miscue information returns to requesting party.Sometimes because of a variety of causes (such as downstream error code has renewal etc.), change is needed Error code mapping relations.However, often changing an error code mapping relations at present, it is necessary to change the generation of primary device or system Code and the problem of issue again.So, the easily normal operation of influence device or system.
The content of the invention
The purpose of the embodiment of the present application is to provide a kind of data processing, the dynamic compatibility method of error code, device and system, To avoid data of every change, it is necessary to the problem of changing a code and issue again.
To reach above-mentioned purpose, on the one hand, the embodiment of the present application provides a kind of dynamic compatibility method of error code, including with Lower step:
Receive the request of requesting party;
When handling the request failure, the read error code mapping relations from the specified location of internal memory;The error code Mapping relations are from dynamic load service end to obtain and be loaded onto the internal memory in advance, and the error code mapping relations pass through The dynamic load service end configuration generation;
According to the error code mapping relations corresponding miscue information is returned to the requesting party.
On the other hand, the embodiment of the present application additionally provides a kind of server, including:
Request receiving module, the request for receiving requesting party;
Read module is configured, for when handling the request failure, read error code to reflect from the specified location of internal memory Penetrate relation;The error code mapping relations are from dynamic load service end to obtain and be loaded onto the internal memory in advance, and be described Error code mapping relations are configured by the dynamic load service end and generated;
Mistake returns to module, for returning to corresponding miscue to the requesting party according to the error code mapping relations Information.
Another further aspect, the embodiment of the present application additionally provides a kind of dynamic compatible system of error code, including:
Dynamic load service end, for the configuration-direct generation error code mapping relations according to user, and by the mistake Code mapping relations are supplied to server;
Server, for the error code mapping relations to be loaded onto into internal memory in advance, when the request for receiving requesting party and When the processing request fails, the error code mapping relations are read from the internal memory;According to the error code mapping relations Corresponding miscue information is returned to the requesting party.
Another further aspect, the embodiment of the present application additionally provides a kind of data processing method, comprises the following steps:
Receive the request of requesting party;
When being needed during handling the request using data are specified, described specify is read from the specified location of internal memory Data;The specified data are to be obtained from dynamic load service end in advance and be loaded onto the internal memory, and the specified data Configured and generated by the dynamic load service end.
Another further aspect, the embodiment of the present application additionally provides a kind of server, including:
Request receiving module, the request for receiving requesting party;
Request processing module, for when being needed during handling the request using data are specified, from specifying for internal memory The specified data are read in position;The specified data are to be obtained from dynamic load service end in advance and be loaded onto the internal memory , and the specified data configure generation by the dynamic load service end.
Another further aspect, the embodiment of the present application additionally provides a kind of data processing system, including:
Dynamic load service end, specifies data, and the specified data are carried for being generated according to the configuration-direct of user Provisioning server;
Server, for the specified data to be loaded onto into internal memory in advance, when the request for receiving requesting party, and in processing When being needed during the request using data are specified, the specified data are read from the specified location of internal memory.
As can be seen here, in the embodiment of the present application, error code can be mapped and closed by way of dynamic configuration memory source value It is pre-loaded in internal memory;So as to realize in device or system operation, without changing its code and again release code Memory source value is set to come into force.Hereafter, can be directly from internal memory in processing request failure, and when needing to use error code mapping relations Specified location in read error code mapping relations.Therefore, the embodiment of the present application avoids every error code mapping of change and closed System, it is necessary to the problem of changing the code of primary device or system and issue again, thus reduce above-mentioned change to device or The influence that system is normally run.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in application, for those of ordinary skill in the art, are not paying the premise of creative labor Under, other accompanying drawings can also be obtained according to these accompanying drawings.In the accompanying drawings:
Fig. 1 is the flow chart of the data processing method of the embodiment of the application one;
Fig. 2 is the flow chart of the dynamic compatibility method of error code of the embodiment of the application one;
Fig. 3 is the application scenarios schematic diagram of the dynamic compatibility method of error code of another embodiment of the application;
Fig. 4 is the application scenarios schematic diagram of the dynamic compatibility method of error code of another embodiment of the application;
Fig. 5 is the structured flowchart of the data handling system of the embodiment of the application one;
Fig. 6 is the structured flowchart of the server of the embodiment of the application one;
Fig. 7 is the structured flowchart of the dynamic compatible system of error code of the embodiment of the application one;
Fig. 8 is the structured flowchart of the server of another embodiment of the application.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation Example only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, this area is common The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to the application protection Scope.
With reference to shown in Fig. 1, the data processing method of the embodiment of the present application comprises the following steps:
S101, the request for receiving requesting party.
In the embodiment of the present application, the requesting party can be client, or up-stream system.
In one embodiment of the application, the client can be any suitable client application.Implement During example, user can initiate to ask by client.The client can for browser (such as IE browser, 360 browsers), Net purchase client (such as Jingdone district client, Amazon client), payment client terminal (such as Mobile banking's client, third party Payment client terminal), instant communication client (such as wechat client, QQ clients), audio-visual client end of playing back (for example KuGoo visitor Family end, youku.com's client, iqiyi.com client), Domestic News client (such as Sina News client, phoenix information client End) or life kind client (for example with journey tourism client, go where client, popular comment client) etc..
In the application one embodiment, the up-stream system is such as can be front-end server, proxy server.Specifically , such as user initiates page request by browser to page server, and page server is according to page request, to database Server initiates call request, then for database server, page server is its up-stream system;Accordingly, number It is then the down-stream system of page server according to storehouse server.
In one embodiment of the application, the request can be any request of Client-initiated.For example can be user The page request initiated by browser, payment request that user is initiated by payment client terminal, transfer request etc..
In another embodiment of the application, the tune that the request can send for request of the up-stream system based on user With request etc..Certainly, in the application other embodiment, the request from up-stream system is not necessarily based on user behavior hair Rise or up-stream system itself is initiated based on other reasonses.For example based on setting program, a timing to Another system initiates synchronization request;For another example based on timing driving message, database server timing is initiated to drag for database Take request of data, etc..
S102, when being needed during handling the request using data are specified, institute is read from the specified location of internal memory State specified data;The specified data are to be obtained from dynamic load service end in advance and be loaded onto the internal memory, and the finger Fixed number configures generation according to by the dynamic load service end.
In the embodiment of the present application, upon receiving a request, it can typically be asked according to default processing logical process;Such as For an accessing page request, page server can be according to the default page processing logical process accessing page request.And During processing, when specified data need to be used, the specified data can be directly read from the specified location of internal memory. In the embodiment of the present application, the specified data can be any character string, for example:
{"00003006":"PRIZE_BROUGHT_OUT","00003005":"PRIZE_BROUGHT_OUT"," 00003004":"ILLEGAL_PARAMS","00003007":"PRIZE_BROUGHT_OUT"}
Wherein, represent a kind of error code such as " 00003006 ", " PRIZE_BROUGHT_OUT " etc. represent with " 00003006 " corresponding another error code.
In the prior art, code of modification is required for when often changing the data being once preset in code and is sent out again Cloth, so as to influence the normal operation of device or system.To solve this problem, in the embodiment of the present application, change by being matched somebody with somebody by dynamic Put the mode of memory source value, it is directly that new data are pre-loaded in internal memory, then when needed can be directly from the finger of internal memory Middle reading is put in positioning, so as to realize in device or system operation, without changing system code, it is not required that release code again Memory source value can be made to come into force.Wherein, specified location can be set in code, and the specified location can be in one The ranges of logical addresses or linear address range deposited.Therefore, when it is determined which data needs to be changed to from direct internal memory in code , it is necessary to change code in advance during reading, these data can be read from the where of internal memory to specify.
In the embodiment of the present application, the dynamic load service end has provided a user the side of dynamic configuration memory source value Formula.In the exemplary embodiment of the application, the dynamic load service end for example can be DRM (Distributed Resource Manager, distributed resource manager) platform, DRM platform is a kind of to provide dynamic configuration memory source Platform, it can change Installed System Memory configuration in device or system operation.For device or system, DRM platform to its Push and specify data, it is the equal of device or system have subscribed the cached configuration information of DRM platform push, and can remotely by The cached configuration information of subscription is loaded onto caching, therefore system need not restart and can just come into force, so as to avoid because of modification code And system or device are restarted caused by issuing again, are conducive to the stable operation of maintenance system or device.In its of the application In his embodiment, the dynamic load service end can also possess the software or entity of similar functions for other.
In the embodiment of the present application, during configuration, the user of dynamic load service end can be beforehand through dynamic load service end User interface, is instructed to dynamic load service end send configuration;It can include specifying the content of data in configuration-direct, specify number According to recipient etc.;Dynamic load service end is generated according to configuration-direct specifies data and preserves, to be supplied to recipient.
It is described to obtain the specified data from dynamic load service end in advance in the application one embodiment, it can include: The config update instruction that the dynamic load service end is sent is received, then according to the resource path of the specified data from described Dynamic load service end, which is read, specifies data.After data are specified in generation and are preserved, dynamic load service end can be in time to reception Square send configuration more new command, specifies data to have renewal with notification server, and the config update instruction can carry specified data Resource path.Corresponding, recipient is after config update instruction is received, according to the resource path of the specified data from described Dynamic load service end, which is read, specifies data, is then loaded into the specified location of internal memory.
It is described to obtain the specified data from dynamic load service end in advance in another embodiment of the application, can be with Including:Receive the specified data that the dynamic load service end is pushed.After data are specified in generation and are preserved, dynamic load service Specified data can be directly pushed to recipient by end in time, and recipient is loaded into the specified location of internal memory.
In another embodiment of the application, the data processing method can also include:
It is described the specified data are loaded onto internal memory in advance when, if existing with the specified number in the internal memory According to corresponding former specified data, the former specified data are replaced with the specified data.Passing through dynamic configuration memory source The mode of value is more corrected one's mistakes and once specified after data, when change again specify data when, because the specified location of internal memory before this may The existing specified data loaded before this, therefore former specified data need to be replaced with new specified data, to realize change.
In the application other embodiment, the internal memory can be replaced caching.For device or system, relative to depositing Reservoir, either internal memory still cache, its resource is more valuable, therefore, and the embodiment of the present application is conveniently used for relative in code It is important and the more frequently change of data division may be updated.
As can be seen here, can be by way of dynamic configuration memory source value in the embodiment of the present application, will be with device or system Code in new data-objects corresponding to the data object specified it is pre-loaded in internal memory;So as to realize in device or system fortune During row, without changing its code and release code can make memory source value come into force again.Hereafter, new data are being needed to use During object, it can be read directly from the specified location of internal memory.Therefore, the embodiment of the present application avoids data of every change, just The problem of needing to change the code of primary device or system and issue again, thus reduce above-mentioned change to device or system just The influence often run.
With reference to shown in Fig. 2, the dynamic compatibility method of error code of the embodiment of the present application is data processing method shown in above-mentioned Fig. 1 A kind of application scenarios, it comprises the following steps:
S201, the request for receiving requesting party.
The detail of this step can be found in the description in the step S101 in above-mentioned embodiment illustrated in fig. 1, herein no longer Repeat.
S202, when handle it is described request failure when, from the specified location of internal memory read error code mapping relations;The mistake Error code mapping relations are to be obtained from dynamic load service end in advance and be loaded onto the internal memory, and the error code mapping relations Configured and generated by the dynamic load service end.
It is described to obtain error code mapping relations from dynamic load service end in one embodiment of the application, it can wrap Include:Receive the error code more new command that the dynamic load service end is sent;Carry wrong in the error code more new command The resource path of code mapping relations;Read according to the resource path of the error code mapping relations from the dynamic load service end Error code mapping relations.
It is described to obtain error code mapping relations from dynamic load service end in another embodiment of the application, may be used also With including:Receive the error code mapping relations that the dynamic load service end is pushed.
In one embodiment of the application, closed obtaining the error code mapping from the dynamic load service end in advance System, and when being loaded into the internal memory, if existing corresponding with the error code mapping relations former wrong in the internal memory Error code mapping relations, then replace the former error code mapping relations with the error code mapping relations.
The detail of this step can be found in the similar description in the step S102 in above-mentioned embodiment illustrated in fig. 1, herein Repeat no more.
S203, according to the error code mapping relations to the requesting party return to corresponding miscue information.
In one embodiment of the application, the error code mapping relations can include the first error code and miscue The first mapping relations between information.Such as described first error code is internal system error code, then first mapping relations Can be with as shown in table 1 below:
Table 1
Internal system error code Error code prompt message
0x00000001 Refusal access
0x00000002 System can not find the path specified
0x00000003 Invalid code
0x00000004 Attempt the program of one format error of loading
It is corresponding, it is described to return to corresponding miscue information to the requesting party according to error code mapping relations, including: Miscue information according to corresponding to first mapping relations determine first error code;The mistake is returned to the requesting party Miss prompt message.For example shown in Fig. 3, user has initiated a searching request by net purchase client, and (such as user is in net purchase visitor Keyword is inputted in the search column at family end and carries out commercial articles searching).Net purchase server is received after the searching request, please according to the search Inquiry database is sought, if finding not match corresponding commodity after inquiry, search failure;Then search failure mistake is returned Code gives net purchase server;The mapping relations that net purchase server fails between error code and miscue information according to the search, really Search failure prompt message corresponding to fixed search failure error code, such as " sorry, not find the commodity that you want ".
In another embodiment of the application, the error code mapping relations include the second error code and the first error code Between the second mapping relations;The processing request unsuccessfully includes calling the down-stream system processing request failure, and receives The second error code returned to the down-stream system;Wherein, first error code is server internal error code, described second Error code is correspondence down-stream system internal error code;Second mapping relations for example can be for shown in table 2 below:
Table 2
Down-stream system internal error code Server internal error code Error code prompt message
00001001 00000001 Refusal access
00002007 00000002 System can not find the path specified
00003009 00000003 Invalid code
00003010 00000004 Attempt the program of one format error of loading
It is corresponding, it is described to return to corresponding miscue information to the requesting party according to the error code mapping relations, Including:Corresponding first error code of second error code is determined according to second mapping relations;Determine the first error code institute Corresponding miscue information;The miscue information is returned to the requesting party.For example shown in Fig. 4, user passes through net purchase visitor Family end has initiated an order and has submitted request, and net purchase server is from after according to default processing logical process, to third party's branch The system of paying has sent out an order and has paid request.When third-party payment system processing order pays request, user account remaining sum is found It is not enough to pay this order, pays failure, then third-party payment system returns to order to net purchase server and pays failure mistake Code.Net purchase server receives order and paid after failure error code, the read error code mapping relations (institute from the specified location of internal memory Stating error code mapping relations includes:Net purchase server internal error code division not with miscue information and third-party payment system The mapping relations of error code), failure error code is paid according to the order of return and determines corresponding internal error code, then basis should Internal error code determines that corresponding order submits failure prompt message, and for example " account balance of your third-party payment system is not Foot, order submits failure " etc..
Certainly,, can be by if a server is to that should have multiple down-stream systems in the other embodiment of the application The internal error code of each down-stream system is configured at mapping table with server internal error code correspondence mappings.
As can be seen here, in the embodiment of the present application, error code can be mapped and closed by way of dynamic configuration memory source value It is pre-loaded in internal memory;So as to realize in device or system operation, without changing its code and again release code Memory source value is set to come into force.Hereafter, can be directly from internal memory in processing request failure, and when needing to use error code mapping relations Specified location in read error code mapping relations.Therefore, the embodiment of the present application avoids every error code mapping of change and closed System, it is necessary to the problem of changing the code of primary device or system and issue again, thus reduce above-mentioned change to device or The influence that system is normally run.
Although procedures described above flow includes the multiple operations occurred with particular order, it should however be appreciated that understand, These processes can include more or less operations, and these operations can sequentially be performed or performed parallel (such as using parallel Processor or multi-thread environment).
It is a kind of data processing system of the embodiment of the present application, it includes with reference to shown in Fig. 5:
Dynamic load service end 51, can be used for specifying data according to the generation of the configuration-direct of user, and specify described Data are supplied to server 52;
Server 52, can be used for the specified data are loaded onto into internal memory in advance, when the request for receiving requesting party, and When being needed during handling the request using data are specified, the specified data are read from the specified location of internal memory.
With reference to shown in Fig. 6, wherein, server 52 can include:
Request receiving module 511, can be used for the request for receiving requesting party;
Request processing module 512, can be used for when being needed during handling the request using data are specified, from internal memory Specified location in read the specified data;The specified data are to obtain and be loaded onto from dynamic load service end 51 in advance The internal memory, and the specified data configure generation by the dynamic load service end 51.
The data processing system of the embodiment of the present application is corresponding with above-mentioned embodiment illustrated in fig. 1, therefore, is related to the application implementation The detailed description of the data processing system of example, refers to above-mentioned embodiment illustrated in fig. 1, will not be repeated here.
It is a kind of dynamic compatible system of error code of the embodiment of the present application, it includes with reference to shown in Fig. 7:
Dynamic load service end 71, can be used for the configuration-direct generation error code mapping relations according to user, and by institute State error code mapping relations and be supplied to server 72;
Server 72, can be used for the error code mapping relations are loaded onto into internal memory in advance, when receiving requesting party's When asking and handling the request failure, the error code mapping relations are read from the internal memory;Reflected according to the error code Penetrate relation and return to corresponding miscue information to the requesting party.
With reference to shown in Fig. 8, wherein, server 72 can include:
Request receiving module 721, can be used for the request for receiving requesting party;
Read module 722 is configured, can be used for, when handling the request failure, reading from the specified location of internal memory wrong Error code mapping relations;The error code mapping relations are to be obtained from dynamic load service end 71 in advance and be loaded onto the internal memory , and the error code mapping relations configure generation by the dynamic load service end 71;
Mistake returns to module 723, can be used for being returned accordingly to the requesting party according to the error code mapping relations Miscue information.
The dynamic compatible system of the error code of the embodiment of the present application is corresponding with above-mentioned embodiment illustrated in fig. 2, therefore, is related to this Apply for the detailed description of the dynamic compatible system of error code of embodiment, refer to above-mentioned embodiment illustrated in fig. 2, no longer go to live in the household of one's in-laws on getting married herein State.
, can be by way of dynamic configuration memory source value in the dynamic compatible system of the error code of the embodiment of the present application, will Error code mapping relations are pre-loaded in internal memory;So as to realize in system operation, without changing its code and issuing generation again Code can make memory source value come into force.Hereafter, can be direct when needing to use error code mapping relations because of processing request failure The read error code mapping relations from the specified location of internal memory.Therefore, the embodiment of the present application avoids error code of every change Mapping relations, it is necessary to the problem of changing the code of primary system and issue again, thus change is reduced to the normal fortune of system Capable influence.
In the 1990s, for a technology improvement can clearly distinguish be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (for the improvement of method flow).So And, with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow is programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, PLD (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, its logic function is determined to device programming.Voluntarily compiled by designer Journey is come a digital display circuit " integrated " on a piece of PLD, without asking chip maker special to design and make IC chip.Moreover, nowadays, substitution manually makes IC chip, " logic compiling is also used in this programming instead mostly Device (logic compiler) " software realizes that software compiler used is similar when it writes with program development, and to compile Also handy specific programming language is write for source code before translating, and this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、 Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed Integrated are most generally used at present Circuit Hardware Description Language) and Verilog.Those skilled in the art also will be apparent to the skilled artisan that and only need Method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, it is possible to be easy to The hardware circuit of the accomplished logical method flow.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing Device and storage can by the computer of the computer readable program code (such as software or firmware) of (micro-) computing device Read medium, gate, switch, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, the example of controller includes but is not limited to following microcontroller Device:ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320, are deposited Memory controller is also implemented as a part for the control logic of memory.It is also known in the art that except with Pure computer readable program code mode is realized beyond controller, can be made completely by the way that method and step is carried out into programming in logic Obtain controller and come real in the form of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc. Existing identical function.Therefore this controller is considered a kind of hardware component, and various for realizing to including in it The device of function can also be considered as the structure in hardware component.Or even, can be by for realizing that the device of various functions is regarded For that not only can be the software module of implementation method but also can be the structure in hardware component.
System, device, module or unit that above-described embodiment is illustrated, can specifically be realized by computer chip or entity, Or realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cell phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet PC, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly, this is being implemented The function of each unit can be realized in same or multiple softwares and/or hardware during application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program Product.Therefore, the present invention can be using the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Apply the form of example.Moreover, the present invention can be used in one or more computers for wherein including computer usable program code The computer program production that usable storage medium is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product Figure and/or block diagram are described.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided The processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which is produced, to be included referring to Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that in meter Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one The step of function of being specified in individual square frame or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein Machine computer-readable recording medium does not include temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of key elements are not only including those key elements, but also wrap Include other key elements being not expressly set out, or also include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that wanted including described Also there is other identical element in process, method, commodity or the equipment of element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, the application can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware Form.Deposited moreover, the application can use to can use in one or more computers for wherein including computer usable program code The shape for the computer program product that storage media is implemented on (including but is not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The application can be described in the general context of computer executable instructions, such as program Module.Usually, program module includes performing particular task or realizes routine, program, object, the group of particular abstract data type Part, data structure etc..The application can also be put into practice in a distributed computing environment, in these DCEs, by Remote processing devices connected by communication network perform task.In a distributed computing environment, program module can be with Positioned at including in the local and remote computer-readable storage medium including storage device.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment Divide mutually referring to what each embodiment was stressed is the difference with other embodiment.It is real especially for system Apply for example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
Embodiments herein is the foregoing is only, the application is not limited to.For those skilled in the art For, the application can have various modifications and variations.It is all any modifications made within spirit herein and principle, equivalent Replace, improve etc., it should be included within the scope of claims hereof.

Claims (18)

1. the dynamic compatibility method of a kind of error code, it is characterised in that comprise the following steps:
Receive the request of requesting party;
When handling the request failure, the read error code mapping relations from the specified location of internal memory;The error code mapping Relation is to be obtained from dynamic load service end in advance and be loaded onto the internal memory, and the error code mapping relations pass through it is described The configuration generation of dynamic load service end;
According to the error code mapping relations corresponding miscue information is returned to the requesting party.
2. the dynamic compatibility method of error code according to claim 1, it is characterised in that described to be obtained from dynamic load service end Error code mapping relations are taken, including:
Receive the error code more new command that the dynamic load service end is sent;Carry wrong in the error code more new command The resource path of code mapping relations;
According to the resource path of the error code mapping relations from the dynamic load service end read error code mapping relations.
3. the dynamic compatibility method of error code according to claim 1, it is characterised in that described to be obtained from dynamic load service end Error code mapping relations are taken, including:
Receive the error code mapping relations that the dynamic load service end is pushed.
4. the dynamic compatibility method of error code according to claim 1, it is characterised in that also include:
The error code mapping relations are obtained from the dynamic load service end in advance, and when being loaded into the internal memory, If existing former error code mapping relations corresponding with the error code mapping relations, use the error code in the internal memory Mapping relations replace the former error code mapping relations.
5. the dynamic compatibility method of error code according to claim 1, it is characterised in that the error code mapping relations include The first mapping relations between first error code and miscue information;
It is corresponding, it is described to return to corresponding miscue information to the requesting party according to the error code mapping relations, including:
Miscue information according to corresponding to first mapping relations determine first error code;
The miscue information is returned to the requesting party.
6. the dynamic compatibility method of error code according to claim 1, it is characterised in that the error code mapping relations include The second mapping relations between second error code and the first error code;The processing request unsuccessfully includes calling down-stream system The processing request failure, and receive the second error code that the down-stream system is returned;
It is corresponding, it is described to return to corresponding miscue information to the requesting party according to the error code mapping relations, including:
Corresponding first error code of second error code is determined according to second mapping relations;
Determine the miscue information corresponding to first error code;
The miscue information is returned to the requesting party.
7. the dynamic compatibility method of error code according to claim 1, it is characterised in that the request, which includes paying, asks, Transfer request.
8. the dynamic compatibility method of error code according to claim any one of 1-7, it is characterised in that the internal memory is replaced with Caching.
9. a kind of server, it is characterised in that including:
Request receiving module, the request for receiving requesting party;
Read module is configured, for when handling the request failure, the mapping of read error code to be closed from the specified location of internal memory System;The error code mapping relations are to be obtained from dynamic load service end in advance and be loaded onto the internal memory, and the mistake Code mapping relations are configured by the dynamic load service end and generated;
Mistake returns to module, believes for returning to corresponding miscue to the requesting party according to the error code mapping relations Breath.
10. a kind of dynamic compatible system of error code, it is characterised in that including:
Dynamic load service end, for the configuration-direct generation error code mapping relations according to user, and the error code is reflected The relation of penetrating is supplied to server;
Server, for the error code mapping relations to be loaded onto into internal memory in advance, when the request and processing that receive requesting party During the request failure, the error code mapping relations are read from the internal memory;According to the error code mapping relations to institute State requesting party and return to corresponding miscue information.
11. a kind of data processing method, it is characterised in that comprise the following steps:
Receive the request of requesting party;
When being needed during handling the request using data are specified, the specified number is read from the specified location of internal memory According to;The specified data are to be obtained from dynamic load service end in advance and be loaded onto the internal memory, and the specified data are logical Cross the dynamic load service end configuration generation.
12. data processing method according to claim 11, it is characterised in that described to be obtained in advance from dynamic load service end The specified data are taken, including:
Receive the config update instruction that the dynamic load service end is sent;Carried in the config update instruction and specify data Resource path;
Read according to the resource path of the specified data from the dynamic load service end and specify data.
13. data processing method according to claim 11, it is characterised in that described to be obtained in advance from dynamic load service end The specified data are taken, including:
Receive the specified data that the dynamic load service end is pushed.
14. data processing method according to claim 11, it is characterised in that also include:
It is described the specified data are loaded onto internal memory in advance when, if existing with the specified data pair in the internal memory The original answered specifies data, and the former specified data are replaced with the specified data.
15. data processing method according to claim 11, it is characterised in that the request includes paying request, transferred accounts Request.
16. the data processing method according to claim any one of 11-15, it is characterised in that the internal memory replaces with slow Deposit.
17. a kind of server, it is characterised in that including:
Request receiving module, the request for receiving requesting party;
Request processing module, for when being needed during handling the request using data are specified, from the specified location of internal memory It is middle to read the specified data;The specified data are to be obtained from dynamic load service end in advance and be loaded onto the internal memory, And the specified data are configured by the dynamic load service end and generated.
18. a kind of data handling system, it is characterised in that including:
Dynamic load service end, specifies data, and the specified data are supplied to for being generated according to the configuration-direct of user Server;
Server, for the specified data to be loaded onto into internal memory in advance, when the request for receiving requesting party, and it is described in processing When being needed during request using data are specified, the specified data are read from the specified location of internal memory.
CN201611225314.7A 2016-12-27 2016-12-27 Data processing method, error code dynamic compatibility method, device and system Active CN107038041B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611225314.7A CN107038041B (en) 2016-12-27 2016-12-27 Data processing method, error code dynamic compatibility method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611225314.7A CN107038041B (en) 2016-12-27 2016-12-27 Data processing method, error code dynamic compatibility method, device and system

Publications (2)

Publication Number Publication Date
CN107038041A true CN107038041A (en) 2017-08-11
CN107038041B CN107038041B (en) 2021-03-02

Family

ID=59530537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611225314.7A Active CN107038041B (en) 2016-12-27 2016-12-27 Data processing method, error code dynamic compatibility method, device and system

Country Status (1)

Country Link
CN (1) CN107038041B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515798A (en) * 2017-09-06 2017-12-26 郑州云海信息技术有限公司 The error handling method and device of storage management software
CN107659858A (en) * 2017-08-24 2018-02-02 四川天邑康和通信股份有限公司 EPON area Adaptable System
CN109376023A (en) * 2018-10-12 2019-02-22 上海盛付通电子支付服务有限公司 Method and apparatus for generating recalls information, publication returns to code character
CN109818777A (en) * 2018-12-18 2019-05-28 深圳市潮流网络技术有限公司 A kind of method of calibration of software error code
CN110347560A (en) * 2019-07-19 2019-10-18 深圳前海微众银行股份有限公司 Abnormal prompt method, apparatus, system, equipment and the medium of big data product
CN110570277A (en) * 2019-08-29 2019-12-13 北京趣拿软件科技有限公司 order dispatching method and device
CN110727562A (en) * 2019-09-20 2020-01-24 北京字节跳动网络技术有限公司 Error information processing method, device, medium and electronic equipment
CN111142851A (en) * 2019-12-30 2020-05-12 北京明略软件系统有限公司 Abnormal request processing method and device, electronic equipment and storage medium
CN113328895A (en) * 2021-06-21 2021-08-31 河北幸福消费金融股份有限公司 Error code management system, abnormality positioning method, and storage medium
CN115421785A (en) * 2022-08-23 2022-12-02 中科方德软件有限公司 Application program migration processing method, device and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1506808A (en) * 2002-10-24 2004-06-23 �Ҵ���˾ Method and apparatus for mapping and debugging information used at the time of debugging integrated executable code
CN101197722A (en) * 2007-12-29 2008-06-11 中国建设银行股份有限公司 Multi-system error code management method, device and system
CN102891785A (en) * 2012-09-18 2013-01-23 中兴通讯股份有限公司 Error code conversion method and system, point-to-point protocol over Ethernet (PPPoE) server and mobile terminal
CN103019969A (en) * 2011-09-27 2013-04-03 威刚科技(苏州)有限公司 Flash memory storage device and determination method of bad storage area thereof
US20140109195A1 (en) * 2010-11-24 2014-04-17 Oracle International Corporation Propagating security identity information to components of a composite application
CN105550059A (en) * 2015-12-09 2016-05-04 中国建设银行股份有限公司 Error code conversion method and equipment
CN105975358A (en) * 2016-05-03 2016-09-28 深圳市杉岩数据技术有限公司 Fault-tolerant method and system based on SCSI equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1506808A (en) * 2002-10-24 2004-06-23 �Ҵ���˾ Method and apparatus for mapping and debugging information used at the time of debugging integrated executable code
CN101197722A (en) * 2007-12-29 2008-06-11 中国建设银行股份有限公司 Multi-system error code management method, device and system
US20140109195A1 (en) * 2010-11-24 2014-04-17 Oracle International Corporation Propagating security identity information to components of a composite application
CN103019969A (en) * 2011-09-27 2013-04-03 威刚科技(苏州)有限公司 Flash memory storage device and determination method of bad storage area thereof
CN102891785A (en) * 2012-09-18 2013-01-23 中兴通讯股份有限公司 Error code conversion method and system, point-to-point protocol over Ethernet (PPPoE) server and mobile terminal
CN105550059A (en) * 2015-12-09 2016-05-04 中国建设银行股份有限公司 Error code conversion method and equipment
CN105975358A (en) * 2016-05-03 2016-09-28 深圳市杉岩数据技术有限公司 Fault-tolerant method and system based on SCSI equipment

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107659858B (en) * 2017-08-24 2020-06-16 四川天邑康和通信股份有限公司 Passive optical network regional self-adaptive system
CN107659858A (en) * 2017-08-24 2018-02-02 四川天邑康和通信股份有限公司 EPON area Adaptable System
CN107515798A (en) * 2017-09-06 2017-12-26 郑州云海信息技术有限公司 The error handling method and device of storage management software
CN109376023A (en) * 2018-10-12 2019-02-22 上海盛付通电子支付服务有限公司 Method and apparatus for generating recalls information, publication returns to code character
CN109818777A (en) * 2018-12-18 2019-05-28 深圳市潮流网络技术有限公司 A kind of method of calibration of software error code
CN110347560A (en) * 2019-07-19 2019-10-18 深圳前海微众银行股份有限公司 Abnormal prompt method, apparatus, system, equipment and the medium of big data product
CN110347560B (en) * 2019-07-19 2022-04-26 深圳前海微众银行股份有限公司 Method, device, system, equipment and medium for prompting abnormity of big data product
CN110570277A (en) * 2019-08-29 2019-12-13 北京趣拿软件科技有限公司 order dispatching method and device
CN110727562A (en) * 2019-09-20 2020-01-24 北京字节跳动网络技术有限公司 Error information processing method, device, medium and electronic equipment
CN111142851A (en) * 2019-12-30 2020-05-12 北京明略软件系统有限公司 Abnormal request processing method and device, electronic equipment and storage medium
CN113328895A (en) * 2021-06-21 2021-08-31 河北幸福消费金融股份有限公司 Error code management system, abnormality positioning method, and storage medium
CN113328895B (en) * 2021-06-21 2023-08-29 河北幸福消费金融股份有限公司 Error code management system, abnormality positioning method, and storage medium
CN115421785A (en) * 2022-08-23 2022-12-02 中科方德软件有限公司 Application program migration processing method, device and medium

Also Published As

Publication number Publication date
CN107038041B (en) 2021-03-02

Similar Documents

Publication Publication Date Title
CN107038041A (en) The dynamic compatibility method of data processing method, error code, device and system
US11204915B2 (en) Blockchain-based data storage and query method and device
US9842102B2 (en) Automatic ontology generation for natural-language processing applications
US10372934B2 (en) Access controlled queries against user data in a datastore
US10068028B1 (en) Deep link verification for native applications
US8805672B2 (en) Translation cache prediction
US20150120648A1 (en) Context-aware augmented media
US20180341388A1 (en) Modular runtime environment
US9742860B2 (en) Bi-temporal key value cache system
US9158840B2 (en) Content-based navigation for electronic devices
CN108848244B (en) Page display method and device
WO2022267766A1 (en) Method, apparatus and device for accessing aggregate code payment page, and medium
US10489139B2 (en) Additive packaging through smart wrapping of packages and customizations in an on-demand environment
US11811851B2 (en) Method and system for enforcing governance across multiple content repositories using a content broker
US20140195888A1 (en) Tagging autofill field entries
US10776180B1 (en) Expression-based feature toggle in an application programming interface (API)
CN107678805A (en) The call method and device of a kind of application programming interfaces
WO2020024899A1 (en) Blockchain data searching method and device, and storage medium
US20200334260A1 (en) User-driven adaptation of rankings of navigation elements
WO2020024902A1 (en) Method, device, and storage medium for searching for blockchain data
US20200097517A1 (en) Link corrections by cognitive analysis of web resources
US11727017B2 (en) Methods for introspecting code in a multi-tenant environment
KR101620782B1 (en) Method and System for Storing Data Block Using Previous Stored Data Block
CN107704502A (en) A kind of method for routing, device, equipment and system
US11671529B2 (en) Cross-channel configurable navigation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201016

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201016

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: Greater Cayman, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

GR01 Patent grant
GR01 Patent grant