CN109447750B - Server, order processing method and system - Google Patents

Server, order processing method and system Download PDF

Info

Publication number
CN109447750B
CN109447750B CN201811244752.7A CN201811244752A CN109447750B CN 109447750 B CN109447750 B CN 109447750B CN 201811244752 A CN201811244752 A CN 201811244752A CN 109447750 B CN109447750 B CN 109447750B
Authority
CN
China
Prior art keywords
order
application
receiving
automatic
order information
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.)
Active
Application number
CN201811244752.7A
Other languages
Chinese (zh)
Other versions
CN109447750A (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.)
Rajax Network Technology Co Ltd
Original Assignee
Rajax Network Technology 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 Rajax Network Technology Co Ltd filed Critical Rajax Network Technology Co Ltd
Priority to CN201811244752.7A priority Critical patent/CN109447750B/en
Publication of CN109447750A publication Critical patent/CN109447750A/en
Application granted granted Critical
Publication of CN109447750B publication Critical patent/CN109447750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The invention discloses a server, an order processing method and a system, wherein the order processing method comprises the following steps: receiving order information from a user, wherein the order information comprises order data and an order number; judging the processing mode of the order according to the order information, wherein the processing mode comprises the following steps: automatic order receiving of a background and automatic order receiving of an application; and when the processing mode is that the application automatically accepts orders, the order number is sent to the polling interface so that the application can obtain order information through the polling interface. By the method and the device, the success rate of automatic order receiving of the merchant can be improved, and the problem of unsuccessful order receiving caused by deep sleep of the mobile phone when the automatic order receiving is applied is avoided.

Description

Server, order processing method and system
Technical Field
The invention relates to the field of information processing, in particular to a server, an order processing method and an order processing system.
Background
At present, the automatic order taking scheme for the take-out merchant mainly comprises background automatic order taking and foreground automatic order taking (also can be called as application automatic order taking), the two automatic order taking schemes are independent technical projects, and only one of the two automatic order taking schemes can be started at the same time.
The initiator of the background automatic order taking scheme is a background server which cannot timely inform the merchants of the number of new orders and the number of successful order taking. The foreground automatic order receiving scheme is that an Application (Application, abbreviated as App) receives new order data by pulling a new order list so as to initiate automatic order receiving operation, and after the automatic order receiving is successful, an prompt tone for the automatic order receiving success is directly played.
However, since the order receiving party of the foreground automatic order receiving is the App, if the user does not operate the mobile phone for a long time, the mobile phone will enter deep sleep, and at this time, the application-level App survives but cannot complete normal work, that is, cannot complete automatic order receiving, so that the problems of order missing and order not being received within time are caused, and since the deep sleep of the mobile phone may cause process suspension, App application-level sound reminding may also fail to be played, and a merchant may not receive sound reminding for a long time.
Disclosure of Invention
In view of this, embodiments of the present invention provide a server, an order processing method, and a system, so as to solve a problem that a foreground automatic order receiving merchant cannot automatically receive an order due to a mobile phone entering deep sleep in the prior art.
According to a first aspect of the embodiments of the present invention, there is provided an order processing method, including: receiving order information from a user, wherein the order information comprises order data and an order number; judging the processing mode of the order according to the order information, wherein the processing mode comprises the following steps: automatic order receiving of a background and automatic order receiving of an application; and when the processing mode is that the application automatically accepts orders, the order number is sent to the polling interface so that the application can obtain order information through the polling interface.
According to a second aspect of embodiments of the present invention, there is provided an order processing method, the method including: viewing a predetermined field value of the polling interface; when the value of the preset field of the polling interface changes, judging that the server receives new order information; and obtaining order information according to the preset field value of the polling interface.
According to a third aspect of embodiments of the present invention, there is provided a server including: the information receiving unit is used for receiving order information from a user, and the order information comprises order data and order numbers; a processing mode judging unit, configured to judge a processing mode of the order according to the order information, where the processing mode includes: automatic order receiving of a background and automatic order receiving of an application; and the information sending unit is used for sending the order number to the polling interface when the processing mode is that the application automatically accepts the order, so that the application can obtain the order information through the polling interface.
According to a fourth aspect of the embodiments of the present invention, there is provided an order processing system, including the server and a user terminal, where the user terminal is installed with an application, and the application includes: a viewing unit for viewing a predetermined field value of the polling interface; the order judging unit is used for judging that the server receives new order information when the preset field value of the polling interface changes; and the order obtaining unit is used for obtaining order information according to the preset field value of the polling interface.
According to a fifth aspect of embodiments of the present invention, there is provided a computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the method according to the first aspect.
According to a sixth aspect of embodiments of the present invention, there is provided an electronic device comprising a memory and a processor, wherein the memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to the first aspect.
The embodiment of the invention integrates background automatic order receiving and application automatic order receiving, and sends the order information to the polling interface by judging the processing mode of the received order information when the processing mode is the application automatic order receiving so that an application (App) can obtain the order information through the polling interface.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
FIG. 1 is a flow diagram of an order processing method according to an embodiment of the invention;
FIG. 2 is a detailed flow diagram of an order processing method according to an embodiment of the invention;
FIG. 3 is a flow diagram of an application obtaining order information according to an embodiment of the invention;
FIG. 4 is a block diagram of a server according to an embodiment of the present invention;
FIG. 5 is a detailed block diagram of a server according to an embodiment of the present invention;
fig. 6 is a block diagram of the configuration of the process status determination unit 404 according to the embodiment of the present invention;
FIG. 7 is a block diagram of the audio alert unit 405 according to an embodiment of the present invention;
FIG. 8 is a block diagram of an order processing system according to an embodiment of the present invention;
FIG. 9 is a block diagram of an application according to an embodiment of the present invention;
FIG. 10 is a block diagram of an application scenario of an order processing system according to an embodiment of the present invention;
FIG. 11 is a schematic diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The present invention will be described below based on examples, but the present invention is not limited to only these examples. In the following detailed description of the present invention, certain specific details are set forth. It will be apparent to one skilled in the art that the present invention may be practiced without these specific details. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the present invention.
Further, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale.
Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, what is meant is "including, but not limited to".
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
Based on the fact that the automatic order receiving mode in the prior art is background automatic order receiving or application automatic order receiving, the background automatic order receiving or the application automatic order receiving cannot be started simultaneously, and when the order receiving mode is application automatic order receiving and the application is in a deep sleep state, orders can be missed due to the fact that the application cannot automatically receive orders.
Fig. 1 is a flowchart of an order processing method according to an embodiment of the present invention, as shown in fig. 1, the method including:
step 101, receiving order information from a user, wherein the order information comprises order data and an order number;
step 102, judging the processing mode of the order according to the order information, wherein the processing mode comprises the following steps: automatic order receiving of a background and automatic order receiving of an application;
and 103, when the processing mode is automatic order receiving of the application, sending the order number in the order information to a polling interface so that the application (App) can obtain the order information through the polling interface.
The embodiment of the invention integrates background automatic order receiving and application automatic order receiving, and sends the order information to the polling interface by judging the processing mode of the received order information when the processing mode is the application automatic order receiving so that an application (App) can obtain the order information through the polling interface.
In actual operation, when the processing mode is background automatic order receiving, the order information is subjected to background automatic order receiving processing. The background automatic order receiving is mainly oriented to large-scale chain merchants such as Kendeji and McDonald's labor and the like, and the merchants have an own order receiving platform.
In step 103, when the processing mode is automatic order taking by the application, the order number is sent to the polling interface, so that the polling interface can modify the predetermined field value, the application can know that a new order is provided according to the predetermined field value of the polling interface, and then order information is obtained through the predetermined field value.
In one embodiment, the application builds an order object array that is used to store order information. After the application acquires the order information, the acquired order information is stored in the order object array, and then the order information in the order object array is played, so that a merchant can know that a new order is provided in time, and can prepare for a customer.
After the application plays the order information, the order information is deleted from the order object array so as to avoid repeatedly playing the order information.
In actual operation, the application may be in a process abnormal state, for example, a deep sleep state, and at this time, the user may be alerted by sound at a first predetermined time. The first predetermined time may be 30 minutes before the order is delivered or 30 minutes after the order is received in step 101 to alert the merchant to prevent missed orders.
The reminding the user by the sound mode may include: activating a system short message ring; the phone is turned on to make a call to the user terminal.
Specifically, the application level sound playing can be monitored, and when the application level sound playing fails due to a process anomaly problem such as deep sleep, a system short message ring is tried to be activated to remind a merchant, for example, "you have a new order and please handle in time" when the application level sound is played normally is changed into a system short message ring for reminding.
The application in the process abnormal state can be judged by the following modes: acquiring all application requests of the user terminal in second preset time; and when all application requests have and only have polling interface requests, judging that the application is in a process abnormal state. The second predetermined time here may be determined according to actual conditions.
The polling interface borrows the system level process, so that the polling interface is not influenced by the abnormity of the application process, the polling interface can normally work, the background server monitors the pulling condition of the application interface of the merchant, if only the polling interface is operated for a long time and other interface requests do not exist, the merchant terminal is defaulted to enter a deep sleep state, and at the moment, the call reminding is started to remind the merchant to receive the order in a manner of dialing the merchant call.
After the application acquires the order information through the polling interface in step 103, a cleaning operation is performed on the order information, for example, the order information is deleted, so that the application is prevented from repeatedly acquiring the same order.
Fig. 2 is a detailed flowchart of an order processing method according to an embodiment of the present invention, as shown in fig. 2, the method includes:
step 201, receiving a new order, wherein the order information includes: order data and order numbers;
step 202, judging whether to start an automatic order receiving process; if yes, go to step 204, otherwise go to step 203;
step 203, processing the order according to the conventional order receiving logic;
step 204, judging whether the background automatic order receiving is started or not; if yes, go to step 205, otherwise go to step 206;
step 205, flow to the automatic order receiving flow of the background;
step 206, the automatic order receiving is successful;
step 207, synchronizing the number of the orders successfully automatically received to a polling (notice) interface, and recording the order numbers;
step 208, an application (App) pulls a polling interface to obtain the number of the automatic order taking, and if the number of the automatic order taking is not 0, the order number stored in the automatic order taking is pulled;
step 209, synchronizing the order information successfully automatically received to the App through the automatic order receiving synchronous interface;
step 210, the order information is cleared.
In actual practice, the polling interface in step 208 will loop to see if there is a new order, and if so, the process starts to execute step 201.
Fig. 3 is a flowchart of the application acquiring order information, and as shown in fig. 3, the flowchart includes:
step 301, a polling interface pulls data, mainly order information;
in step 302, the application determines whether the number of successful automatic order taking is 0 by polling a predetermined field value of the interface? If 0, go to step 303, otherwise go to step 304;
if there is a new order, the polling interface modifies a predetermined field value that is primarily indicative of the number of successful auto-order pickups.
Step 303, waiting for next polling without operation;
step 304, the application acquires order information of successful automatic order taking;
step 305, judging whether the order information is already played by the application, if so, ending the process, otherwise, executing step 306;
step 306, sound playing is performed to remind the merchant of a new order.
In actual operation, the mobile phone system can capture the history of audio playing, if the system does not find the order record after playing a section of audio, the application level sound corresponding to the order is considered to be failed to play, at this moment, the system ring tone playing is tried to be called for carrying out merchant order reminding, and the reminding sound is the default short message reminding sound of the merchant mobile phone, so that although the merchant may not hear the reminding sound, the order information can be timely checked by opening the App according to the system reminding sound of the mobile phone, and the order missing is avoided.
If the merchant does not perform relevant operations when the prompt is performed through the mobile phone system prompt tone, the telephone prompt is required at the moment, but the server does not know when the App triggers the situation, so that the server records interface data initiated by the merchant mobile phone for a long time, when only polling the interface data is found for a long time, the App is in a deep sleep state by default, and the telephone prompt is performed before the order is taken and distributed (for example, 30 minutes ago) according to the contact mobile phone number set by the merchant.
According to the embodiment of the invention, by integrating the background automatic order receiving and the application automatic order receiving, and when the processing mode is the application automatic order receiving, the merchant can be reminded to receive the order in a sound mode, so that the success rate of the merchant automatic order receiving can be improved, and the problem of unsuccessful order receiving caused by deep sleep of the mobile phone when the application automatic order receiving is performed is avoided.
An embodiment of the present invention further provides a server, and fig. 4 is a block diagram of the server, for example
As shown in fig. 4, the server includes: an information receiving unit 401, a processing mode judging unit 402, and an information transmitting unit 403, wherein:
an information receiving unit 401, configured to receive order information from a user, where the order information includes order data and an order number;
a processing mode determining unit 402, configured to determine a processing mode of the order according to the order information, where the processing mode includes: a background automatic order taking and an application (App) automatic order taking;
an information sending unit 403, configured to send the order number to the polling interface when the processing mode is automatic order taking by the application, so that the application obtains the order information through the polling interface.
The server integrates background automatic order receiving and application automatic order receiving, the processing mode judging unit 402 judges the processing mode of the order information received by the information receiving unit 401, and when the processing mode is application automatic order receiving, the information sending unit 403 sends the order number to the polling interface so that the application can obtain the order information through the polling interface.
Fig. 5 is a detailed block diagram of a server according to an embodiment of the present invention, and as shown in fig. 5, the server further includes: a process state judgment unit 404, a sound reminding unit 405, a cleaning unit 406 and a background automatic processing unit 407, which are described in detail below with reference to fig. 5-7.
A process state judgment unit 404, configured to judge whether the application is in a process abnormal state according to all application requests within a first predetermined time.
Specifically, as shown in fig. 6, the process state determination unit 404 includes: an application request obtaining module 4041 and a process state judging module 4042, wherein: an application request obtaining module 4041, configured to obtain all application requests in a first predetermined time; the process status determining module 4042 is configured to determine that the application is in a process abnormal state when all the application requests have and only have the polling interface request. The first predetermined time here may be determined according to actual conditions.
In actual operation, the polling interface borrows a system-level process, so that the system-level process is not influenced by the exception of the application process, the polling interface can work normally, the server monitors the pulling condition of the application interface of the merchant, and if only the polling interface operates for a long time and other interface requests do not exist, the merchant terminal application is in an abnormal process state by default, for example, the merchant terminal is in a deep sleep state.
And the sound reminding unit 405 is configured to remind the user in a sound mode at a second preset time when the processing mode is that the application automatically accepts orders and the application is in a process abnormal state. The second preset time can be 30 minutes before the order is delivered or 30 minutes after the order is received by the server, and the merchant is reminded in an audio mode, so that the order omission can be prevented.
Specifically, as shown in fig. 7, the sound alert unit 405 includes: short message ring tone activation module 4051 and phone opening module 4052, wherein: a short message ring activation module 4051, configured to activate a system short message ring; a phone turning on module 4052 for turning on a phone to make a call to the user terminal.
The cleaning unit 406 is configured to perform a cleaning operation on the order information after the application acquires the order information through the polling interface, so that the application is prevented from repeatedly acquiring the same order.
In one example, the cleaning unit 406 may also perform the cleaning operation after the polling interface obtains the order information.
And the background automatic processing unit 407 is configured to perform background automatic order receiving processing on the order information when the processing mode is a background automatic order receiving mode.
The method comprises the steps of obtaining order information through a server, judging whether an automatic order receiving is started by a merchant corresponding to the order, if the automatic order receiving is not started, pushing the order to a conventional order flow, if the automatic order receiving is started, judging whether a background automatic order receiving is started, if the background automatic order receiving is started, entering a background automatic order receiving flow, otherwise, automatically receiving the order and recording the order number, waiting for the acquisition of a polling interface, and after the acquisition of the polling interface is successful, carrying out order numbering clearing operation so as to avoid the polling interface from repeatedly obtaining the same order. Through the server, the success rate of automatic order receiving of the merchant can be improved, and the problem of unsuccessful order receiving caused by deep sleep of the mobile phone in the prior art by applying the automatic order receiving is avoided.
An embodiment of the present invention further provides an order processing system, as shown in fig. 8, where the system may include the server and a user terminal (also referred to as a merchant terminal), where the user terminal is installed with an application, where the application specifically includes: a viewing unit 801, an order determination unit 802, and an order acquisition unit 803, wherein:
a viewing unit 801 for viewing a predetermined field value of the polling interface;
an order determining unit 802, configured to determine that the server receives new order information when a predetermined field value of the polling interface changes;
an order obtaining unit 803, configured to obtain order information according to a predetermined field value of the polling interface.
The server obtains the order information, when the server determines that the order is in an automatic order receiving mode, the server sends the order information to the polling interface, the polling interface modifies the predetermined field value, the order determining unit 802 determines that the server receives new order information when the checking unit 801 checks that the predetermined field value of the polling interface changes, and then the order obtaining unit 803 obtains the order information according to the predetermined field value of the polling interface, so that the merchant can process the order in time. The system can improve the success rate of automatic order receiving of the commercial tenant and avoid the problem of unsuccessful order receiving of the automatic order receiving of the application due to deep sleep of the commercial tenant terminal by integrating the automatic order receiving of the background and the automatic order receiving of the application.
In practical operation, as shown in fig. 9, the above application further includes: an array creation unit 804, an order storage unit 805, an order playing unit 806, and a deletion unit 807, wherein:
the array establishing unit 804 is used for establishing an order object array, and the order object array is used for storing order information;
an order storage unit 805, configured to store the obtained order information into an order object array;
an order playing unit 806, configured to play order information in the order object array;
a deleting unit 807 for deleting the played order information from the order object array.
Through the order playing unit 806, the merchant can get a new order in time to prepare for the customer, and the deleting unit 807 can avoid repeatedly playing the same order information.
In the specific implementation process, after receiving the number of orders successfully automatically received through the polling interface, the application pulls the detailed order information, and the application generates an order object array which contains the detailed information of each order, such as order number and the like. And synchronizing the order-receiving success object array to sound playing. In the process of synchronization, whether the sound playing plays the order or not is detected, if not, the playing is started, otherwise, the playing is not performed. When the sound of successful automatic order receiving of one order is played, the order information is removed so as to avoid repeated playing.
Fig. 10 is an application scenario diagram of an order processing system according to an embodiment of the present invention, as shown in fig. 10, a server receives a plurality of new orders, where the new orders include an order a (corresponding to a merchant a) and an order B (corresponding to a merchant B) that require an App to automatically receive orders, and a mcdonald order C, the server respectively transfers the order a and the order B to the App automatic order receiving process, and transfers the mcdonald order C to a background automatic order receiving process, the merchant a receives the order a information and immediately processes the order, the merchant B has no operation, the server determines that the mobile phone of the merchant B is in a deep sleep state, and calls the mobile phone of the merchant B to remind the merchant B before the order is scheduled to pick up and deliver for 30 minutes to avoid missing the order.
Fig. 11 is a schematic diagram of an electronic device of an embodiment of the invention. The electronic device shown in fig. 11 is a general-purpose data processing apparatus comprising a general-purpose computer hardware structure including at least a processor 1101 and a memory 1102. The processor 1101 and the memory 1102 are connected by a bus 1103. The memory 1102 is adapted to store instructions or programs executable by the processor 1101. The processor 1101 may be a stand-alone microprocessor or a collection of one or more microprocessors. Thus, the processor 1101 implements the processing of data and the control of other devices by executing the commands stored in the memory 1102, thereby executing the method flows of embodiments of the present invention as described above. The bus 1103 connects the above-described components together, as well as connecting the above-described components to the display controller 1104 and the display device and input/output (I/O) device 1105. Input/output (I/O) devices 1105 may be a mouse, keyboard, modem, network interface, touch input device, motion sensing input device, printer, and other devices known in the art. Typically, input/output (I/O) devices 1105 are connected to the system through an input/output (I/O) controller 1106.
The memory 1102 may store, among other things, software components such as an operating system, communication modules, interaction modules, and application programs. Each of the modules and applications described above corresponds to a set of executable program instructions that perform one or more functions and methods described in embodiments of the invention.
In summary, in the prior art, the automatic order receiving function of the merchant is mainly divided into an App automatic order receiving function and a background automatic order receiving function, but the App automatic order receiving function is affected by deep sleep, so that the order receiving function is unsuccessful, therefore, an embodiment of the present invention provides an order processing scheme, in which all the automatic order receiving functions are implemented by handing over the automatic order receiving function to a high-stability server, order data and an order number after the automatic order receiving function is successful are sent to the App, and sound playing is triggered to remind the merchant of performing order receiving and distribution operation, and a request interface sent by the same terminal device within a predetermined time is used to roughly judge whether the terminal enters a deep sleep state, and if the terminal is in the deep sleep state, the merchant is called to remind the merchant of performing commodity matching and picking up 30 minutes before the order is distributed. By the embodiment of the invention, the success rate of automatic order receiving of the merchant can be improved, the problem of unsuccessful order receiving of the App in the prior art caused by deep sleep and abnormal process of the mobile phone is avoided, and the problem of single sound can be avoided.
The flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention described above illustrate various aspects of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
Also, as will be appreciated by one skilled in the art, aspects of embodiments of the present invention may be embodied as a system, method or computer program product. Accordingly, various aspects of embodiments of the invention may take the form of: an entirely hardware implementation, an entirely software implementation (including firmware, resident software, micro-code, etc.) or an implementation combining software and hardware aspects that may all generally be referred to herein as a "circuit," module "or" system. Further, aspects of the invention may take the form of: a computer program product embodied in one or more computer readable media having computer readable program code embodied thereon.
Any combination of one or more computer-readable media may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer 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 suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, 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. In the context of embodiments of the present invention, a computer 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to: electromagnetic, optical, or any suitable combination thereof. The computer readable signal medium may be any of the following computer readable media: is not a computer readable storage medium and may communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Computer 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: object oriented programming languages such as Java, Smalltalk, C + +, PHP, Python, and 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 computer, partly on the user's computer, as a stand-alone software package; executing in part on a user computer and in part on a remote computer; or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. An order processing method, characterized in that the method comprises:
receiving order information from a user, wherein the order information comprises order data and an order number;
judging the processing mode of the order according to the order information, wherein the processing mode comprises the following steps: automatic order receiving of a background and automatic order receiving of an application;
when the processing mode is automatic order receiving by the application, the order number is sent to a polling interface so that the application can obtain the order information through the polling interface;
when the processing mode is background automatic order receiving, carrying out background automatic order receiving processing on the order information;
when the processing mode is that the application automatically receives orders and the application is in a process abnormal state, reminding a user in a first preset time in a sound mode;
wherein reminding the user at a first predetermined time by a voice mode comprises:
playing application level sound and monitoring the application level sound;
responding to the failure of playing the application level sound, and activating a system short message ring;
responding to the application in the process abnormal state, and starting a telephone to make a call for the user terminal;
judging that the application is in a process abnormal state by the following method:
acquiring all application requests of the user terminal in second preset time;
and when all the application requests have polling interface requests, judging that the application is in a process abnormal state.
2. The order processing method of claim 1, wherein after the application obtains the order information through the polling interface, the method further comprises:
and cleaning the order information.
3. A server, characterized in that the server comprises:
the information receiving unit is used for receiving order information from a user, wherein the order information comprises order data and an order number;
a processing mode determining unit, configured to determine a processing mode of the order according to the order information, where the processing mode includes: automatic order receiving of a background and automatic order receiving of an application;
the information sending unit is used for sending the order number to a polling interface when the processing mode is that the application automatically accepts orders so that the application can obtain the order information through the polling interface;
the background automatic processing unit is used for carrying out background automatic order receiving processing on the order information when the processing mode is background automatic order receiving;
the reminding unit is used for reminding the user in a sound mode at second preset time when the processing mode is that the application automatically accepts orders and the application is in a process abnormal state;
the process state judging unit is used for judging whether the application is in a process abnormal state or not according to all application requests within first preset time;
wherein, the warning unit includes:
the playing monitoring module is used for playing application level sound and monitoring the application level sound;
the short message ring activation module is used for responding to the failure of playing the application level sound and activating the system short message ring;
the telephone starting module is used for responding to the application in the process abnormal state and starting a telephone to make a call for the user terminal;
the process state judgment unit includes:
an application request acquisition module, configured to acquire all application requests within the first predetermined time;
and the process state judgment module is used for judging that the application is in a process abnormal state when all the application requests have the polling interface request and only the polling interface request exists.
4. The server of claim 3, further comprising:
and the cleaning unit is used for cleaning the order information after the application acquires the order information through the polling interface.
5. A computer-readable storage medium on which computer program instructions are stored, which computer program instructions, when executed by a processor, implement the method of any of claims 1-2.
6. An electronic device comprising a memory and a processor, wherein the memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method of any of claims 1-2.
CN201811244752.7A 2018-10-24 2018-10-24 Server, order processing method and system Active CN109447750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811244752.7A CN109447750B (en) 2018-10-24 2018-10-24 Server, order processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811244752.7A CN109447750B (en) 2018-10-24 2018-10-24 Server, order processing method and system

Publications (2)

Publication Number Publication Date
CN109447750A CN109447750A (en) 2019-03-08
CN109447750B true CN109447750B (en) 2021-10-29

Family

ID=65548318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811244752.7A Active CN109447750B (en) 2018-10-24 2018-10-24 Server, order processing method and system

Country Status (1)

Country Link
CN (1) CN109447750B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266749A (en) * 2019-04-25 2019-09-20 郑州时空隧道信息技术有限公司 Order information method for pushing, device and terminal
CN110912980B (en) * 2019-11-19 2023-09-01 北京三快在线科技有限公司 Order state synchronization method, system and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1335527A4 (en) * 2000-10-26 2006-03-08 Sharp Kk Communication control method and communication device
CN101594415A (en) * 2008-05-30 2009-12-02 北京爱国者存储科技有限责任公司 But the method for a kind of electronic voice recording equipment automatic call recording and band time marking
CN104700016A (en) * 2015-03-17 2015-06-10 上海与德通讯技术有限公司 Starting method and device of application program
CN107845008A (en) * 2016-09-21 2018-03-27 北京小度信息科技有限公司 Information acceptance control method and device
CN108449410A (en) * 2018-03-19 2018-08-24 深信服科技股份有限公司 Information management method, system and relevant apparatus in a kind of cloud platform
CN108459902A (en) * 2018-01-24 2018-08-28 北京三快在线科技有限公司 Method, apparatus and electronic equipment for order-processing business

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106327304A (en) * 2016-08-26 2017-01-11 北京小度信息科技有限公司 Order processing method, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1335527A4 (en) * 2000-10-26 2006-03-08 Sharp Kk Communication control method and communication device
CN101594415A (en) * 2008-05-30 2009-12-02 北京爱国者存储科技有限责任公司 But the method for a kind of electronic voice recording equipment automatic call recording and band time marking
CN104700016A (en) * 2015-03-17 2015-06-10 上海与德通讯技术有限公司 Starting method and device of application program
CN107845008A (en) * 2016-09-21 2018-03-27 北京小度信息科技有限公司 Information acceptance control method and device
CN108459902A (en) * 2018-01-24 2018-08-28 北京三快在线科技有限公司 Method, apparatus and electronic equipment for order-processing business
CN108449410A (en) * 2018-03-19 2018-08-24 深信服科技股份有限公司 Information management method, system and relevant apparatus in a kind of cloud platform

Also Published As

Publication number Publication date
CN109447750A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
JP6571144B2 (en) Monitoring system, monitoring device, server, and monitoring method
CN109739727B (en) Service monitoring method and device in micro-service architecture
WO2019148936A1 (en) Information reminder
CN109447750B (en) Server, order processing method and system
CN111367698B (en) Application program flash back detection and processing method and device and electronic equipment
CN104065526A (en) Server fault alarming method and device thereof
US9461879B2 (en) Apparatus and method for system error monitoring
US10108474B2 (en) Trace capture of successfully completed transactions for trace debugging of failed transactions
CN110534136B (en) Recording method and device
CN110881224B (en) Network long connection method, device, equipment and storage medium
CN112860504A (en) Monitoring method and device, computer storage medium and electronic equipment
WO2016086635A1 (en) Network element upgrade management method and apparatus
US11930292B2 (en) Device state monitoring method and apparatus
US9602665B1 (en) Functions and associated communication capabilities for a speech analytics component to support agent compliance in a call center
JP4786392B2 (en) Event information management system
CN111400081A (en) Process guarding method and device, electronic equipment and computer storage medium
CN112153215A (en) Call processing method and device, related equipment and storage medium
CN110893616B (en) Remote control method and device, computer equipment and storage medium
JP2006331026A (en) Message analysis system and message analysis program
JP2016174196A (en) Report system, report terminal, center device, and terminal management method
JPH10105440A (en) System fault monitoring device and recording medium
CN111290873B (en) Fault processing method and device
CN112435063A (en) Resource processing method and device, electronic equipment and storage medium
JP4388449B2 (en) Screen transition system monitoring system and monitoring method
CN112732728A (en) Data synchronization method and system

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
GR01 Patent grant
GR01 Patent grant