CN110334885B - Task data processing method and device - Google Patents
Task data processing method and device Download PDFInfo
- Publication number
- CN110334885B CN110334885B CN201810307584.5A CN201810307584A CN110334885B CN 110334885 B CN110334885 B CN 110334885B CN 201810307584 A CN201810307584 A CN 201810307584A CN 110334885 B CN110334885 B CN 110334885B
- Authority
- CN
- China
- Prior art keywords
- task
- user
- information
- project
- position 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9537—Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
-
- 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
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06311—Scheduling, planning or task assignment for a person or group
-
- 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
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0631—Resource planning, allocation, distributing or scheduling for enterprises or organisations
- G06Q10/06313—Resource planning in a project environment
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Educational Administration (AREA)
- Game Theory and Decision Science (AREA)
- Development Economics (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Tourism & Hospitality (AREA)
- General Business, Economics & Management (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biodiversity & Conservation Biology (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application relates to a task data processing method, a device, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring project progress information corresponding to a project to be completed, wherein the project progress information comprises a task completion rate, the project to be completed is divided into a plurality of tasks, each task carries corresponding target geographical position information, a current project stage matched with the project progress information is acquired, a task user identifier to be allocated is acquired, historical task data corresponding to the task user identifier to be allocated is acquired, and the historical task data comprises historical task information corresponding to at least two dimensions, determining a user task portrait corresponding to the user identifier of the task to be distributed according to the current project stage and the historical task data, acquiring the geographical position information of the terminal corresponding to the user identifier of the task to be distributed, and distributing the matched task to be completed to the terminal corresponding to the user identifier of the task to be distributed according to the current project stage, the user task image and the geographical position information of the terminal, so that the project completion quality and the project completion efficiency are improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for processing task data, a computer device, and a storage medium.
Background
With the development of computer technology, the update or service execution of a plurality of products can accelerate the completion of the update or service of the products by distributing a plurality of tasks. Services such as express delivery, take-away and the like can be distributed with a plurality of service tasks, map product updating can be distributed with a plurality of map data acquisition tasks and the like, taking a map product as an example, the content in a map needs to be updated continuously along with the time, and if a road is newly opened, the road needs to be updated into the map in time. The method includes the steps of distributing contents needing to be updated to a plurality of tasks, completing collection of map data by a user or a specific person using a map executing corresponding tasks, and extracting useful information from the collected map data to update the map. Most of the tasks of service execution and product update release at present are that users independently select to execute service tasks or data acquisition tasks and the like, so that the task completion quality and the task completion efficiency are low.
Disclosure of Invention
In view of the above, it is necessary to provide a task data processing method, a device, a computer device, and a storage medium for improving task completion quality and completion efficiency.
A method of task data processing, comprising:
acquiring project progress information corresponding to a project to be completed, wherein the project progress information comprises a task completion rate, the project to be completed is divided into a plurality of tasks, and each task carries corresponding target geographical position information;
acquiring a current project stage matched with the project progress information;
acquiring a task user identifier to be distributed, and acquiring historical task data corresponding to the task user identifier to be distributed, wherein the historical task data comprises historical task information corresponding to at least two dimensions;
determining a user task image corresponding to the task user identification to be distributed according to the current project stage and the historical task data;
and acquiring the geographical position information of the terminal corresponding to the user identifier of the task to be distributed, and distributing the matched task to be completed to the terminal corresponding to the user identifier of the task to be distributed according to the current project stage, the user task portrait and the geographical position information of the terminal.
A task data processing apparatus comprising:
acquiring project progress information corresponding to a project to be completed, wherein the project progress information comprises a task completion rate, the project to be completed is divided into a plurality of tasks, and each task carries corresponding target geographical position information;
acquiring a current project stage matched with the project progress information;
acquiring a task user identifier to be distributed, and acquiring historical task data corresponding to the task user identifier to be distributed, wherein the historical task data comprises historical task information corresponding to at least two dimensions;
determining a user task image corresponding to the task user identification to be distributed according to the current project stage and the historical task data;
and acquiring the geographical position information of the terminal corresponding to the user identifier of the task to be distributed, and distributing the matched task to be completed to the terminal corresponding to the user identifier of the task to be distributed according to the current project stage, the user task portrait and the geographical position information of the terminal.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
acquiring project progress information corresponding to a project to be completed, wherein the project progress information comprises a task completion rate, the project to be completed is divided into a plurality of tasks, and each task carries corresponding target geographical position information;
acquiring a current project stage matched with the project progress information;
acquiring a task user identifier to be distributed, and acquiring historical task data corresponding to the task user identifier to be distributed, wherein the historical task data comprises historical task information corresponding to at least two dimensions;
determining a user task image corresponding to the task user identification to be distributed according to the current project stage and the historical task data;
and acquiring the geographical position information of the terminal corresponding to the user identifier of the task to be distributed, and distributing the matched task to be completed to the terminal corresponding to the user identifier of the task to be distributed according to the current project stage, the user task portrait and the geographical position information of the terminal.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of:
acquiring project progress information corresponding to a project to be completed, wherein the project progress information comprises a task completion rate, the project to be completed is divided into a plurality of tasks, and each task carries corresponding target geographical position information;
acquiring a current project stage matched with the project progress information;
acquiring a task user identifier to be distributed, and acquiring historical task data corresponding to the task user identifier to be distributed, wherein the historical task data comprises historical task information corresponding to at least two dimensions;
determining a user task image corresponding to the task user identification to be distributed according to the current project stage and the historical task data;
and acquiring the geographical position information of the terminal corresponding to the user identifier of the task to be distributed, and distributing the matched task to be completed to the terminal corresponding to the user identifier of the task to be distributed according to the current project stage, the user task portrait and the geographical position information of the terminal.
The task data processing method, the device, the computer equipment and the storage medium acquire the project progress information corresponding to the project to be completed, wherein the project progress information comprises the task completion rate, the project to be completed is divided into a plurality of tasks, each task carries corresponding target geographical position information, the current project stage matched with the project progress information is acquired, the user identification of the task to be distributed is acquired, the historical task data corresponding to the user identification of the task to be distributed is acquired, the historical task data comprises historical task information corresponding to at least two dimensions, determining a user task portrait corresponding to the user identifier of the task to be distributed according to the current project stage and the historical task data, acquiring the geographical position information of the terminal corresponding to the user identifier of the task to be distributed, and distributing the matched tasks to be completed to the terminals corresponding to the user identifications of the tasks to be distributed according to the current project stage, the user task images and the geographical position information of the terminals. The progress information of the project is monitored, the project stage is determined according to the progress information, the corresponding user task portrait is obtained by portraying the user according to the historical data of the terminal corresponding to the user identification, the corresponding task is distributed according to the matching condition of the project stage, the user portrait and the geographic position, and the overall distribution efficiency of the task and the completion efficiency of the task are improved.
Drawings
FIG. 1 is a diagram of an application environment of a task data processing method in one embodiment;
FIG. 2 is a flowchart illustrating a task data processing method according to an embodiment;
FIG. 3 is a flowchart illustrating a task data processing method according to another embodiment;
FIG. 4 is a flow diagram illustrating user task portrayal steps in one embodiment;
FIG. 5 is a flowchart illustrating a step of assigning weights to historical task information according to an embodiment;
FIG. 6 is a flowchart illustrating the task assigning step in one embodiment;
FIG. 7 is a flowchart illustrating a task assigning step in another embodiment;
FIG. 8 is a flowchart illustrating the task assigning step according to yet another embodiment;
FIG. 9 is a flowchart showing a task data processing method in still another embodiment;
FIG. 10 is a flowchart illustrating a map updating method according to an embodiment;
FIG. 11 is a diagram illustrating an interface of a map update method according to an embodiment;
FIG. 12 is a flowchart illustrating a task data processing method according to an exemplary embodiment;
FIG. 13 is a block diagram illustrating a method for assigning map data collection tasks in accordance with an exemplary embodiment;
FIG. 14 is a block diagram showing a configuration of a task data processing device according to one embodiment;
FIG. 15 is a block diagram showing a construction of a task data processing apparatus according to another embodiment;
FIG. 16 is a block diagram of a user representation module in one embodiment;
FIG. 17 is a block diagram that illustrates the structure of a task assignment module in one embodiment;
FIG. 18 is a block diagram showing the construction of a task assigning module in another embodiment;
FIG. 19 is a block diagram showing the construction of a task assigning module according to still another embodiment;
FIG. 20 is a block diagram showing a construction of a task data processing apparatus in a further embodiment;
FIG. 21 is a block diagram of a target video data acquisition module in accordance with one embodiment;
FIG. 22 is a block diagram of a map update module in one embodiment;
FIG. 23 is a block diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
FIG. 1 is a diagram of an application environment of a task data processing method in one embodiment. A plurality of terminals 110 and servers 120 are included in the figure. The terminal 110 and the server 120 are connected through a network. The method comprises the steps that a server 120 obtains project progress information corresponding to a project to be completed, the project progress information comprises a task completion rate, the project to be completed is split into a plurality of tasks, each task carries corresponding target geographic position information, a current project stage matched with the project progress information is obtained, a user identification is obtained, historical task data corresponding to the user identification is obtained, the historical task data comprise historical task information corresponding to at least two dimensions, a user task image corresponding to the user identification is determined according to the current project stage and the historical task data, geographic position information of a terminal 110 corresponding to the user identifications is obtained, and the tasks to be completed, matched with the current project stage, the user task image and the geographic position information of each terminal 110, are distributed to the terminals 110 corresponding to the user identifications. The terminal 110 may specifically be a desktop terminal or a mobile terminal, and the mobile terminal may specifically be at least one of a mobile phone, a tablet computer, a notebook computer, and the like. The server 120 may be implemented as a stand-alone server or a server cluster composed of a plurality of servers.
As shown in FIG. 2, in one embodiment, a method of task data processing is provided. The embodiment is mainly illustrated by applying the method to the server 120 in fig. 1. Referring to fig. 2, the task data processing method specifically includes the following steps:
step S202, acquiring project progress information corresponding to a project to be completed, wherein the project progress information comprises a task completion rate, the project to be completed is divided into a plurality of tasks, and each task carries corresponding target geographical position information.
The project is a task set consisting of a plurality of tasks formulated according to product requirements or service requirements, and the project to be completed is a project which is not completed yet. The coverage range of the project can be customized according to the task coverage area, such as the national area, each city or city block area. The product demand and the service demand comprise but are not limited to updating of map products, express delivery, execution of public service activities and the like, and when the map products are updated, the contents to be updated of the map products are made into a plurality of tasks. Tasks may be tasks that do not affect each other or may be interdependent, such as when one or more tasks have completed before the next task can be performed. When the service requirement is to transmit an article, a route for transmitting the article is divided into a plurality of road sections, each road section is provided with different tasks, and the next task can be executed only when one or more current tasks are completed.
The project progress information is represented by project progress parameters, wherein the project progress information may include, but is not limited to, parameter representations such as completion states of tasks in the project, number of completed tasks, completion time lengths of the tasks, task completion rates, and completion efficiency, the completion states of the tasks include completed and incomplete, the tasks in the incomplete states may include allocated tasks, tasks to be allocated, and the like, the allocated tasks are tasks that have been allocated to terminals corresponding to user identifiers but have not been completed, and the tasks to be allocated are tasks that have not been allocated to any one terminal.
The target geographic position information corresponding to each task is geographic position information defined when the task is formulated, the target geographic position information can include but is not limited to a geographic position which needs to be reached when each task is executed, namely each task needs to be executed at the target geographic position, if the task is to collect video data of a newly repaired road in a city, the geographic position information of each road section in each road can be defined as the target geographic position information when the task is formulated. The target geographic position information of the task comprises a plurality of geographic position data, and the geographic position data can be represented by latitude and longitude, such as when the target geographic position information comprises 2 geographic position data, a starting point and an end point position data, such as the starting point position data is 60 degrees north latitude 50 degrees east longitude, and the end point position data is 50.05 degrees north latitude 60.02 degrees east longitude. Of course, the corresponding length can be calculated according to the relation between the longitude and latitude and the angle and the length, for example, the starting point is at east longitude and 60 degrees north latitude 50 degrees, and the end point is at north straight line 5 kilometers.
And step S204, acquiring the current project stage matched with the project progress information.
Specifically, a project includes a plurality of project phases, a project phase is data for identifying a project progress, different project phases correspond to different project progress information, and a current project phase refers to a project phase in an execution state. Determining a current project stage corresponding to the current project progress information according to the corresponding relation between the project progress information and the project stages, if the project is divided into 3 project stages, determining the project stage being executed as the 2 nd stage according to the project progress information, the current project stage is the 2 nd stage, dividing the project into 5 project stages, and determining the project stage being executed as the 5 th stage according to the project progress information, the current project stage is the 5 th stage.
Step S206, acquiring a task user identifier to be distributed, and acquiring historical task data corresponding to the task user identifier to be distributed, wherein the historical task data comprises historical task information corresponding to at least two dimensions.
The task user identification to be allocated is a group of user data corresponding to a user who sends a registration request and has passed the registration before executing the task, each task user identification to be allocated is unique, and can be defined by a custom rule, such as at least one of pure numbers, symbols and characters. The historical task data is historical data generated by a user in the task execution process, the historical data comprises historical task information with multiple dimensions, and the historical task information with different dimensions records the completion condition of the historical task from different angles.
In one embodiment, the historical task information identifies corresponding completion progress information for each user. The historical task information includes but is not limited to multi-dimensional information such as task completion rate, task completion efficiency, duration of completing a single task, number of tasks completed currently and the like, the task completion rate is the quantity degree of completing the recorded tasks, the completion efficiency is the speed degree of completing the recorded tasks, and the task completion rate can be embodied by the duration of completing the tasks.
Specifically, the obtaining of the user identifier of the task to be allocated may be obtaining a user identifier carried in the task request when receiving task requests of multiple terminals, or obtaining a matched user identifier from multiple registered users, where the matched user identifier is a user identifier corresponding to a task state meeting a preset task state. And acquiring historical task information of at least two dimensions corresponding to the user identification of the task to be distributed.
And S208, determining a user task image corresponding to the user identifier of the task to be distributed according to the current project stage and the historical task data.
Specifically, the user task portrait is used for describing task completion conditions corresponding to task user identifications, determining influence factors on historical task data according to a current project stage, corresponding to different influence factors in different project stages, and evaluating the historical data according to the influence factors corresponding to the current project stage. The influence factors on the historical data can be customized according to task requirements. The completion efficiency and the completion quality of the tasks can be improved by determining the influence factors according to the current project stage and the requirements of each task in the project. When the requirement on the completion quality of the project task is low but the requirement on the completion speed of the task is high, a large influence factor can be allocated to the parameter of the speed type of the completion task, and a small influence factor is allocated to the parameter of the completion quality of the task, otherwise, the requirement on the speed is not high, and the requirement on the quality of the task is high, a small influence factor is allocated to the parameter of the speed type of the completion task, and a large influence factor is allocated to the parameter of the completion quality of the task. And distributing different influence factors according to the quality parameters and the speed parameters of the tasks in different project stages and corresponding stages. Like a project which emphasizes project completion progress in the early stage and emphasizes project completion quality in the later stage, a large shadow factor is distributed to a speed parameter in the early stage, a small influence factor is distributed to a quality parameter, a small influence factor is distributed to the speed parameter in the later stage, a large influence factor is distributed to the quality parameter, and the like.
In one embodiment, the influence degrees of the historical task information of different dimensions on the project are inconsistent, and corresponding influence factors are distributed according to the importance degrees of the historical task information of each dimension in the historical data on the task.
In another embodiment, influence factors are allocated to the historical data of each task according to the difficulty of completion of each task in the historical data, and different task grade types correspond to different task influence factors. And if the task level comprises a plurality of levels, distributing corresponding influence factors to the historical data of the tasks at the corresponding level according to the level of the tasks finished by the terminal corresponding to the user identification of the task to be distributed. According to the difficulty degree of completion of each task in the historical data, the influence factors are distributed, so that the completion quality and the completion efficiency of the tasks can be improved.
Step S210, obtaining the geographical position information of the terminal corresponding to the user identifier of the task to be distributed, and distributing the matched task to be completed to the terminal corresponding to the user identifier of the task to be distributed according to the current project stage, the user task image and the geographical position information of the terminal.
The geographical location information of the terminal corresponding to the task user identifier to be allocated may be represented by geographical location information acquired by a positioning device or a positioning instrument of the terminal, and when the terminal is a mobile terminal, the general mobile terminal is equipped with a navigation instrument, such as geographical location information acquired by a GPS navigator, or may be represented by geographical location information acquired by a navigator in a navigation system of a vehicle on which the mobile terminal is placed. The tasks to be completed are tasks which are not completed yet in the project, wherein the tasks to be completed comprise tasks which are already allocated to the terminals corresponding to the user identifications and tasks which are not yet allocated to the terminals corresponding to the user identifications. The matched task to be completed is a task which is adaptive to the user portrait corresponding to each user identifier in the current project stage and the geographic position information of the terminal. In the same project stage, the task distribution modes corresponding to different user images are different, and in different project stages, the task distribution modes corresponding to the user images in the same level are different, so that the corresponding tasks to be completed are distributed according to the current project stage and the user images. If the project is divided into 3 project stages, the user portrait is divided into 2 levels, different user portraits correspond to different task allocation modes in the same project stage, taking the current project stage as the 2 nd project stage as an example, the user portrait is divided into a first level corresponding to one task allocation mode, and the user portrait is divided into a second level corresponding to the other task allocation mode. In different project stages, the user images in the same level are different from the corresponding task distribution modes, taking the user image as a first level as an example, the user image corresponds to a first task distribution mode in the first project stage and corresponds to a second task distribution mode in the third project stage, wherein the first task distribution mode is different from the second task distribution mode.
In one embodiment, corresponding reward resources are distributed according to completed tasks, the reward resources can be distributed according to the completion number of the tasks or the completion difficulty of the tasks when being distributed, when the corresponding reward resources are distributed according to the completion number of the tasks, the reward resources corresponding to each task are equal, and extra rewards are distributed according to the grades corresponding to the completion number of the tasks. For example, the number of completed tasks is divided into 2 grades, the first grade is allocated with the initial bonus resource, and the second grade of bonus resource comprises the initial bonus resource and the additional bonus resource.
In one embodiment, the corresponding rewarding resources can be distributed according to the completion difficulty level of the task, the task is divided into a plurality of task levels, and different task levels correspond to different rewarding resources.
The task data processing method comprises the steps of acquiring project progress information corresponding to a project to be completed, wherein the project progress information comprises a task completion rate, the project to be completed is divided into a plurality of tasks, each task carries corresponding target geographic position information, acquiring a current project stage matched with the project progress information, acquiring a task user identifier to be distributed, acquiring historical task data corresponding to the task user identifier to be distributed, and the historical task data comprises historical task information corresponding to at least two dimensions, determining a user task portrait corresponding to the user identifier of the task to be distributed according to the current project stage and the historical task data, acquiring the geographical position information of the terminal corresponding to the user identifier of the task to be distributed, and distributing the matched tasks to be completed to the terminals corresponding to the user identifications of the tasks to be distributed according to the current project stage, the user task images and the geographical position information of the terminals. The method comprises the steps of detecting the completion progress of the whole project before issuing tasks to terminals corresponding to user identifications, calculating user figures corresponding to the task issuing terminals to obtain the terminal states of the task issuing terminals, referring to the current position information of the task issuing terminals, searching matched tasks from the tasks to be completed according to the project progress, the terminal states and the positions of the terminals, distributing the matched tasks to the corresponding terminals, improving the overall distribution efficiency and the completion efficiency of the tasks in the whole project, accelerating the project process, promoting the development of the project and completing the whole project better and faster.
In one embodiment, as shown in fig. 3, before step S202, the method further includes:
step S302, acquiring each task feedback data returned by the terminal corresponding to the task allocation user identification corresponding to each historical task, wherein the task feedback data comprises task geographical position information and corresponding video data.
The feedback data refers to return data defined according to project requirements, and the feedback data comprises geographic position information of a terminal corresponding to the task user identification, video data shot by shooting equipment and the like. When the project requirement is map updating product, the geographic position data is used for being matched with the geographic position data of the task, the video data is used for updating the map, when the project requirement is express delivery, the geographic position data is used for being matched with the geographic position data of the task, and the video data is used for confirming whether the express reaches the destination or not, or confirming whether the object is complete or not. And after the terminal corresponding to each user identification obtains the task, executing the corresponding task to obtain corresponding data, uploading the data to corresponding computer equipment, and obtaining feedback data obtained when the task is executed.
Step S304, obtaining the current task feedback data, and matching the task geographical position information in the current task feedback data with the corresponding target geographical position information.
Specifically, the current task feedback data is any one of the task feedback data corresponding to each historical task, the task geographic position information is geographic position information where the current task is executed, the geographic position information may be acquired by a terminal corresponding to the current task when the current task is executed or acquired by other equipment on which the terminal is placed when the current task is executed, and the target geographic position information is consistent with the target geographic position information in step S202. The matching refers to comparing the task geographical position information with the target geographical position information, for example, comparing the task geographical position information with geographical position information corresponding to a start position and an end position in the target geographical position information, or intercepting part of the geographical position information in the start position and the end position of the task geographical position information, and comparing the part of the geographical position information with the start position and the end position in the target geographical position information.
In one embodiment, the target geographic location information includes the start point location, the geographic location information of the end point location, and the track information between the start point location and the end point location, and in addition to matching the geographic location information of the start point and the end point, the geographic location information corresponding to the track information needs to be matched.
And S306, verifying the video data in the current task feedback data when the matching is successful.
Specifically, the successful matching means that the target geographical position information and the task geographical position information meet a preset matching condition, for example, the geographical position difference corresponding to the target geographical position information and the task geographical position information is within an error range. Verification of video data refers to verifying the content, scene, and/or time of a video. If the video data with the requirement on the video data acquisition time meets the preset time period, the video data acquisition time can be detected, and then the quality of the video data is detected, wherein the quality detection of the video data comprises but is not limited to the detection of at least one of the definition, illumination, image brightness, contrast and the like of the video data. When the definition, illumination, image brightness and contrast of the video data are detected, the image characteristics of each frame in the video data are extracted, and whether the conditions meet the corresponding requirements or not is determined by judging the image characteristics.
And step S308, when the verification is passed, judging that the historical task corresponding to the current task feedback data is in a finished state.
Specifically, the video data passes the verification, which means that the video data meets the preset requirements for the video data. The requirements of different items of video data are not consistent, so the requirements can be customized according to requirements, if the video data acquisition time is conditionally limited, the video data acquisition time needs to be verified, and when the video data acquisition time meets the preset time, the verification of the video data acquisition time is passed. And if the definition of the video is limited conditionally, defining a definition threshold value, verifying the definition of the video, and if the definition of the video meets the definition threshold value, indicating that the definition of the video passes verification. And if the illumination is limited, defining a corresponding preset illumination condition, verifying the illumination condition corresponding to the video data, and when the illumination condition corresponding to the video data meets the preset illumination condition, indicating that the illumination condition is verified to be passed. And if the video data are limited by a plurality of conditions, setting a plurality of corresponding preset conditions, verifying whether each condition meets the preset conditions, and if all the conditions meet the preset conditions, verifying that the conditions pass the verification, wherein the historical task state corresponding to the passing video data is the finished state. The historical task is in a finished state, the feedback data corresponding to the task meets project requirements, and the quality of the feedback data is ensured through the feedback data, so that the completion quality of the project is ensured.
Step S310, calculating according to the historical task number of the completed state and the total task number corresponding to the project to be completed to obtain the task completion rate.
Specifically, the task completion rate is used for representing the progress of the task completion number, the total task number of the project to be completed is the task number formulated by the whole project, the historical task number in the completed state in the whole project is counted, and the historical task number and the total task number corresponding to the project to be completed are calculated according to a user-defined mode to obtain the task completion rate. For example, the ratio of the historical task number to the total task number is calculated, the ratio can be directly used as the task completion rate, and the ratio can also be processed in one step to obtain the corresponding task completion rate. The feedback data are verified, so that the project completion quality can be guaranteed, the task completion rate is calculated, and the project completion efficiency can be improved by adjusting the project development strategy according to the task completion rate corresponding to the whole project.
In one embodiment, as shown in fig. 4, step S208 further includes:
step S2082, distributing corresponding weights for the historical task information corresponding to each dimension in the historical task data according to the current project stage.
Specifically, the weight is an influence factor corresponding to the historical task information corresponding to each dimension, and different weights represent different influence factors. The method comprises the steps of obtaining the weight corresponding to historical task information corresponding to each dimension in historical task data in the current stage, wherein the weights corresponding to different project stages can be the same or different, and the weight distribution corresponding to each historical task information can be set according to the influence degree of the historical task information of each dimension on project development, and can also be distributed according to the requirements of project tasks.
In one embodiment, the project is divided into a plurality of implementation stages according to the corresponding weight assigned to the project stage, and the weight of the same historical dimension information in each implementation stage is inconsistent, for example, the project is divided into a plurality of implementation stages, in the early implementation stage of the project, in order to promote the progress of the project, the requirement on the data of the quality type in the project is relatively low, so the weight assigned to the parameter of the historical data type in the project is small, other parameters which are convenient for project promotion are given large weight assignment, the weight ratio of the parameter of the quality type in the historical data is gradually increased along with the development of the project, and the weight ratio of the parameter of the other type is gradually decreased.
Step S2084, weighting each historical task information according to the weight corresponding to each historical task information, and obtaining user evaluation information corresponding to the task user identification to be distributed.
Specifically, the user evaluation information refers to information for evaluating the historical behavior of the user, and the evaluation information for the user may be obtained by using a character record or by scoring the user to obtain a corresponding user score. And aiming at different scenes and different historical task information, the user evaluation information is inconsistent. And obtaining different user evaluation information by corresponding different calculation modes according to the historical information of the same scene. And weighting each historical task information according to the weight corresponding to each historical task information to obtain user evaluation information corresponding to the user identification of the task to be distributed.
And step S2086, determining a user task image corresponding to the task user identification to be distributed according to the user evaluation information.
Specifically, the user task representation refers to a judgment result obtained by judging the user or a conclusion obtained according to the operation behavior of the user. And when the project requirement is taken as the requirement of the service type and the user evaluation information obtained according to the user identification historical data is positive description with high quality and the like, the user portrait determined according to the user evaluation is a positive image. When the user task is imaged, all user evaluation information or part of evaluation information obtained by screening in the user evaluation information can be referred. For example, when the user evaluation information includes user scores, user experiences and other information, the user scores can be selected only to portray the user, and the user scores and the user experiences can be comprehensively considered to portray the user. The evaluation indexes of all parameters are comprehensively referenced by weighting historical task information of multiple dimensions, the user is evaluated from different angles, the obtained evaluation is more comprehensive and accurate, and the user is evaluated to obtain a conclusion by portraying.
In one embodiment, as shown in fig. 5, step S2082, comprising:
in step S2082a, when the current project stage is the first project stage, the weight corresponding to the first-dimension historical task information is greater than the weight corresponding to the second-dimension historical task information.
Step S2082b, when the current project stage is the second project stage, a difference between the weight corresponding to the first-dimension historical task information and the weight corresponding to the second-dimension historical task information is smaller than a preset threshold.
Step S2082c, when the current project stage is the third project stage, the weight corresponding to the first-dimension historical task information is smaller than the weight corresponding to the second-dimension historical task information, and the task completion rate of the next project stage is greater than the task completion rate of the previous project stage.
Specifically, the project is divided into stages according to the task completion rate of the project, the whole project is divided into at least 3 project stages according to the task completion rate, wherein the completion rate of the previous project stage is smaller than that of the next project stage, if the project is divided into 3 project stages, the completion rate of the first project stage is smaller than that of the second project stage, and the completion rate of the second project stage is smaller than that of the third project stage. The historical task data comprises two-dimension historical task information, namely first-dimension historical task information and second-dimension historical task information. The weights of the same dimension historical task information corresponding to different project stages are different, and the weights of the different dimension historical task information can be the same or different in the same project stage.
When the current project stage is a first project stage, paying more attention to the historical task information of a first dimension, wherein the weight corresponding to the historical task information of the first dimension is greater than the weight corresponding to the historical task information of a second dimension, and when the current project stage is a second project stage, the difference between the weight corresponding to the historical task information of the first dimension and the weight corresponding to the historical task information of the second dimension is less than a preset threshold value, wherein the difference between the weight corresponding to the historical task information of the first dimension and the weight corresponding to the historical task information of the second dimension can be represented by the data difference of the two, but not limited by the data difference, the preset threshold value is a preset threshold value parameter, when the threshold value parameter is close to 0, the importance degree of the data representing the first dimension and the second dimension on user evaluation is the same, when the current project stage is a third project stage, the weight corresponding to the historical task information of the first dimension is less than the weight corresponding to the historical task information of the second dimension, indicating that the data corresponding to the second dimension is more favorable to project progress at the final stage. Different weights are distributed to the historical task information of each dimension according to different stages, project progress can be adjusted, and quality and completion efficiency of projects are guaranteed.
In one embodiment, as shown in fig. 6, step S210 includes:
and step S2102, determining user authority corresponding to the task user identification to be distributed according to the user task portrait.
Specifically, the user authority is a scope for limiting the authority of the user for selecting the task, the authority ranges of the selected task corresponding to the user authorities of different levels are different, the user authorities corresponding to different user task images are different, and the current authority of the user identifier of the task to be distributed is determined according to the corresponding relation between the user task images and the user authorities. User rights include, but are not limited to, first level rights and second level rights. And when the user authority corresponding to the user task image is a first-level authority, the user authority corresponding to the user identifier of the task to be distributed is the first-level authority, and when the user authority corresponding to the user task image is a second-level authority, the user authority corresponding to the user identifier of the task to be distributed is the second-level authority, wherein the range of the task selection corresponding to the first-level authority is smaller than the range of the task selection corresponding to the second-level authority.
Step S2104, when the user authority is the first-level authority, distributing the corresponding to-be-completed task for the terminal corresponding to the to-be-distributed task user identification according to the geographic position matching degree of the geographic position information of the terminal corresponding to the to-be-distributed task user identification and the target geographic position information corresponding to the to-be-completed task.
Specifically, when the task is allocated to the terminal corresponding to the to-be-allocated task user identifier corresponding to the first-level authority, the task is allocated according to the matching degree of the geographic position information of the terminal and the target geographic position information corresponding to the to-be-allocated task. The geographic position matching degree is determined according to the spatial distance between the task geographic position information corresponding to the terminal and the target geographic position information, when the spatial distance between the two meets a preset distance threshold, matching is represented, at least one task with the spatial distance within the preset distance threshold is distributed to the terminal corresponding to the user identifier of the task to be distributed, or the target geographic position information with the closest spatial distance to the task geographic position information is inquired as a matching result, and the task to be completed corresponding to the matching result is distributed to the terminal corresponding to the user identifier of the task to be distributed.
Step S2106, when the user authority is the second level authority, acquiring an expected task identifier corresponding to the task user identifier to be distributed, and distributing a task to be completed corresponding to the expected task identifier to the terminal corresponding to the task user identifier to be distributed.
When the terminal corresponding to the user identifier has the second level right, the terminal corresponding to the user identifier has the right of selecting the task. The expected task identifier is a task that the terminal corresponding to the task user identifier to be allocated expects to complete, for example, a task set to be completed includes a plurality of tasks identified by task a, task B, task C.
Specifically, when the task is allocated to the terminal corresponding to the to-be-allocated task user identifier corresponding to the user right level of the second level right, the expected task identifier corresponding to the to-be-allocated task user identifier is obtained first, and the to-be-completed task of the expected task identifier is allocated to the terminal corresponding to the to-be-allocated task user identifier. And if the user permission level of the user k is the second-level permission, identifying the expected task of the user k as a task B, and distributing the task to be completed corresponding to the task B to the terminal corresponding to the user k.
By setting a plurality of level authorities, each level authority corresponds to different rights for selecting tasks, and if the corresponding level authority is obtained, the corresponding task needs to be completed, so that a user is promoted to complete more tasks or the completed task has higher quality.
In one embodiment, as shown in fig. 7, step S210 includes:
step S2108, when the current project stage is the first preset project stage, obtaining the allocated task whose processing state is an uncompleted state, and obtaining a candidate task to be recovered.
Specifically, the first preset project phase is one or more project phases in a plurality of preset project phases. If the whole project is divided into 3 project phases, the 2 nd project phase may be used as the first preset project phase, and if the whole project is divided into 5 project phases, the 2 nd, 3 rd or 4 th project phase may be used as the first preset project phase, or the 2 nd, 3 rd and 4 th project phases may all be used as the first preset project phase. The processing state is a state in which the task is being executed, and may be described by, but not limited to, words representing states such as incomplete allocated and incomplete pending allocation. The candidate tasks to be recycled refer to uncompleted allocated tasks. When the current project phase is the first preset project phase, part or all of the tasks which are distributed to the terminals corresponding to the user identifications can be recovered, and the tasks which are ready to be recovered are used as candidate tasks to be recovered.
Step S2110, tasks with processing time length longer than a preset threshold value are obtained from the candidate tasks to be recovered, and the target tasks to be recovered are obtained.
Specifically, the processing duration refers to the processing duration of each candidate task to be recovered, and the duration may be defined according to requirements, for example, the terminal time allocated to each user identifier may be used as the starting time, the time point at which the candidate task to be recovered is obtained may be used as the ending time point, the time difference between the starting time and the ending time may be defined as the processing duration, or the data obtained by further processing the time difference may be defined as the processing duration. The predetermined threshold is a custom-defined threshold value, which can be, but is not limited to, an analysis value obtained from project requirements, or an empirical value determined based on experience of one skilled in the art. The target task to be recovered is a task obtained by screening candidate tasks to be recovered according to a user-defined condition. And taking the task with the processing time length exceeding a preset threshold value in the candidate tasks to be recovered as a target task to be recovered.
Step S2112, recycling the target task to be recycled into the task set to be distributed.
Specifically, the task set to be allocated is an unallocated task set in the tasks to be completed, for example, the tasks to be completed include tasks such as task a, task B, task C, and task D, where task a and task D are already allocated to a terminal corresponding to user a, task a and task D are allocated tasks, task B and task C are not allocated to a terminal corresponding to any user identifier, and task B and task C are tasks to be allocated. And if the processing time of the task A exceeds a preset threshold value, recovering the task A, and changing the processing state corresponding to the recovered task A into the state to be distributed. The tasks are recycled, so that the tasks are prevented from processing the distributed state for a long time, the corresponding tasks are not executed by the terminals corresponding to the user identifiers which acquire the tasks, the tasks are laid aside, and the progress of the tasks is influenced, so that the recycled tasks can be distributed again by recycling the tasks with longer processing time, and the task completing efficiency is improved.
In one embodiment, as shown in fig. 8, step S210 includes:
step S2114, when the current project phase is the second preset project phase, receiving a task reallocation request sent by the first terminal, wherein the task reallocation request carries a target task identifier.
Specifically, the second preset project phase is one or more project phases preset in the plurality of project phases, for example, when the whole project is divided into 3 project phases, the third project phase, i.e., the last project phase, is used as the second preset project phase, and when the whole project is divided into 6 project phases, the last or two project phases may be used as the second preset project phase. The task reallocation request is a task allocation request instruction, the request instruction carries a target task identifier, the terminal can send the task reallocation request only when a project is in a preset project stage, or the request cannot be executed even if the task reallocation request can be sent, and the target task identifier is a task identifier corresponding to a task expected to be acquired. And when the current project phase is a second preset project phase, receiving a task reallocation request sent by the first terminal, and acquiring a target task identifier corresponding to the task reallocation request when the task allocation is requested. If the user a obtains the task A in the deadline, the task A will carry the task identifier of the task A when sending the task reallocation request, and the task identifier of the task A is the target task identifier.
Step S2116, a first user identification corresponding to the first terminal is obtained, a first user task portrait corresponding to the first user identification is obtained, and a first user authority corresponding to the first user task portrait is obtained.
Specifically, the first user id is a user id corresponding to the first terminal, and the same user id may log in different terminals at different times, for example, the terminal where the user a logs in at 2018.3.7 is terminal a, the terminal where the user a logs in at 2018.3.10 is terminal b, the first terminal corresponding to the user a at 2018.3.7 is terminal a, and the first terminal corresponding to the user a at 2018.3.10 is terminal b. The first user task portrait is a user task portrait obtained by user portrait according to user evaluation information corresponding to historical data corresponding to the first user identification, and the first user authority is obtained according to the corresponding relation between the first user task portrait and the user authority.
Step S2118, obtaining the current user authority corresponding to the current user identification corresponding to the target task identification.
Specifically, the current user identifier refers to a user identifier corresponding to a terminal allocated by the target task identifier, and the current user authority refers to a user authority determined according to a user portrait corresponding to the current user identifier. And when the processing state of the task to be completed corresponding to the target task identifier is distributed, acquiring a current user identifier corresponding to the target task identifier, and acquiring corresponding current user permission according to the current user identifier. And if the target task identifier is the task a and the task a is already distributed to the user B, the user corresponding to the current user identifier is the user B, and the user authority of the user B is acquired.
And S2120, when the first user authority is higher than the current user authority, distributing the task corresponding to the target task identifier to the first terminal.
Specifically, the first user permission and the level corresponding to the current user permission are compared, and when the level of the first user permission is higher than the level of the current user permission, the task corresponding to the target task identifier is distributed to the first terminal. And if the level of the user A is a second level authority and the level of the user B is a first level authority, wherein the second level authority is higher than the first level authority, the user A is the user identifier corresponding to the first terminal, the user B is the user identifier corresponding to the current terminal, and the task a is the task already distributed to the current terminal, the task a is redistributed to the user A. The task preemption can be initiated to the user authority of the lower level by setting the user authority of the high level, the task completion efficiency can be accelerated, and the task completion quality is better because the number of the tasks generally completed by the user of the high level is more and the task completion quality is better, so the task completion quality and the task completion efficiency can be improved by the task preemption initiated by the high level.
In one embodiment, as shown in fig. 9, after step S210, the method includes:
and step S402, when the current task corresponding to the terminal is in a finished state, acquiring current task feedback data returned by the terminal, wherein the current task feedback data comprises task geographical position information and corresponding original video data.
Specifically, the task in the completed state indicates that the task has been executed, the feedback data corresponding to the task has passed verification, and the feedback data corresponding to the current task refers to original video data uploaded by the terminal corresponding to each user identifier and geographical location information of each terminal when the terminal executes the task, where the original video data includes the corresponding geographical location information. When the current task is a map data acquisition task, the current task is in a finished state and indicates that the task data acquired according to the map data acquisition task is uploaded to a corresponding position, the acquired task data is feedback data, the acquired task data can include but is not limited to feedback data such as acquisition location, acquisition time and video data of the task data, and the task data can be uploaded immediately after acquisition or uploaded conveniently.
And S404, screening matched target video data from the original video data according to the target geographic position information corresponding to the current task.
Specifically, the target geographic position is geographic position information that has been determined when the task is set, the target geographic position information corresponding to the current task is geographic position information that is formulated when the current task is formulated, and each task has a corresponding relationship with the target geographic position information. The matched target video data refers to video data of which the geographic position information corresponding to the original video data is matched with the target geographic position information corresponding to the current task. And determining target geographical position information corresponding to the current task according to the current task, matching each geographical position information in the target geographical position information with the geographical position information corresponding to the original video data, and taking the original video data corresponding to the matched geographical position information as the target video data. Because redundant data exists in the video data acquisition process, the video is recorded if the video is not recorded at a task starting point, or the video is recorded according to a preset route, and the like, the video contains a lot of unnecessary content, the original video data can be screened according to the matching degree of the target geographic position corresponding to the task and the geographic position corresponding to the original video data, and the data processing speed is accelerated.
Step S406, extracting a target object matched with the current task from the target video data, and updating an area matched with the target geographical position information on the map according to the target.
Specifically, each task has a corresponding task requirement, for example, when the task requirement is to update a road, road data is extracted from the video data, the road data is used as a target object matched with the current task, when the task requirement is to acquire a building identifier or a shop name of a building beside the road, the building identifier or the shop name beside the road is extracted from the video data, the building identifier or the shop name is used as the target object, and the map is updated according to a matching relationship between the target object and the target geographical location information. The task is distributed to the terminals corresponding to the user identifications to execute the corresponding tasks, so that the execution efficiency of the tasks can be improved.
In one embodiment, as shown in fig. 10, step S404 includes:
step S4042, determining a track geographical position information set between the starting point geographical position and the end point geographical position according to the task track information.
Specifically, the task trajectory information is a task route when task data is collected, as shown in fig. 11, the task route includes three tasks, which are respectively represented by reference numerals 020, 040, and 060, a start point reference numeral 0201 and an end point reference numeral 0202 of the task trajectory corresponding to the reference numeral 020, and a link between the start point 0201 and the end point 0202 is a trajectory corresponding to the task numeral 020, for a map collection task, the start point and the end point may be interchanged, and a corresponding task trajectory geographical position information set is determined according to the task trajectory information, where the task trajectory geographical position information set is a set composed of geographical position information of each position from the start point to the end point. The specific representation manner in the terminal can be represented by parameters that can determine the track information by recording the track direction, the track distance, and the like, for example, the target geographical location information corresponding to the task with reference numeral 040 is the starting point, and the point that is at 45 degrees north and east of the starting point and 3km away from the starting point is the ending point.
Step S4044, obtaining the start frame geographical position information matched with the start frame geographical position information, and obtaining the start video frame corresponding to the start frame geographical position information.
Specifically, the start frame geographical position information is geographical position information corresponding to the original video data matched with the start point geographical position information, and the geographical position information matching means that the difference between the two geographical position information is smaller than a preset distance threshold. After the geographical position information of the starting frame is obtained, according to the corresponding relation between the geographical position information and the video data, capturing a corresponding video from the video data to be used as a video frame set, and screening the video frame set according to a user-defined condition to obtain the starting video frame.
Step S4046, acquiring a track frame geographical position information set matched with each track geographical position information in the track geographical position information set, and acquiring a track video frame set corresponding to the track frame geographical position information set.
Specifically, matching means that the distance difference between each track geographic position information and the geographic position information corresponding to each video frame in the original video data is within an error range, and the track frame geographic position information set is a geographic position information set formed by the geographic position information corresponding to the original video data matched with each track geographic position information in the track geographic position information set. And acquiring corresponding video frames according to the geographical position information of each track frame to form a track video frame set. The collected video data contains data irrelevant to the task, such as route deviation and other problems in the collection process, so that the video data contains video data corresponding to the deviated route, and the data does not help the task, and therefore the video data matched with the track position is selected from the video data, and the processing efficiency of the video data can be improved.
Step S4048, obtaining the ending frame geographical position information matched with the end point geographical position information, and obtaining the ending video frame corresponding to the ending frame geographical position information.
Specifically, the ending frame geographic position information is geographic position information corresponding to the original video data matched with the ending frame geographic position information, and the matching means that the distance difference between the ending frame geographic position information and the ending frame geographic position information is within an error range. And acquiring video frame data corresponding to the ending geographical position information from the original video data as an ending video frame according to the corresponding relation between the original video data and the geographical position information, and forming target video data by the initial video frame, the intermediate frame set and the ending video frame.
Step S406, including:
step S4062, extracting the road image in the initial video frame, the track video frame set and the termination video frame according to a road extraction algorithm.
Specifically, the road extraction algorithm is an algorithm for extracting a road from a photographed image, and the road extraction algorithm includes, but is not limited to, a road extraction method based on Histogram of Oriented Gradient (HOG) features, a machine learning-based rationale extraction method, and the like. And extracting corresponding road information from the initial video frame, the track video frame set and the termination video frame according to a road extraction algorithm to obtain an image correspondingly containing a road.
Step S4064, adding corresponding roads at corresponding positions of the map according to the extracted road images, the starting point geographical position information, the end point geographical position information and the task track information.
Specifically, the extracted road image has corresponding geographical position information, the geographical position information corresponding to the road image is matched with the start point geographical position information, the end point geographical position and the task track geographical position information corresponding to the task, and the road information corresponding to the road image with the matched geographical position is added to the position corresponding to the task in the map to obtain the updated map. And corresponding road information is extracted according to the target video data, so that the processing efficiency is improved.
In an embodiment, referring to fig. 12 and fig. 13, fig. 12 is a method for distributing a map data collection task in an embodiment, fig. 13 is a schematic block diagram of the method for distributing a map data collection task in an embodiment, fig. 13 includes a plurality of user terminals 702, a task distribution and monitoring module 802, a quality acceptance module 804, a user representation module 806, a distribution policy module 808, and a map updating module. The task distribution and monitoring module 802 distributes the map data collection tasks to the plurality of user terminals 702 according to the distribution policy output by the distribution policy module 808, and simultaneously monitors the completion of each task. The user terminal 702 is configured to receive or preempt a task, and upload data corresponding to the task distributing and monitoring module 802 after the task is completed. The task distribution and monitoring module 802 sends data corresponding to a task to the quality acceptance module 804, the quality acceptance module 804 verifies the data corresponding to the task to obtain a corresponding verification result, the data passing the verification is sent to the map updating module 902, the verification result is input to the user image module 806, the user image module 806 is used for evaluating the completion condition of the task of each user terminal 702 to obtain user evaluation corresponding to each user terminal 702, the monitoring result of the completion condition of the task in the user evaluation and task distribution and monitoring module 802 is input to the distribution strategy module 808, the distribution strategy module 808 makes a decision in a self-adaptive manner according to the input data to obtain a distribution strategy, the distribution strategy is sent to the task distribution and monitoring module 802, and the task distribution and monitoring module 802 executes task distribution according to the distribution strategy.
Referring to fig. 12, the method for allocating the map data collection task specifically includes the following steps:
step S602, calculating the task completion rate according to the task number of the map data acquisition tasks completed in the whole project and the total task number of the map data acquisition tasks in the whole project.
Specifically, the map data acquisition task completed in the whole project refers to a task in which the terminal corresponding to each user identifier verifies the uploaded geographic position information and video data after executing the corresponding map data acquisition task, and the geographic position information and the video data both pass the verification. The geographic position information is verified to be matched with target geographic position information in the map data acquisition task, and the geographic position information is GPS data of a terminal for acquiring video data or GPS data of an automobile when a shooting terminal is placed in the automobile and the map data acquisition task is executed. The video data passes the verification, that is, the definition, shooting time, shooting illumination and the like of the video data meet the requirements, for example, the video data shot in a fuzzy, backlight, distortion or night does not meet the requirements, and the video cannot pass the verification. Both the geographic location verification and the video data verification described above may be verified at quality acceptance module 804 in fig. 13.
In one embodiment, the task completion rate is calculated as the ratio of the number of tasks in all "completed" states to the number of tasks in the entire project. The state of the task is determined according to the evaluation result of the returned data corresponding to the task, the evaluation result of the returned data is the acceptance result obtained by accepting the returned data according to the quality acceptance module 804 shown in fig. 13, the evaluation result includes "pass" and "fail", and the task completion rate is the ratio of the number of tasks with all evaluation results of "pass" to the number of all tasks in the whole map data acquisition task.
And step S604, determining the current project stage according to the task completion rate. Different task completion rates correspond to different project stages, the interval of the task completion rate is 0-1, the interval of the task completion rate is divided to obtain corresponding project stages, the project stages are divided by adopting 0.3 and 0.6 as critical values, the interval (0-0.3) corresponds to an initial stage, the interval (0.3-06) corresponds to a middle stage, and the interval (0.6-1) corresponds to an initial later stage.
Step S606, obtaining the task completion rate and the task completion efficiency of the terminal corresponding to each user identifier. The task completion rate of the terminal corresponding to each user identifier is the ratio of the number of tasks with the evaluation results of 'pass' in the map data acquisition task corresponding to each user identifier to the number of tasks with the evaluation results of 'pass' corresponding to all terminals. Summing all the task processing time lengths with the evaluation results of 'pass' in the map data acquisition tasks of the terminals corresponding to the user identifications to obtain the processing room length h corresponding to each terminal, summing the processing room lengths corresponding to the terminals to obtain a total time length h _ all, calculating the difference value between the total time length and the processing room length corresponding to each terminal, calculating the ratio of the difference value to the total time length, and obtaining the task completion efficiency of the terminal corresponding to each user identification as (h _ all-h)/h _ all. The above calculations of task completion rate and task completion efficiency may be performed in user representation module 806 of FIG. 13.
Step S608, distributing corresponding weights for the task completion rate and the task completion efficiency according to the current project stage, and weighting the task completion rate and the task completion efficiency according to the weights to obtain a corresponding user portrait. Different project stages correspond to different weights, the proportion weight of the completion rate is greater than that of the completion efficiency in the first project stage, the proportion weight of the completion rate is smaller than that of the completion efficiency in the second project stage, and is basically the same, and the proportion weight of the completion rate is smaller than that of the completion efficiency in the third project stage. The completion rate and completion efficiency are weighted by assigning corresponding weights to obtain the corresponding user representation.
In one embodiment, user profile module 806 in FIG. 13 calculates a user score of w1 task completion rate + w2 task completion efficiency. The setting rule of the weight w1 corresponding to the task completion rate and the weight w2 corresponding to the task completion efficiency is as follows, in the primary stage of the project, the project needs to be popularized, so w1> w2 is set, in the middle stage of the project, the promotion and the project quality of the project are further balanced, so w1 is set to be approximately equal to w2, in the later stage of the project, the project quality needs to be strictly controlled, so w1< w2 is set. Different weight ratios are distributed according to different project stages, so that the requirements of different project stages can be met, and the project completion quality and the project completion efficiency are ensured.
And step S610, distributing the matched task to the terminal corresponding to the matched user identification according to the user portrait and the current project stage.
When distributing tasks, a task distribution strategy is determined according to the user portrait and the current project stage, and the task distribution strategy can be a result of decision-making on the user portrait and the current project stage through a distribution strategy module 808 shown in fig. 13. The specific distribution strategy is as follows:
in the early stage of the project, in order to ensure that some small tasks and some tasks with lower road grade can be executed, a task application request can be provided to the task distribution system only through the user terminal, and the task closest to the user is distributed to the user terminal according to the task application request. At the same time, in order to motivate the user's motivation, additional rewards may be provided for the number of users who complete a certain task. The awards may be divided into a plurality of levels according to the number of tasks, with different levels corresponding to different bonus awards. And giving the right to preempt the task to the user who has the task completion efficiency reaching the preset efficiency and the completion quality meeting the preset quality condition. Task preemption means that a task application request sent by a user terminal carries a desired task identifier, and a task corresponding to the desired task identifier is distributed to a corresponding user terminal.
In the middle stage of the project, the distribution time of the tasks distributed to each user terminal is detected, the tasks with the distribution time exceeding the preset time threshold value distributed to each task are recovered, the recovered tasks can be redistributed through the task distribution system, and the recovered tasks are distributed to other user terminals by the task distribution system when the recovered tasks are considered to be available during distribution, and can also be preempted by the user terminals with task preemption rights. By carrying out the tasks which are not processed for a long time, the situation that the tasks cannot be executed while being occupied can be effectively avoided, and therefore the task distribution efficiency and the task completion efficiency are improved.
In the later stage of the project, in order to arouse the enthusiasm of the ranked users, the task distribution system exits the active distribution mode, all the users have the right of selecting tasks, and the users select the proper tasks according to the requirements of the users. The user terminal with the task preemption right can preempt the tasks distributed by other user terminals without the task preemption right.
The distribution strategies matched with the user images and the current project stages in the distribution strategies are sent to the task distribution and monitoring module 802, and the task distribution and monitoring module 802 distributes the matched tasks to the user terminals 702 according to the received distribution strategies.
Step S612, obtaining feedback data that the current task in the terminal corresponding to the user identifier is a completed task. After receiving the feedback data uploaded by the terminal, extracting the road information from the feedback data that has passed the verification, and the detailed data processing process is not described herein with reference to steps S402 to S404.
Step S616, adding the road information in the road image to the map position matched with the task, and the specific processing refers to step S4062 and step S4064, which is not described herein again. The above-described road extraction and road update in the map data may be performed in the map update module 902 in fig. 13.
It should be understood that, although the steps in the flowchart are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 14, there is provided a task data processing apparatus 200 including:
the project progress information obtaining module 202 is configured to obtain project progress information corresponding to a project to be completed, where the project progress information includes a task completion rate, the project to be completed is split into multiple tasks, and each task carries corresponding target geographic position information.
And the project phase acquisition module 204 is configured to acquire a current project phase matched with the project progress information.
The historical task data obtaining module 206 is configured to obtain a task user identifier to be allocated, and obtain historical task data corresponding to the task user identifier to be allocated, where the historical task data includes historical task information corresponding to at least two dimensions.
And the user image module 208 is used for determining a user task image corresponding to the user identifier of the task to be distributed according to the current project stage and the historical task data.
And the task allocation module 210 is configured to acquire geographic position information of the terminal corresponding to the user identifier of the task to be allocated, and allocate a matched task to be completed to the terminal corresponding to the user identifier of the task to be allocated according to the current project stage, the user task image and the geographic position information of the terminal.
In one embodiment, as shown in fig. 15, the task data processing apparatus 200 further includes:
a feedback data obtaining module 302, configured to obtain each task feedback data returned by the terminal corresponding to the task allocation user identifier corresponding to each historical task, where the task feedback data includes task geographic position information and corresponding video data.
And a geographic position matching module 304, configured to obtain current task feedback data, and match task geographic position information in the current task feedback data with corresponding target geographic position information.
And the video data verification module 306 is configured to verify the video data in the current task feedback data when the matching is successful.
And the task state determination module 308 is configured to determine that the historical task corresponding to the current task feedback data is in a completed state when the verification is passed.
And the task completion rate calculating module 310 is configured to calculate a task completion rate according to the historical task number of the completed state and the total task number corresponding to the to-be-completed item.
In one embodiment, as shown in FIG. 16, user representation module 208 includes:
the weight distribution unit 2082 is configured to distribute corresponding weights to the historical task information corresponding to each dimension in the historical task data according to the current project stage.
And the user evaluation information obtaining unit 2084 is used for weighting each historical task information according to the weight corresponding to each historical task information to obtain the user evaluation information corresponding to the task user identifier to be distributed.
And the user portrait unit 2086 is used for determining a user task portrait corresponding to the task user identification to be allocated according to the user evaluation information.
In an embodiment, the weight assignment unit 2082 is further configured to, when the current project phase is a first project phase, determine that a weight corresponding to the first-dimension historical task information is greater than a weight corresponding to the second-dimension historical task information, when the current project phase is a second project phase, determine that a difference between the weight corresponding to the first-dimension historical task information and the weight corresponding to the second-dimension historical task information is smaller than a preset threshold, and when the current project phase is a third project phase, determine that the weight corresponding to the first-dimension historical task information is smaller than the weight corresponding to the second-dimension historical task information, where a task completion rate of a next project phase is greater than a task completion rate of a previous project phase.
In one embodiment, as shown in FIG. 17, the task assignment module 210 includes:
and the user authority acquiring unit 2102 is used for determining the user authority corresponding to the user identifier of the task to be distributed according to the user task representation.
The task allocation unit 2104 is configured to, when the user right is the first level right, allocate the corresponding to-be-completed task to the terminal corresponding to the to-be-allocated task user identifier according to the geographic position matching degree between the geographic position information of the terminal corresponding to the to-be-allocated task user identifier and the target geographic position information corresponding to the to-be-completed task, when the user right is the second level right, obtain the expected task identifier corresponding to the to-be-allocated task user identifier, and allocate the to-be-completed task corresponding to the expected task identifier to the terminal corresponding to the to-be-allocated task user identifier.
In one embodiment, as shown in FIG. 18, the task assignment module 210 further includes:
the candidate task obtaining unit 2106 is configured to, when the current project stage is the first preset project stage, obtain an allocated task whose processing state is an incomplete state, and obtain a candidate task to be recovered.
The task recovery unit 2108 is configured to obtain a target task to be recovered from the candidate tasks to be recovered, where the processing time is greater than a preset threshold, and recover the target task to be recovered into the task set to be allocated.
In one embodiment, as shown in FIG. 19, the task assignment module 210 further includes:
the instruction receiving unit 2110 is configured to receive a task reallocation request sent by the first terminal when the current project phase is a second preset project phase, where the task reallocation request carries a target task identifier.
The user permission obtaining unit 2112 is configured to obtain a first user identifier corresponding to the first terminal, obtain a first user task drawing corresponding to the first user identifier, obtain a first user permission corresponding to the first user task drawing, and obtain a current user permission corresponding to a current user identifier corresponding to the target task identifier.
And the task redistribution unit 2114 is configured to distribute the task corresponding to the target task identifier to the first terminal when the first user right is higher than the current user right.
In one embodiment, as shown in fig. 20, the task data processing device 200 includes:
a current feedback data obtaining module 402, configured to obtain current task feedback data returned by the terminal when a current task corresponding to the terminal is in a completed state, where the current task feedback data includes task geographic position information and corresponding original video data.
And a target video data obtaining module 404, configured to filter matched target video data from the original video data according to the target geographic location information corresponding to the current task.
And the map updating module 406 is configured to extract a target object matched with the current task from the target video data, and update an area on the map matched with the target geographic location information according to the target.
In one embodiment, as shown in fig. 21, the target video data acquisition module 404 includes:
the geographical location information obtaining unit 4042 is configured to determine, according to the task trajectory information, a trajectory geographical location information set between the start point geographical location and the end point geographical location.
The video frame acquiring unit 4044 is configured to acquire start frame geographic position information matched with the start frame geographic position information, acquire a start video frame corresponding to the start frame geographic position information, acquire a track frame geographic position information set matched with each track geographic position information in the track geographic position information set, acquire a track video frame set corresponding to the track frame geographic position information set, acquire end frame geographic position information matched with the end frame geographic position information, and acquire an end video frame corresponding to the end frame geographic position information.
In one embodiment, as shown in FIG. 22, the map update module 406 includes:
the road extraction unit 4062 is configured to extract road images in the start video frame, the track video frame set, and the end video frame according to a road extraction algorithm.
And the road updating unit 4064 is configured to add a corresponding road to a corresponding position on the map according to the extracted road image, the start point geographic position information, the end point geographic position information, and the task track information.
FIG. 23 is a diagram showing an internal structure of a computer device in one embodiment. The computer device may specifically be the terminal 110 (or the server 120) in fig. 1. As shown in fig. 23, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the task data processing method. The internal memory may also have a computer program stored therein, which, when executed by the processor, causes the processor to perform the method of task data processing. The network interface is used for carrying out network communication with the terminals, and if the tasks are distributed to the terminals.
Those skilled in the art will appreciate that the architecture shown in fig. 23 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the task data processing apparatus provided in the present application may be implemented in the form of a computer program that is executable on a computer device as shown in fig. 23. The memory of the computer device may store therein various program modules constituting the task data processing apparatus, such as a project progress information acquisition module 202, a project phase acquisition module 204, a history task data acquisition module 206, a user profile module 208, and a task assignment module 210 shown in fig. 14. The computer program constituted by the respective program modules causes the processor to execute the steps in the task data processing method of the respective embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 23 may execute, by using the project progress information obtaining module 202 in the task data processing apparatus shown in fig. 14, obtaining project progress information corresponding to a to-be-completed project, where the project progress information includes a task completion rate, the to-be-completed project is split into multiple tasks, and each task carries corresponding target geographic location information. The project phase acquisition module 204 performs the acquisition of the current project phase that matches the project progress information. The historical task data obtaining module 206 performs obtaining of the user identifier of the task to be distributed, and obtains historical task data corresponding to the user identifier of the task to be distributed, where the historical task data includes historical task information corresponding to at least two dimensions. The user representation module 208 performs a user task representation corresponding to the user identifier of the task to be assigned based on the current project phase and historical task data. The task allocation module 210 performs acquiring geographic position information of a terminal corresponding to the user identifier of the task to be allocated, and allocates a matched task to be completed to the terminal corresponding to the user identifier of the task to be allocated according to the current project stage, the user task image and the geographic position information of the terminal.
A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of: the method comprises the steps of obtaining project progress information corresponding to a project to be completed, wherein the project progress information comprises a task completion rate, the project to be completed is split into a plurality of tasks, each task carries corresponding target geographic position information, obtaining a current project stage matched with the project progress information, obtaining a task user identification to be distributed, obtaining historical task data corresponding to the task user identification to be distributed, the historical task data comprises historical task information corresponding to at least two dimensions, determining a user task portrait corresponding to the task user identification to be distributed according to the current project stage and the historical task data, obtaining geographic position information of a terminal corresponding to the task user identification to be distributed, and distributing the matched task to be completed to the terminal corresponding to the task user identification to be distributed according to the current project stage, the user task portrait and the geographic position information of the terminal.
In one implementation, before obtaining project schedule information corresponding to a project to be completed, the computer program further causes the processor to perform the steps of: the method comprises the steps of obtaining task feedback data returned by a terminal corresponding to a task user distribution identifier corresponding to each historical task, wherein the task feedback data comprise task geographical position information and corresponding video data, obtaining current task feedback data, matching the task geographical position information in the current task feedback data with corresponding target geographical position information, verifying the video data in the current task feedback data when the matching is successful, judging that the historical task corresponding to the current task feedback data is in a finished state when the verification is passed, and calculating according to the number of the historical tasks in the finished state and the total number of tasks corresponding to-be-finished items to obtain a task completion rate.
In one implementation, determining a user task representation corresponding to a task user identifier to be assigned based on a current project phase and historical task data includes: distributing corresponding weights to historical task information corresponding to all dimensions in the historical task data according to the current project stage, weighting the historical task information according to the weights corresponding to the historical task information to obtain user evaluation information corresponding to the user identification of the task to be distributed, and determining a user task image corresponding to the user identification of the task to be distributed according to the user evaluation information.
In one implementation, the historical task data includes first-dimension historical task information and second-dimension historical task information, and assigning corresponding weights to the historical task information corresponding to each dimension in the historical task data according to the current project stage includes: when the current project phase is a first project phase, the weight corresponding to the first dimension historical task information is larger than the weight corresponding to the second dimension historical task information, when the current project phase is a second project phase, the difference between the weight corresponding to the first dimension historical task information and the weight corresponding to the second dimension historical task information is smaller than a preset threshold value, when the current project phase is a third project phase, the weight corresponding to the first dimension historical task information is smaller than the weight corresponding to the second dimension historical task information, and the task completion rate of the next project phase is larger than the task completion rate of the previous project phase.
In one implementation, acquiring geographical location information of a terminal corresponding to a user identifier of a task to be distributed, and distributing a matched task to be completed to the terminal corresponding to the user identifier of the task to be distributed according to a current project stage, a user task image and the geographical location information of the terminal, wherein the method comprises the following steps: determining user authority corresponding to a task user identification to be distributed according to the user task portrait, distributing a corresponding task to be completed for a terminal corresponding to the task user identification to be distributed according to the geographic position matching degree of the geographic position information of the terminal corresponding to the task user identification to be distributed and the target geographic position information corresponding to the task to be completed when the user authority is a first level authority, acquiring an expected task identification corresponding to the task user identification to be distributed when the user authority is a second level authority, and distributing the task to be completed corresponding to the expected task identification for the terminal corresponding to the task user identification to be distributed.
In one implementation, acquiring geographical location information of a terminal corresponding to a user identifier of a task to be distributed, and distributing a matched task to be completed to the terminal corresponding to the user identifier of the task to be distributed according to a current project stage, a user task image and the geographical location information of the terminal, wherein the method comprises the following steps: when the current project stage is a first preset project stage, acquiring the distributed tasks with the processing state of unfinished to obtain candidate tasks to be recovered, acquiring the tasks with the processing time length longer than a preset threshold value from the candidate tasks to be recovered to obtain target tasks to be recovered, and recovering the target tasks to be recovered to enter a task set to be distributed.
In one implementation, acquiring geographical location information of a terminal corresponding to a user identifier of a task to be distributed, and distributing a matched task to be completed to the terminal corresponding to the user identifier of the task to be distributed according to a current project stage, a user task image and the geographical location information of the terminal, wherein the method comprises the following steps: when the current project stage is a second preset project stage, a task redistribution request sent by the first terminal is received, the task redistribution request carries a target task identifier, a first user identifier corresponding to the first terminal is obtained, a first user task portrait corresponding to the first user identifier is obtained, a first user authority corresponding to the first user task portrait is obtained, a current user authority corresponding to a current user identifier corresponding to the target task identifier is obtained, and when the first user authority is higher than the current user authority, a task corresponding to the target task identifier is distributed to the first terminal.
In one embodiment, when the task is a map data collection task, after a matched task to be completed is allocated to a terminal corresponding to a user identifier of the task to be allocated according to a current project phase, a user task image and geographical location information of the terminal, the computer program further causes the processor to execute the following steps: when the current task corresponding to the terminal is in a finished state, current task feedback data returned by the terminal are obtained, the current task feedback data comprise task geographic position information and corresponding original video data, matched target video data are screened from the original video data according to target geographic position information corresponding to the current task, a target object matched with the current task is extracted from the target video data, and an area matched with the target geographic position information on a map is updated according to the target.
In one embodiment, the method for screening matched target video data from original video data according to target geographical position information corresponding to a current task includes the steps of: determining a track geographical position information set between a starting point geographical position and an end point geographical position according to task track information, acquiring initial frame geographical position information matched with the starting point geographical position information, acquiring a starting video frame corresponding to the initial frame geographical position information, acquiring a track frame geographical position information set matched with each track geographical position information in the track geographical position information set, acquiring a track video frame set corresponding to the track frame geographical position information set, acquiring ending frame geographical position information matched with the end point geographical position information, acquiring an ending video frame corresponding to the ending frame geographical position information, extracting a target object matched with a current task from target video data, and updating an area matched with the target geographical position information on a map according to the target, wherein the track geographical position information set comprises the following steps: and extracting road images in the initial video frame, the track video frame set and the ending video frame according to a road extraction algorithm, and adding corresponding roads at corresponding positions of the map according to the extracted road images, the initial geographical position information, the end geographical position information and the task track information.
A computer-readable storage medium storing a computer program which, when executed by a processor, causes the processor to perform the steps of: the method comprises the steps of obtaining project progress information corresponding to a project to be completed, wherein the project progress information comprises a task completion rate, the project to be completed is split into a plurality of tasks, each task carries corresponding target geographic position information, obtaining a current project stage matched with the project progress information, obtaining a task user identification to be distributed, obtaining historical task data corresponding to the task user identification to be distributed, the historical task data comprises historical task information corresponding to at least two dimensions, determining a user task portrait corresponding to the task user identification to be distributed according to the current project stage and the historical task data, obtaining geographic position information of a terminal corresponding to the task user identification to be distributed, and distributing the matched task to be completed to the terminal corresponding to the task user identification to be distributed according to the current project stage, the user task portrait and the geographic position information of the terminal.
In one implementation, before obtaining project schedule information corresponding to a project to be completed, the computer program further causes the processor to perform the steps of: the method comprises the steps of obtaining task feedback data returned by a terminal corresponding to a task user distribution identifier corresponding to each historical task, wherein the task feedback data comprise task geographical position information and corresponding video data, obtaining current task feedback data, matching the task geographical position information in the current task feedback data with corresponding target geographical position information, verifying the video data in the current task feedback data when the matching is successful, judging that the historical task corresponding to the current task feedback data is in a finished state when the verification is passed, and calculating according to the number of the historical tasks in the finished state and the total number of tasks corresponding to-be-finished items to obtain a task completion rate.
In one implementation, determining a user task representation corresponding to a task user identifier to be assigned based on a current project phase and historical task data includes: distributing corresponding weights to historical task information corresponding to all dimensions in the historical task data according to the current project stage, weighting the historical task information according to the weights corresponding to the historical task information to obtain user evaluation information corresponding to the user identification of the task to be distributed, and determining a user task image corresponding to the user identification of the task to be distributed according to the user evaluation information.
In one implementation, the historical task data includes first-dimension historical task information and second-dimension historical task information, and assigning corresponding weights to the historical task information corresponding to each dimension in the historical task data according to the current project stage includes: when the current project phase is a first project phase, the weight corresponding to the first dimension historical task information is larger than the weight corresponding to the second dimension historical task information, when the current project phase is a second project phase, the difference between the weight corresponding to the first dimension historical task information and the weight corresponding to the second dimension historical task information is smaller than a preset threshold value, when the current project phase is a third project phase, the weight corresponding to the first dimension historical task information is smaller than the weight corresponding to the second dimension historical task information, and the task completion rate of the next project phase is larger than the task completion rate of the previous project phase.
In one implementation, acquiring geographical location information of a terminal corresponding to a user identifier of a task to be distributed, and distributing a matched task to be completed to the terminal corresponding to the user identifier of the task to be distributed according to a current project stage, a user task image and the geographical location information of the terminal, wherein the method comprises the following steps: determining user authority corresponding to a task user identifier to be distributed according to the user task figure, distributing a corresponding task to be completed for a terminal corresponding to the task user identifier to be distributed according to the geographic position matching degree of the geographic position information of the terminal corresponding to the task user identifier to be completed when the user authority is in a first level, acquiring an expected task identifier corresponding to the task user identifier to be distributed when the user authority is in a second level, and distributing the task to be completed corresponding to the expected task identifier for the terminal corresponding to the task user identifier to be distributed.
In one implementation, acquiring geographical location information of a terminal corresponding to a user identifier of a task to be distributed, and distributing a matched task to be completed to the terminal corresponding to the user identifier of the task to be distributed according to a current project stage, a user task image and the geographical location information of the terminal, wherein the method comprises the following steps: when the current project stage is a first preset project stage, acquiring the distributed tasks with the processing state of unfinished to obtain candidate tasks to be recovered, acquiring the tasks with the processing time length longer than a preset threshold value from the candidate tasks to be recovered to obtain target tasks to be recovered, and recovering the target tasks to be recovered to enter a task set to be distributed.
In one implementation, acquiring geographical location information of a terminal corresponding to a user identifier of a task to be distributed, and distributing a matched task to be completed to the terminal corresponding to the user identifier of the task to be distributed according to a current project stage, a user task image and the geographical location information of the terminal, wherein the method comprises the following steps: when the current project stage is a second preset project stage, a task redistribution request sent by the first terminal is received, the task redistribution request carries a target task identifier, a first user identifier corresponding to the first terminal is obtained, a first user task portrait corresponding to the first user identifier is obtained, a first user authority corresponding to the first user task portrait is obtained, a current user authority corresponding to a current user identifier corresponding to the target task identifier is obtained, and when the first user authority is higher than the current user authority, a task corresponding to the target task identifier is distributed to the first terminal.
In one embodiment, when the task is a map data collection task, after a matched task to be completed is allocated to a terminal corresponding to a user identifier of the task to be allocated according to a current project phase, a user task image and geographical location information of the terminal, the computer program further causes the processor to execute the following steps: when the current task corresponding to the terminal is in a finished state, current task feedback data returned by the terminal are obtained, the current task feedback data comprise task geographic position information and corresponding original video data, matched target video data are screened from the original video data according to target geographic position information corresponding to the current task, a target object matched with the current task is extracted from the target video data, and an area matched with the target geographic position information on a map is updated according to the target.
In one embodiment, the method for screening matched target video data from original video data according to target geographical position information corresponding to a current task includes the steps of: determining a track geographical position information set between a starting point geographical position and an end point geographical position according to task track information, acquiring initial frame geographical position information matched with the starting point geographical position information, acquiring a starting video frame corresponding to the initial frame geographical position information, acquiring a track frame geographical position information set matched with each track geographical position information in the track geographical position information set, acquiring a track video frame set corresponding to the track frame geographical position information set, acquiring ending frame geographical position information matched with the end point geographical position information, acquiring an ending video frame corresponding to the ending frame geographical position information, extracting a target object matched with a current task from target video data, and updating an area matched with the target geographical position information on a map according to the target, wherein the track geographical position information set comprises the following steps: and extracting road images in the initial video frame, the track video frame set and the ending video frame according to a road extraction algorithm, and adding corresponding roads at corresponding positions of the map according to the extracted road images, the initial geographical position information, the end geographical position information and the task track information.
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 non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (18)
1. A method of task data processing, comprising:
acquiring project progress information corresponding to a project to be completed, wherein the project progress information comprises a task completion rate, the project to be completed is divided into a plurality of tasks, and each task carries corresponding target geographical position information;
acquiring a current project stage matched with the project progress information;
acquiring a task user identifier to be distributed, and acquiring historical task data corresponding to the task user identifier to be distributed, wherein the historical task data comprises historical task information corresponding to at least two dimensions;
distributing corresponding weights for historical task information corresponding to all dimensions in historical task data according to the current project stage;
weighting each historical task information according to the weight corresponding to each historical task information to obtain user evaluation information corresponding to the task user identification to be distributed;
determining a user task image corresponding to the task user identification to be distributed according to the user evaluation information; the user task portrait is used for describing task completion conditions corresponding to task user identifications;
and acquiring the geographical position information of the terminal corresponding to the user identifier of the task to be distributed, and distributing the matched task to be completed to the terminal corresponding to the user identifier of the task to be distributed according to the current project stage, the user task portrait and the geographical position information of the terminal.
2. The method according to claim 1, wherein before the obtaining the project progress information corresponding to the project to be completed, the method further comprises:
acquiring each task feedback data returned by a terminal corresponding to a task allocation user identifier corresponding to each historical task, wherein the task feedback data comprises task geographical position information and corresponding video data;
acquiring current task feedback data, and matching task geographical position information in the current task feedback data with corresponding target geographical position information;
when the matching is successful, verifying the video data in the current task feedback data;
when the verification is passed, judging that the historical task corresponding to the current task feedback data is in a finished state;
and calculating to obtain the task completion rate according to the historical task number of the completed state and the total task number corresponding to the project to be completed.
3. The method of claim 1, wherein the historical task data comprises first dimension historical task information and second dimension historical task information, and wherein assigning corresponding weights to the historical task information corresponding to each dimension in the historical task data according to the current project phase comprises:
when the current project stage is a first project stage, the weight corresponding to the first dimension historical task information is greater than the weight corresponding to the second dimension historical task information;
when the current project stage is a second project stage, the difference between the weight corresponding to the first dimension historical task information and the weight corresponding to the second dimension historical task information is smaller than a preset threshold value;
and when the current project stage is a third project stage, the weight corresponding to the first-dimension historical task information is smaller than the weight corresponding to the second-dimension historical task information, wherein the task completion rate of the next project stage is greater than the task completion rate of the previous project stage.
4. The method according to claim 1, wherein obtaining geographical location information of a terminal corresponding to the user identifier of the task to be assigned, and assigning a matched task to be completed to the terminal corresponding to the user identifier of the task to be assigned according to the current project phase, the user task representation, and the geographical location information of the terminal comprises:
determining user authority corresponding to the task user identification to be distributed according to the user task portrait;
when the user authority is a first level authority, distributing a corresponding task to be completed for a terminal corresponding to a task user identifier to be distributed according to the geographic position matching degree of the geographic position information of the terminal corresponding to the task user identifier to be distributed and the target geographic position information corresponding to the task to be completed;
and when the user authority is a second-level authority, acquiring an expected task identifier corresponding to the task user identifier to be distributed, and distributing a task to be completed corresponding to the expected task identifier to the terminal corresponding to the task user identifier to be distributed.
5. The method according to claim 1, wherein obtaining geographical location information of a terminal corresponding to the user identifier of the task to be assigned, and assigning a matched task to be completed to the terminal corresponding to the user identifier of the task to be assigned according to the current project phase, the user task representation, and the geographical location information of the terminal comprises:
when the current project stage is a first preset project stage, acquiring an allocated task with a processing state of unfinished to obtain a candidate task to be recovered;
acquiring tasks with processing time length longer than a preset threshold value from the candidate tasks to be recovered to obtain target tasks to be recovered;
and recovering the target task to be recovered into a task set to be distributed.
6. The method according to claim 1, wherein obtaining geographical location information of a terminal corresponding to the user identifier of the task to be assigned, and assigning a matched task to be completed to the terminal corresponding to the user identifier of the task to be assigned according to the current project phase, the user task representation, and the geographical location information of the terminal comprises:
when the current project stage is a second preset project stage, receiving a task reallocation request sent by a first terminal, wherein the task reallocation request carries a target task identifier;
acquiring a first user identifier corresponding to the first terminal, acquiring a first user task image corresponding to the first user identifier, and acquiring a first user permission corresponding to the first user task image;
acquiring current user authority corresponding to a current user identifier corresponding to a target task identifier;
and when the first user right is higher than the current user right, distributing the task corresponding to the target task identifier to the first terminal.
7. The method according to claim 1, wherein when the task is a map data collection task, after the task to be completed is allocated to the terminal corresponding to the user identifier of the task to be allocated according to the current project phase, the user task representation, and the geographic location information of the terminal, the method further comprises:
when the current task corresponding to the terminal is in a finished state, acquiring current task feedback data returned by the terminal, wherein the current task feedback data comprises task geographic position information and corresponding original video data;
screening matched target video data from the original video data according to the target geographical position information corresponding to the current task;
and extracting a target object matched with the current task from the target video data, and updating an area matched with the target geographical position information on a map according to the target object.
8. The method of claim 7, wherein there is matched frame geographical position information for each image frame corresponding to the original video data, the target geographical position information includes start point geographical position information, end point geographical position information and task track information, and the screening matched target video data from the original video data according to the target geographical position information corresponding to the current task includes:
determining a track geographical position information set between a starting point geographical position and a finishing point geographical position according to the task track information;
acquiring initial frame geographical position information matched with the initial frame geographical position information, and acquiring an initial video frame corresponding to the initial frame geographical position information;
acquiring a track frame geographical position information set matched with each track geographical position information in the track geographical position information set, and acquiring a track video frame set corresponding to the track frame geographical position information set;
acquiring ending frame geographical position information matched with the end point geographical position information, and acquiring an ending video frame corresponding to the ending frame geographical position information;
the step of extracting the target object matched with the current task from the target video data and updating the area matched with the target geographical position information on the map according to the target object comprises the following steps:
extracting road images in the starting video frame, the track video frame set and the ending video frame according to a road extraction algorithm;
and adding corresponding roads at corresponding positions of the map according to the extracted road image, the starting point geographical position information, the end point geographical position information and the task track information.
9. A task data processing apparatus, characterized in that the apparatus comprises:
the project progress information acquisition module is used for acquiring project progress information corresponding to a project to be completed, wherein the project progress information comprises a task completion rate, the project to be completed is divided into a plurality of tasks, and each task carries corresponding target geographical position information;
the project phase acquisition module is used for acquiring a current project phase matched with the project progress information;
the historical task data acquisition module is used for acquiring a task user identifier to be distributed and acquiring historical task data corresponding to the task user identifier to be distributed, wherein the historical task data comprises historical task information corresponding to at least two dimensions;
the user portrait module is used for distributing corresponding weights to historical task information corresponding to all dimensions in historical task data according to the current project stage, weighting each historical task information according to the weight corresponding to each historical task information to obtain user evaluation information corresponding to the user identification of the task to be distributed, and determining a user task portrait corresponding to the user identification of the task to be distributed according to the user evaluation information; the user task portrait is used for describing task completion conditions corresponding to task user identifications;
and the task allocation module is used for acquiring the geographical position information of the terminal corresponding to the user identifier of the task to be allocated and allocating a matched task to be completed to the terminal corresponding to the user identifier of the task to be allocated according to the current project stage, the user task portrait and the geographical position information of the terminal.
10. The apparatus of claim 9, wherein the task assignment module comprises:
the instruction receiving unit is used for receiving a task reallocation request sent by a first terminal when the current project stage is a second preset project stage, wherein the task reallocation request carries a target task identifier;
a user permission obtaining unit, configured to obtain a first user identifier corresponding to the first terminal, obtain a first user task image corresponding to the first user identifier, obtain a first user permission corresponding to the first user task image, and obtain a current user permission corresponding to a current user identifier corresponding to a target task identifier;
and the task redistribution unit is used for distributing the task corresponding to the target task identifier to the first terminal when the first user right is higher than the current user right.
11. The apparatus of claim 9, further comprising:
the current feedback data acquisition module is used for acquiring current task feedback data returned by the terminal when a current task corresponding to the terminal is in a finished state, wherein the current task feedback data comprises task geographical position information and corresponding original video data;
the target video data acquisition module is used for screening matched target video data from the original video data according to the target geographical position information corresponding to the current task;
and the map updating module is used for extracting a target object matched with the current task from the target video data and updating an area matched with the target geographical position information on a map according to the target object.
12. The apparatus of claim 9, further comprising:
the feedback data acquisition module is used for acquiring each task feedback data returned by the terminal corresponding to the task user distribution identifier corresponding to each historical task, and the task feedback data comprises task geographical position information and corresponding video data;
the geographic position matching module is used for acquiring current task feedback data and matching the task geographic position information in the current task feedback data with corresponding target geographic position information;
the video data verification module is used for verifying the video data in the current task feedback data when the matching is successful;
the task state judging module is used for judging that the historical task corresponding to the current task feedback data is in a finished state when the verification is passed;
and the task completion rate calculating module is used for calculating the task completion rate according to the historical task number of the completed state and the total task number corresponding to the project to be completed.
13. The apparatus of claim 9, wherein the historical task data comprises first dimension historical task information and second dimension historical task information, and wherein the weight assignment unit is further configured to:
when the current project stage is a first project stage, the weight corresponding to the first dimension historical task information is greater than the weight corresponding to the second dimension historical task information;
when the current project stage is a second project stage, the difference between the weight corresponding to the first dimension historical task information and the weight corresponding to the second dimension historical task information is smaller than a preset threshold value;
and when the current project stage is a third project stage, the weight corresponding to the first dimension historical task information is smaller than the weight corresponding to the second dimension historical task information, wherein the task completion rate of the next project stage is greater than the task completion rate of the previous project stage.
14. The apparatus of claim 9, wherein the task assignment module comprises:
the user authority acquiring unit is used for determining user authority corresponding to the task user identification to be distributed according to the user task portrait;
the task allocation unit is used for allocating a corresponding to-be-completed task to the terminal corresponding to the to-be-allocated task user identifier according to the geographic position matching degree of the geographic position information of the terminal corresponding to the to-be-allocated task user identifier and the target geographic position information corresponding to the to-be-completed task when the user right is the first-level right; and when the user authority is a second-level authority, acquiring an expected task identifier corresponding to the task user identifier to be distributed, and distributing a task to be completed corresponding to the expected task identifier to the terminal corresponding to the task user identifier to be distributed.
15. The apparatus of claim 9, wherein the task assignment module further comprises:
the candidate task obtaining unit is used for obtaining a candidate task to be recovered by obtaining an allocated task with a processing state of unfinished when the current project stage is a first preset project stage;
and the task recovery unit is used for acquiring the tasks with the processing time length longer than a preset threshold value from the candidate tasks to be recovered to obtain target tasks to be recovered, and recovering the target tasks to be recovered into a task set to be allocated.
16. The apparatus of claim 11, wherein there is matched frame geographical location information for each image frame corresponding to the original video data, the target geographical location information includes start point geographical location information, end point geographical location information, and task track information, and the target video data obtaining module includes:
the geographic position information acquisition unit is used for determining a track geographic position information set between a starting point geographic position and a finishing point geographic position according to the task track information;
a video frame acquiring unit, configured to acquire start frame geographical position information matched with the start frame geographical position information, acquire a start video frame corresponding to the start frame geographical position information, acquire a track frame geographical position information set matched with each track geographical position information in the track geographical position information set, acquire a track video frame set corresponding to the track frame geographical position information set, acquire end frame geographical position information matched with the end frame geographical position information, and acquire an end video frame corresponding to the end frame geographical position information;
the map update module includes:
the road extraction unit is used for extracting road images in the starting video frame, the track video frame set and the ending video frame according to a road extraction algorithm;
and the road updating unit is used for adding corresponding roads at corresponding positions of the map according to the extracted road image, the starting point geographical position information, the end point geographical position information and the task track information.
17. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 8.
18. A computer device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810307584.5A CN110334885B (en) | 2018-04-08 | 2018-04-08 | Task data processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810307584.5A CN110334885B (en) | 2018-04-08 | 2018-04-08 | Task data processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110334885A CN110334885A (en) | 2019-10-15 |
CN110334885B true CN110334885B (en) | 2022-08-12 |
Family
ID=68139523
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810307584.5A Active CN110334885B (en) | 2018-04-08 | 2018-04-08 | Task data processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110334885B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111475268B (en) * | 2020-04-01 | 2023-05-05 | 腾讯科技(深圳)有限公司 | Task item distribution method, device, equipment and readable storage medium |
CN111625664B (en) * | 2020-05-12 | 2022-08-16 | 贵州国卫信安科技有限公司 | Network practice teaching operation progress checking method based on image contrast |
CN111882693A (en) * | 2020-07-22 | 2020-11-03 | 上海控软网络科技有限公司 | Information processing method and device for employee outwork, electronic equipment and medium |
CN112418670A (en) * | 2020-11-23 | 2021-02-26 | 平安普惠企业管理有限公司 | Case allocation method, device, equipment and medium |
CN112529390A (en) * | 2020-12-02 | 2021-03-19 | 平安医疗健康管理股份有限公司 | Task allocation method and device, computer equipment and storage medium |
CN112732446B (en) * | 2021-01-15 | 2022-07-12 | 腾讯科技(深圳)有限公司 | Task processing method and device and storage medium |
CN115150030B (en) * | 2021-03-31 | 2024-02-06 | 北京金山云网络技术有限公司 | Data processing method, device, electronic equipment, storage medium and system |
CN116757893B (en) * | 2023-04-10 | 2024-03-05 | 南京勤力信息科技有限公司 | Cross-regional enterprise government service intelligent matching method and internet platform system |
CN116663853B (en) * | 2023-07-24 | 2023-10-24 | 太平金融科技服务(上海)有限公司 | Task assigning method, device, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107657379A (en) * | 2017-09-26 | 2018-02-02 | 广州平云小匠科技有限公司 | Task preferentially distributing method, device and system |
CN107665401A (en) * | 2017-09-15 | 2018-02-06 | 平安科技(深圳)有限公司 | A kind of method for allocating tasks, terminal and computer-readable recording medium |
CN107818407A (en) * | 2017-10-20 | 2018-03-20 | 平安科技(深圳)有限公司 | Method for allocating tasks, device, storage medium and computer equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104572732A (en) * | 2013-10-22 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Method and device for inquiring user identification and method and device for acquiring user identification |
CN107230014B (en) * | 2017-05-15 | 2020-11-03 | 浙江仟和网络科技有限公司 | Intelligent scheduling system for terminal instant logistics |
CN107437144B (en) * | 2017-08-01 | 2021-01-15 | 北京闪送科技有限公司 | Order scheduling method, system, computer equipment and storage medium |
-
2018
- 2018-04-08 CN CN201810307584.5A patent/CN110334885B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107665401A (en) * | 2017-09-15 | 2018-02-06 | 平安科技(深圳)有限公司 | A kind of method for allocating tasks, terminal and computer-readable recording medium |
CN107657379A (en) * | 2017-09-26 | 2018-02-02 | 广州平云小匠科技有限公司 | Task preferentially distributing method, device and system |
CN107818407A (en) * | 2017-10-20 | 2018-03-20 | 平安科技(深圳)有限公司 | Method for allocating tasks, device, storage medium and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110334885A (en) | 2019-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110334885B (en) | Task data processing method and device | |
CN111462484B (en) | Congestion state determination method, device, equipment and computer readable storage medium | |
CN107945507B (en) | Travel time prediction method and device | |
CN109325429A (en) | A kind of method, apparatus, storage medium and the terminal of linked character data | |
CN108022139B (en) | Order distribution method and device | |
CN116261120B (en) | V2X service dynamic migration method and system based on cloud edge end cooperation | |
WO2024146201A1 (en) | Parking space recommendation method and apparatus, and vehicle and storage medium | |
CN113268501A (en) | Report generation method and device | |
CN112633701B (en) | Traffic engineering road crack inspection method and system based on block chain | |
CN111369137A (en) | Distribution method, distribution device, server and storage medium of distribution tasks | |
CN111091215A (en) | Vehicle identification method and device, computer equipment and storage medium | |
CN109754631B (en) | Vehicle position tracking method and device, computer equipment and storage medium | |
CN111223296B (en) | Signal lamp control method and device, computer equipment and storage medium | |
CN109767020B (en) | Vehicle recommendation method, device, computer equipment and storage medium | |
CN112989194B (en) | Recommendation method and system integrating user request and service preference of Internet of vehicles | |
CN116698075B (en) | Road network data processing method and device, electronic equipment and storage medium | |
CN117453843A (en) | Data processing method and device, storage medium and electronic equipment | |
CN111950753A (en) | Scenic spot passenger flow prediction method and device | |
CN113902137B (en) | Streaming model training method and device, computer equipment and storage medium | |
CN113065791A (en) | Navigation density determination method and device, computer equipment and storage medium | |
CN116013085B (en) | Data processing system for obtaining target traffic flow | |
CN115994384B (en) | Decision federation-based device privacy protection method, system and device | |
CN112434648A (en) | Wall shape change detection method and system | |
CN115798216B (en) | Data processing system for obtaining target traffic flow | |
CN116071924B (en) | Data processing system for acquiring target traffic flow based on task allocation |
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 |