CN106682972B - Cloud multi-path point matching designated driving method and system, cloud server and client - Google Patents
Cloud multi-path point matching designated driving method and system, cloud server and client Download PDFInfo
- Publication number
- CN106682972B CN106682972B CN201710055774.8A CN201710055774A CN106682972B CN 106682972 B CN106682972 B CN 106682972B CN 201710055774 A CN201710055774 A CN 201710055774A CN 106682972 B CN106682972 B CN 106682972B
- Authority
- CN
- China
- Prior art keywords
- travel
- cloud server
- task
- order
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000006854 communication Effects 0.000 claims description 71
- 238000004891 communication Methods 0.000 claims description 70
- 238000012545 processing Methods 0.000 claims description 12
- 238000012163 sequencing technique Methods 0.000 claims description 9
- 238000010276 construction Methods 0.000 claims description 3
- 230000002457 bidirectional effect Effects 0.000 claims 6
- 238000010586 diagram Methods 0.000 description 12
- 238000004590 computer program Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000011161 development Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000019771 cognition Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
- G06Q30/0635—Processing of requisition or of purchase orders
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q50/00—Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
- G06Q50/40—Business processes related to the transportation industry
Landscapes
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Economics (AREA)
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- General Physics & Mathematics (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Human Resources & Organizations (AREA)
- Primary Health Care (AREA)
- Tourism & Hospitality (AREA)
- Traffic Control Systems (AREA)
- Navigation (AREA)
Abstract
The invention discloses a cloud multi-path point matching designated driving method and system, a cloud server and a client. The method comprises the following steps: the driver side and the passenger side respectively send corresponding user information to the cloud server and store the corresponding user information in the user information form; the passenger side sends the order information to the cloud server and stores the order information in the order pool; the cloud server sorts the order information in the order pool in real time according to time priority and stores the order information into a travel task list; the server side sends a receipt receiving request to the cloud server, receives a travel task form and randomly selects any one of the travel tasks; the cloud server moves the travel tasks selected by the driver end to a historical travel task list for storage and updates the travel task list; the driver end sends the geographic position information to the cloud server in real time, the cloud server associates the received geographic position information with the corresponding current travel task of the driver end, and the current travel task state is updated in real time and sent to the passenger end until the travel task is finished.
Description
Technical Field
The invention belongs to the field of signal processing, and particularly relates to a cloud multi-path point matching designated driving method and system, a cloud server and a client.
Background
Along with the strict punishment of drunk driving by the traffic department, the modern driving industry develops rapidly, and the mobile phone modern driving software gradually gets hot. Compared with the traditional cost mode, the mobile phone generation driving software is more time-saving and labor-saving. And by using the designated driving software, the passenger can know the driver information in advance, and the riding process is safer. As the driving industry software in China just starts, the market demand is large. Therefore, the mobile phone drive software presents a rapid development situation. Although the designated driving software has the advantages, the existing mobile phone designated driving software also has the following disadvantages: (1) no more trip task information is provided except for a trip start point and a trip end point; (2) the route which has been traveled in the current journey cannot be updated in real time; (3) the user has slower waiting time for order taking.
Disclosure of Invention
In order to solve the drawbacks of the prior art, a first object of the present invention is to provide a cloud multi-way point matching designated driving method.
The invention discloses a cloud multi-path point matching designated driving method, which is described from a driver side, a passenger side and a cloud server mixed side, and specifically comprises the following steps:
step 1: the driver side and the passenger side respectively send corresponding user information to the cloud server and store the corresponding user information in the user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
step 2: the passenger side sends the order information to the cloud server and stores the order information in the order pool; the cloud server sorts and stores the order information in the order pool into a travel task list according to time priority in real time, and associates the order information with a corresponding driver end or a corresponding passenger end according to the user ID;
and step 3: the driver end sends a receipt receiving request to the cloud server, the cloud server receives the receipt receiving request and then sends the travel task form to the driver end, and the driver end randomly selects any travel task in the travel task form;
and 4, step 4: the cloud server moves the travel tasks selected by the driver end to a historical travel task list for storage and updates the travel task list, and then sends information of 'order success' and 'order receiving success' to the passenger end and the driver end respectively according to the user ID;
and 5: the driver end sends the geographic position information to the cloud server in real time, the cloud server associates the received geographic position information with the corresponding current travel task of the driver end, and the current travel task state is updated in real time and sent to the passenger end until the travel task is finished.
Further, the method further comprises: the cloud server also directly pushes the order information in the order pool to the driver according to the order information time sent by the passenger side.
Further, the order information staying in the order pool for the longest time will be pushed preferentially. For the task which is received latest or has long waiting time in the order pool to be dispatched preferentially, the schedule task arrangement is planned better, the schedule dispatching efficiency is improved, and the waiting time of passengers is shortened.
Further, the cloud server creates a user information form, a travel task form and a historical travel task form based on MySQL. The user information form, the travel task form and the historical travel task form are respectively used for storing the personal information of the user, the current ongoing task and the completed task, so that the classified storage of data is better realized, the access speed of the three types of information is improved, and the operating efficiency in the cloud server is ensured.
Further, the cloud server transmits data in the form of json character strings with the driver side and the passenger side respectively. The json data has a simple format, is easy to read and write, and can occupy smaller bandwidth after being compressed, so that the analysis of the server side is facilitated, the communication speed between the cloud server and the client side and between the cloud server and the passenger side are improved, and the communication stability is ensured.
The order information includes: origin, end point, trip midpoint, and vehicle type information. The information is favorable for providing intuitive and clear driving route cognition for the order taking driver, and the order taking driver can quickly identify the designated driving vehicle, so that the accuracy of the order is ensured.
The invention also provides another cloud multi-path point matching designated driving method, which is completed in a cloud server and specifically comprises the following steps:
step 1: receiving user information of a driver end and a passenger end and storing the user information into a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
step 2: receiving order information sent by a passenger terminal, storing the order information in an order pool, sequencing the order information in the order pool according to time priority in real time, storing the order information in a travel task form, and associating the order information with a corresponding driver terminal or the passenger terminal according to a user ID;
and step 3: receiving a order receiving request sent by a driver end, sending a travel task form to the driver end, and randomly selecting any travel task in the travel task form by the driver end;
and 4, step 4: moving the travel tasks selected by the driver end to a historical travel task list for storage and updating the travel task list, and then respectively sending information of 'order success' and 'order receiving success' to the passenger end and the driver end according to the user ID;
and 5: and receiving the geographic position information sent by the driver end in real time, associating the geographic position information with the current travel task of the corresponding driver end, updating the current travel task state in real time and sending the current travel task state to the passenger end until the travel task is finished.
The invention also provides another cloud multi-path point matching designated driving method which is characterized in that the method is completed in a client, the client comprises a driver end and a passenger end, and the method specifically comprises the following steps:
step 1: the driver side and the passenger side respectively send corresponding user information to the cloud server and store the corresponding user information in the user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
step 2: the passenger side sends the order information to the cloud server and stores the order information in the order pool, the order information in the order pool is sorted according to time priority and stored in the travel task list in real time through the cloud server, and the order information is associated with the corresponding driver side or the passenger side according to the user ID;
and step 3: the server side sends a receipt receiving request to the cloud server, then receives a travel task form sent by the cloud server, and randomly selects any travel task in the travel task form;
and 4, step 4: the passenger side and the driver side respectively receive the information of 'order success' and 'order receiving success' sent by the cloud server;
and 5: the driver end sends the geographic position information to the cloud server in real time, the cloud server associates the received geographic position information with the current travel task of the corresponding driver end, and the current travel task state is updated in real time; and the passenger end receives the current travel task state in real time until the travel task is finished.
The second purpose of the invention is to provide a cloud multi-path point fast-matching designated driving system.
The invention discloses a cloud multi-path point fast-matching designated driving system, which comprises: the system comprises a client and a cloud server, wherein the client comprises a driver end and a passenger end;
the system comprises a driver end and a passenger end, wherein the driver end and the passenger end are used for respectively sending corresponding user information to a cloud server and storing the corresponding user information into a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
the passenger side is also used for sending the order information to the cloud server and storing the order information in the order pool;
the cloud server is used for sorting and storing the order information in the order pool into the travel task list according to time priority in real time, and associating the order information with a corresponding driver end or a corresponding passenger end according to the user ID;
the server side is used for sending a bill receiving request to the cloud server;
the cloud server is also used for receiving the order receiving request and then sending the travel task form to the driver end, and the driver end randomly selects any travel task in the travel task form; moving the travel tasks selected by the driver end to a historical travel task list for storage and updating the travel task list, and then respectively sending information of 'order success' and 'order receiving success' to the passenger end and the driver end according to the user ID;
and the cloud server is also used for receiving the geographic position information sent by the driver end in real time, associating the geographic position information with the current travel task of the corresponding driver end, updating the current travel task state in real time and sending the current travel task state to the passenger end until the travel task is finished.
Further, the cloud server is further used for directly pushing the order information in the order pool to the driver side according to the order information time sent by the passenger side. For the task which is received latest or has long waiting time in the order pool to be dispatched preferentially, the schedule task arrangement is planned better, the schedule dispatching efficiency is improved, and the waiting time of passengers is shortened.
Further, the cloud server is used for creating a user information form, a travel task form and a historical travel task form based on MySQL. The user information form, the travel task form and the historical travel task form are respectively used for storing the personal information of the user, the current ongoing task and the completed task, so that the classified storage of data is better realized, the access speed of the three types of information is improved, and the operating efficiency in the cloud server is ensured.
Further, the cloud server transmits data in the form of json character strings with the driver side and the passenger side respectively. The json data has a simple format, is easy to read and write, and can occupy smaller bandwidth after being compressed, so that the analysis of the server side is facilitated, the communication speed between the cloud server and the client side and between the cloud server and the passenger side are improved, and the communication stability is ensured.
The cloud server side adopts a Struts2 framework.
The invention relates to a cloud server for fast matching cloud multi-path points, which comprises:
the user information storage module is used for receiving the user information of a driver end and a passenger end and storing the user information into a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
the travel task form construction module is used for receiving order information sent by the passenger terminal, storing the order information in the order pool, sequencing the order information in the order pool according to time priority in real time, storing the order information in the travel task form, and associating the order information with a corresponding driver terminal or the passenger terminal according to the user ID;
the system comprises a travel task form sending module, a travel task form receiving module and a travel task form sending module, wherein the travel task form sending module is used for receiving a form receiving request sent by a driver end, sending the travel task form to the driver end, and randomly selecting any travel task in the travel task form by the driver end;
the travel task form updating module is used for moving the travel tasks selected by the driver end to a historical travel task form for storage and updating the travel task form, and then respectively sending information of 'order success' and 'order receiving success' to the passenger end and the driver end according to the user ID;
and the journey task state updating module is used for receiving the geographical position information sent by the driver end in real time, associating the geographical position information with the corresponding current journey task of the driver end, updating the current journey task state in real time and sending the current journey task state to the passenger end until the journey task is finished.
The invention discloses a cloud multi-path point fast-matching designated driving client, which comprises a driver end and a passenger end;
the system comprises a driver end and a passenger end, wherein the driver end and the passenger end are used for respectively sending corresponding user information to a cloud server and storing the corresponding user information into a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
the passenger side is also used for sending the order information to the cloud server and storing the order information in the order pool, sequencing the order information in the order pool according to time priority and storing the order information in the travel task list in real time through the cloud server, and associating the order information with the corresponding driver side or the corresponding passenger side according to the user ID;
the server side is used for sending a receipt receiving request to the cloud server, receiving a travel task form sent by the cloud server and randomly selecting any travel task in the travel task form;
the passenger end and the driver end are also used for respectively receiving the information of 'order success' and 'order receiving success' sent by the cloud server;
the driver end is also used for sending the geographic position information to the cloud server in real time, the cloud server associates the received geographic position information with the current travel task of the corresponding driver end, and the current travel task state is updated in real time; and the passenger end receives the current travel task state in real time until the travel task is finished.
The invention has the beneficial effects that:
(1) according to the invention, the server is quickly built by adopting the cloud, so that the data security is fully protected, and the building cost of the server is reduced. The cloud server side adopts a Struts2 framework, the structure is modularized, and the expansibility of the server side is enhanced. Because the Struts2 are based on the MVC architecture, the framework structure is clear, the development process is clear at a glance, and developers can well control the development process;
(2) the concept of the stroke middle point is added in the traditional stroke starting point, the stroke middle point marks the places needing paths in the whole stroke process, the method is used for meeting the condition that when a plurality of people take one car at the same time but the destinations are different, the requirement of taking the car at the same time by the plurality of people is fully considered, and the design thinking is flexible;
(3) the invention adopts the order pool mode to store the travel tasks, and arranges the travel issuing sequence by setting the travel priority. For the task which is received latest or has long waiting time in the order pool to be dispatched preferentially, the schedule task arrangement is planned better, the schedule dispatching efficiency is improved, and the waiting time of passengers is shortened;
(4) the server end monitors the travel route of the driver in the journey in real time and displays the travel route in the passenger end interface. The passenger can check whether the traveling route deviates from the preset route at any time, and the passenger can clearly know the position and the travel condition of the passenger by checking the route, so that the safety of traveling is improved.
Drawings
Fig. 1 is a schematic flow chart of a cloud multi-way point matching designated driving method according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart of a cloud multi-way point matching designated driving method according to a second embodiment of the present invention;
fig. 3 is a schematic flow chart of a cloud multi-way point matching designated driving method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a cloud multi-way point matching designated driving system according to the present invention;
FIG. 5 is a schematic diagram of a cloud-end multi-path point matching designated cloud server according to the present invention;
FIG. 6 is a schematic view of passenger side operation;
FIG. 7 is a schematic driver-side operation;
fig. 8 is a schematic view of communication between a cloud server and a client;
fig. 9 is a schematic view of operation of the cloud server module.
Detailed Description
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.
The client side provided by the embodiment of the invention can comprise an internet device running with an APP application, such as a personal computer, a tablet computer, a smart phone, a vehicle-mounted terminal and a wearable device, and is communicated with a cloud server through the internet, wherein the cloud server is a background server of the APP application running on the client side. The cloud server in the embodiment of the invention can directly push messages to the client through the network.
Fig. 1 is a schematic flow diagram of a cloud multi-way point matching designated driving method in an embodiment of the present invention, which is mainly described from a description side of a hybrid side of a client and a cloud server, where the client includes a driver side and a passenger side, and as shown in the diagram, the cloud multi-way point matching designated driving method in the embodiment may include:
s101, the driver side and the passenger side respectively send corresponding user information to a cloud server and store the corresponding user information in a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID.
In specific implementation, the cloud server creates a user information form based on MySQL.
The order information includes: origin, end point, trip midpoint, and vehicle type information.
As shown in fig. 6, when the passenger side starts, firstly, checking whether a default login file exists, if so, completing login according to the login file, and entering a system main interface; and if the personal information does not exist, entering a registration interface, filling personal information in the registration side interface by the user, and clicking a registration button to complete the registration process after the personal information is filled. Entering a main interface, and enabling the passenger to select to release an instant order or an appointment order; and selecting an instant order to enter a map main interface, filling information such as a starting place, a terminal point, a middle point of a journey, a vehicle type and the like in the interface by a passenger, and clicking the next step to enter a waiting interface. And selecting a reserved order to enter a reserved interface, and filling information such as order time, starting point and terminal point and the like into a waiting interface by a user. The waiting interface comprises a cancel button, and if the order is not accepted for a long time, the user can cancel the order and reissue the order by himself.
The driver-side start-up process is the same as the passenger-side.
S102, the passenger side sends the order information to a cloud server and stores the order information in an order pool; the cloud server sorts the order information in the order pool in real time according to time priority and stores the order information into the travel task list, and the order information is associated with a corresponding driver end or a corresponding passenger end according to the user ID.
S103, the driver end sends a receipt receiving request to the cloud server, the cloud server receives the receipt receiving request and then sends the travel task form to the driver end, and the driver end randomly selects any travel task in the travel task form.
And S104, the cloud server moves the travel task selected by the driver end to a historical travel task list for storage and updates the travel task list, and then sends information of 'order success' and 'order receiving success' to the passenger end and the driver end respectively according to the user ID.
As shown in fig. 7, when the driver side is working normally, a request for obtaining the task list is sent to the server side at intervals. And the server side captures the travel tasks from the order pool after receiving the request, sorts the tasks according to the priority, formats the sorted task list and returns the result to the driver side in a json character string mode. The driver end obtains the result and analyzes the result to form a latest task list, and then the driver end displays the task list on a main interface for the driver to select. After a driver selects a travel task, a driver end sends a task confirmation request to a server end, the server end locks the corresponding travel task after receiving the request to ensure that the task is not released to other driver ends any more, and then inquires an account number of the driver end and a travel task list in progress of an account number of a passenger end to which the task belongs to insert the task into the list.
And S105, the driver end sends the geographic position information to the cloud server in real time, the cloud server associates the received geographic position information with the corresponding current travel task of the driver end, and the current travel task state is updated in real time and sent to the passenger end until the travel task is finished.
And the driver end acquires driver GPS data and sends a task updating request to the server end at intervals in the process of a journey. And the server terminal unpacks the packed GPS data, acquires a corresponding travel task from the order pool, and updates the latest position data into the travel task. The passenger end sends a request for obtaining the latest task state to the server end once every a period of time, the server end obtains the corresponding travel task from the order pool after receiving the request, the travel task is sent to the passenger end after being formatted, and the passenger end updates the travel state and the travel route map in the map according to the obtained result.
The method further comprises the following steps: the cloud server also directly pushes the order information in the order pool to the driver according to the order information time sent by the passenger side.
Further, the order information staying in the order pool for the longest time will be pushed preferentially. For the task which is received latest or has long waiting time in the order pool to be dispatched preferentially, the schedule task arrangement is planned better, the schedule dispatching efficiency is improved, and the waiting time of passengers is shortened.
In a specific embodiment, as shown in fig. 8, a communication process between the client and the server is as follows:
the communication module is used for realizing information connection between the client and the server, and ensuring data synchronization of the two ends, and is a key module of the system. The communication module works locally at the client, performs data communication with the UI module through the interface, and acquires user input from the UI module. After the communication module acquires user data, a data channel is established with a server side, the data is packaged and formatted into a json format and is sent to the server side, and the channel is disconnected; after the short waiting, the communication module and the server reestablish the channel and send a data request, and the server receives the request and then sends the processed data to the communication module through the channel. The communication module analyzes and unpacks the received data, and the obtained data is the processing result of the data which is sent to the server side by the module. The communication module transmits the processed data to the UI module of the client through the interface, and the UI module of the client processes the data and displays the processed data in the interface.
As shown in fig. 9, the architecture of the cloud server adopts a Struts2 architecture, and the database adopts a MySQL database. And when the server code is initialized, three tables are established in the database and respectively correspond to user information, and the user performs a middle-trip task and a user historical-trip task. An order pool is then created whose basic structure is a doubly linked list. The method comprises the steps that the order pool records the issuing time and the waiting time of each travel task during working, then the priority of the travel tasks is set according to the front and back of the issuing time and the length of the waiting time, and the travel tasks are pushed to a driver end, wherein the priority of the travel tasks is higher when the issuing time is later or the waiting time is longer. The server module executes corresponding function codes after acquiring the client work request every time, and the result acquired after the codes are executed is returned to the client in a json character string mode.
In this embodiment, the server is constructed based on the cloud, the client is published in the mobile terminal in an application program manner, and the client is divided into a client side and a server side according to the user type. The system connects all the devices to the cloud server in a network connection mode. Data are transmitted between the server side and the client side in a json character string mode, orders are pushed in a form of order grabbing or priority order dispatching, and the designated driver and passengers complete payment transactions on line. The system is expanded on the basis of the existing popular designated driving system, so that a plurality of passengers in one automobile can set a plurality of intermediate points, the route path is flexibly planned, the driver can stop temporarily at each intermediate point to facilitate the passengers needing to get off at the intermediate points to get off, and the function of meeting the requirements of multiple persons on the route simultaneously in the same route is realized.
Fig. 2 is a schematic flow chart of a cloud multi-point matching designated driving method in another embodiment of the present invention, which is mainly described from a cloud server side in this embodiment, and as shown in the drawing, the cloud multi-point matching designated driving method in this embodiment may include:
s201, receiving user information of a driver end and a passenger end and storing the user information into a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID.
S202, receiving order information sent by the passenger terminal, storing the order information in an order pool, sequencing the order information in the order pool according to time priority in real time, storing the order information in a travel task list, and associating the order information with the corresponding driver terminal or the passenger terminal according to the user ID.
S203, receiving a order receiving request sent by the driver end, sending the travel task list to the driver end, and randomly selecting any travel task in the travel task list by the driver end.
And S204, moving the travel task selected by the driver end to a historical travel task list for storage and updating the travel task list, and then respectively sending information of 'order success' and 'order receiving success' to the passenger end and the driver end according to the user ID.
S205, receiving the geographical position information sent by the driver end in real time, associating the geographical position information with the current travel task of the corresponding driver end, updating the current travel task state in real time and sending the current travel task state to the passenger end until the travel task is finished.
Fig. 3 is a schematic flow chart of a cloud multi-point matching designated driving method in another embodiment of the present invention, which is mainly described from a client side in this embodiment, and as shown in the drawing, the cloud multi-point matching designated driving method in this embodiment may include:
s301, the driver side and the passenger side respectively send corresponding user information to a cloud server and store the corresponding user information in a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID.
S302, the passenger side sends the order information to the cloud server and stores the order information in the order pool, the order information in the order pool is sorted according to time priority and stored in the travel task list in real time through the cloud server, and the order information is associated with the corresponding driver side or the passenger side according to the user ID.
And S303, the driver end sends a receipt receiving request to the cloud server, then receives the travel task form sent by the cloud server, and randomly selects any travel task in the travel task form.
And S304, the passenger side and the driver side respectively receive the information of 'order success' and 'order receiving success' sent by the cloud server.
S305, the driver end sends the geographic position information to a cloud server in real time, the cloud server associates the received geographic position information with the current travel task of the corresponding driver end, and the current travel task state is updated in real time; and the passenger end receives the current travel task state in real time until the travel task is finished.
Fig. 4 is a quick-matching designated driving system of a cloud multi-way point according to the present invention. The cloud multi-way point fast-matching designated driving system shown in fig. 4 comprises: the system comprises a client and a cloud server, wherein the client comprises a driver end and a passenger end;
the system comprises a driver end and a passenger end, wherein the driver end and the passenger end are used for respectively sending corresponding user information to a cloud server and storing the corresponding user information into a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
the passenger side is also used for sending the order information to the cloud server and storing the order information in the order pool;
the cloud server is used for sorting and storing the order information in the order pool into the travel task list according to time priority in real time, and associating the order information with a corresponding driver end or a corresponding passenger end according to the user ID;
the server side is used for sending a bill receiving request to the cloud server;
the cloud server is also used for receiving the order receiving request and then sending the travel task form to the driver end, and the driver end randomly selects any travel task in the travel task form; moving the travel tasks selected by the driver end to a historical travel task list for storage and updating the travel task list, and then respectively sending information of 'order success' and 'order receiving success' to the passenger end and the driver end according to the user ID;
and the cloud server is also used for receiving the geographic position information sent by the driver end in real time, associating the geographic position information with the current travel task of the corresponding driver end, updating the current travel task state in real time and sending the current travel task state to the passenger end until the travel task is finished.
Further, the cloud server is further used for directly pushing the order information in the order pool to the driver side according to the order information time sent by the passenger side. For the task which is received latest or has long waiting time in the order pool to be dispatched preferentially, the schedule task arrangement is planned better, the schedule dispatching efficiency is improved, and the waiting time of passengers is shortened.
Further, the cloud server is used for creating a user information form, a travel task form and a historical travel task form based on MySQL. The user information form, the travel task form and the historical travel task form are respectively used for storing the personal information of the user, the current ongoing task and the completed task, so that the classified storage of data is better realized, the access speed of the three types of information is improved, and the operating efficiency in the cloud server is ensured.
Furthermore, the cloud server transmits data in the form of json character strings with the driver end and the passenger end respectively, and the json data format is simple and easy to read and write, and is compressed, so that the cloud server can occupy smaller bandwidth, the analysis of the server end is facilitated, the communication speed between the cloud server and the driver end and the passenger end is improved, and the communication stability is ensured.
The cloud server side adopts a Struts2 framework.
Fig. 5 is a cloud server for fast matching cloud multi-way points. As shown in fig. 5, the fast-matching designated cloud server for cloud multi-way points of the present invention includes:
the user information storage module is used for receiving the user information of a driver end and a passenger end and storing the user information into a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
the travel task form construction module is used for receiving order information sent by the passenger terminal, storing the order information in the order pool, sequencing the order information in the order pool according to time priority in real time, storing the order information in the travel task form, and associating the order information with a corresponding driver terminal or the passenger terminal according to the user ID;
the system comprises a travel task form sending module, a travel task form receiving module and a travel task form sending module, wherein the travel task form sending module is used for receiving a form receiving request sent by a driver end, sending the travel task form to the driver end, and randomly selecting any travel task in the travel task form by the driver end;
the travel task form updating module is used for moving the travel tasks selected by the driver end to a historical travel task form for storage and updating the travel task form, and then respectively sending information of 'order success' and 'order receiving success' to the passenger end and the driver end according to the user ID;
and the journey task state updating module is used for receiving the geographical position information sent by the driver end in real time, associating the geographical position information with the corresponding current journey task of the driver end, updating the current journey task state in real time and sending the current journey task state to the passenger end until the journey task is finished.
The invention discloses a cloud multi-path point fast-matching designated driving client, which comprises a driver end and a passenger end;
the system comprises a driver end and a passenger end, wherein the driver end and the passenger end are used for respectively sending corresponding user information to a cloud server and storing the corresponding user information into a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
the passenger side is also used for sending the order information to the cloud server and storing the order information in the order pool, sequencing the order information in the order pool according to time priority and storing the order information in the travel task list in real time through the cloud server, and associating the order information with the corresponding driver side or the corresponding passenger side according to the user ID;
the server side is used for sending a receipt receiving request to the cloud server, receiving a travel task form sent by the cloud server and randomly selecting any travel task in the travel task form;
the passenger end and the driver end are also used for respectively receiving the information of 'order success' and 'order receiving success' sent by the cloud server;
the driver end is also used for sending the geographic position information to the cloud server in real time, the cloud server associates the received geographic position information with the current travel task of the corresponding driver end, and the current travel task state is updated in real time; and the passenger end receives the current travel task state in real time until the travel task is finished.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Claims (8)
1. A cloud multi-path point matching designated driving method is characterized by comprising the following steps:
step 1: the driver side and the passenger side respectively send corresponding user information to the cloud server and store the corresponding user information in the user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
step 2: the passenger side sends the order information to the cloud server and stores the order information in the order pool; the cloud server sorts and stores the order information in the order pool into a travel task list according to time priority in real time, and associates the order information with a corresponding driver end or a corresponding passenger end according to the user ID;
and step 3: the driver end sends a receipt receiving request to the cloud server, the cloud server receives the receipt receiving request and then sends the travel task form to the driver end, and the driver end randomly selects any travel task in the travel task form;
and 4, step 4: the cloud server moves the travel tasks selected by the driver end to a historical travel task list for storage and updates the travel task list, and then sends information of 'order success' and 'order receiving success' to the passenger end and the driver end respectively according to the user ID;
and 5: the driver end sends the geographic position information to the cloud server in real time, the cloud server associates the received geographic position information with the current travel task of the corresponding driver end, updates the current travel task state in real time and sends the current travel task state to the passenger end until the travel task is finished;
the cloud server also directly pushes the order information in the order pool to the driver end according to the order information time sent by the passenger end, and the order information which is received latest or stays in the order pool for the longest time is preferentially pushed;
the order information includes: departure place, terminal point, intermediate point of travel and vehicle type information;
the travel middle point marks the passing point in the whole travel process, so that the condition that when a plurality of people take one car at the same time but the destinations are different is met, and the requirement of taking the plurality of people at the same time is fully considered;
the method has the advantages that the travel tasks are stored in the order pool mode, the travel issuing sequence is arranged by setting the travel priority, the travel task arrangement is well planned for the task which is received latest or has long waiting time in the order pool to be dispatched preferentially, the efficiency of the travel dispatch is improved, and the waiting time of passengers is shortened;
the driver end and the passenger end respectively transmit data with the cloud server in a json character string mode;
the driver end and the passenger end are client ends, and the cloud server is a server end;
the communication module is used for realizing the information connection between the client and the server, and the data synchronization of the two ends is ensured; the communication module works locally at the client, performs data communication with the UI module through an interface and acquires user input from the UI module; after the communication module acquires user data, a data channel is established with a server side, the data is packaged and formatted into a json format and is sent to the server side, and the channel is disconnected; after short waiting, the communication module and the server reestablish the channel and send a data request, and the server receives the request and then sends the processed data to the communication module through the channel; the communication module analyzes and unpacks the received data, and the obtained data is the processing result of the data which is sent to the server side by the communication module; the communication module transmits the processed data to a UI module of the client through an interface, and the UI module of the client processes the data and displays the processed data in the interface;
the architecture of the cloud server adopts a Struts2 architecture, and the database adopts a MySQL database; when a cloud server code is initialized, three tables are established in a database and respectively correspond to user information, and a user carries out a middle-stroke task and a user historical stroke task; then establishing an order pool, wherein the basic structure of the order pool is a bidirectional linked list; recording the release time and the waiting time of each travel task when the order pool works, then setting the priority of the travel tasks according to the front and back of the release time and the length of the waiting time, and pushing the travel tasks to a driver end, wherein the priority of the travel tasks is higher when the release time is later or the waiting time is longer; the cloud server executes corresponding function codes after acquiring the client work request every time, and the result acquired after executing the codes is returned to the client in a json character string mode.
2. The utility model provides a quick matching of high in clouds multiple spot drives system, its characterized in that includes: the system comprises a client and a cloud server, wherein the client comprises a driver end and a passenger end;
the system comprises a driver end and a passenger end, wherein the driver end and the passenger end are used for respectively sending corresponding user information to a cloud server and storing the corresponding user information into a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
the passenger side is also used for sending the order information to the cloud server and storing the order information in the order pool;
the cloud server is used for sorting and storing the order information in the order pool into the travel task list according to time priority in real time, and associating the order information with a corresponding driver end or a corresponding passenger end according to the user ID;
the server side is used for sending a bill receiving request to the cloud server;
the cloud server is also used for receiving the order receiving request and then sending the travel task form to the driver end, and the driver end randomly selects any travel task in the travel task form; moving the travel tasks selected by the driver end to a historical travel task list for storage and updating the travel task list, and then respectively sending information of 'order success' and 'order receiving success' to the passenger end and the driver end according to the user ID;
the cloud server is also used for receiving the geographic position information sent by the driver end in real time, associating the geographic position information with the current travel task of the corresponding driver end, updating the current travel task state in real time and sending the current travel task state to the passenger end until the travel task is finished;
the cloud server is also used for directly pushing the order information in the order pool to the driver side according to the order information time sent by the passenger side; the order information which is received or stays in the order pool for the longest time latest is preferentially pushed;
the order information includes: departure place, terminal point, intermediate point of travel and vehicle type information;
the travel middle point marks the passing point in the whole travel process, so that the condition that when a plurality of people take one car at the same time but the destinations are different is met, and the requirement of taking the plurality of people at the same time is fully considered;
the method has the advantages that the travel tasks are stored in the order pool mode, the travel issuing sequence is arranged by setting the travel priority, the travel task arrangement is well planned for the task which is received latest or has long waiting time in the order pool to be dispatched preferentially, the efficiency of the travel dispatch is improved, and the waiting time of passengers is shortened;
the driver end and the passenger end respectively transmit data with the cloud server in a json character string mode;
the driver end and the passenger end are client ends, and the cloud server is a server end;
the communication module is used for realizing the information connection between the client and the server, and the data synchronization of the two ends is ensured; the communication module works locally at the client, performs data communication with the UI module through an interface and acquires user input from the UI module; after the communication module acquires user data, a data channel is established with a server side, the data is packaged and formatted into a json format and is sent to the server side, and the channel is disconnected; after short waiting, the communication module and the server reestablish the channel and send a data request, and the server receives the request and then sends the processed data to the communication module through the channel; the communication module analyzes and unpacks the received data, and the obtained data is the processing result of the data which is sent to the server side by the communication module; the communication module transmits the processed data to a UI module of the client through an interface, and the UI module of the client processes the data and displays the processed data in the interface;
the architecture of the cloud server adopts a Struts2 architecture, and the database adopts a MySQL database; when a cloud server code is initialized, three tables are established in a database and respectively correspond to user information, and a user carries out a middle-stroke task and a user historical stroke task; then establishing an order pool, wherein the basic structure of the order pool is a bidirectional linked list; recording the release time and the waiting time of each travel task when the order pool works, then setting the priority of the travel tasks according to the front and back of the release time and the length of the waiting time, and pushing the travel tasks to a driver end, wherein the priority of the travel tasks is higher when the release time is later or the waiting time is longer; the cloud server executes corresponding function codes after acquiring the client work request every time, and the result acquired after executing the codes is returned to the client in a json character string mode.
3. The cloud multi-way point fast-match designated driving system as claimed in claim 2,
the cloud server is used for creating a user information form, a travel task form and a historical travel task form based on MySQL;
or the cloud server adopts a Struts2 framework.
4. The cloud multi-path point matching designated driving method is characterized by being completed in a cloud server and specifically comprising the following steps:
step 1: receiving user information of a driver end and a passenger end and storing the user information into a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
step 2: receiving order information sent by a passenger terminal, storing the order information in an order pool, sequencing the order information in the order pool according to time priority in real time, storing the order information in a travel task form, and associating the order information with a corresponding driver terminal or the passenger terminal according to a user ID;
and step 3: receiving a order receiving request sent by a driver end, sending a travel task form to the driver end, and randomly selecting any travel task in the travel task form by the driver end;
and 4, step 4: moving the travel tasks selected by the driver end to a historical travel task list for storage and updating the travel task list, and then respectively sending information of 'order success' and 'order receiving success' to the passenger end and the driver end according to the user ID;
and 5: receiving the geographical position information sent by the driver end in real time, associating the geographical position information with the current travel task of the corresponding driver end, updating the current travel task state in real time and sending the current travel task state to the passenger end until the travel task is finished;
the cloud server also directly pushes the order information in the order pool to the driver end according to the order information time sent by the passenger end, and the order information which is received latest or stays in the order pool for the longest time is preferentially pushed;
the order information includes: departure place, terminal point, intermediate point of travel and vehicle type information;
the travel middle point marks the passing point in the whole travel process, so that the condition that when a plurality of people take one car at the same time but the destinations are different is met, and the requirement of taking the plurality of people at the same time is fully considered;
the method has the advantages that the travel tasks are stored in the order pool mode, the travel issuing sequence is arranged by setting the travel priority, the travel task arrangement is well planned for the task which is received latest or has long waiting time in the order pool to be dispatched preferentially, the efficiency of the travel dispatch is improved, and the waiting time of passengers is shortened;
the cloud server transmits data in a json character string mode with the driver end and the passenger end respectively;
the driver end and the passenger end are client ends, and the cloud server is a server end;
the communication module is used for realizing the information connection between the client and the server, and the data synchronization of the two ends is ensured; the communication module works locally at the client, performs data communication with the UI module through an interface and acquires user input from the UI module; after the communication module acquires user data, a data channel is established with a server side, the data is packaged and formatted into a json format and is sent to the server side, and the channel is disconnected; after short waiting, the communication module and the server reestablish the channel and send a data request, and the server receives the request and then sends the processed data to the communication module through the channel; the communication module analyzes and unpacks the received data, and the obtained data is the processing result of the data which is sent to the server side by the communication module; the communication module transmits the processed data to a UI module of the client through an interface, and the UI module of the client processes the data and displays the processed data in the interface;
the architecture of the cloud server adopts a Struts2 architecture, and the database adopts a MySQL database; when a cloud server code is initialized, three tables are established in a database and respectively correspond to user information, and a user carries out a middle-stroke task and a user historical stroke task; then establishing an order pool, wherein the basic structure of the order pool is a bidirectional linked list; recording the release time and the waiting time of each travel task when the order pool works, then setting the priority of the travel tasks according to the front and back of the release time and the length of the waiting time, and pushing the travel tasks to a driver end, wherein the priority of the travel tasks is higher when the release time is later or the waiting time is longer; the cloud server executes corresponding function codes after acquiring the client work request every time, and the result acquired after executing the codes is returned to the client in a json character string mode.
5. A cloud multi-way point matching designated driving method as claimed in claim 1 or 4, further comprising:
the cloud server creates a user information form, a travel task form and a historical travel task form based on MySQL.
6. The utility model provides a quick matching of high in clouds multiple spot drives cloud server, a serial communication port, includes:
the user information storage module is used for receiving the user information of a driver end and a passenger end and storing the user information into a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
the travel task form construction module is used for receiving order information sent by the passenger terminal, storing the order information in the order pool, sequencing the order information in the order pool according to time priority in real time, storing the order information in the travel task form, and associating the order information with a corresponding driver terminal or the passenger terminal according to the user ID;
the system comprises a travel task form sending module, a travel task form receiving module and a travel task form sending module, wherein the travel task form sending module is used for receiving a form receiving request sent by a driver end, sending the travel task form to the driver end, and randomly selecting any travel task in the travel task form by the driver end;
the travel task form updating module is used for moving the travel tasks selected by the driver end to a historical travel task form for storage and updating the travel task form, and then respectively sending information of 'order success' and 'order receiving success' to the passenger end and the driver end according to the user ID;
the trip task state updating module is used for receiving the geographical position information sent by the driver end in real time, associating the geographical position information with the corresponding current trip task of the driver end, updating the current trip task state in real time and sending the current trip task state to the passenger end until the trip task is finished;
the cloud server also comprises a pushing module which is used for directly pushing the order information in the order pool to the driver end according to the order information time sent by the passenger end; the order information which is received or stays in the order pool for the longest time latest is preferentially pushed;
the order information includes: departure place, terminal point, intermediate point of travel and vehicle type information;
the travel middle point marks the passing point in the whole travel process, so that the condition that when a plurality of people take one car at the same time but the destinations are different is met, and the requirement of taking the plurality of people at the same time is fully considered;
the method has the advantages that the travel tasks are stored in the order pool mode, the travel issuing sequence is arranged by setting the travel priority, the travel task arrangement is well planned for the task which is received latest or has long waiting time in the order pool to be dispatched preferentially, the efficiency of the travel dispatch is improved, and the waiting time of passengers is shortened;
the cloud server transmits data with the driver end and the passenger end in a json character string mode respectively;
the driver end and the passenger end are client ends, and the cloud server is a server end;
the communication module is used for realizing the information connection between the client and the server, and the data synchronization of the two ends is ensured; the communication module works locally at the client, performs data communication with the UI module through an interface and acquires user input from the UI module; after the communication module acquires user data, a data channel is established with a server side, the data is packaged and formatted into a json format and is sent to the server side, and the channel is disconnected; after short waiting, the communication module and the server reestablish the channel and send a data request, and the server receives the request and then sends the processed data to the communication module through the channel; the communication module analyzes and unpacks the received data, and the obtained data is the processing result of the data which is sent to the server side by the communication module; the communication module transmits the processed data to a UI module of the client through an interface, and the UI module of the client processes the data and displays the processed data in the interface;
the architecture of the cloud server adopts a Struts2 architecture, and the database adopts a MySQL database; when a cloud server code is initialized, three tables are established in a database and respectively correspond to user information, and a user carries out a middle-stroke task and a user historical stroke task; then establishing an order pool, wherein the basic structure of the order pool is a bidirectional linked list; recording the release time and the waiting time of each travel task when the order pool works, then setting the priority of the travel tasks according to the front and back of the release time and the length of the waiting time, and pushing the travel tasks to a driver end, wherein the priority of the travel tasks is higher when the release time is later or the waiting time is longer; the cloud server executes corresponding function codes after acquiring the client work request every time, and the result acquired after executing the codes is returned to the client in a json character string mode.
7. A cloud multi-path point matching designated driving method is characterized in that the method is completed in a client, the client comprises a driver end and a passenger end, and the method specifically comprises the following steps:
step 1: the driver side and the passenger side respectively send corresponding user information to the cloud server and store the corresponding user information in the user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
step 2: the passenger side sends the order information to the cloud server and stores the order information in the order pool, the order information in the order pool is sorted according to time priority and stored in the travel task list in real time through the cloud server, and the order information is associated with the corresponding driver side or the passenger side according to the user ID;
and step 3: the server side sends a receipt receiving request to the cloud server, then receives a travel task form sent by the cloud server, and randomly selects any travel task in the travel task form;
and 4, step 4: the passenger side and the driver side respectively receive the information of 'order success' and 'order receiving success' sent by the cloud server;
and 5: the driver end sends the geographic position information to the cloud server in real time, the cloud server associates the received geographic position information with the current travel task of the corresponding driver end, and the current travel task state is updated in real time; the passenger end receives the current travel task state in real time until the travel task is finished;
the driver end is also used for receiving order information in the order pool pushed by the cloud server according to the order information time sent by the passenger end, and the order information which is received latest or stays in the order pool for the longest time is pushed preferentially;
the order information includes: departure place, terminal point, intermediate point of travel and vehicle type information;
the travel middle point marks the passing point in the whole travel process, so that the condition that when a plurality of people take one car at the same time but the destinations are different is met, and the requirement of taking the plurality of people at the same time is fully considered;
the method has the advantages that the travel tasks are stored in the order pool mode, the travel issuing sequence is arranged by setting the travel priority, the travel task arrangement is well planned for the task which is received latest or has long waiting time in the order pool to be dispatched preferentially, the efficiency of the travel dispatch is improved, and the waiting time of passengers is shortened;
the driver end and the passenger end respectively transmit data with the cloud server in a json character string mode;
the driver end and the passenger end are client ends, and the cloud server is a server end;
the communication module is used for realizing the information connection between the client and the server, and the data synchronization of the two ends is ensured; the communication module works locally at the client, performs data communication with the UI module through an interface and acquires user input from the UI module; after the communication module acquires user data, a data channel is established with a server side, the data is packaged and formatted into a json format and is sent to the server side, and the channel is disconnected; after short waiting, the communication module and the server reestablish the channel and send a data request, and the server receives the request and then sends the processed data to the communication module through the channel; the communication module analyzes and unpacks the received data, and the obtained data is the processing result of the data which is sent to the server side by the communication module; the communication module transmits the processed data to a UI module of the client through an interface, and the UI module of the client processes the data and displays the processed data in the interface;
the architecture of the cloud server adopts a Struts2 architecture, and the database adopts a MySQL database; when a cloud server code is initialized, three tables are established in a database and respectively correspond to user information, and a user carries out a middle-stroke task and a user historical stroke task; then establishing an order pool, wherein the basic structure of the order pool is a bidirectional linked list; recording the release time and the waiting time of each travel task when the order pool works, then setting the priority of the travel tasks according to the front and back of the release time and the length of the waiting time, and pushing the travel tasks to a driver end, wherein the priority of the travel tasks is higher when the release time is later or the waiting time is longer; the cloud server executes corresponding function codes after acquiring the client work request every time, and the result acquired after executing the codes is returned to the client in a json character string mode.
8. A quick matching designated driving client of a cloud multi-path point is characterized in that the client comprises a driver end and a passenger end;
the system comprises a driver end and a passenger end, wherein the driver end and the passenger end are used for respectively sending corresponding user information to a cloud server and storing the corresponding user information into a user information form; wherein each of the driver side and the passenger side is associated with a unique user ID;
the passenger side is also used for sending the order information to the cloud server and storing the order information in the order pool, sequencing the order information in the order pool according to time priority and storing the order information in the travel task list in real time through the cloud server, and associating the order information with the corresponding driver side or the corresponding passenger side according to the user ID;
the server side is used for sending a receipt receiving request to the cloud server, receiving a travel task form sent by the cloud server and randomly selecting any travel task in the travel task form;
the passenger end and the driver end are also used for respectively receiving the information of 'order success' and 'order receiving success' sent by the cloud server;
the driver end is also used for sending the geographic position information to the cloud server in real time, the cloud server associates the received geographic position information with the current travel task of the corresponding driver end, and the current travel task state is updated in real time; the passenger end receives the current travel task state in real time until the travel task is finished;
the driver end is also used for receiving order information in the order pool pushed by the cloud server according to the order information time sent by the passenger end, and the order information which is received latest or stays in the order pool for the longest time is pushed preferentially;
the order information includes: departure place, terminal point, intermediate point of travel and vehicle type information;
the travel middle point marks the passing point in the whole travel process, so that the condition that when a plurality of people take one car at the same time but the destinations are different is met, and the requirement of taking the plurality of people at the same time is fully considered;
the method has the advantages that the travel tasks are stored in the order pool mode, the travel issuing sequence is arranged by setting the travel priority, the travel task arrangement is well planned for the task which is received latest or has long waiting time in the order pool to be dispatched preferentially, the efficiency of the travel dispatch is improved, and the waiting time of passengers is shortened;
the driver end and the passenger end respectively transmit data with the cloud server in a json character string mode;
the driver end and the passenger end are client ends, and the cloud server is a server end;
the communication module is used for realizing the information connection between the client and the server, and the data synchronization of the two ends is ensured; the communication module works locally at the client, performs data communication with the UI module through an interface and acquires user input from the UI module; after the communication module acquires user data, a data channel is established with a server side, the data is packaged and formatted into a json format and is sent to the server side, and the channel is disconnected; after short waiting, the communication module and the server reestablish the channel and send a data request, and the server receives the request and then sends the processed data to the communication module through the channel; the communication module analyzes and unpacks the received data, and the obtained data is the processing result of the data which is sent to the server side by the communication module; the communication module transmits the processed data to a UI module of the client through an interface, and the UI module of the client processes the data and displays the processed data in the interface;
the architecture of the cloud server adopts a Struts2 architecture, and the database adopts a MySQL database; when a cloud server code is initialized, three tables are established in a database and respectively correspond to user information, and a user carries out a middle-stroke task and a user historical stroke task; then establishing an order pool, wherein the basic structure of the order pool is a bidirectional linked list; recording the release time and the waiting time of each travel task when the order pool works, then setting the priority of the travel tasks according to the front and back of the release time and the length of the waiting time, and pushing the travel tasks to a driver end, wherein the priority of the travel tasks is higher when the release time is later or the waiting time is longer; the cloud server executes corresponding function codes after acquiring the client work request every time, and the result acquired after executing the codes is returned to the client in a json character string mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710055774.8A CN106682972B (en) | 2017-01-25 | 2017-01-25 | Cloud multi-path point matching designated driving method and system, cloud server and client |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710055774.8A CN106682972B (en) | 2017-01-25 | 2017-01-25 | Cloud multi-path point matching designated driving method and system, cloud server and client |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106682972A CN106682972A (en) | 2017-05-17 |
CN106682972B true CN106682972B (en) | 2021-04-09 |
Family
ID=58860055
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710055774.8A Active CN106682972B (en) | 2017-01-25 | 2017-01-25 | Cloud multi-path point matching designated driving method and system, cloud server and client |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106682972B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109102354A (en) * | 2017-06-21 | 2018-12-28 | 北京小度信息科技有限公司 | Order processing method and apparatus |
CN107330771A (en) * | 2017-07-24 | 2017-11-07 | 杨润丁 | Task management method and device |
CN108749765B (en) * | 2018-06-07 | 2020-03-10 | 爱驰汽车有限公司 | Intelligent unlocking method, system, equipment and storage medium for vehicle |
CN109086915B (en) * | 2018-07-13 | 2021-08-03 | 浙江工业大学 | GIS-based network appointment order receiving and path planning method |
CN111325594A (en) * | 2018-12-17 | 2020-06-23 | 北京三快在线科技有限公司 | Potential tail bill judging and scheduling method and device |
CN110239483B (en) * | 2019-05-07 | 2021-10-08 | 山东工商学院 | Vehicle control method, system, and computer-readable storage medium |
CN113011947A (en) * | 2021-03-17 | 2021-06-22 | 北京嘀嘀无限科技发展有限公司 | Order processing method and device, electronic equipment and program product |
CN114495226B (en) * | 2022-01-25 | 2024-03-22 | 成都鼎桥通信技术有限公司 | Identity recognition method, device and equipment based on wireless law enforcement recorder |
CN115545829B (en) * | 2022-09-29 | 2024-05-31 | 中航信移动科技有限公司 | Checking display system of server identification, electronic equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105206082A (en) * | 2015-09-24 | 2015-12-30 | 上海车音网络科技有限公司 | Designated driving management device, system and method |
CN106096739A (en) * | 2016-06-03 | 2016-11-09 | 立德高科(昆山)数码科技有限责任公司 | Automobile maintenance method based on Quick Response Code |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8126903B2 (en) * | 2009-12-21 | 2012-02-28 | Sap Ag | Computer implemented method for allocating drivers and passengers sharing a trip |
-
2017
- 2017-01-25 CN CN201710055774.8A patent/CN106682972B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105206082A (en) * | 2015-09-24 | 2015-12-30 | 上海车音网络科技有限公司 | Designated driving management device, system and method |
CN106096739A (en) * | 2016-06-03 | 2016-11-09 | 立德高科(昆山)数码科技有限责任公司 | Automobile maintenance method based on Quick Response Code |
Also Published As
Publication number | Publication date |
---|---|
CN106682972A (en) | 2017-05-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106682972B (en) | Cloud multi-path point matching designated driving method and system, cloud server and client | |
JP6885298B2 (en) | Self-driving vehicle | |
CN107144286B (en) | Navigation method and device | |
CN107067707B (en) | Bus operation and passenger trip optimization system | |
CN108875094B (en) | Public transportation information system | |
CN111932331B (en) | Vehicle information acquisition method and device and storage medium | |
CN106470236B (en) | Methods, devices and systems of calling a taxi based on mobile terminal | |
CN107547578A (en) | Method for pushing, device and the equipment of data | |
TW200540038A (en) | Railway train operation control system | |
CN110431597A (en) | System and method for optimizing online on-demand service | |
CN113135178A (en) | Parking route sharing method, device, equipment and storage medium | |
CN113479195A (en) | Method for automatic valet parking and system for carrying out said method | |
JP7471783B2 (en) | Vehicle rental system and vehicle rental method | |
CN103717998A (en) | Information processing system, information processing device and center server | |
CN113096375B (en) | Vehicle scheduling method and system and main control equipment | |
CN111366166B (en) | Navigation path planning method and device | |
CN112348619A (en) | Vehicle lending system | |
CN109451469A (en) | A kind of method and device of intelligent communication | |
CN111277618A (en) | Information pushing method and device, electronic equipment and storage medium | |
CN115143976A (en) | Route planning method, apparatus, system and program product | |
CN113393003B (en) | Order processing method, device, server and storage medium | |
CN109685577A (en) | A kind of self-service charging method of public transport and device | |
CN111667710B (en) | Vehicle system, on-vehicle device, server, and control method thereof | |
CN111210293B (en) | Order guiding method, apparatus, electronic device and computer readable storage medium | |
US20210190517A1 (en) | Route evaluation apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |