CN110728476A - Order processing method and device - Google Patents

Order processing method and device Download PDF

Info

Publication number
CN110728476A
CN110728476A CN201910964651.5A CN201910964651A CN110728476A CN 110728476 A CN110728476 A CN 110728476A CN 201910964651 A CN201910964651 A CN 201910964651A CN 110728476 A CN110728476 A CN 110728476A
Authority
CN
China
Prior art keywords
order
vehicle
information
preset time
state
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
CN201910964651.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.)
Guangzhou Ma Chi Xing Technology Co Ltd
Original Assignee
Guangzhou Ma Chi Xing 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 Guangzhou Ma Chi Xing Technology Co Ltd filed Critical Guangzhou Ma Chi Xing Technology Co Ltd
Priority to CN201910964651.5A priority Critical patent/CN110728476A/en
Publication of CN110728476A publication Critical patent/CN110728476A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • 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
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Economics (AREA)
  • Engineering & Computer Science (AREA)
  • General Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Traffic Control Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an order processing method and device. Wherein, the method comprises the following steps: acquiring the state of information reported by a vehicle within first preset time; if the vehicle does not report the information within the first preset time, setting the order receiving state of the vehicle without the reported information as a non-dispatching order; acquiring order information, and sending the order information to a vehicle with reported information in first preset time; and according to the order state fed back by the vehicle, finishing the updating of the local order state. The invention solves the technical problem that the order cannot be distributed and the order state cannot be updated by acquiring all the vehicle states.

Description

Order processing method and device
Technical Field
The invention relates to the field of communication, in particular to a method and a device for processing an order.
Background
With the continuous development of the communication field towards the intelligent direction, the application of unmanned driving and electronic orders gradually becomes a hot point in the field. Currently, in the application of electronic orders, the server receives the order demand and sends the electronic order to the vehicle device by dispatching, and in the process, the driver and the server have one-to-one dispatching and executing relationship, so the order processing becomes more important in the process. However, the electronic order receiving and updating in the prior art is not timely enough, the vehicle state is not acquired in real time, and the order cannot be distributed and updated by acquiring all the vehicle states.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides an order processing method and device, which at least solve the technical problem that orders cannot be distributed and the order states cannot be updated by acquiring all vehicle states.
According to an aspect of an embodiment of the present invention, there is provided an order processing method, including: acquiring the state of information reported by a vehicle within first preset time; if the vehicle does not report the information within the first preset time, setting the order receiving state of the vehicle without the information to be not dispatched; acquiring order information, and sending the order information to a vehicle with reported information in the first preset time; and according to the order state fed back by the vehicle, finishing the updating of the local order state.
Optionally, the obtaining of the information reported by the vehicle within the first preset time includes: acquiring time information of the last reported information of all vehicles; judging whether the sum of the time information and the first preset time is greater than the current time, if so, judging that the vehicle has the reported information in the first preset time, and if not, judging that the vehicle does not have the reported information in the first preset time.
Optionally, after obtaining the order information and sending the order information to the vehicle with the report information in the first preset time, the method further includes: judging whether the vehicle receives the order within second preset time; if the vehicle does not take the order within the second preset time, detecting whether the order information creating time exceeds a third preset time, and if the order information creating time exceeds the third preset time, canceling the order of the vehicle.
Optionally, the completing the update of the local order status according to the order status fed back by the vehicle includes: confirming that the vehicle receives order information, and updating the local order state into a first order state; according to the first order state, after the vehicle reaches the boarding place, the local order state is updated to a second order state; according to the second order state, after the passenger gets on the bus, the local order state is updated to a third order state; and updating the local order state to a fourth order state after the vehicle reaches the destination according to the third order state.
According to another aspect of the embodiments of the present invention, there is also provided an order processing method, including: displaying the state of the vehicle reported information in the first preset time, wherein the state comprises the following steps: receiving the reporting information, wherein the reporting information is not received; under the condition that the order information is received, displaying vehicle information of a vehicle which allows the order information to be received, wherein the vehicle which receives the report information within the first preset time is set as the vehicle which allows the order information to be received; based on the vehicle information, the order information is sent to the vehicle that is allowed to receive the order information.
Optionally, if the vehicle does not report the information within the first preset time, the order receiving state of the vehicle without the reported information is set as no order dispatch.
Optionally, after sending the order information to the vehicle that is allowed to receive the order information, the method further comprises: receiving an order state generated by processing order information by the vehicle; and finishing updating the local order state according to the order state fed back by the vehicle.
According to another aspect of the embodiments of the present invention, there is also provided an order processing apparatus, including: the acquisition module is used for acquiring the state of information reported by the vehicle within first preset time; the processing module is used for setting the order receiving state of the vehicle without the reported information as a non-dispatching order if the vehicle does not report the information within the first preset time; the dispatching module is used for acquiring order information and sending the order information to the vehicle with the reported information within the first preset time; and the updating module is used for finishing updating the local order state according to the order state fed back by the vehicle.
Optionally, the obtaining module includes: the acquisition unit is used for acquiring the time information of the last reported information of all vehicles; the device comprises a judging unit used for judging whether the sum of the time information and the first preset time is larger than the current time or not, and a determining unit used for judging whether the sum of the time information and the first preset time is larger than the current time or not, if so, the vehicle has the reported information within the first preset time, and if not, the vehicle does not have the reported information within the first preset time.
Optionally, the apparatus further comprises: the judging module is used for judging whether the vehicle meets the order within second preset time; the system comprises a detection module and a cancellation module, wherein the detection module is used for detecting whether order information creating time exceeds third preset time or not if the vehicle does not take the order within second preset time, and the cancellation module is used for canceling the order of the vehicle if the order information creating time exceeds the third preset time.
Optionally, the update module includes: the first updating unit is used for confirming that the vehicle receives order information and updating the local order state into a first order state; the second updating unit is used for updating the local order state into a second order state after the vehicle reaches the boarding place according to the first order state; the third updating unit is used for updating the local order state into a third order state after the passenger gets on the bus according to the second order state; and the fourth updating unit is used for updating the local order state to a fourth order state after the vehicle reaches the destination according to the third order state.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium, characterized in that the storage medium includes a stored program, wherein when the program runs, the apparatus on which the storage medium is controlled to execute the method.
According to another aspect of the embodiments of the present invention, there is also provided a processor, characterized in that the processor is configured to execute a program stored in a memory, wherein the program executes the method.
In the embodiment of the invention, a mode of acquiring the state of the reported information of the vehicles within the first preset time, setting the order receiving state of the vehicles without the reported information as no order dispatch, simultaneously sending the order information to the vehicles with the reported information within the first preset time and finally finishing the updating of the local order state is adopted, so that the technical problem that the orders cannot be distributed and the order state cannot be updated by acquiring all the vehicle states is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of processing an order according to an embodiment of the invention;
FIG. 2 is a flow chart of an alternative method of processing an order according to an embodiment of the present invention;
fig. 3 is a block diagram of an order processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided an order processing method embodiment, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer executable instructions and that, although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than presented herein.
Fig. 1 is a method for processing an order according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, acquiring the state of the information reported by the vehicle within the first preset time.
Specifically, before dispatching orders, the server needs to detect the vehicles which are moving and can receive orders at present, that is, only the orders can be dispatched to the active vehicles, so that the method for judging whether the vehicles are in an active state collects the conditions of the vehicle report information within a period of time, wherein the vehicle report information marks that the vehicles have data interaction, and therefore the vehicles with the data interaction can be judged to be the active vehicles, namely the vehicles capable of receiving the orders.
The manner of collecting the vehicle report information may be to use a clock counter in the server processor, for example, when the vehicle a sends data to the server, count +1 for the vehicle a, and so on, and after a period of time, all the vehicles with the count of 0 are inactive vehicles.
Optionally, the obtaining of the information reported by the vehicle within the first preset time includes: acquiring time information of the last reported information of all vehicles; judging whether the sum of the time information and the first preset time is greater than the current time, if so, judging that the vehicle has the reported information in the first preset time, and if not, judging that the vehicle has no reported information in the first preset time.
Specifically, the time information of the last reported information of all vehicles is obtained according to the description of the embodiment of the present invention, and since the server needs to detect the vehicle which is currently moving and can receive the order before dispatching the order, that is, only the order can be dispatched to the active vehicle, the method for determining whether the vehicle is in the active state is to collect the information reported by the vehicle within a period of time, where the vehicle reported information indicates that the vehicle has data interaction, and therefore, the vehicle with the data interaction can be determined to be the active vehicle, that is, the vehicle capable of receiving the order.
Specifically, whether the sum of time information and first preset time is greater than current time or not is judged, if the sum of the time information and the first preset time is greater than the current time, the vehicle in the first preset time has reporting information, and if the sum of the time information and the first preset time is less than the current time, the vehicle in the first preset time has no reporting information, namely, the current server records the information reporting time of each vehicle, the preset time is set, and when the sum of the information reporting time and the preset time exceeds the current time point, the vehicle information reporting time is in a preset time period, namely, the vehicle is active.
It should be noted that the time information refers to the last information reporting time of the vehicle, and the first preset time is preset by the system according to the actual situation.
For example, the time for the vehicle a to report the information last is 9:00, the first preset time is 15 minutes, and the local current time of the server is 9:10, then the sum of the time for the vehicle a to report the information last and the first preset time is 9:15, so that it can be seen that the sum of the time for the vehicle a to report the information last and the first preset time is greater than the local current time of the server, that is, the vehicle a is an active vehicle.
And step S104, if the vehicle does not report information within the first preset time, setting the order receiving state of the vehicle without the reported information as a no-order-dispatch state.
Specifically, according to the vehicle activity obtained in step S102, the server sets the vehicle that does not report information within the first preset time as no order dispatch, that is, the inactive vehicle cannot be dispatched with an order by the server.
For example, the time for the vehicle a to report the information last is 9:00, the first preset time is 15 minutes, and the local current time of the server is 9:20, then the sum of the time for the vehicle a to report the information last and the first preset time is 9:15, so that it can be seen that the sum of the time for the vehicle a to report the information last and the first preset time is less than the local current time of the server, that is, the vehicle a is an inactive vehicle, then the server sets the state of the vehicle a to be no-order-dispatch, and when there is an order, the order is not sent to the vehicle a.
And step S106, obtaining order information, and sending the order information to the vehicle with the reported information in the first preset time.
Specifically, when the server acquires the order information, the order information needs to be dispatched to an active vehicle, so that the acquired order can be processed by the active vehicle in time, and therefore according to the active vehicle acquired in step S104, the server sends the order information to a device of a certain active vehicle through a remote communication protocol, and the order dispatching process is completed.
Optionally, after obtaining the order information and sending the order information to the vehicle with the reported information in the first preset time, the method further includes: judging whether the vehicle receives the order within second preset time; if the vehicle does not receive the order within the second preset time, detecting whether the order information creating time exceeds third preset time, and if the order information creating time exceeds the third preset time, canceling the order of the vehicle.
Specifically, when the server sends the order information to the relevant vehicle according to the currently active vehicle, it needs to determine whether the vehicle successfully accepts the order, and then by determining whether the vehicle receives the order information within a period of time (second preset time), the situation that the vehicle acquires the order information can be obtained, when the vehicle does not receive the order within the time period, determining whether the order of the vehicle needs to be cancelled again by judging whether the creation time of the order information exceeds a certain time period (third preset time), i.e., when the vehicle does not take an order within the second preset time and the time of the order still exceeds the third preset time, it indicates that the vehicle is temporarily unable to receive and process the order for some reason, this is where the server cancels the order dispatched to the vehicle and continues dispatching the order to other active vehicles.
For example, if the vehicle a is dispatched with an order information B by the server, but has not received an order within a second preset time (half hour), when the server sends the order to the vehicle a for more than half hour, the server continues to determine whether the creation time of the order exceeds a third preset time (40 minutes), and when the determination exceeds the order creation time for 40 minutes, the vehicle a determines that the order cannot be received and processed, and the server cancels the order B sent to the vehicle a.
And step S108, updating the local order state according to the order state fed back by the vehicle.
Specifically, after the vehicle receives the order information sent to the vehicle by the server, the vehicle processes the order according to the passenger information, the location information, and the like in the order information, and the information of the server local for the order state is updated according to different schedules of the vehicle for processing the order, for example, the order information state of the server local is updated in real time according to whether the passenger gets on the vehicle, whether the vehicle arrives at the destination, and the like, so that the staff can master the schedule of the order in progress of all vehicles at any time.
Optionally, the completing the update of the local order status according to the order status fed back by the vehicle includes: confirming that the vehicle receives the order information, and updating the local order state into a first order state; according to the first order state, after the vehicle reaches a boarding place, updating the local order state into a second order state; according to the second order state, after the passenger gets on the bus, the local order state is updated to a third order state; and updating the local order state to a fourth order state after the vehicle reaches the destination according to the third order state.
Specifically, the local order status needs to be updated at any time according to different stages of the vehicle executing the received order, for example, after the vehicle a confirms that the order B is received, the local order status may be updated to "to receive the passenger", when the vehicle a arrives at the passenger boarding location, the local order status may be updated to "waiting for boarding", when the vehicle a passenger successfully boards, the local order status may be updated to "in-flight", and when the vehicle a arrives at the destination, the local order status may be updated to "end-of-flight".
Through the steps, the purposes of distributing orders and updating the order states by acquiring all the vehicle states can be achieved.
Fig. 2 is an alternative processing method for an order according to an embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
step S202, displaying the state of the vehicle reported information in the first preset time, wherein the state comprises: and receiving the reporting information, wherein the reporting information is not received.
Optionally, if the vehicle does not report information within the first preset time, the order receiving state of the vehicle without the reported information is set as no order dispatch.
Specifically, before dispatching orders, the server needs to detect the vehicles which are moving and can receive orders at present, that is, only the orders can be dispatched to the active vehicles, so that the method for judging whether the vehicles are in an active state collects the conditions of the vehicle report information within a period of time, wherein the vehicle report information marks that the vehicles have data interaction, and therefore the vehicles with the data interaction can be judged to be the active vehicles, namely the vehicles capable of receiving the orders.
The manner of collecting the vehicle report information may be to use a clock counter in the server processor, for example, when the vehicle a sends data to the server, count +1 for the vehicle a, and so on, and after a period of time, all the vehicles with the count of 0 are inactive vehicles.
And step S204, under the condition that the order information is received, displaying the vehicle information of the vehicle which is allowed to receive the order information, wherein the vehicle which receives the report information within the first preset time is set as the vehicle which is allowed to receive the order information.
Specifically, the time information of the last reported information of all vehicles is obtained according to the description of the embodiment of the present invention, and since the server needs to detect the vehicle which is currently moving and can receive the order before dispatching the order, that is, only the order can be dispatched to the active vehicle, the method for determining whether the vehicle is in the active state is to collect the information reported by the vehicle within a period of time, where the vehicle reported information indicates that the vehicle has data interaction, and therefore, the vehicle with the data interaction can be determined to be the active vehicle, that is, the vehicle capable of receiving the order.
Specifically, whether the sum of time information and first preset time is greater than current time or not is judged, if the sum of the time information and the first preset time is greater than the current time, the vehicle in the first preset time has reporting information, and if the sum of the time information and the first preset time is less than the current time, the vehicle in the first preset time has no reporting information, namely, the current server records the information reporting time of each vehicle, the preset time is set, and when the sum of the information reporting time and the preset time exceeds the current time point, the vehicle information reporting time is in a preset time period, namely, the vehicle is active.
And step S206, based on the vehicle information, sending the order information to a vehicle which is allowed to receive the order information.
Specifically, when the server acquires the order information, the order information needs to be dispatched to an active vehicle, so that the acquired order can be processed by the active vehicle in time, and therefore according to the active vehicle acquired in step S104, the server sends the order information to a device of a certain active vehicle through a remote communication protocol, and the order dispatching process is completed.
According to the embodiment of the invention, when the server sends the order information to the relevant vehicle according to the currently active vehicle, whether the vehicle successfully accepts the order is required to be judged, then the condition that the vehicle acquires the order information can be obtained by judging whether the vehicle receives the order information within a period of time (second preset time), when the vehicle does not receive the order within the time period, determining whether the order of the vehicle needs to be cancelled again by judging whether the creation time of the order information exceeds a certain time period (third preset time), i.e., when the vehicle does not take an order within the second preset time and the time of the order still exceeds the third preset time, it indicates that the vehicle is temporarily unable to receive and process the order for some reason, this is where the server cancels the order dispatched to the vehicle and continues dispatching the order to other active vehicles.
For example, if the vehicle a is dispatched with an order information B by the server, but has not received an order within a second preset time (half hour), when the server sends the order to the vehicle a for more than half hour, the server continues to determine whether the creation time of the order exceeds a third preset time (40 minutes), and when the determination exceeds the order creation time for 40 minutes, the vehicle a determines that the order cannot be received and processed, and the server cancels the order B sent to the vehicle a.
Optionally, after sending the order information to a vehicle that is allowed to receive the order information, the method further comprises: receiving an order state generated by the vehicle processing the order information; and finishing the updating of the local order state according to the order state fed back by the vehicle.
Specifically, after the vehicle receives the order information sent to the vehicle by the server, the vehicle processes the order according to the passenger information, the location information, and the like in the order information, and the information of the server local for the order state is updated according to different schedules of the vehicle for processing the order, for example, the order information state of the server local is updated in real time according to whether the passenger gets on the vehicle, whether the vehicle arrives at the destination, and the like, so that the staff can master the schedule of the order in progress of all vehicles at any time.
Fig. 3 is an alternative order processing apparatus according to an embodiment of the present invention, as shown in fig. 3, including: the obtaining module 30 is configured to obtain a state of information reported by a vehicle within a first preset time; the processing module 32 is configured to set the order receiving state of the vehicle without the reported information as an order not to be dispatched if the vehicle does not report the information within the first preset time; the dispatching module 34 is configured to obtain order information and send the order information to a vehicle with reported information within the first preset time; and the updating module 36 is configured to complete updating of the local order status according to the order status fed back by the vehicle.
The obtaining module 30 is configured to obtain a state of the vehicle report information within a first preset time, and specifically, before the server dispatches the order, it is necessary to detect a vehicle that is currently moving and can receive the order, that is, only the order can be dispatched to an active vehicle, so that the method for determining whether the vehicle is in the active state collects a condition of the vehicle report information within a period of time, where the vehicle report information indicates that the vehicle has data interaction, and therefore, it can be determined that the vehicle with the data interaction is the active vehicle, that is, the vehicle that can receive the order.
The manner of collecting the vehicle report information may be to use a clock counter in the server processor, for example, when the vehicle a sends data to the server, count +1 for the vehicle a, and so on, and after a period of time, all the vehicles with the count of 0 are inactive vehicles.
Optionally, the obtaining module 30 includes: the acquisition unit is used for acquiring the time information of the last reported information of all vehicles; the device comprises a judging unit used for judging whether the sum of the time information and the first preset time is greater than the current time or not, and a determining unit used for judging whether the sum of the time information and the first preset time is greater than the current time or not, if so, reporting information exists on the vehicle within the first preset time, and if not, reporting information does not exist on the vehicle within the first preset time.
Specifically, the time information of the last reported information of all vehicles is obtained according to the description of the embodiment of the present invention, and since the server needs to detect the vehicle which is currently moving and can receive the order before dispatching the order, that is, only the order can be dispatched to the active vehicle, the method for determining whether the vehicle is in the active state is to collect the information reported by the vehicle within a period of time, where the vehicle reported information indicates that the vehicle has data interaction, and therefore, the vehicle with the data interaction can be determined to be the active vehicle, that is, the vehicle capable of receiving the order.
Specifically, whether the sum of time information and first preset time is greater than current time or not is judged, if the sum of the time information and the first preset time is greater than the current time, the vehicle in the first preset time has reporting information, and if the sum of the time information and the first preset time is less than the current time, the vehicle in the first preset time has no reporting information, namely, the current server records the information reporting time of each vehicle, the preset time is set, and when the sum of the information reporting time and the preset time exceeds the current time point, the vehicle information reporting time is in a preset time period, namely, the vehicle is active.
It should be noted that the time information refers to the last information reporting time of the vehicle, and the first preset time is preset by the system according to the actual situation.
For example, the time for the vehicle a to report the information last is 9:00, the first preset time is 15 minutes, and the local current time of the server is 9:10, then the sum of the time for the vehicle a to report the information last and the first preset time is 9:15, so that it can be seen that the sum of the time for the vehicle a to report the information last and the first preset time is greater than the local current time of the server, that is, the vehicle a is an active vehicle.
The processing module 32 is configured to set the order receiving state of the vehicle without the reported information as no order dispatch if the vehicle does not report the information within the first preset time, and specifically, according to the vehicle activity obtained by the obtaining module 30, the server sets the vehicle without the reported information within the first preset time as no order dispatch, that is, the inactive vehicle cannot be dispatched with an order by the server.
For example, the time for the vehicle a to report the information last is 9:00, the first preset time is 15 minutes, and the local current time of the server is 9:20, then the sum of the time for the vehicle a to report the information last and the first preset time is 9:15, so that it can be seen that the sum of the time for the vehicle a to report the information last and the first preset time is less than the local current time of the server, that is, the vehicle a is an inactive vehicle, then the server sets the state of the vehicle a to be no-order-dispatch, and when there is an order, the order is not sent to the vehicle a.
The dispatching module 34 is configured to obtain order information and send the order information to a vehicle having reported information within the first preset time, specifically, when the server obtains the order information, the server needs to dispatch the order information to an active vehicle, so that the obtained order may be processed by the active vehicle in time, and therefore according to the active vehicle obtained in step S104, the server sends the order information to a device of a certain active vehicle through a remote communication protocol, and the order dispatching process is completed.
Optionally, after obtaining the order information and sending the order information to the vehicle with the reported information in the first preset time, the method further includes: the judging module is used for judging whether the vehicle meets the order within second preset time; the system comprises a detection module and a cancellation module, wherein the detection module is used for detecting whether the order information creating time exceeds third preset time or not if the vehicle does not receive orders within the second preset time, and the cancellation module is used for cancelling orders of the vehicle if the order information creating time exceeds the third preset time.
Specifically, when the server sends the order information to the relevant vehicle according to the currently active vehicle, it needs to determine whether the vehicle successfully accepts the order, and then by determining whether the vehicle receives the order information within a period of time (second preset time), the situation that the vehicle acquires the order information can be obtained, when the vehicle does not receive the order within the time period, determining whether the order of the vehicle needs to be cancelled again by judging whether the creation time of the order information exceeds a certain time period (third preset time), i.e., when the vehicle does not take an order within the second preset time and the time of the order still exceeds the third preset time, it indicates that the vehicle is temporarily unable to receive and process the order for some reason, this is where the server cancels the order dispatched to the vehicle and continues dispatching the order to other active vehicles.
For example, if the vehicle a is dispatched with an order information B by the server, but has not received an order within a second preset time (half hour), when the server sends the order to the vehicle a for more than half hour, the server continues to determine whether the creation time of the order exceeds a third preset time (40 minutes), and when the determination exceeds the order creation time for 40 minutes, the vehicle a determines that the order cannot be received and processed, and the server cancels the order B sent to the vehicle a.
The updating module 36 is configured to complete updating of the local order state according to the order state fed back by the vehicle, specifically, after the vehicle receives the order information sent to the vehicle by the server, the vehicle may process the order information according to passenger information, location information, and the like in the order information, and the information of the order state locally by the server needs to be updated according to different schedules of the vehicle for processing the order, for example, the order information state locally by the server may be updated in real time according to whether a passenger gets on the vehicle, whether the vehicle arrives at a destination, and the like, so that a worker can master the schedule of the order in progress of all vehicles at any time.
Optionally, the update module includes: the first updating unit is used for confirming that the vehicle receives the order information and updating the local order state into a first order state; the second updating unit is used for updating the local order state into a second order state after the vehicle reaches a boarding place according to the first order state; the third updating unit is used for updating the local order state into a third order state after the passenger gets on the bus according to the second order state; and the fourth updating unit is used for updating the local order state into a fourth order state after the vehicle reaches the destination according to the third order state.
Specifically, the local order status needs to be updated at any time according to different stages of the vehicle executing the received order, for example, after the vehicle a confirms that the order B is received, the local order status may be updated to "to receive the passenger", when the vehicle a arrives at the passenger boarding location, the local order status may be updated to "waiting for boarding", when the vehicle a passenger successfully boards, the local order status may be updated to "in-flight", and when the vehicle a arrives at the destination, the local order status may be updated to "end-of-flight".
According to another aspect of the embodiments of the present invention, there is also provided a storage medium, which is characterized in that the storage medium includes a stored program, wherein when the program runs, the apparatus on which the storage medium is located is controlled to execute the method. For example, the following steps may be performed: acquiring the state of information reported by a vehicle within first preset time; if the vehicle does not report the information within the first preset time, setting the order receiving state of the vehicle without the information to be not dispatched; acquiring order information, and sending the order information to a vehicle with reported information in the first preset time; and according to the order state fed back by the vehicle, finishing the updating of the local order state.
According to another aspect of the embodiments of the present invention, there is also provided a processor, characterized in that the processor is configured to execute a program stored in a memory, wherein the program executes the method. For example, the following steps may be performed: acquiring the state of information reported by a vehicle within first preset time; if the vehicle does not report the information within the first preset time, setting the order receiving state of the vehicle without the information to be not dispatched; acquiring order information, and sending the order information to a vehicle with reported information in the first preset time; and according to the order state fed back by the vehicle, finishing the updating of the local order state.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (13)

1. A method for processing an order, comprising:
acquiring the state of information reported by a vehicle within first preset time;
if the vehicle does not report the information within the first preset time, setting the order receiving state of the vehicle without the information to be not dispatched;
acquiring order information, and sending the order information to a vehicle with reported information in the first preset time; and
and finishing updating the local order state according to the order state fed back by the vehicle.
2. The method of claim 1, wherein obtaining the reported information of the vehicle within the first preset time comprises:
acquiring time information of the last reported information of all vehicles;
judging whether the sum of the time information and the first preset time is greater than the current time, and
if the sum of the time information and the first preset time is greater than the current time, the vehicle has the reported information within the first preset time, and if the sum of the time information and the first preset time is less than the current time, the vehicle does not have the reported information within the first preset time.
3. The method of claim 1, further comprising, after obtaining the order information and sending the order information to the vehicle having the reporting information within the first preset time, the step of:
judging whether the vehicle receives the order within second preset time;
if the vehicle does not receive the order within the second preset time, detecting whether the order information creating time exceeds a third preset time, and
and if the order information creating time exceeds a third preset time, canceling the order of the vehicle.
4. The method of claim 1, wherein completing the update to the local order status based on the order status fed back by the vehicle comprises:
confirming that the vehicle receives the order information, and updating the local order state into a first order state;
according to the first order state, after the vehicle reaches a boarding place, updating the local order state into a second order state;
according to the second order state, after the passenger gets on the bus, the local order state is updated to a third order state;
and updating the local order state to a fourth order state after the vehicle reaches the destination according to the third order state.
5. A method for processing an order, comprising:
displaying the state of the vehicle reported information in a first preset time, wherein the state comprises the following steps: receiving the reporting information, wherein the reporting information is not received;
under the condition that order information is received, vehicle information of a vehicle which is allowed to receive the order information is displayed, wherein the vehicle which receives the reported information within the first preset time is set as the vehicle which is allowed to receive the order information;
and sending the order information to a vehicle which is allowed to receive the order information based on the vehicle information.
6. The method of claim 5,
and if the vehicle does not report the information within the first preset time, setting the order receiving state of the vehicle without the reported information as a no-order-dispatching state.
7. The method of claim 5, wherein after sending the order information to a vehicle that is allowed to receive the order information, the method further comprises:
receiving an order state generated by the vehicle processing the order information;
and finishing the updating of the local order state according to the order state fed back by the vehicle.
8. An apparatus for processing an order, comprising:
the acquisition module is used for acquiring the state of information reported by the vehicle within first preset time;
the processing module is used for setting the order receiving state of the vehicle without the reported information as an order not to be dispatched if the vehicle does not report the information within the first preset time;
the dispatching module is used for acquiring order information and sending the order information to the vehicle with the reported information in the first preset time;
and the updating module is used for finishing updating the local order state according to the order state fed back by the vehicle.
9. The apparatus of claim 8, wherein the obtaining module comprises:
the acquisition unit is used for acquiring the time information of the last reported information of all vehicles;
a judging unit for judging whether the sum of the time information and the first preset time is greater than the current time, an
The determining unit is used for determining that the vehicle has the reported information within the first preset time if the sum of the time information and the first preset time is greater than the current time, and determining that the vehicle does not have the reported information within the first preset time if the sum of the time information and the first preset time is less than the current time.
10. The apparatus of claim 8, further comprising:
the judging module is used for judging whether the vehicle meets the order within second preset time;
a detection module for detecting whether the order information creation time exceeds a third preset time if the vehicle has not received an order within the second preset time, and
and the canceling module is used for canceling the order of the vehicle if the order information creating time exceeds a third preset time.
11. The apparatus of claim 8, wherein the update module comprises:
the first updating unit is used for confirming that the vehicle receives the order information and updating the local order state into a first order state;
the second updating unit is used for updating the local order state into a second order state after the vehicle reaches the boarding place according to the first order state;
the third updating unit is used for updating the local order state into a third order state after the passenger gets on the bus according to the second order state;
and the fourth updating unit is used for updating the local order state into a fourth order state after the vehicle reaches the destination according to the third order state.
12. A storage medium, comprising a stored program, wherein the program, when executed, controls an apparatus in which the storage medium is located to perform the method of any one of claims 1 to 7.
13. A processor for executing a program stored in a memory, wherein the program when executed performs the method of any one of claims 1 to 7.
CN201910964651.5A 2019-10-11 2019-10-11 Order processing method and device Pending CN110728476A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910964651.5A CN110728476A (en) 2019-10-11 2019-10-11 Order processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910964651.5A CN110728476A (en) 2019-10-11 2019-10-11 Order processing method and device

Publications (1)

Publication Number Publication Date
CN110728476A true CN110728476A (en) 2020-01-24

Family

ID=69220982

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910964651.5A Pending CN110728476A (en) 2019-10-11 2019-10-11 Order processing method and device

Country Status (1)

Country Link
CN (1) CN110728476A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115439196A (en) * 2022-11-09 2022-12-06 浙江云针信息科技有限公司 Unmanned vehicle order receiving method and device, storage medium and terminal
CN115471301A (en) * 2022-11-11 2022-12-13 浙江云针信息科技有限公司 Unmanned vehicle decentralized order dispatching method and device, storage medium and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105956908A (en) * 2016-05-13 2016-09-21 深圳市永兴元科技有限公司 Order allocation method and order allocation system
CN108475466A (en) * 2016-01-27 2018-08-31 北京嘀嘀无限科技发展有限公司 System and method for matching and showing service request and available vehicle
CN109635980A (en) * 2018-12-21 2019-04-16 重庆呼我出行网络科技有限公司 About vehicle order allocation method and system
CN109726838A (en) * 2018-12-28 2019-05-07 永安行科技股份有限公司 Order fulfillment method executes system and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108475466A (en) * 2016-01-27 2018-08-31 北京嘀嘀无限科技发展有限公司 System and method for matching and showing service request and available vehicle
CN105956908A (en) * 2016-05-13 2016-09-21 深圳市永兴元科技有限公司 Order allocation method and order allocation system
CN109635980A (en) * 2018-12-21 2019-04-16 重庆呼我出行网络科技有限公司 About vehicle order allocation method and system
CN109726838A (en) * 2018-12-28 2019-05-07 永安行科技股份有限公司 Order fulfillment method executes system and computer readable storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115439196A (en) * 2022-11-09 2022-12-06 浙江云针信息科技有限公司 Unmanned vehicle order receiving method and device, storage medium and terminal
CN115471301A (en) * 2022-11-11 2022-12-13 浙江云针信息科技有限公司 Unmanned vehicle decentralized order dispatching method and device, storage medium and terminal

Similar Documents

Publication Publication Date Title
EP3722901B1 (en) Vehicle trouble diagnosis method and vehicle trouble diagnosis apparatus
CN110728476A (en) Order processing method and device
DE102015118566A1 (en) Method and apparatus for interactive vehicle service acceptance
CN104754151A (en) Bank queuing communication method and system
CN109711780A (en) Transportation message notification method and device
CN113627792B (en) Unmanned vehicle scheduling management method, device, equipment, storage medium and program
CN111832764A (en) Data processing method and device, electronic equipment and readable storage medium
CN102204234B (en) Call control system, call control apparatus, terminal apparatus, and call control method
CN111626801A (en) Order distribution method and device, electronic equipment and computer storage medium
CN101452646A (en) Bus number generating method
CN114444570A (en) Fault detection method, device, electronic equipment and medium
CN109670777A (en) Carwash prompting message method for pushing, device and vehicle washing system
CN112419578A (en) Network online reservation and intelligent reminding system and implementation method thereof
CN107610495A (en) Drive responsibility and determine method, data backup device, judgement system and carrier
CN105631429A (en) License plate voting method, apparatus, and system
CN107507293A (en) passenger monitoring method and terminal device
CN110825560B (en) Method, device and equipment for processing execution errors and computer readable storage medium
CN116048587A (en) Remote automatic upgrading method, device, server, equipment and medium for vehicle
DE102018221688A1 (en) Method, computer program, device, vehicle and network component for estimating a user's departure time with a vehicle
CN114708748A (en) Method and system for judging train number state and readable storage medium
CN113065821B (en) Vehicle allocation behavior early warning method, device, equipment and storage medium
CN105607585A (en) Method and system for automobile production and maintenance
WO2017039245A1 (en) Method, system and non-temporary computer-readable recording medium for providing schedule-related notification
CN114118493A (en) Optimization method for cost generated when passengers do not get on bus
CN113784285A (en) Intelligent calling method and device based on Bluetooth device, electronic device and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200124

RJ01 Rejection of invention patent application after publication