CN111832875A - Data processing method, readable storage medium and electronic device - Google Patents

Data processing method, readable storage medium and electronic device Download PDF

Info

Publication number
CN111832875A
CN111832875A CN202010198051.5A CN202010198051A CN111832875A CN 111832875 A CN111832875 A CN 111832875A CN 202010198051 A CN202010198051 A CN 202010198051A CN 111832875 A CN111832875 A CN 111832875A
Authority
CN
China
Prior art keywords
task
processed
attribute information
processing
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.)
Pending
Application number
CN202010198051.5A
Other languages
Chinese (zh)
Inventor
吴奎达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Didi Infinity Technology and Development Co Ltd
Original Assignee
Beijing Didi Infinity Technology and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Didi Infinity Technology and Development Co Ltd filed Critical Beijing Didi Infinity Technology and Development Co Ltd
Priority to CN202010198051.5A priority Critical patent/CN111832875A/en
Publication of CN111832875A publication Critical patent/CN111832875A/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/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Tourism & Hospitality (AREA)
  • Finance (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a data processing method, a readable storage medium and electronic equipment. The embodiment of the invention can match the state information for the task to be processed into the attribute information of the first processing terminal in the task execution, thereby improving the utilization rate of the first processing terminal and the overall task processing efficiency of the task processing system.

Description

Data processing method, readable storage medium and electronic device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data processing method, a readable storage medium, and an electronic device.
Background
In the operation process of some internet software platforms, a large number of platform-associated task processing terminals need to be allocated to process tasks received by the platforms. At present, most platforms select idle task processing terminals to process when acquiring tasks to be processed, and the situation that the task processing terminals in executing the tasks are more matched with the currently received tasks to be processed is not considered. Meanwhile, for part of platforms, although the task processing terminals in the executed tasks are considered when the tasks are allocated, the task processing terminals in the executed tasks have great uncertainty, and the situation of temporarily replacing the task processing terminals often occurs, so that the problems of low efficiency of platform task processing, poor user experience and the like are caused.
Disclosure of Invention
In view of this, the embodiment of the present invention discloses a data processing method, a readable storage medium and an electronic device, so as to improve the utilization rate of a task processing terminal in executing a task and the overall task processing efficiency of a task processing system while ensuring user experience.
In a first aspect, an embodiment of the present invention discloses a data processing method, where the method includes:
determining an attribute information set, wherein the attribute information set comprises attribute information of at least one task processing terminal, the task processing terminal comprises at least one first processing terminal, and the state information of the first processing terminal is in a task execution;
determining a set of tasks to be processed, wherein the set of tasks to be processed comprises at least one task to be processed;
determining attribute information matched with each task to be processed in a task set to be processed;
for each task to be processed, responding to the matched attribute information corresponding to a first processing terminal, and generating first processing information of the task to be processed;
and sending the first processing information to a sending terminal corresponding to the task to be processed, wherein the first processing information is used for prompting to acquire the matched task processing terminal but does not contain the attribute information of the matched task processing terminal.
Further, the determining the set of attribute information comprises:
periodically acquiring attribute information corresponding to at least one task processing terminal according to a preset first period;
and updating each attribute information to the attribute information set to determine the attribute information set.
Further, the determining the attribute information set further includes:
detecting the content of each attribute information in the attribute information set;
in response to detecting attribute information containing predetermined content, removing the attribute information from the set of attribute information.
Further, the determining of the attribute information matched with each task to be processed in the set of tasks to be processed specifically includes:
matching each task to be processed with each attribute information periodically according to a preset second period to determine the attribute information matched with each task to be processed; alternatively, the first and second electrodes may be,
and responding to a received task matching instruction, and matching each task to be processed with each attribute information to determine the attribute information matched with each task to be processed.
Further, the method further comprises:
for each task to be processed, responding to the matched attribute information corresponding to a second processing terminal, and generating second processing information of the task to be processed, wherein the state information of the second processing terminal is idle;
and sending the second processing information to a sending terminal corresponding to the task to be processed, wherein the second processing information is used for prompting to acquire the matched task processing terminal and the attribute information of the matched task processing terminal.
Further, the method further comprises:
responding to the matched attribute information corresponding to a second processing terminal, and distributing the task to be processed to the matched second processing terminal;
and updating the set of tasks to be processed.
Further, the updating the set of tasks to be processed specifically includes:
and deleting each to-be-processed task distributed to the second processing terminal in the to-be-processed task set.
In a second aspect, an embodiment of the present invention discloses a data processing method, where the method includes:
sending a task to be processed;
and responding to the matching of the attribute information of the task to be processed and the first processing terminal, and receiving first processing information returned by the server based on the task to be processed, wherein the state information of the first processing terminal is in the task execution, and the first processing information is used for prompting the acquisition of the matched task processing terminal but does not contain the attribute information of the matched task processing terminal.
Further, the method further comprises:
and responding to the matching of the attribute information of the task to be processed and a second processing terminal, and receiving second processing information returned by the server based on the task to be processed, wherein the state information of the second processing terminal is idle, and the second processing information is used for prompting the acquisition of the attribute information of the matched task processing terminal and the matched task processing terminal.
In a third aspect, an embodiment of the present invention discloses a computer-readable storage medium for storing computer program instructions, which, when executed by a processor, implement the method according to any one of the first and second aspects.
In a fourth aspect, an embodiment of the present invention discloses an electronic device, including a memory and a processor, the memory being configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method according to any one of the first and second aspects.
The embodiment of the invention is characterized in that the matching state information of the task to be processed is the attribute information of the first processing terminal in the executing task, and the first processing information which does not comprise the attribute information is sent to the sending terminal of the task to be processed, so that the user experience is ensured when the task processing terminal for processing the task to be processed is temporarily replaced. Meanwhile, the embodiment of the invention can also improve the utilization rate of the first processing terminal and the overall task processing efficiency of the task processing system.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
FIG. 1 is a schematic diagram of a data processing system according to an embodiment of the present invention;
FIG. 2 is a flowchart of a data processing method according to an alternative implementation manner on the server side in the embodiment of the present invention;
FIG. 3 is a flowchart of a data processing method according to another alternative implementation manner on a server side according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a data processing method on a server side according to an embodiment of the present invention;
FIG. 5 is a flowchart of a data processing method at a terminal side according to an embodiment of the present invention;
FIG. 6 is a diagram illustrating first processing information according to an embodiment of the invention;
FIG. 7 is a diagram illustrating second processing information according to an embodiment of the invention;
fig. 8 is a schematic diagram of an electronic device according to an embodiment of the invention.
Detailed Description
The present invention will be described below based on examples, but the present invention is not limited to only these examples. In the following detailed description of the present invention, certain specific details are set forth. It will be apparent to one skilled in the art that the present invention may be practiced without these specific details. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the present invention.
Further, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale.
Unless the context clearly requires otherwise, throughout the description, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, what is meant is "including, but not limited to".
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
Fig. 1 is a schematic diagram of a data processing system according to an embodiment of the present invention, and as shown in fig. 1, an application scenario of the data processing method includes a server 10, a task sending terminal 11, and a task processing terminal 12 that are connected via a network. The server 10 is configured to receive the to-be-processed task sent by the task sending terminal 11, so as to determine a to-be-processed task set; the server 10 is further configured to receive the attribute information sent by the task processing terminal 12 to determine an attribute information set. In this embodiment, the server 10 may be a single server or a server cluster configured in a distributed manner. The server 10 determines the task processing terminal 12 for processing each to-be-processed task by matching the to-be-processed task set and the attribute information set, generates corresponding processing information based on the type of the task processing terminal 12, and sends the corresponding processing information to the task sending terminal 11 corresponding to each to-be-processed task.
The data processing system described above can be applied to a variety of online-to-offline application scenarios, such as a cyber-appointment reservation scenario and a takeaway delivery scenario. Taking a scheduled scene of the network appointment as an example, a network appointment driver holds a task processing terminal 12, which is used for receiving a task, reporting vehicle position information during the task execution process or after the task execution is completed, and processing the task information. In this embodiment, the task processing terminal 12 may be a general data processing terminal with a communication function, such as a smart phone or a tablet computer, capable of running a computer program. The server 10 periodically receives the location information reported by the task processing terminal 12, and determines the attribute information of the task processing terminal 12 by combining with other information stored in advance. The task transmission terminal 11 may transmit a network appointment reservation order to the server 11 through the network upon receiving a command input by the user. The server 10 distributes the order to the task processing terminal 12 based on the content matching of the network appointment order and the attribute information of the task processing terminal meeting the conditions.
Fig. 2 is a flowchart of a data processing method according to an alternative implementation manner of the embodiment of the present invention, and as shown in fig. 2, the method includes:
and step S100, determining an attribute information set.
Specifically, the attribute information set is determined by a server, and includes attribute information of at least one task processing terminal, which is used for the server to allocate the to-be-processed tasks received by the server to the corresponding task distribution device based on the attribute information. The attribute information is used to represent an attribute of the corresponding task processing terminal, and may include a terminal identifier used to represent the corresponding task processing terminal, location information of the task processing terminal, status information of the task processing terminal, and other information. The terminal identifier may be, for example, information corresponding to the task processing terminal one to one, such as a character, a number, a code, and the like; the position information is used for representing the current position coordinate of the task processing terminal and can be represented by longitude and latitude; the state information is used for representing the current state information of the task processing terminal, and the state information may include in-task execution, idle execution, failure execution, and the like. The task processing terminal is used for processing the to-be-processed task received by the server, the task processing terminal corresponding to each attribute information in the attribute information set comprises at least one first processing terminal, and the state information of the first processing terminal is in the execution task. The task processing terminal corresponding to each attribute information in the attribute information set further comprises at least one second processing terminal, and the state information of the second processing terminal is idle.
For example, when the task processing terminal is a delivery device of the takeaway platform, the attribute information set includes attribute information corresponding to a delivery device that is processing a delivery task and attribute information corresponding to an idle delivery device. The attribute information is used for representing the corresponding distribution equipment attribute and comprises a terminal identifier used for representing the distribution equipment, the current position of the distribution equipment, the current state information of the distribution equipment, the grade of the distribution equipment and other information. And when the task processing terminal is a driver terminal registered by the network appointment platform, the attribute information set comprises attribute information corresponding to the driver terminal carrying passengers and attribute information corresponding to an idle driver terminal. The attribute information is used for representing vehicle attributes corresponding to the driver terminals, and comprises terminal identifiers used for representing the online appointment vehicles corresponding to the driver terminals, the current position, the current state information, vehicle owner information, the service life of the vehicle, the grade of the vehicle owner in the platform, the grade and other information.
And part of attribute information such as position information, state information and the like of the task processing terminal can change at any time. Therefore, the attribute information set needs to be updated periodically. In this embodiment, the process of determining the attribute information set may include:
step S110, periodically obtaining attribute information corresponding to at least one task processing terminal according to a preset first period.
Specifically, the server sets a first period in advance, and periodically acquires attribute information corresponding to at least one task processing terminal connected to the server according to the first period. The obtaining process may be that the server automatically obtains the attribute information, or each task processing terminal periodically uploads the corresponding attribute information according to a first period preset by the server.
For example, when the task processing terminal is a driver terminal registered in a network appointment platform, and the first period is 10s, each driver terminal registered in the network appointment platform sends current attribute information to the server every 10 s.
Step S120, updating each attribute information to the attribute information set to determine the attribute information set.
Specifically, after acquiring the attribute information sent by each task processing terminal, the server updates the attribute information to the attribute information set, where in the updating process, the attribute information stored in the attribute information set is replaced with the current attribute information of each task processing terminal.
Optionally, to ensure that the content of the attribute information in the attribute information set is the content expected by the server, the process of determining the attribute information set may further include:
and step S130, detecting the content of each attribute information in the attribute information set.
Specifically, after updating the attribute information set each time, the server detects the content of each piece of current attribute information in the attribute information set to determine whether each piece of attribute information content meets a preset requirement of the server. The detection process may preset a predetermined content for the server, and detect whether each of the attribute information includes the predetermined content.
For example, when the server is a network car booking platform server, the predetermined content may be "state information: failure ". After the server updates the attribute information set based on the attribute information uploaded by each driver terminal every time, the server detects each attribute information in the attribute information set to determine whether the attribute information containing the state information as a fault exists.
Step S140, in response to detecting that the attribute information contains the predetermined content, removing the attribute information from the attribute information set.
Specifically, when the server finds the attribute information containing the predetermined content in the detection process, the attribute information is removed. For example, when the server is a network car booking platform server, the predetermined content may be "state information: and when the server detects that the attribute information containing the state information as the fault exists, removing the attribute information from the attribute information set. The detection process can ensure that the server can distribute the tasks to be processed to the task processing terminals corresponding to the attribute information meeting the requirements of the server when distributing the tasks.
And step S200, determining a task set to be processed.
Specifically, the set of tasks to be processed is determined by the server and stored in storage middleware of the server or a database connected with the server. The to-be-processed task set comprises at least one to-be-processed task, and the server stores the to-be-processed task into the to-be-processed task set after receiving the to-be-processed task sent by the terminal each time.
Step S300, determining attribute information matched with each task to be processed in the task set to be processed.
Specifically, after determining an attribute information set and a to-be-processed task set, the server further matches elements in the attribute information set and the to-be-processed task set, so as to determine attribute information matched with each to-be-processed task in the to-be-processed task set in the attribute information set, so that the server can further determine a task processing terminal for processing each to-be-processed task.
In an optional implementation manner of this embodiment, the process of determining, by the server, attribute information matched with each to-be-processed task in the to-be-processed task set includes: and periodically matching each task to be processed with each attribute information according to a preset second period so as to determine the attribute information matched with each task to be processed.
Specifically, the server sets a second period for information matching in advance, and periodically matches each to-be-processed task with each attribute information according to the second period. The description will be given by taking the server as the network car booking platform server, the attribute information as the vehicle attribute information of the driver terminal registered in the network car booking platform, and the task to be processed as the network car booking reservation order as an example. And when the second period is 2 minutes, the server matches each network appointment reservation order in the task set to be processed with each attribute information in the attribute information set once every two minutes to obtain attribute information matched with each network appointment reservation order.
In another optional implementation manner of this embodiment, the process of determining, by the server, attribute information matched with each to-be-processed task in the to-be-processed task set includes: and responding to a received task matching instruction, and matching each task to be processed with each attribute information to determine the attribute information matched with each task to be processed.
Specifically, when the server receives a task matching instruction sent by a specific device, matching between each to-be-processed task and each attribute information is performed to determine the attribute information matched with each to-be-processed task. The specific equipment is used for controlling the server to carry out a matching process by sending a task matching instruction. The description will be given by taking the server as the network car booking platform server, the attribute information as the vehicle attribute information of the driver terminal registered in the network car booking platform, and the task to be processed as the network car booking reservation order as an example. When the specific equipment sends a task matching instruction to the server, the server matches each network appointment reservation order in the task set to be processed with each attribute information in the attribute information set to obtain attribute information matched with each network appointment reservation order.
Optionally, in this embodiment, the attribute information set and the set of tasks to be processed may be matched through a KM algorithm. The KM algorithm is commonly used to find the maximum weight matching under perfect matching. Within a bipartite graph, the left vertex is X and the right vertex is Y, and X is connected left and right for each groupiYjHas the right wijFind a match such that all wijThe sum of (a) and (b) is maximum. That is, when the set of tasks to be processed is X, the set of attribute information is Y, and the ith element X in the set of tasks to be processediAnd the jth element Y in the attribute information setjThe weight obtained by matching is WijAnd after the KM algorithm is matched, the sum of the weights obtained by matching each to-be-processed task with each attribute information is maximum. The matching through the algorithm can ensure that the matching degree of the whole system for processing the tasks is most reasonable and the efficiency is maximized.
Step S400, for each task to be processed, responding to the matched attribute information corresponding to the first processing terminal, and generating first processing information of the task to be processed.
Specifically, after the server matches the attribute information of each to-be-processed task, the server further determines the type of the task processing terminal corresponding to the attribute information. When the state information contained in the attribute information matched with the task to be processed is in the execution task, determining that a task processing terminal corresponding to the attribute information is a first processing terminal, and generating first processing information of the task to be processed. The first processing information is used for prompting the acquisition of the matched task processing terminal, but does not contain the attribute information of the matched task processing terminal.
The description will be given by taking the server as a network car booking platform server, the attribute information as vehicle attribute information registered by the network car booking platform, and the task to be processed as a network car booking reservation order as an example. The first processing information may be "your order has been taken by the driver, and the driver arrives at your location approximately 10:30 ago". Step S500, the first processing information is sent to the sending terminal corresponding to the task to be processed.
Specifically, after generating first processing information of a task to be processed, the server sends the first processing information to a sending terminal corresponding to the task to be processed. In this embodiment, when the attribute information matched with the to-be-processed task corresponds to the first processing terminal, the server only sends the generated first processing information to the sending terminal corresponding to the to-be-processed task to prompt that the matched task processing terminal is obtained, but does not send the to-be-processed task to the first processing terminal corresponding to the attribute information, and the to-be-processed task is still matched with the next time in the to-be-processed task set until the state information of the first processing terminal is converted into idle state or is matched with a task processing terminal of which the other state information is idle.
The description will be given by taking the server as a network car booking platform server, the attribute information as vehicle attribute information registered by the network car booking platform, and the task to be processed as a network car booking reservation order as an example. When the vehicle property information of the vehicle booking order in the execution task is matched with the state information, sending order receiving information to a sending terminal of the vehicle booking order, wherein the order receiving information is only used for reminding the sending terminal that the vehicle booking order is processed, but not informing the sending terminal of processing the vehicle property information of the vehicle booking order. And meanwhile, the server does not send the online taxi appointment reservation order to a driver terminal until the state information of the vehicle is converted into idle state or is matched with the driver terminal of which the other state information is idle.
In this embodiment, in the method according to the foregoing implementation manner, the to-be-processed task matching state information is attribute information of a first processing terminal in a task to be executed, and the first processing information that does not include the attribute information is sent to a sending terminal of the to-be-processed task, so that user experience is ensured when the task processing terminal that processes the to-be-processed task is temporarily replaced. Meanwhile, the embodiment of the invention can also improve the utilization rate of the first processing terminal and the overall task processing efficiency of the task processing system.
Fig. 3 is a flowchart of a data processing method according to another alternative implementation manner of the embodiment of the present invention, and as shown in fig. 3, the method includes:
and step S100, determining an attribute information set.
And step S200, determining a task set to be processed.
Step S300, determining attribute information matched with each task to be processed in the task set to be processed.
Specifically, the steps S100 to S300 are the same as those in fig. 1, and are not described herein again.
And step S310, the task processing terminal corresponding to each matched attribute information.
Specifically, after matching corresponding attribute information for each to-be-processed task in the to-be-processed task set, the server determines a task processing terminal type corresponding to each attribute information, so as to further generate corresponding processing information based on the task processing terminal type corresponding to each attribute information.
And step S400, generating first processing information of the task to be processed.
Specifically, the server determines that the attribute information matched with the task to be processed corresponds to a first processing terminal, and generates first processing information that does not include the attribute information of the first processing terminal, where the first processing information is only used to prompt a sending terminal of the task to be processed to obtain a matched task processing terminal. The description will be given by taking the server as a network car booking platform server, the attribute information as vehicle attribute information registered by the network car booking platform, and the task to be processed as a network car booking reservation order as an example. The first processing information is used for prompting that the online appointment booking order sent by the user is received, and can be 'your order is received by a driver, and the driver arrives at the position of your location about 10:30 ago'.
Step S500, the first processing information is sent to the sending terminal corresponding to the task to be processed.
Specifically, the step S500 is the same as fig. 1, and is not repeated herein.
And step S400', generating second processing information of the task to be processed.
Specifically, for each to-be-processed task, when the state information included in the matched attribute information is idle, determining that the task processing terminal corresponding to the attribute information is a second processing terminal, and generating second processing information of the to-be-processed task. The second processing information is used for prompting the acquisition of the matched task processing terminal, and is also provided with attribute information of the matched task processing terminal, and is used for informing the sending terminal of the task to be processed of processing the second processing terminal attribute of the task to be processed.
The description will be given by taking the server as a network car booking platform server, the attribute information as vehicle attribute information registered by the network car booking platform, and the task to be processed as a network car booking reservation order as an example. The second processing information is used for prompting that the online car appointment order sent by the user has been picked up, driver terminal information of the picked-up order and corresponding vehicle information, and can be that "your order has been picked up by three drivers, the license plate number is xxxxxx, the historical pick-up amount of the three drivers on the platform is 1 ten thousand sheets, the average score is 4.8 points, and the vehicle currently arrives at the position where you are located in a position which is about 10:30 ago". Optionally, the second processing information further includes a route planning performed by the server based on the driver position and the user position, and the route planning is displayed on a display interface of the sending terminal of the to-be-processed task in the form of a picture, a character, a video, a webpage, and the like.
Step S500', the second processing information is sent to the sending terminal corresponding to the task to be processed.
Specifically, after generating second processing information of a task to be processed, the server sends the second processing information to a sending terminal corresponding to the task to be processed.
The description will be given by taking the server as a network car booking platform server, the attribute information as vehicle attribute information registered by the network car booking platform, and the task to be processed as a network car booking reservation order as an example. When the vehicle property information with idle state information is matched with the network appointment reservation order, order receiving information is sent to a sending terminal of the network appointment reservation order, and the order receiving information is used for reminding the sending terminal that the network appointment reservation order is processed and informing the sending terminal of processing the vehicle property information of the network appointment reservation order.
When the attribute information matched with the task to be processed corresponds to a second processing terminal, the server needs to further process to prevent the task to be processed from being matched again. Therefore, the data processing method further comprises the steps of:
step S600', responding to the matched attribute information corresponding to the second processing terminal, and distributing the task to be processed to the matched second processing terminal.
Specifically, when the attribute information matched with the task to be processed corresponds to a second processing terminal, the server allocates the task to be processed to the second processing terminal corresponding to the attribute information. And sending the task to be processed to the second processing terminal so that the second processing terminal can process the task to be processed.
The description will be given by taking the server as a network car booking platform server, the attribute information as vehicle attribute information registered by the network car booking platform, and the task to be processed as a network car booking reservation order as an example. And when the state information in the vehicle attribute information matched with the online car booking reservation order is idle, the online car booking reservation order is sent to a driver terminal corresponding to the vehicle attribute information, and the driver terminal can process the online car booking reservation order according to the content of the online car booking reservation order.
And step S700', updating the task set to be processed.
Specifically, the server updates the set of tasks to be processed after allocating each task to be processed corresponding to a second processing terminal to the corresponding second processing terminal. And the updating process is to delete the distributed tasks to be processed so as to prevent the tasks to be processed from participating in the next matching process.
In this embodiment, the method according to the foregoing implementation manner may consider the state information as a first processing terminal in the execution task and a second processing terminal whose state information is idle when matching the task processing terminal for the to-be-processed task, generate different processing information based on different matched task processing terminals, and send the different processing information to the sending terminal of the to-be-processed task. And when the task processing terminal is matched with the first processing terminal, the user experience can be ensured when the task processing terminal for processing the task to be processed is temporarily replaced. Meanwhile, the embodiment of the invention can also improve the utilization rate of the first processing terminal and the overall task processing efficiency of the task processing system.
Fig. 4 is a schematic diagram of a data processing method according to an embodiment of the present invention, and as shown in fig. 4, the server determines an attribute information set 40 and a to-be-processed information set 41, and then matches the attribute information set 40 and the to-be-processed information set 41 according to a preset rule to obtain at least one information pair 42 composed of the to-be-processed information and corresponding attribute information. After determining the information pair composed of the information to be processed and the corresponding attribute information, the server determines the task processing terminal type 43 corresponding to the attribute information included in the information pair. When the task processing terminal type corresponding to the attribute information is a first processing terminal, generating first processing information 44 without attribute information, and sending the first processing information to a sending terminal 46 of the task to be processed; and when the task processing terminal type corresponding to the attribute information is a second processing terminal, generating second processing information 45 including the attribute information, sending the second processing information to a sending terminal 46 of the task to be processed, sending the task to be processed to the second processing terminal corresponding to the attribute information, and updating the information set 41 to be processed.
The description will be given by taking the server as a network car booking platform server, the attribute information as vehicle attribute information registered by the network car booking platform, and the task to be processed as a network car booking reservation order as an example. The server determines an attribute information set by periodically acquiring attribute information sent by each driver terminal, and determines a task set to be processed by receiving a network appointment reservation order sent by the passenger terminal within a preset time. And the server periodically matches the attribute information in the attribute information set for each online car booking order in the task set to be processed through a KM algorithm so as to determine a driver terminal for processing each online car booking order.
And for each network car booking order, when the driver terminal is currently processing other network car booking orders, first processing information is sent to the passenger terminal sending the network car booking order to inform that the driver terminal receives the order. At the same time. And matching attribute information for the online taxi appointment order in the next matching process until the attribute information of the idle driver terminal is matched or the state of the previously matched driver terminal is converted into idle. And then sending the attribute information to the passenger terminal to inform the driver terminal information for processing the online car booking order, and sending the online car booking order to the driver terminal so as to facilitate the driver terminal to process.
When the driver terminal is idle at present, namely other network car booking reservation orders are not processed, second processing information is sent to the passenger terminal sending the network car booking reservation orders to inform a driver terminal of receiving orders, and the driver terminal information of the passenger terminal is informed of receiving orders. And meanwhile, sending the network appointment reservation order to the driver terminal so as to be processed by the driver terminal, and deleting the network appointment reservation order in the task set to be processed so as to prevent the network appointment reservation order from being matched again.
The method of the embodiment of the invention can simultaneously consider the driver terminal which is processing other network car appointment orders and the driver terminal of which the state information is idle when the network car appointment reservation orders sent by the passenger terminal are matched with the proper driver terminal, and only remind the passenger terminal of receiving the orders when the matched driver terminal is processing other network car appointment orders, and does not send the attribute information of the driver terminal and does not send the network car appointment orders to the driver terminal. The method can temporarily replace the driver terminal under the condition that other more suitable driver terminals are matched in the later matching process, and meanwhile, the replacement process of the driver terminal is not known by the passenger terminal and the driver terminal, so that the user experience of passengers and drivers is not influenced.
Fig. 5 is a flowchart of a data processing method on a terminal side according to an embodiment of the present invention, and as shown in fig. 5, the data processing method includes:
and step S800, sending the task to be processed.
Specifically, the task to be processed is sent to a server by a terminal, so that the server determines a task processing terminal for processing the task to be processed, and generates corresponding processing information according to state information of the task processing terminal. The task to be processed comprises information used for determining a corresponding task processing terminal, such as task execution time, task requirements, task content and the like. The data processing method can be applied to task allocation and processing scenes of any Internet platform, taking a network car booking platform as an example, the task to be processed is a network car booking order, and the task to be processed is sent to the network car booking platform by a user terminal, so that a driver terminal for processing the network car booking order is determined by the network car booking platform, and corresponding network car booking order processing information is generated according to state information of the driver terminal. Taking a take-out platform as an example, the task to be processed is a take-out order, and the take-out order is sent to the take-out platform by the user terminal, so that a rider terminal for processing the take-out order is determined by the take-out platform, and corresponding take-out order processing information is generated according to state information of the rider terminal.
And step S900, responding to the matching of the task to be processed and the attribute information of the first processing terminal, and receiving first processing information returned by the server based on the task to be processed.
Specifically, after receiving a to-be-processed task sent by a terminal, the server performs matching based on the content of the to-be-processed task and attribute information of a task processing terminal corresponding to the server to determine that the task processing terminal corresponding to the matched attribute information processes the to-be-processed task. The task processing terminal comprises a first processing terminal and a second processing terminal, the state information of the first processing terminal is in the task execution, and when the attribute information matched with the to-be-processed information by the server is the attribute information of the first processing terminal, corresponding first processing information is generated and returned to the sending terminal of the to-be-processed task. The first processing information is used for prompting the acquisition of the matched task processing terminal, but does not contain the attribute information of the matched task processing terminal.
Fig. 6 is a schematic diagram of first processing information according to an embodiment of the present invention, and as shown in fig. 6, the terminal receives and displays the first processing information, where the first processing information includes a content "driver order pickup" for prompting the terminal, that is, the content has been matched to a task processing terminal for processing the task to be processed. Information such as "expected arrival at the starting point before XX: XX" of the processing time expected by the server may also be included. But without attribute information of the task processing terminal.
Further, when the attribute information matched for the information to be processed by the server is the attribute information of the second processing terminal, the method further includes the following steps:
step S900', responding to the attribute information matching of the task to be processed and the second processing terminal, and receiving second processing information returned by the server based on the task to be processed.
Specifically, when the attribute information matched with the to-be-processed information by the server is attribute information of a second processing terminal, generating corresponding second processing information and returning the second processing information to the sending terminal of the to-be-processed task. And the state information of the second processing terminal is idle, and the second processing information is used for prompting the acquisition of the matched task processing terminal and the attribute information of the matched task processing terminal.
Fig. 7 is a schematic diagram of second processing information according to an embodiment of the present invention, and as shown in fig. 7, the terminal receives and displays the second processing information, where the second processing information includes information "an existing driver order pickup" for prompting the terminal to acquire a matched task processing terminal, and attribute information "a driver: XXX; license plate number: XXX; driver current position: XXX ", may also include information such as" expected arrival at the start before XX: XX "processing time expected by the server.
The data processing method provided by the embodiment of the invention considers the idle task processing terminals and the task processing terminals for executing the tasks in the process of determining the task processing terminals of the tasks to be processed, thereby increasing the types and the number of the task processing terminals to be matched. The task processing system has the advantages that the corresponding task processing terminal can be found out faster by the task to be processed sent by the terminal device, the possibility of matching the more suitable task processing terminal can be increased, the utilization rate of the first processing terminal is improved, and the overall task processing efficiency of the task processing system is improved. Meanwhile, when the task processing terminal matched with the terminal is executing the task, the received first processing information does not include the attribute device of the task processing terminal. The server can replace the terminal for processing the task to be processed when the more suitable task processing terminal is matched, and the user experience of the terminal user sending the task to be processed is not influenced.
Fig. 8 is a schematic diagram of an electronic device of an embodiment of the invention. The electronic device shown in fig. 8 is a general-purpose data processing apparatus comprising a general-purpose computer hardware structure including at least a processor 81 and a memory 82. The processor 81 and the memory 82 are connected by a bus 83. The memory 82 is adapted to store instructions or programs executable by the processor 81. Processor 81 may be a stand-alone microprocessor or a collection of one or more microprocessors. Thus, the processor 81 implements the processing of data and the control of other devices by executing commands stored in the memory 82 to perform the method flows of the embodiments of the present invention as described above. The bus 83 connects the above components together, and also connects the above components to a display controller 84 and a display device and an input/output (I/O) device 85. Input/output (I/O) devices 85 may be a mouse, keyboard, modem, network interface, touch input device, motion sensing input device, printer, and other devices known in the art. Typically, an input/output (I/O) device 88 is coupled to the system through an input/output (I/O) controller 86.
The memory 82 may store, among other things, software components such as an operating system, communication modules, interaction modules, and application programs. Each of the modules and applications described above corresponds to a set of executable program instructions that perform one or more functions and methods described in embodiments of the invention.
The flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention described above illustrate various aspects of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
Also, as will be appreciated by one skilled in the art, aspects of embodiments of the present invention may be embodied as a system, method or computer program product. Accordingly, various aspects of embodiments of the invention may take the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a "circuit," module "or" system. Further, aspects of the invention may take the form of: a computer program product embodied in one or more computer readable media having computer readable program code embodied thereon.
Any combination of one or more computer-readable media may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of embodiments of the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to: electromagnetic, optical, or any suitable combination thereof. The computer readable signal medium may be any of the following computer readable media: is not a computer readable storage medium and may communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including: object oriented programming languages such as Java, Smalltalk, C + +, PHP, Python, and the like; and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package; executing in part on a user computer and in part on a remote computer; or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The present invention also relates to a computer-readable storage medium for storing a computer-readable program for causing a computer to perform some or all of the above-described method embodiments.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. A method of data processing, the method comprising:
determining an attribute information set, wherein the attribute information set comprises attribute information of at least one task processing terminal, the task processing terminal comprises at least one first processing terminal, and the state information of the first processing terminal is in a task execution;
determining a set of tasks to be processed, wherein the set of tasks to be processed comprises at least one task to be processed;
determining attribute information matched with each task to be processed in a task set to be processed;
for each task to be processed, responding to the matched attribute information corresponding to a first processing terminal, and generating first processing information of the task to be processed;
and sending the first processing information to a sending terminal corresponding to the task to be processed, wherein the first processing information is used for prompting to acquire the matched task processing terminal but does not contain the attribute information of the matched task processing terminal.
2. The method of claim 1, wherein the determining the set of attribute information comprises:
periodically acquiring attribute information corresponding to at least one task processing terminal according to a preset first period;
and updating each attribute information to the attribute information set to determine the attribute information set.
3. The method of claim 2, wherein the determining the set of attribute information further comprises:
detecting the content of each attribute information in the attribute information set;
in response to detecting attribute information containing predetermined content, removing the attribute information from the set of attribute information.
4. The method according to claim 1, wherein the determining of the attribute information matched with each of the to-be-processed tasks in the to-be-processed task set specifically includes:
matching each task to be processed with each attribute information periodically according to a preset second period to determine the attribute information matched with each task to be processed; alternatively, the first and second electrodes may be,
and responding to a received task matching instruction, and matching each task to be processed with each attribute information to determine the attribute information matched with each task to be processed.
5. The method of claim 1, further comprising:
for each task to be processed, responding to the matched attribute information corresponding to a second processing terminal, and generating second processing information of the task to be processed, wherein the state information of the second processing terminal is idle;
and sending the second processing information to a sending terminal corresponding to the task to be processed, wherein the second processing information is used for prompting to acquire the matched task processing terminal and the attribute information of the matched task processing terminal.
6. The method of claim 5, further comprising:
responding to the matched attribute information corresponding to a second processing terminal, and distributing the task to be processed to the matched second processing terminal;
and updating the set of tasks to be processed.
7. The method according to claim 6, wherein the updating the set of tasks to be processed specifically is:
and deleting each to-be-processed task distributed to the second processing terminal in the to-be-processed task set.
8. A method of data processing, the method comprising:
sending a task to be processed;
and responding to the matching of the attribute information of the task to be processed and the first processing terminal, and receiving first processing information returned by the server based on the task to be processed, wherein the state information of the first processing terminal is in the task execution, and the first processing information is used for prompting the acquisition of the matched task processing terminal but does not contain the attribute information of the matched task processing terminal.
9. The method of claim 8, further comprising:
and responding to the matching of the attribute information of the task to be processed and a second processing terminal, and receiving second processing information returned by the server based on the task to be processed, wherein the state information of the second processing terminal is idle, and the second processing information is used for prompting the acquisition of the attribute information of the matched task processing terminal and the matched task processing terminal.
10. A computer readable storage medium storing computer program instructions, which when executed by a processor implement the method of any one of claims 1-9.
11. An electronic device comprising a memory and a processor, wherein the memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the method of any of claims 1-9.
CN202010198051.5A 2020-03-19 2020-03-19 Data processing method, readable storage medium and electronic device Pending CN111832875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010198051.5A CN111832875A (en) 2020-03-19 2020-03-19 Data processing method, readable storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010198051.5A CN111832875A (en) 2020-03-19 2020-03-19 Data processing method, readable storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN111832875A true CN111832875A (en) 2020-10-27

Family

ID=72913706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010198051.5A Pending CN111832875A (en) 2020-03-19 2020-03-19 Data processing method, readable storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN111832875A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007336A (en) * 2015-08-14 2015-10-28 深圳市云舒网络技术有限公司 Load balancing method and load balancing system of server
CN108009650A (en) * 2017-03-29 2018-05-08 北京嘀嘀无限科技发展有限公司 Net about car service request processing method, device and server
CN109542617A (en) * 2018-10-30 2019-03-29 精硕科技(北京)股份有限公司 The processing method and processing device of system resource
CN110175869A (en) * 2019-05-08 2019-08-27 北京三快在线科技有限公司 Vehicle allocation method and device, electronic equipment and computer readable storage medium
WO2019219088A1 (en) * 2018-05-18 2019-11-21 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for order allocation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105007336A (en) * 2015-08-14 2015-10-28 深圳市云舒网络技术有限公司 Load balancing method and load balancing system of server
CN108009650A (en) * 2017-03-29 2018-05-08 北京嘀嘀无限科技发展有限公司 Net about car service request processing method, device and server
WO2019219088A1 (en) * 2018-05-18 2019-11-21 Beijing Didi Infinity Technology And Development Co., Ltd. Systems and methods for order allocation
CN109542617A (en) * 2018-10-30 2019-03-29 精硕科技(北京)股份有限公司 The processing method and processing device of system resource
CN110175869A (en) * 2019-05-08 2019-08-27 北京三快在线科技有限公司 Vehicle allocation method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN110832512B (en) System and method for reducing latency in providing transport services
CN108765933B (en) Method, device, equipment and storage medium for recommending boarding points
CN107767322B (en) Carpooling method and device
CN110910019B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN111242333A (en) Network appointment order processing method, system, terminal and server
KR20150045962A (en) System and method for allocating call tax based on recommending of course
CN107845253B (en) Reservation order early warning method and server
CN113627792B (en) Unmanned vehicle scheduling management method, device, equipment, storage medium and program
CN109841054B (en) Method, device, equipment and storage medium for recommending boarding points
CN108399460B (en) Network taxi booking order distribution processing method and server
CN111832764A (en) Data processing method and device, electronic equipment and readable storage medium
CN110956346A (en) Order processing method and device
CN111858082A (en) Prompt message sending method, prompt message output method, prompt message sending device, prompt message output device, electronic equipment and medium
CN111401608A (en) Method and device for planning lines of passenger vehicle and storage medium
CN113516332B (en) Information processing apparatus, non-transitory storage medium, and evaluation method
CN108573314B (en) Carpooling time determination method, system, computer device and computer storage medium
CN110505287B (en) Service-based business line recommendation method, device and storage medium
CN111950831A (en) Order assignment method and device, readable storage medium and electronic equipment
US20210278224A1 (en) Coordinating trips by vehicles in an on-demand environment
CN111832875A (en) Data processing method, readable storage medium and electronic device
CN114221960B (en) Data pushing method based on automatic driving bus and automatic driving bus
CN111770075B (en) Task processing method and device, readable storage medium and electronic equipment
CN112686400B (en) Automatic matching method and device on vehicle maintenance line, electronic equipment and storage medium
CN111178558B (en) Network appointment order processing method and device, computer equipment and readable storage medium
CN114166236A (en) Navigation path planning method, device and system

Legal Events

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