CN117474623A - Method, device, equipment and storage medium for ordering - Google Patents

Method, device, equipment and storage medium for ordering Download PDF

Info

Publication number
CN117474623A
CN117474623A CN202311402962.5A CN202311402962A CN117474623A CN 117474623 A CN117474623 A CN 117474623A CN 202311402962 A CN202311402962 A CN 202311402962A CN 117474623 A CN117474623 A CN 117474623A
Authority
CN
China
Prior art keywords
order
current
display screen
orders
robbing
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
CN202311402962.5A
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.)
Beijing Bailong Mayun Technology Co ltd
Original Assignee
Beijing Bailong Mayun 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 Beijing Bailong Mayun Technology Co ltd filed Critical Beijing Bailong Mayun Technology Co ltd
Priority to CN202311402962.5A priority Critical patent/CN117474623A/en
Publication of CN117474623A publication Critical patent/CN117474623A/en
Pending legal-status Critical Current

Links

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 application relates to a method, a device, equipment and a storage medium for ordering, wherein the method comprises the following steps: acquiring configuration information from a cloud, and starting a multi-order display mode of a display screen based on the configuration information; receiving a current order sent by a cloud and displaying the current order on a display screen, wherein the display screen is used for displaying orders with preset quantity; determining the display time of the current order according to the configuration information, and displaying the current order on a display screen based on the display time; and receiving a command of the user for rescuing the orders, and simultaneously rescuing a plurality of orders displayed on the current display screen according to the command of the user for rescuing the orders. The utility model has the advantages of a plurality of orders can be robbed simultaneously, the efficiency of the driver side robbed orders can be greatly improved, the order receiving rate of the driver is improved, and the service scale is further improved.

Description

Method, device, equipment and storage medium for ordering
Technical Field
The present invention relates to the field of the internet, and in particular, to a method, an apparatus, a device, and a storage medium for robbing.
Background
At present, with the development of internet technology, platforms such as a driving platform and a network car-restraining platform are raised, in the current order-grabbing logic of the driving platform or the network car-restraining platform, a driver can only click and select one order to grab a list, and after the driver grabs the list, the driver can be locked and released after waiting for a final result of the background returning to grab the list.
At present, the locking time is 10 seconds short and 15 seconds long, a driver needs to wait for a robbery list result returned by a background in the locking time, and the driver cannot click other robbery list operations in the locking time, so that the robbery list efficiency is low, and the pick-up rate of the driver is low. Therefore, a method is needed to improve the efficiency of the driver side order and the business scale.
Disclosure of Invention
Based on the above, the application provides a method, a device, equipment and a storage medium for ordering, so as to solve the problems in the prior art.
In a first aspect, a method of robbing a bill is provided, the method comprising:
acquiring configuration information from a cloud, and starting a multi-order display mode of a display screen based on the configuration information;
receiving a current order sent by a cloud and displaying the current order on a display screen, wherein the display screen is used for displaying orders with preset quantity;
determining the display time of the current order according to the configuration information, and displaying the current order on a display screen based on the display time;
and receiving a command of the user for rescuing the orders, and simultaneously rescuing a plurality of orders displayed on the current display screen according to the command of the user for rescuing the orders.
According to an implementation manner in the embodiments of the present application, the determining, according to the configuration information, a display time of the current order, and displaying, on a display screen, the current order based on the display time includes:
receiving a current order sent by a cloud end, adding the current order into a queue, and recording the time of adding the current order into the queue, wherein the queue is used for storing the preset number of orders to be displayed on a display screen;
determining the display time of the current order according to the configuration information;
obtaining the time of adding the current order into the queue after a preset time interval;
and if the time for adding the current order to the queue is less than the showing time, showing the current order on the display screen, and if the time for adding the current order to the queue exceeds the showing time, removing the current order from the queue, and not showing the current order on the display screen.
According to an implementation manner in the embodiment of the present application, the receiving the current order sent by the cloud end adds the current order to the queue, including:
determining the maximum order quantity displayed in the queue according to the configuration information;
receiving a current order sent by a cloud and acquiring the number of orders in the current queue;
and adding the current order into the queue in response to the current order quantity in the queue being smaller than the maximum order quantity.
According to one implementation manner in the embodiments of the present application, the receiving the order-robbing instruction of the user, according to the order-robbing instruction, simultaneously robbing a plurality of orders displayed on the current display screen, includes:
receiving a first order-robbing instruction sent by a user, and simultaneously robbing all orders displayed on a current display screen according to the first order-robbing instruction, wherein the first order-robbing instruction indicates to simultaneously rob all orders displayed on the current display screen; or alternatively, the first and second heat exchangers may be,
receiving a second order-robbing instruction sent by a user, and simultaneously robbing any plurality of orders displayed on the current display screen according to the second order-robbing instruction, wherein the second order-robbing instruction indicates to simultaneously rob any plurality of orders displayed on the current display screen.
According to one implementation manner in the embodiments of the present application, the method further includes:
sending the order-robbing information corresponding to the order-robbing instruction to a server and starting timing, wherein the order-robbing information comprises order information of the orders;
and responding to the fact that the time for sending the order robbing information to the server reaches the preset time, requesting an order robbing result from the server, and displaying the order robbing result.
According to one implementation manner in the embodiments of the present application, the requesting the robbery list result from the server and displaying the robbery list result includes:
requesting a robbery result from the server, and receiving the robbery result in response to the server generating the robbery result within a preset time, wherein the robbery result comprises success or failure; if successful, displaying the order-robbing success information, wherein the order-robbing success information comprises corresponding order information; if the message fails, displaying the robbery failure information;
and in response to the server not generating the robbery list result in the preset time, displaying robbery list failure information.
According to one implementation manner in the embodiments of the present application, the receiving the current order sent by the cloud and displaying the current order on the display screen, where the display screen is used for displaying a preset number of orders, includes:
receiving a current order sent by a cloud, and determining the priority of the current order according to the distance between the passenger boarding space of the current order and a driver end;
displaying a plurality of orders with preset quantity on the display screen based on a preset priority order;
the displaying a plurality of orders of a preset quantity on the display screen based on a preset priority order comprises the following steps:
setting the order with the highest priority as a main order, and displaying order information of the main order at the bottom of the display screen; order information of a secondary order is displayed on the top of the display screen, wherein the secondary order is an order other than the primary order.
In a second aspect, there is provided a robbery-ticket device, the device comprising:
the acquisition module is used for: the method comprises the steps of acquiring configuration information from a cloud, and starting a multi-order display mode of a display screen based on the configuration information;
and a receiving module: the display screen is used for receiving the current orders sent by the cloud and displaying the current orders on the display screen, and the display screen is used for displaying orders with preset quantity;
and a display module: the display time is used for determining the display time of the current order according to the configuration information, and the current order is displayed on a display screen based on the display time;
and (5) a robbing module: and the system is used for receiving a command of the user for rescuing, and simultaneously rescuing a plurality of orders displayed on the current display screen according to the command of the user for rescuing.
In a third aspect, there is provided a computer device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores computer instructions executable by the at least one processor to enable the at least one processor to perform the method as referred to in the first aspect above.
In a fourth aspect, there is provided a computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method referred to in the first aspect above.
According to the technical content provided by the embodiment of the application, the configuration information is acquired from the cloud, a multi-order display mode of the display screen is started based on the configuration information, further, a current order sent by the cloud is received and displayed on the display screen, the display screen is used for displaying a preset number of orders, the display time of the current order is determined according to the configuration information, the current order is displayed on the display screen based on the display time, finally, an order-robbing instruction of a user is received, and a plurality of orders displayed on the current display screen are simultaneously robbed according to the order-robbing instruction. The driver can rob a plurality of orders simultaneously, the efficiency of the driver side robbery of the orders can be greatly improved, the order receiving rate of the driver is improved, and the service scale is further improved.
Drawings
FIG. 1 is a flow diagram of a method of preemption in one embodiment;
FIG. 2 is a schematic diagram of a method of preemption in one embodiment;
FIG. 3 is a block diagram of an embodiment of a robbery device;
fig. 4 is a schematic structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Fig. 1 is a flowchart of a method for robbing orders provided in an embodiment of the present application, where the method is applied to a driver terminal, as shown in fig. 1, and the method may include the following steps:
step 101: and acquiring configuration information from the cloud, and starting a multi-order display mode of the display screen based on the configuration information.
Specifically, the method for robbing orders is applied to a driver terminal, the driver terminal obtains configuration information from a cloud, and a multi-order display mode of a display screen is started based on the configuration information. The configuration information mainly defines whether a multi-order display mode is started, the time of each order display and the maximum number of orders displayed.
Step 102: receiving a current order sent by a cloud and displaying the current order on a display screen, wherein the display screen is used for displaying orders with preset quantity.
Specifically, after a driver clicks to get out, the cloud server pushes the current robable order according to the current position point of the driver, and the driver receives the current order sent by the cloud and displays the current order on a display screen. The display screen is used for displaying orders with preset quantity, the display screen can simultaneously display a plurality of orders, and a user can simultaneously rob the orders displayed by the display screen.
Step 103: and determining the display time of the current order according to the configuration information, and displaying the current order on a display screen based on the display time.
Specifically, the configuration information of the cloud defines the time for displaying each order, the configuration information is obtained from the cloud, the display time of the current order is obtained according to the configuration information, the current order is displayed on the display screen according to the display time, and if the display time is exceeded, the order is removed from the display page of the current display screen.
Step 104: and receiving a command of the user for rescuing the orders, and simultaneously rescuing a plurality of orders displayed on the current display screen according to the command of rescuing the orders.
Specifically, a plurality of orders with preset quantity are displayed on a display interface of a current driver side display screen, and a user can implement an order-robbing instruction to instruct a plurality of orders displayed on a simultaneous robbing page. And simultaneously robbing a plurality of orders displayed on the current display screen page according to the front-end instruction of the user.
It can be seen that, in the embodiment of the present application, by acquiring configuration information from a cloud, starting a multi-order display mode of a display screen based on the configuration information, further, receiving a current order sent by the cloud and displaying the current order on the display screen, wherein the display screen is used for displaying a preset number of orders, determining display time of the current order according to the configuration information, displaying the current order on the display screen based on the display time, and finally, receiving a command of a user to rob the order, and simultaneously rob a plurality of orders displayed on the current display screen according to the command of rob the order. The driver can rob a plurality of orders simultaneously, the efficiency of the driver side robbery of the orders can be greatly improved, the order receiving rate of the driver is improved, and the service scale is further improved.
In one embodiment of the present application, determining a presentation time of the current order according to the configuration information in step 103, presenting the current order on the display screen based on the presentation time includes: receiving a current order sent by a cloud end, adding the current order into a queue, and recording the time of adding the current order into the queue, wherein the queue is used for storing the preset number of orders to be displayed by a display screen; determining the display time of the current order according to the configuration information; obtaining the time of adding the current order into the queue after a preset time interval; and if the time of adding the current order into the queue is less than the display time, displaying the current order on the display screen, and if the time of adding the current order into the queue exceeds the display time, removing the current order from the queue, and not displaying the current order on the display screen.
Specifically, as shown in fig. 2, the configuration information of the cloud defines the time for displaying each order, the driver receives the current order sent by the cloud and performs a queue check to check whether the current order is already in the queue, if not, the current order is added to the queue, and the queue is used for storing the preset number of orders to be displayed on the display screen. And simultaneously, when the current order is added into the queue, recording the time of adding the current order into the queue, and determining the display time of the current order according to the configuration information. Further, a queue timer is set, the time of adding the current order into the queue is obtained every time a preset time interval passes, whether the time of adding the current order into the queue exceeds a preset display time or not is detected, the current order is displayed on a display screen in response to the fact that the time of adding the current order into the queue is smaller than the preset display time, the current order is removed from the queue in response to the fact that the time of adding the current order into the queue exceeds the preset display time, and the current order is not displayed on the display screen. For example, as shown in fig. 2, the cloud configuration information defines that the time for displaying each order is 20s, after the current order is added into the queue, the queue timer checks the queue once every 2s, and judges whether the order in the queue is still valid, that is, the current order is robbed or exceeds the configured time, the order in the valid period sequentially requests the order detail interface, if the time for checking that the current order is added into the queue exceeds the preset display time, the current order is removed from the queue, and the display screen does not display the order.
In one embodiment of the present application, receiving the current order sent by the cloud end adds the current order to the queue, including: determining the maximum order quantity displayed in the queue according to the configuration information; receiving a current order sent by a cloud and acquiring the number of orders in a current queue; and adding the current order to the queue in response to the number of orders in the current queue being less than the maximum number of orders.
Specifically, the configuration information includes maximum order number information displayed by the queue, when receiving a current order issued by the cloud, the number of the current displayed order in the queue is checked, the number of the current order is compared with the maximum order number, and if the number of the order in the current queue is smaller than the maximum order number, the current order is added into the queue.
In one embodiment of the present application, receiving a command for ordering a user, and simultaneously ordering a plurality of orders displayed on a current display screen according to the command for ordering, including: receiving a first order-robbing instruction sent by a user, and simultaneously robbing all orders displayed on a current display screen according to the first order-robbing instruction, wherein the first order-robbing instruction indicates all orders displayed on the current display screen; or receiving a second order-robbing instruction sent by the user, and simultaneously robbing any plurality of orders displayed on the current display screen according to the second order-robbing instruction, wherein the second order-robbing instruction indicates to simultaneously rob any plurality of orders displayed on the current display screen.
Specifically, a user sends out a first order-robbing instruction for indicating all orders displayed on the current display screen through the screen, and a driver side receives the first order-robbing instruction sent by the user and simultaneously robs all orders displayed on the current display screen according to the instruction. Or the user sends out a second order-robbing instruction for indicating any plurality of orders displayed on the current display screen through the screen, and the driver side receives the second order-robbing instruction sent by the user and simultaneously robs any plurality of orders displayed on the current display screen according to the instruction.
In one embodiment of the present application, the method further comprises: the method comprises the steps of sending order-robbing information corresponding to an order-robbing instruction to a server and starting timing, wherein the order-robbing information comprises order information of a plurality of orders; and responding to the fact that the time of sending the order robbing information to the server reaches the preset time, requesting an order robbing result from the server, and displaying the order robbing result.
Specifically, as shown in fig. 2, after the user clicks the order-robbing operation instruction, the driver side receives the order-robbing operation instruction of the user, sends the order-robbing information corresponding to the order-robbing instruction to the server and starts timing, and the order-robbing information contains order information corresponding to a plurality of ordered orders. For example, the robbery timer shown in FIG. 2 counts 15s. In response to the time of the transmission of the order robbing information to the server reaching a predetermined time, i.e., 15s, an order robbing result is requested from the server. And finally, receiving a robbery result returned by the server, and displaying the robbery result, wherein the robbery result comprises robbery success or robbery failure.
In one embodiment of the present application, requesting a robbery result from a server and displaying the robbery result includes: requesting a robbery result from the server, and receiving the robbery result in response to the server generating the robbery result within a predetermined time, wherein the robbery result comprises success or failure; if successful, displaying the order-robbing success information, wherein the order-robbing success information comprises corresponding order information; if the message fails, displaying the robbery failure information; and in response to the server not generating the order-robbing result within the preset time, displaying order-robbing failure information.
Specifically, after the user clicks the order-robbing operation instruction, the driver side receives the order-robbing operation instruction of the user, sends order-robbing information corresponding to the order-robbing instruction to the server and starts timing, requests an order-robbing result to the server in response to the fact that the time of sending the order-robbing information to the server reaches a preset time (for example, 15 s), and receives the order-robbing result if the server generates the order-robbing result within the preset time, wherein the order-robbing result comprises success or failure. If the order is successful, the order-robbing success information is displayed, the order-robbing success information contains corresponding order information, the corresponding order information is displayed on a display screen, if the order-robbing success information fails, the order-robbing failure information is displayed, and the user is informed of the order-robbing failure. And in response to the fact that the server does not generate the order-robbing result within the preset time, displaying order-robbing failure information and notifying a user of order-robbing failure.
In one embodiment of the present application, receiving a current order sent by a cloud end and displaying the current order on a display screen, where the display screen is used for displaying a preset number of orders, and the method includes: receiving a current order sent by a cloud, and determining the priority of the current order according to the distance between the passenger boarding space of the current order and a driver end; displaying a plurality of orders of a preset quantity on a display screen based on a preset priority order; displaying a preset number of a plurality of orders on a display screen based on a preset priority order, including: setting the order with the highest priority as a main order, and displaying order information of the main order at the bottom of the display screen; order information for the secondary order is presented at the top of the display screen, wherein the secondary order is an order other than the primary order.
Specifically, if the multi-order display mode is started, the driver side receives the current order sent by the cloud, determines the priority of the current order according to the distance between the passenger boarding the current order and the driver side, and displays a preset number of orders on the display screen based on a preset priority order. For example, the closer the passenger boarding space is to the driver side, the higher the priority is, and a preset number of orders are displayed on the display screen in sequence. In addition, the order with the highest priority can be set as the main order, and the order information of the main order is displayed at the bottom of the display screen; order information for the secondary order is presented at the top of the display screen, wherein the secondary order is an order other than the primary order.
Based on the above embodiments, in a specific embodiment of the present application, an preemption method provided in the present application includes the following steps:
(1) After the driver clicks out, the service pushes the robable order according to the current position point of the driver;
(2) The driver side requests cloud control configuration, the configuration mainly defines whether a multicast list mode is started, and the time for removing a queue and the maximum displayed order card quantity of each order are required;
(3) If the same-screen multicast list is started, the queue checking logic judges whether the current order is in the queue, if not, the current order is added into the queue with the order id as a unique value, and the orders in the queue are prioritized;
(4) The queue timer is executed once every 2S, and whether the order in the queue is still effective or not is judged, namely the current order is robbed or exceeds the configured time;
(5) The order in the validity period can sequentially request the order detail interface;
(6) Entering a play page according to service return data, displaying a main order card at the bottom, and displaying other order cards at the top, wherein the cards are provided with 'no robbery' and 'robbery order' buttons, so that a driver can rob all current orders at the same time;
(7) After clicking the robbed bill, the driver updates the main bill and sub bill robbed bill results;
(8) The order is successfully robbed, the order page is exited, the page in the line is entered, the driver gets to the passenger, and finally the order is completed.
According to the method, configuration information is obtained from the cloud, a multi-order display mode of the display screen is started based on the configuration information, further, a current order sent by the cloud is received and displayed on the display screen, the display screen is used for displaying the preset number of orders, display time of the current order is determined according to the configuration information, the current order is displayed on the display screen based on the display time, finally, a command of a user to rob the orders is received, and a plurality of orders displayed on the current display screen are robbed simultaneously according to the command of robbing the orders. The driver can rob a plurality of orders simultaneously, the efficiency of the driver side robbery of the orders can be greatly improved, the order receiving rate of the driver is improved, and the service scale is further improved.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly stated in the present application, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of other steps or sub-steps of other steps.
Fig. 3 is a schematic structural diagram of a device for robbing a bill according to an embodiment of the present application, as shown in fig. 3, the device may include: the system comprises an acquisition module 301, an acceptance module 302, a display module 303 and a billing module 304. The main functions of each component module are as follows:
the acquisition module 301: the method comprises the steps of acquiring configuration information from a cloud, and starting a multi-order display mode of a display screen based on the configuration information;
the acceptance module 302: the display screen is used for receiving the current orders sent by the cloud and displaying the current orders on the display screen, and the display screen is used for displaying orders with preset quantity;
display module 303: the display time is used for determining the display time of the current order according to the configuration information, and the current order is displayed on a display screen based on the display time;
rob the list module 304: and the system is used for receiving a command of the user for rescuing, and simultaneously rescuing a plurality of orders displayed on the current display screen according to the command of the user for rescuing.
In one embodiment of the present application, the presentation module 303 is further configured to: receiving a current order sent by a cloud end, adding the current order into a queue, and recording the time of adding the current order into the queue, wherein the queue is used for storing the preset number of orders to be displayed on a display screen; determining the display time of the current order according to the configuration information; obtaining the time of adding the current order into the queue after a preset time interval; and if the time for adding the current order to the queue is less than the showing time, showing the current order on the display screen, and if the time for adding the current order to the queue exceeds the showing time, removing the current order from the queue, and not showing the current order on the display screen.
In one embodiment of the present application, the presentation module 303 is further configured to: determining the maximum order quantity displayed in the queue according to the configuration information; receiving a current order sent by a cloud and acquiring the number of orders in the current queue; and adding the current order into the queue in response to the current order quantity in the queue being smaller than the maximum order quantity.
In one embodiment of the present application, the robbery module 304: the system is also used for receiving a first order-robbing instruction sent by a user, and simultaneously robbing all orders displayed on the current display screen according to the first order-robbing instruction, wherein the first order-robbing instruction indicates all orders displayed on the current display screen; or receiving a second order-robbing instruction sent by the user, and simultaneously robbing any plurality of orders displayed on the current display screen according to the second order-robbing instruction, wherein the second order-robbing instruction indicates to simultaneously rob any plurality of orders displayed on the current display screen.
In one embodiment of the present application, the robbery module 304: the system is also used for sending the order-robbing information corresponding to the order-robbing instruction to a server and starting timing, wherein the order-robbing information comprises order information of the orders; and responding to the fact that the time for sending the order robbing information to the server reaches the preset time, requesting an order robbing result from the server, and displaying the order robbing result.
In one embodiment of the present application, the robbery module 304: the method is also used for requesting a robbery result from the server, and receiving the robbery result in response to the server generating the robbery result within a preset time, wherein the robbery result comprises success or failure; if successful, displaying the order-robbing success information, wherein the order-robbing success information comprises corresponding order information; if the message fails, displaying the robbery failure information; and in response to the server not generating the robbery list result in the preset time, displaying robbery list failure information.
In one embodiment of the present application, the presentation module 303 is further configured to: receiving a current order sent by a cloud, and determining the priority of the current order according to the distance between the passenger boarding space of the current order and a driver end; displaying a plurality of orders with preset quantity on the display screen based on a preset priority order; the displaying a plurality of orders of a preset quantity on the display screen based on a preset priority order comprises the following steps: setting the order with the highest priority as a main order, and displaying order information of the main order at the bottom of the display screen; order information of a secondary order is displayed on the top of the display screen, wherein the secondary order is an order other than the primary order.
According to the specific embodiment provided by the application, the technical scheme provided by the application can have the following advantages:
according to the method, configuration information is obtained from the cloud, a multi-order display mode of the display screen is started based on the configuration information, further, a current order sent by the cloud is received and displayed on the display screen, the display screen is used for displaying the preset number of orders, display time of the current order is determined according to the configuration information, the current order is displayed on the display screen based on the display time, finally, a command of a user to rob the orders is received, and a plurality of orders displayed on the current display screen are robbed simultaneously according to the command of robbing the orders. The driver can rob a plurality of orders simultaneously, the efficiency of the driver side robbery of the orders can be greatly improved, the order receiving rate of the driver is improved, and the service scale is further improved.
The same and similar parts of the above embodiments are all referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments in part.
It should be noted that, in the embodiments of the present application, the use of user data may be involved, and in practical applications, user specific personal data may be used in the schemes described herein within the scope allowed by applicable laws and regulations under the condition that the applicable laws and regulations of the country are met (for example, the user explicitly agrees, the user is explicitly notified, the user is explicitly authorized, etc.).
According to embodiments of the present application, there is also provided a computer device, a computer-readable storage medium. The application also provides a computer device comprising at least one processor, and a memory communicatively coupled to the at least one processor; the memory stores computer instructions executable by the at least one processor to enable the at least one processor to perform the preemption method of any of the embodiments described above.
As shown in fig. 4, is a block diagram of a computer device according to an embodiment of the present application. Computer equipment is intended to represent various forms of digital computers or mobile devices. Wherein the digital computer may comprise a desktop computer, a portable computer, a workstation, a personal digital assistant, a server, a mainframe computer, and other suitable computers. The mobile device may include a tablet, a smart phone, a wearable device, etc.
As shown in fig. 4, the computer device 400 includes a computing unit 401, a ROM 402, a RAM 403, a bus 404, and an input/output (I/O) interface 405, and the computing unit 401, the ROM 402, and the RAM 403 are connected to each other by the bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The computing unit 401 may perform various processes in the method embodiments of the present application according to computer instructions stored in a Read Only Memory (ROM) 402 or computer instructions loaded from a storage unit 408 into a Random Access Memory (RAM) 403. The computing unit 401 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. The computing unit 401 may include, but is not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), as well as any suitable processor, controller, microcontroller, etc. In some embodiments, the methods provided by embodiments of the present application may be implemented as a computer software program tangibly embodied on a computer-readable storage medium, such as the storage unit 408.
RAM 404 may also store various programs and data required for operation of device 400. Part or all of the computer program may be loaded and/or installed onto the device 400 via the ROM 402 and/or the communication unit 409.
An input unit 406, an output unit 407, a storage unit 408, and a communication unit 409 in the computer device 400 may be connected to the I/O interface 405. Wherein the input unit 406 may be such as a keyboard, mouse, touch screen, microphone, etc.; the output unit 407 may be, for example, a display, a speaker, an indicator light, or the like. The device 400 is capable of exchanging information, data, etc. with other devices through the communication unit 409.
It should be noted that the device may also include other components necessary to achieve proper operation. It may also include only the components necessary to implement the present application, and not necessarily all the components shown in the figures.
Various implementations of the systems and techniques described here can be implemented in digital electronic circuitry, integrated circuitry, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof.
Computer instructions for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer instructions may be provided to the computing unit 401 such that the computer instructions, when executed by the computing unit 401, such as a processor, cause the steps involved in the method embodiments of the present application to be performed.
The present application also provides a computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any of the embodiments described above.
The computer readable storage medium provided herein may be a tangible medium that may contain, or store, computer instructions for performing the steps involved in the method embodiments of the present application. The computer readable storage medium may include, but is not limited to, storage media in the form of electronic, magnetic, optical, electromagnetic, and the like.
The above embodiments do not limit the scope of the application. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present application are intended to be included within the scope of the present application.

Claims (10)

1. A method of preempting a bill, for application to a driver's terminal, the method comprising:
acquiring configuration information from a cloud, and starting a multi-order display mode of a display screen based on the configuration information;
receiving a current order sent by a cloud and displaying the current order on a display screen, wherein the display screen is used for displaying orders with preset quantity;
determining the display time of the current order according to the configuration information, and displaying the current order on a display screen based on the display time;
and receiving a command of the user for rescuing the orders, and simultaneously rescuing a plurality of orders displayed on the current display screen according to the command of the user for rescuing the orders.
2. The method according to claim 1, wherein determining a presentation time of the current order according to the configuration information, and presenting the current order on a display screen based on the presentation time, comprises:
receiving a current order sent by a cloud end, adding the current order into a queue, and recording the time of adding the current order into the queue, wherein the queue is used for storing the preset number of orders to be displayed on a display screen;
determining the display time of the current order according to the configuration information;
obtaining the time of adding the current order into the queue after a preset time interval;
and if the time for adding the current order to the queue is less than the showing time, showing the current order on the display screen, and if the time for adding the current order to the queue exceeds the showing time, removing the current order from the queue, and not showing the current order on the display screen.
3. The method of claim 2, wherein receiving the current order sent by the cloud to add the current order to the queue comprises:
determining the maximum order quantity displayed in the queue according to the configuration information;
receiving a current order sent by a cloud and acquiring the number of orders in the current queue;
and adding the current order into the queue in response to the current order quantity in the queue being smaller than the maximum order quantity.
4. The method according to claim 1, wherein the receiving the order-taking command of the user, according to the order-taking command, simultaneously taking a plurality of orders displayed on the current display screen, includes:
receiving a first order-robbing instruction sent by a user, and simultaneously robbing all orders displayed on a current display screen according to the first order-robbing instruction, wherein the first order-robbing instruction indicates to simultaneously rob all orders displayed on the current display screen; or alternatively, the first and second heat exchangers may be,
receiving a second order-robbing instruction sent by a user, and simultaneously robbing any plurality of orders displayed on the current display screen according to the second order-robbing instruction, wherein the second order-robbing instruction indicates to simultaneously rob any plurality of orders displayed on the current display screen.
5. The method of claim 1, further comprising:
sending the order-robbing information corresponding to the order-robbing instruction to a server and starting timing, wherein the order-robbing information comprises order information of the orders;
and responding to the fact that the time for sending the order robbing information to the server reaches the preset time, requesting an order robbing result from the server, and displaying the order robbing result.
6. The method according to claim 5, wherein said requesting the server for the robbery result and displaying the robbery result comprises:
requesting a robbery result from the server, and receiving the robbery result in response to the server generating the robbery result within a preset time, wherein the robbery result comprises success or failure; if successful, displaying the order-robbing success information, wherein the order-robbing success information comprises corresponding order information; if the message fails, displaying the robbery failure information;
and in response to the server not generating the robbery list result in the preset time, displaying robbery list failure information.
7. The method for preempting orders according to claim 1, wherein the receiving the current order sent by the cloud and displaying the current order on the display screen, the display screen is used for displaying a preset number of orders, and the method comprises:
receiving a current order sent by a cloud, and determining the priority of the current order according to the distance between the passenger boarding space of the current order and a driver end;
displaying a plurality of orders with preset quantity on the display screen based on a preset priority order;
the displaying a plurality of orders of a preset quantity on the display screen based on a preset priority order comprises the following steps:
setting the order with the highest priority as a main order, and displaying order information of the main order at the bottom of the display screen; order information of a secondary order is displayed on the top of the display screen, wherein the secondary order is an order other than the primary order.
8. A robbery ticket device, the device comprising:
the acquisition module is used for: the method comprises the steps of acquiring configuration information from a cloud, and starting a multi-order display mode of a display screen based on the configuration information;
and a receiving module: the display screen is used for receiving the current orders sent by the cloud and displaying the current orders on the display screen, and the display screen is used for displaying orders with preset quantity;
and a display module: the display time is used for determining the display time of the current order according to the configuration information, and the current order is displayed on a display screen based on the display time;
and (5) a robbing module: and the system is used for receiving a command of the user for rescuing, and simultaneously rescuing a plurality of orders displayed on the current display screen according to the command of the user for rescuing.
9. A computer device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores computer instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
10. A computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any of claims 1 to 7.
CN202311402962.5A 2023-10-26 2023-10-26 Method, device, equipment and storage medium for ordering Pending CN117474623A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311402962.5A CN117474623A (en) 2023-10-26 2023-10-26 Method, device, equipment and storage medium for ordering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311402962.5A CN117474623A (en) 2023-10-26 2023-10-26 Method, device, equipment and storage medium for ordering

Publications (1)

Publication Number Publication Date
CN117474623A true CN117474623A (en) 2024-01-30

Family

ID=89637188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311402962.5A Pending CN117474623A (en) 2023-10-26 2023-10-26 Method, device, equipment and storage medium for ordering

Country Status (1)

Country Link
CN (1) CN117474623A (en)

Similar Documents

Publication Publication Date Title
US11068964B2 (en) Method and device for processing service request
CN108492195B (en) Rule engine package parameter generalization method, equipment and storage medium
CN110728455B (en) Service processing method, service processing device, storage medium and electronic equipment
CN110334144B (en) Message display method, device, computer equipment and storage medium
EP2457189A1 (en) System and method for real-time batch account processing
CN109710695B (en) Transaction request validity identification and initiation method, device, equipment and medium
CN110019873B (en) Face data processing method, device and equipment
CN111654453B (en) Form data offline caching method and device, terminal and storage medium
CN100583045C (en) Method and apparatus for storing resource allocation
CN112631911A (en) Automatic testing method and device, computer equipment and storage medium
CN115221037A (en) Interactive page testing method and device, computer equipment and program product
CN113687779A (en) Data migration method and device, electronic equipment and readable storage medium
CN117474623A (en) Method, device, equipment and storage medium for ordering
CN111125168A (en) Data processing method and device, electronic equipment and storage medium
CN110351327A (en) Confirmation method, device, electronic equipment and the medium of resource processing platform
WO2023066258A1 (en) Data processing method and apparatus for private data, computer device and medium
CN112950171A (en) Bank business processing system and method
CN109559240B (en) Method, device and equipment for preventing repeated payment of premium and readable storage medium
CN108509478B (en) Splitting and calling method of rule engine file, electronic device and storage medium
CN111667411A (en) Image transmission method and device, electronic equipment and storage medium
CN113687981B (en) Data recovery method, device, equipment and storage medium
CN111401221B (en) Card ticket identification method, device, equipment and storage medium
CN116991542B (en) Virtual machine snapshot method, system, electronic equipment and computer storage medium
CN111176611B (en) Method and device for generating random data set
CN112527842B (en) System flow pushing method and device, electronic equipment and computer readable storage medium

Legal Events

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