CN111784482A - Order processing method and device, computer readable storage medium and electronic equipment - Google Patents

Order processing method and device, computer readable storage medium and electronic equipment Download PDF

Info

Publication number
CN111784482A
CN111784482A CN202010781158.2A CN202010781158A CN111784482A CN 111784482 A CN111784482 A CN 111784482A CN 202010781158 A CN202010781158 A CN 202010781158A CN 111784482 A CN111784482 A CN 111784482A
Authority
CN
China
Prior art keywords
order
polling
deduction
service server
fee deduction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010781158.2A
Other languages
Chinese (zh)
Inventor
陈炜俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202010781158.2A priority Critical patent/CN111784482A/en
Publication of CN111784482A publication Critical patent/CN111784482A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying

Abstract

The disclosure belongs to the technical field of communication, and relates to an order processing method and device, a computer readable storage medium and electronic equipment. The method comprises the following steps: responding to the inquiry information aiming at the order deduction sent by the service server, and inquiring the deduction state of the order; and if the result obtained by the inquiry processing is that the order fee deduction is successful, sending abnormal information to the service server, wherein the abnormal information is used for indicating the service server to carry out service logic processing on the order. According to the method and the system, abnormal information can be sent to the service server through query processing of the fee deduction state of the order, and service logic processing of the order is guaranteed. On one hand, the query information sent by the service server is automatically detected and recovered, so that complicated manual processing is avoided, and the exception handling efficiency is improved; on the other hand, the problem of abnormal order fee deduction is solved under the condition of being more friendly to the service server, and the burden of complex processing of the service server on the abnormal condition is relieved.

Description

Order processing method and device, computer readable storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to an order processing method, an order processing apparatus, a computer-readable storage medium, and an electronic device.
Background
When the service party calls the fee deduction interface, if the interface returns to normal, the service party can judge that the fee deduction is successful or failed according to the return value of the interface, and continues to perform corresponding service logic. However, if the interface returns abnormally, the service side will treat the deduction as a failure, and the deduction service is uncertain about the result of the deduction call. If the deduction is failed, the calling exception is taken as the failure processing by the service party to be correct, and the service performance is normal; if the deduction is successful in practice, the service performance is abnormal, and the user complaint is easily caused.
Therefore, when the interface returns abnormally, the condition that the fee deduction is successful may exist, but the business side considers that the fee deduction abnormality can cause abnormal business logic at the moment, and the user complaint is easily caused. Furthermore, after the user complaints, the service party needs to check the error log of the fee deduction time point, and needs to inquire the fee deduction state of the order after taking the fee deduction order number and then reimburse the reward for the user after confirming that the actual fee deduction is successful. The labor cost and time cost required for the entire process are prohibitive.
In view of the above, there is a need in the art to develop a new order processing method and apparatus.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to an order processing method, an order processing apparatus, a computer-readable storage medium, and an electronic device, which overcome, at least to some extent, the problems of abnormal business logic and excessive cost due to the limitations of the related art.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of embodiments of the present invention, there is provided an order processing method, the method including: responding to query information aiming at order deduction sent by a service server, and querying the deduction state of the order;
and if the result obtained by the query processing is that the order fee deduction is successful, sending abnormal information to the service server, wherein the abnormal information is used for indicating the service server to carry out service logic processing on the order.
In an exemplary embodiment of the present invention, before responding to the query information for the order deduction sent by the service server, the method further includes:
and when the fee deduction interface of the fee deduction server is abnormal, the service server sends query information aiming at the fee deduction of the order.
In an exemplary embodiment of the present invention, the querying the deduction status of the order includes:
and initiating polling to a fee deduction server according to the fee deduction state of the order.
In an exemplary embodiment of the present invention, the initiating polling to a deduction server for the deduction status of the order includes:
generating a polling record corresponding to the order;
storing the polling record into a database corresponding to the order;
and if the polling state in the polling record is to be polled, inquiring the order from the fee deduction server to obtain the fee deduction state with the result of successful order fee deduction, failed order fee deduction or failed polling.
In an exemplary embodiment of the invention, the method further comprises:
and if the result obtained by the query processing is that the order fee deduction fails, stopping the polling.
In an exemplary embodiment of the invention, the method further comprises:
and if the result obtained by the query processing is the polling failure, continuing to perform the polling.
In an exemplary embodiment of the invention, the method further comprises:
and counting the polling times, and sending an alarm message when the polling times are greater than a polling threshold value.
In an exemplary embodiment of the present invention, the query information includes a callback interface corresponding to the order;
the sending of the abnormal information to the service server includes:
and calling the callback interface to send abnormal information to the service server.
According to a second aspect of the embodiments of the present invention, there is provided an order processing apparatus, including: the state query module is configured to respond to query information aiming at order deduction sent by a service server and to query the deduction state of the order;
and the information sending module is configured to send abnormal information to the service server if the result obtained by the query processing is that the order fee deduction is successful, wherein the abnormal information is used for indicating the service server to perform service logic processing on the order.
According to a third aspect of embodiments of the present invention, there is provided an electronic apparatus including: a processor and a memory; wherein the memory has stored thereon computer readable instructions which, when executed by the processor, implement the order processing method in any of the above exemplary embodiments.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the order processing method in any of the above-described exemplary embodiments.
As can be seen from the foregoing technical solutions, the order processing method, the order processing apparatus, the computer storage medium and the electronic device in the exemplary embodiment of the present disclosure have at least the following advantages and positive effects:
in the method and the device provided by the exemplary embodiment of the disclosure, the abnormal information can be sent to the service server through the query processing of the fee deduction state of the order, so that the service logic processing of the order is ensured. On one hand, the query information sent by the service server is automatically detected and recovered, so that complicated manual processing is avoided, and the exception handling efficiency is improved; on the other hand, the problem of abnormal order fee deduction is solved under the condition of being more friendly to the service server, and the burden of complex processing of the service server on the abnormal condition is relieved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
FIG. 1 schematically illustrates a flow diagram of an order processing method in an exemplary embodiment of the disclosure;
FIG. 2 schematically illustrates a flow chart of a method of initiating polling to a deduction server in an exemplary embodiment of the disclosure;
FIG. 3 is a diagram schematically illustrating an overall architecture of an order placing processing method in an application scenario in an exemplary embodiment of the present disclosure;
FIG. 4 schematically illustrates a timing diagram of an application scenario order placement process in an exemplary embodiment of the present disclosure;
FIG. 5 is a flow chart diagram schematically illustrating a method for processing different results in an application scenario in an exemplary embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an order processing apparatus according to an exemplary embodiment of the present disclosure;
FIG. 7 schematically illustrates an electronic device for implementing an order processing method in an exemplary embodiment of the present disclosure;
fig. 8 schematically illustrates a computer-readable storage medium for implementing an order processing method in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
The terms "a," "an," "the," and "said" are used in this specification to denote the presence of one or more elements/components/parts/etc.; the terms "comprising" and "having" are intended to be inclusive and mean that there may be additional elements/components/etc. other than the listed elements/components/etc.; the terms "first" and "second", etc. are used merely as labels, and are not limiting on the number of their objects.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities.
In order to solve the problems in the related art, the present disclosure provides an order processing method, in which a graphical user interface is provided through a first terminal device, and the graphical user interface displays at least a part of a game scene. Fig. 1 shows a flow chart of an order processing method, which, as shown in fig. 1, comprises at least the following steps:
and S110, responding to the query information aiming at the order deduction sent by the service server, and querying the deduction state of the order.
And S120, if the result obtained by the query processing is that the order fee deduction is successful, sending abnormal information to the service server, wherein the abnormal information is used for indicating the service server to carry out service logic processing on the order.
In the exemplary embodiment of the present disclosure, the abnormal information may be sent to the service server through query processing of the fee deduction state of the order, so as to ensure service logic processing of the order. On one hand, the query information sent by the service server is automatically detected and recovered, so that complicated manual processing is avoided, and the exception handling efficiency is improved; on the other hand, in the whole exception handling process, after the business server sends the query information, the business server only needs to perform business logic processing on the order according to the exception information fed back by the exception detection server, and if the exception detection server does not feed back the exception information, the business server only needs to work normally, so that the problem of exception of order deduction can be solved under the condition of being more friendly to the business server, and the burden of the business server on complex processing of the exception condition is relieved.
The steps of the order processing method are explained in detail below.
In step S110, the fee deduction status of the order is queried in response to the query information for the order fee deduction sent by the service server.
In an exemplary embodiment of the present disclosure, the service server may call an order fee deduction interface of the fee deduction server, and send a piece of query information to the abnormality detection server when the result returned by the order fee deduction interface is abnormal.
The fee deduction server can provide a fee deduction interface and an order state query interface to realize the functions of fee deduction and order state query.
In an optional embodiment, when the fee deduction interface of the fee deduction server is abnormal, the service server sends query information for the order fee deduction.
The query information is used for notifying the abnormity detection server that the fee deduction interface is abnormal.
For example, the query information includes identification information of the order, a callback interface, and may also include other information, which is not particularly limited in this exemplary embodiment. The callback interface is provided by the service server and is used for processing the service logic after the fee deduction is successful.
Further, when the abnormality detection server receives the query information, the fee deduction state of the order can be queried.
In an alternative embodiment, the deduction status for the order initiates a poll to the deduction server.
Further, in an alternative embodiment, fig. 2 shows a flowchart of a method for initiating polling to the deduction server, and as shown in fig. 2, the method at least includes the following steps: in step S210, a polling record corresponding to the order is generated.
The polling record may be initialized. The initialized polling record includes identification information of the order, a callback interface, a polling status, and a polling number, and may further include other information, which is not particularly limited in this exemplary embodiment. The polling state of the initialized polling record is to be polled, and the polling frequency is 0.
Also, since polling is performed continuously during a polling period, the polling record may be obtained after one or more polling. At this time, the polling state and the number of polling times are also updated in synchronization.
For example, the updating manner may be to update the polling status from waiting to be polled to polled, and the updating of the polling times may be to perform +1 processing on the existing polling times. In addition, other updating manners may be set according to actual situations, and this exemplary embodiment is not particularly limited to this.
In step S220, the polling record is stored in the database corresponding to the order.
After a polling record is generated, the polling record may be written to a corresponding database for storage and updating.
In step S230, if the polling status in the polling record is to be polled, the result obtained by performing query processing on the order from the fee deduction server is the fee deduction status of successful fee deduction for the order, failed fee deduction for the order, or failed polling.
When the polling state in the generated polling record is to be polled, the fee deduction state of the order is to be inquired, so that inquiry processing can be initiated to the fee deduction server.
And, the query processing of the order can be realized by an order status query interface in the deduction server.
The order state query interface can query that the processing result of the order is three conditions of order fee deduction success, order fee deduction failure or polling failure.
It should be noted that the query process may be initiated by one order, or may be initiated by multiple orders obtained in a preset polling period.
All orders in the polling period can initiate query processing to the deduction server as long as the polling state is to be polled. For example, the preset polling period may be 5 seconds, or may be other time lengths, which is not limited in this exemplary embodiment.
In the exemplary embodiment, by initiating polling to the fee deduction server, the function of inquiring the fee deduction state of the order can be realized, and the inquiry information sent by the service server is automatically detected and processed, so that tedious manual processing is avoided, and the exception handling efficiency is improved.
In step S120, if the result obtained by the query processing is that the order fee deduction is successful, sending abnormal information to the service server, where the abnormal information is used to instruct the service server to perform service logic processing on the order.
In an exemplary embodiment of the present disclosure, when the result obtained by the query processing is that the order fee deduction is successful, an abnormal message may be sent to the service server. The abnormal information is used for indicating the service server to carry out the service logic after the fee deduction is successful.
It should be noted that, the service server is instructed to perform the service logic processing on the order only when the abnormal information is sent, and the normal service processing is performed in other situations.
For example, the service logic may be to reissue virtual money to the user, or may be a service logic in any other manner, which is not limited in this exemplary embodiment.
In an optional embodiment, the query information includes a callback interface corresponding to the order, and therefore, the callback interface is called to send the exception information to the service server.
The callback interface is the same as the callback interface in step S110, and is not described herein again.
In addition, when the order fee deduction is successful, the polling state in the polling record corresponding to the order is updated to be polled, and the polling record is not polled in the following polling period.
In an alternative embodiment, if the result obtained by the query processing is that the order fee deduction fails, the polling is stopped.
When the result of inquiring the fee deduction state of the order is that the order fee deduction fails, the polling state in the polling record of the order is also set to be updated to be polled, and the polling record is not polled in the following polling period.
In an alternative embodiment, if the result obtained by the query processing is a polling failure, the polling is continued.
When the polling fails, it indicates that the charging status of the order is uncertain, and the polling needs to be continued in the next polling period. And, the number of polling times in the polling record of the order is subjected to +1 processing.
Further, in an optional embodiment, the number of polling times is counted, and when the number of polling times is greater than a polling threshold value, alarm information is sent.
The embodiment is suitable for the situation that the polling times are updated when the polling fails. The number of polling times may exceed a preset polling threshold due to constant polling failure. At this time, an alarm message may be sent for manual processing. After processing, the polling state of the polling record can be manually set, so that the polling resource is prevented from being occupied by invalid orders for a long time.
For example, the polling threshold may be 20, or may be set to other values, which is not limited in this exemplary embodiment.
The following describes an order processing method in the embodiment of the present disclosure in detail with reference to an application scenario.
Fig. 3 is a diagram illustrating an overall architecture of an order placement processing method in an application scenario, and as shown in fig. 3, the overall architecture of the order placement processing method includes a deduction server 310, a business server 320, and an anomaly detection server 330. The deduction server 310 may provide a deduction interface and an order status query interface, among others.
Further, fig. 4 shows a sequence diagram of the order placing processing method in the application scenario, as shown in fig. 4, in step S410, the service server 320 calls the deduction interface of the deduction server 310.
In step S420, if the charging interface is abnormal, the service server 320 sends query information to the abnormality detection server 330.
The query information includes identification information and a callback interface of the order. The callback interface is provided by the service server and is used for processing the service logic after the fee deduction is successful.
In step S430, the abnormality detection server 330 generates a polling record corresponding to the order, and writes the polling record in the database.
In step S440, the anomaly detection server 330 calls the order status query interface of the fee deduction server 310 to query the fee deduction status.
In step S450, if the fee deduction status is that the order fee deduction is successful, the anomaly detection server 330 sends anomaly information to the service server 320.
The abnormal information is used for indicating the business server to carry out business logic processing on the order.
Fig. 5 is a schematic flowchart illustrating a processing method of different results in an application scenario, and as shown in fig. 5, in step S510, the deduction anomaly detection server 330 takes out the polling status as an order to be polled from the database.
In step S520, the deduction abnormality detection server 330 calls the order status query interface of the deduction server 310.
In step S531, if the result obtained by the query processing is that the order fee deduction is successful, the polling status in the polling record of the order is set as polled.
In step S532, the callback interface is called to notify the service server 320 of the service logic processing.
In step S541, if the result of the query processing is that the order fee deduction fails, the polling status in the polling record of the order is set as polled.
In step S551, if the polling failure is the result of the query processing, the polling frequency +1 in the polling record of the order is updated.
In step S552, when the number of polling is greater than the polling threshold, an alert message notification manual process may be sent.
According to the order processing method in the application scene, abnormal information can be sent to the service server through query processing of the fee deduction state of the order, and service logic processing of the order is guaranteed. On one hand, the query information sent by the service server is automatically detected and recovered, so that complicated manual processing is avoided, and the exception handling efficiency is improved; on the other hand, the problem of abnormal order fee deduction is solved under the condition of being more friendly to the service server, and the burden of complex processing of the service server on the abnormal condition is relieved.
Further, in an exemplary embodiment of the present disclosure, an order processing apparatus is also provided. Fig. 6 shows a schematic structural diagram of an order processing apparatus, and as shown in fig. 6, the order processing apparatus 600 may include: a status query module 610 and an information sending module 620. Wherein:
the state query module 610 is configured to respond to query information for order deduction sent by the service server, and perform query processing on the deduction state of the order; the information sending module 620 is configured to send abnormal information to the service server if the result obtained by the query processing is that the order fee deduction is successful, where the abnormal information is used to instruct the service server to perform service logic processing on the order.
The details of the order processing apparatus 600 are already described in detail in the corresponding order processing method, and therefore are not described herein again.
It should be noted that although several modules or units of the order processing apparatus 600 are mentioned in the above detailed description, such division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
An electronic device 700 according to such an embodiment of the invention is described below with reference to fig. 7. The electronic device 700 shown in fig. 7 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 7, electronic device 700 is embodied in the form of a general purpose computing device. The components of the electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one memory unit 720, a bus 730 connecting different system components (including the memory unit 720 and the processing unit 710), and a display unit 740.
Wherein the memory unit stores program code that is executable by the processing unit 710 such that the processing unit 710 performs the steps according to various exemplary embodiments of the present invention as described in the above section "exemplary method" of the present specification.
The storage unit 720 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM)721 and/or a cache memory unit 722, and may further include a read only memory unit (ROM) 723.
The memory unit 720 may also include programs/utilities 724 having a set (at least one) of program modules 725, such program modules 725 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 730 may be any representation of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 700 may also communicate with one or more external devices 900 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 700, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 700 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O) interface 750. Also, the electronic device 700 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 760. As shown, the network adapter 740 communicates with the other modules of the electronic device 700 over the bus 730. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above-mentioned "exemplary methods" section of the present description, when said program product is run on the terminal device.
Referring to fig. 8, a program product 800 for implementing the above method according to an embodiment of the present invention is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. An order processing method, characterized in that the method comprises:
responding to query information aiming at order deduction sent by a service server, and querying the deduction state of the order;
and if the result obtained by the query processing is that the order fee deduction is successful, sending abnormal information to the service server, wherein the abnormal information is used for indicating the service server to carry out service logic processing on the order.
2. The order processing method according to claim 1, wherein before the response service server sends query information for order deduction, the method further comprises:
and when the fee deduction interface of the fee deduction server is abnormal, the service server sends query information aiming at the fee deduction of the order.
3. The order processing method according to claim 1, wherein the query processing of the deduction status of the order comprises:
and initiating polling to a fee deduction server according to the fee deduction state of the order.
4. The order processing method of claim 3, wherein the initiating a poll to a deduction server for the deduction status of the order comprises:
generating a polling record corresponding to the order;
storing the polling record into a database corresponding to the order;
and if the polling state in the polling record is to be polled, inquiring the order from the fee deduction server to obtain the result of fee deduction success of the order, fee deduction failure of the order or fee deduction failure of the polling.
5. The order processing method according to claim 4, wherein the method further comprises:
and if the result obtained by the query processing is that the order fee deduction fails, stopping the polling.
6. The order processing method according to claim 4, wherein the method further comprises:
and if the result obtained by the query processing is the polling failure, continuing to perform the polling.
7. The order processing method according to claim 6, wherein the method further comprises:
and counting the polling times, and sending an alarm message when the polling times are greater than a polling threshold value.
8. The order processing method according to claim 1, wherein the query information includes a callback interface corresponding to the order;
the sending of the abnormal information to the service server includes:
and calling the callback interface to send abnormal information to the service server.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the order processing method of any one of claims 1 to 8.
10. An electronic device, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the order processing method of any of claims 1-8 via execution of the executable instructions.
CN202010781158.2A 2020-08-06 2020-08-06 Order processing method and device, computer readable storage medium and electronic equipment Pending CN111784482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010781158.2A CN111784482A (en) 2020-08-06 2020-08-06 Order processing method and device, computer readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010781158.2A CN111784482A (en) 2020-08-06 2020-08-06 Order processing method and device, computer readable storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN111784482A true CN111784482A (en) 2020-10-16

Family

ID=72765893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010781158.2A Pending CN111784482A (en) 2020-08-06 2020-08-06 Order processing method and device, computer readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111784482A (en)

Similar Documents

Publication Publication Date Title
CN102567180A (en) Method and system for relevant alert delivery in a distributed processing system
CN110851324B (en) Log-based routing inspection processing method and device, electronic equipment and storage medium
CN111240940B (en) Real-time service monitoring method and device, electronic equipment and storage medium
CN111324474B (en) Celery task management method, system, equipment and storage medium
CN111026572A (en) Fault processing method and device of distributed system and electronic equipment
US9781266B1 (en) Functions and associated communication capabilities for a speech analytics component to support agent compliance in a contact center
CN112559140B (en) Transaction control method, system, equipment and storage medium for data consistency
CN111080390B (en) Order information modification method, system, equipment and storage medium
CN111459629A (en) Azkaban-based project operation method and device and terminal equipment
CN112965799A (en) Task state prompting method and device, electronic equipment and medium
CN111145033A (en) Service item receiving authority processing method and device and storage medium
CN111784482A (en) Order processing method and device, computer readable storage medium and electronic equipment
CN112445860A (en) Method and device for processing distributed transaction
CN113535439B (en) Service request processing method, device, equipment and storage medium
CN111061576B (en) Method and system for creating entity object
CN112860504A (en) Monitoring method and device, computer storage medium and electronic equipment
CN109600722B (en) Short message receiving verification method and device, electronic equipment and storage medium
CN114244894A (en) Halt and recovery service processing method and system, computer storage medium and electronic equipment
CN113504969A (en) Container event alarm method and device and electronic equipment
CN112925623A (en) Task processing method and device, electronic equipment and medium
CN108874625B (en) Information processing method and device, electronic equipment and storage medium
CN111176982A (en) Test interface generation method and device
WO2019100655A1 (en) Method and apparatus for constructing invoice requisition anomalies, computer device and storage medium
CN113094211B (en) Backup data processing method and device
CN111143295B (en) Policy information processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination