Graph judging task allocation method, device and equipment
1. A graph judging task allocation method is characterized by comprising the following steps:
receiving a graph judging task sent by a control workstation, wherein the graph judging task is sent when the control workstation judges that a local graph judging workstation is in a busy state;
distributing the graph judging task to a corresponding remote graph judging workstation according to a set task distribution strategy;
and receiving the graph judgment result returned by the remote graph judgment workstation.
2. The method according to claim 1, wherein the assigning the mapping tasks to the corresponding remote mapping workstations according to the set task assignment strategy comprises:
acquiring at least one of the judgment efficiency and the judgment quality of a diagram judgment person, the fatigue of the diagram judgment person and the working state of each remote diagram judgment workstation corresponding to the remote diagram judgment workstation;
and distributing the chart judging tasks to the corresponding remote chart judging workstations according to a set task distribution strategy according to at least one of the chart judging efficiency and the chart judging quality of the chart judging staff corresponding to the remote chart judging workstations, the fatigue of the chart judging staff and the working state of each remote chart judging workstation.
3. The method according to claim 2, wherein the manner of calculating the graph judgment efficiency of the graph judge comprises:
acquiring the distribution time and the completion time of the historical chart judging task corresponding to each chart judging person;
calculating the graph judging time of each graph judging task of the corresponding judger according to the distribution time and the completion time;
and calculating the graph judging time of each graph judging task of the judger, wherein the average graph judging time of the corresponding graph judger is taken as the graph judging efficiency of the graph judger.
4. The method according to claim 2, wherein the manner of calculating the quality of the decision map comprises:
acquiring a test picture;
inserting a dangerous article image into the test picture according to a dangerous article insertion strategy to obtain a test judgment picture task;
distributing the test chart judging task to the remote chart judging workstation where the chart judging person is located, and acquiring a manual chart judging result of the chart judging person;
and according to the inserted dangerous goods image and the manual image judgment result, counting the image judgment accuracy of each image judgment person as image judgment quality.
5. The method according to claim 2, wherein the calculating of the fatigue of the diagnostician includes:
acquiring login, logout and image judging data of each image judging person in a preset time period, and counting the continuous working time of the image judging person, the total image judging time and the total image judging quantity;
and generating the fatigue of the judging graph according to the continuous working time, the total judging graph time and the total judging graph quantity.
6. The method of claim 2, wherein the remotely determining the operating status of the workstation comprises:
acquiring the number and the completion condition of the image judging tasks of the remote image judging workstation;
and obtaining the state of the remote graph judging workstation as a working state or an idle state according to the quantity and the completion condition of the graph judging tasks of the remote graph judging workstation.
7. The method according to claim 2, wherein the obtaining the working state of each remote map judging workstation corresponding to the remote map judging workstation comprises:
receiving a working state modification request sent by a remote graph judging workstation;
judging whether to accept the working state modification request according to the current graph judging task;
and after the work state modification request is accepted, updating the work state of the remote graph judging workstation.
8. The method of any of claims 1-7, wherein the task allocation policy comprises at least one of:
taking the idle remote graph judging workstation as a graph judging task receiver;
taking the remote graph judging workstation with the graph judging accuracy higher than the lowest graph judging accuracy as the graph judging task receiver, wherein the average graph judging time of the corresponding graph judging staff is less than the maximum average graph judging time;
and taking the remote graph judging workstation with short continuous working time, short total graph judging time and small total graph judging quantity of the corresponding graph judging personnel as the graph judging task receiver.
9. A mapping task assigning apparatus, comprising:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving a chart judging task sent by a control workstation, and the chart judging task is sent when the control workstation judges that a local chart judging workstation is in a busy state; the receiving module is also used for receiving the graph judging result returned by the remote graph judging workstation;
and the task allocation module is used for allocating the graph judging tasks to the corresponding remote graph judging workstations according to a set task allocation strategy.
10. An apparatus for chart task allocation, comprising a security inspection machine, a chart judgment workstation and a processor, wherein the processor is respectively connected with the security inspection machine and the chart judgment workstation, wherein:
the security inspection machine scans the line packet entering the security inspection machine so as to generate a line packet scanning image;
the processor performs the steps of the method of any one of claims 1 to 8.
11. A computer storage medium on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 8.
Background
The security inspection has very important significance in resisting terrorism, fighting against the harm behaviors of drug trafficking and smuggling and carrying prohibited articles, and in the security inspection of public places such as roads and railway stations, the technical inspection commonly adopted by packages to be subjected to security inspection is to scan radioactive rays generated by specific equipment (such as a security inspection machine) to generate scanning images. The scanned image is then assigned to a security inspector at a mapping workstation to determine whether the package may contain hazardous materials.
The traditional security inspection equipment generally adopts a single machine mode, directly manages a plurality of image judging workstations through a local control workstation, and is simple in structure, but poor in flexibility and image judging efficiency. Therefore, the current security inspection equipment generally needs to deploy a remote graph judging workstation to improve the graph judging efficiency. In the aspect of the graph judging task allocation problem, the current advanced technology can realize the switching between the centralized mode and the single machine mode by predicting the load pressure of a security inspection system, and the graph judging pressure is relieved to a certain extent.
At present, security inspection equipment supporting a centralized graph judgment mode can realize graph judgment mode switching or graph judgment task allocation by predicting package flow. However, due to the fact that the accuracy of the parcel traffic prediction is low and the variation is large, the situation that the single machine mode and the centralized mode are frequently switched may exist, and therefore the system is unstable.
Disclosure of Invention
Therefore, it is necessary to provide a method, an apparatus and a device for assigning a graph determining task with stable system in view of the above technical problems.
The embodiment of the application provides a graph judging task allocation method, which comprises the following steps:
receiving a graph judging task sent by a control workstation, wherein the graph judging task is sent when the control workstation judges that a local graph judging workstation is in a busy state;
distributing the graph judging task to a corresponding remote graph judging workstation according to a set task distribution strategy;
and receiving the graph judgment result returned by the remote graph judgment workstation.
In one embodiment, the allocating the map judging task to the corresponding remote map judging workstation according to the set task allocation policy includes:
acquiring at least one of the judgment efficiency and the judgment quality of a diagram judgment person, the fatigue of the diagram judgment person and the working state of each remote diagram judgment workstation corresponding to the remote diagram judgment workstation;
and distributing the chart judging tasks to the corresponding remote chart judging workstations according to a set task distribution strategy according to at least one of the chart judging efficiency and the chart judging quality of the chart judging staff corresponding to the remote chart judging workstations, the fatigue of the chart judging staff and the working state of each remote chart judging workstation.
In one embodiment, the calculation method of the graph judgment efficiency of the graph judge includes:
acquiring the distribution time and the completion time of the historical chart judging task corresponding to each chart judging person;
calculating the graph judging time of each graph judging task of the corresponding judger according to the distribution time and the completion time;
and calculating the graph judging time of each graph judging task of the judger, wherein the average graph judging time of the corresponding graph judger is taken as the graph judging efficiency of the graph judger.
In one embodiment, the calculation method of the graph quality includes:
acquiring a test picture;
inserting a dangerous article image into the test picture according to a dangerous article insertion strategy to obtain a test judgment picture task;
distributing the test chart judging task to the remote chart judging workstation where the chart judging person is located, and acquiring a manual chart judging result of the chart judging person;
and according to the inserted dangerous goods image and the manual image judgment result, counting the image judgment accuracy of each image judgment person as image judgment quality.
In one embodiment, the method for calculating the fatigue of the diagrapher includes:
acquiring login, logout and image judging data of each image judging person in a preset time period, and counting the continuous working time of the image judging person, the total image judging time and the total image judging quantity;
and generating the fatigue of the judging graph according to the continuous working time, the total judging graph time and the total judging graph quantity.
In one embodiment, the working state of the remote graph judging workstation includes:
acquiring the number and the completion condition of the image judging tasks of the remote image judging workstation;
and obtaining the state of the remote graph judging workstation as a working state or an idle state according to the quantity and the completion condition of the graph judging tasks of the remote graph judging workstation.
In one embodiment, the obtaining the working state of each remote map judging workstation corresponding to the remote map judging workstation includes:
receiving a working state modification request sent by a remote graph judging workstation;
judging whether to accept the working state modification request according to the current graph judging task;
and after the work state modification request is accepted, updating the work state of the remote graph judging workstation.
In one embodiment, the task allocation policy includes at least one of:
taking the idle remote graph judging workstation as a graph judging task receiver;
taking the remote graph judging workstation with the graph judging accuracy higher than the lowest graph judging accuracy as the graph judging task receiver, wherein the average graph judging time of the corresponding graph judging staff is less than the maximum average graph judging time;
and taking the remote graph judging workstation with short continuous working time, short total graph judging time and small total graph judging quantity of the corresponding graph judging personnel as the graph judging task receiver.
A mapping task assigning apparatus, the apparatus comprising:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving a chart judging task sent by a control workstation, and the chart judging task is sent when the control workstation judges that a local chart judging workstation is in a busy state; meanwhile, the system is used for receiving the judging result returned by the remote judging workstation;
and the task allocation module is used for allocating the graph judging tasks to the corresponding remote graph judging workstations according to a set task allocation strategy.
An apparatus for chart task allocation, comprising a security inspection machine, a chart judgment workstation and a processor, wherein the processor is respectively connected with the security inspection machine and the chart judgment workstation, wherein:
the security inspection machine scans the line packet entering the security inspection machine so as to generate a line packet scanning image;
the processor performs the steps of the method in any of the above embodiments.
A computer storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method in any of the above embodiments.
After receiving the map judging tasks sent by the control workstations, the map judging tasks are distributed to the corresponding remote map judging workstations according to a set task distribution strategy; and receiving the graph judgment result returned by the remote graph judgment workstation. By distributing the chart judging tasks of the remote chart judging workstations according to the task distribution strategy, all the chart judging workstation resources are fully utilized, the problem of system instability caused by frequent switching between a single machine mode and a centralized mode of a local control workstation is avoided, and meanwhile, the overall system cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional technologies of the present application, the drawings used in the descriptions of the embodiments or the conventional technologies will be briefly introduced below, it is obvious that the drawings in the following descriptions are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an application environment for a graph task assignment methodology in one embodiment;
FIG. 2 is a flow diagram illustrating a method for determining task assignments in accordance with one embodiment;
FIG. 3 is a flow chart illustrating a method for assigning predicate tasks according to another embodiment;
FIG. 4 is a flow chart illustrating a calculation method of graph determination efficiency according to an embodiment;
FIG. 5 is a flow chart illustrating a calculation method for determining quality of a graph according to an embodiment;
FIG. 6 is a flow chart illustrating a manner of calculating fatigue of a diagrapher in one embodiment;
FIG. 7 is a flow diagram illustrating the operation of a remote diagnostic workstation according to one embodiment;
FIG. 8 is a schematic flow chart illustrating the operation of a remote diagnostic workstation according to another embodiment;
FIG. 9 is a diagram showing an internal structure of a arbitration task assignment means according to an embodiment;
FIG. 10 is a diagram showing an internal structure of a computer device according to an embodiment.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Embodiments of the present application are set forth in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another.
Referring to fig. 1, the graph judging task allocation method provided by the present application may be applied to the graph judging task allocation of a graph judging workstation of a security inspection system. It should be noted that, the control workstation 100 determines to perform map determination by using a local map determination workstation or by using a remote map determination workstation 300 according to the current packet traffic situation. When the quantity of the map judging tasks is small, the control workstation 100 directly sends the map judging tasks to the local map judging workstation for judging the map; when the amount of the map judging task is large, the control workstation 100 sends the map judging task to the central control center 200. The central control center 200 receives the map judging tasks sent by the control workstations 100, distributes the map judging tasks to the corresponding remote map judging workstations 300 according to the set task distribution strategy, and receives the map judging results returned by the remote map judging workstations 300. The central control center 200 is adopted to distribute the received chart judging tasks to the corresponding remote chart judging workstations 300 according to the set task distribution strategy, so that the problem of system instability caused by frequent switching between a single machine mode and a centralized mode of the local control workstation 100 is solved.
In one embodiment, as shown in fig. 2, a graph determining task allocation method is provided, which is described by taking an example that the method is applied to the central control center in fig. 1, and includes the following steps:
s202: and receiving a graph judging task sent by the control workstation, wherein the graph judging task is sent when the control workstation judges that the local graph judging workstation is in a busy state.
Specifically, the image judging task is an image judging task generated after the security inspection equipment acquires the scanned image of the detected luggage. The busy state of the local graph judging workstation means that each local graph judging workstation is in a working state and contains one or more incomplete graph judging tasks.
Specifically, in the security inspection system, a control workstation controls security inspection equipment and is connected with a central control center through a network. And the control workstation determines to adopt a local graph judging workstation to judge the graph or adopt a remote graph judging workstation to judge the graph according to the packet flow condition of the current security check equipment. Specifically, when the quantity of graph judging tasks is small, the control workstation directly sends the graph judging tasks to a local graph judging workstation for graph judgment; when the quantity of the graph judging tasks is large, the control workstation sends the rest graph judging tasks to the central control center through the network under the condition that the tasks of the local graph judging workstation are saturated. The central control center receives and caches the image judging tasks sent by the control workstations, and a task allocation strategy is preset in the central control center, so that the central control center processes the image judging tasks according to the preset task allocation strategy.
S204: and distributing the image judging tasks to the corresponding remote image judging workstations according to the set task distribution strategy.
Specifically, the task allocation strategy is a method for allocating the received graph judging tasks by the central control center according to a preset rule.
Specifically, a task allocation strategy is preset in the central control center, after the central control center receives and caches the map judging tasks sent by the control workstations, the central control center analyzes the remote map judging workstations according to the preset task allocation strategy, uses the remote map judging workstations meeting the task allocation strategy as map judging task receiving objects, and allocates the map judging tasks to the corresponding remote map judging workstations to complete the allocation of the map judging tasks. The central control center is adopted to distribute the image judging tasks according to the preset task distribution strategy, so that the problem of system instability caused by frequent switching between a single machine mode and a centralized mode of a local control workstation is avoided, the stable work of the system is ensured, and the image judging efficiency of the remote image judging workstation is effectively improved.
S206: and receiving the judging result returned by the remote judging workstation.
Specifically, the central control center distributes the image judging tasks to the corresponding remote image judging workstations according to a preset task distribution strategy. And the remote graph judging workstation starts to judge the graph, and returns a graph judging result to the central control center after the graph judging task is completed. And the central control center receives and stores the chart judgment result returned by the remote chart judgment workstation.
According to the chart judging task allocation method, the chart judging tasks of the remote chart judging workstations are allocated according to the task allocation strategy, all the chart judging workstation resources are fully utilized, the problem of system instability caused by frequent switching of a single machine mode and a centralized mode of a local control workstation is solved, meanwhile, the overall system cost is reduced, the stable work of the system is ensured, and the chart judging efficiency of the remote chart judging workstations is effectively improved.
As shown in fig. 3, in one embodiment, allocating mapping tasks to corresponding remote mapping workstations according to a set task allocation policy includes:
s302: and acquiring at least one of the judgment efficiency and the judgment quality of a judgment staff corresponding to the remote judgment work station, the fatigue of the judgment staff and the working state of each remote judgment work station.
S304: and distributing the judging task to the corresponding remote judging workstation according to a set task distribution strategy according to at least one of the judging efficiency and the judging quality of the judging staff corresponding to the remote judging workstation, the fatigue of the judging staff and the working state of each remote judging workstation.
The graph judging efficiency refers to the speed of a graph judging worker for processing the graph judging task, and can be measured by the average completion time of the graph judging task. The figure judgment quality refers to the accuracy of the figure judgment task processed by the figure judgment staff, wherein the accuracy refers to the number of correct figure judgment divided by the total number of figure judgment. The fatigue degree of the diagrapher refers to the fatigue degree of the diagrapher when processing the diagraph task, wherein the fatigue degree can be measured by continuous working time, continuous diagraph time and the number of diagraphs. The working state of the remote map judging workstation refers to whether the remote map judging workstation is in a working state and/or whether the work is busy.
Specifically, the central control center receives and caches the map judging tasks sent by the control workstation, and a task allocation strategy is preset in the central control center, so that the central control center processes the map judging tasks according to the preset task allocation strategy. The method comprises the following steps that the central control center obtains at least one of the graph judging efficiency and the graph judging quality of a graph judging person corresponding to the remote graph judging workstation, the fatigue of the graph judging person and the working state of each remote graph judging workstation.
In this embodiment, the central control center allocates the map judging task to the map judging efficiency and the map judging quality of the map judging person, the fatigue of the map judging person, or the working state of each remote map judging workstation according to at least one of the acquired map judging efficiency and the map judging quality of the map judging person, the fatigue of the map judging person, or the working state of each remote map judging workstation corresponding to the task allocation policy.
Analyzing the remote map judging workstations according to the set task allocation strategy, determining to allocate the map judging tasks to the corresponding remote map judging workstations by taking the map judging efficiency and the map judging quality of map judging personnel of the remote workstations and the fatigue degree of the map judging personnel as consideration factors.
In the embodiment, the resources of all remote map judging workstations can be fully utilized, the map judging efficiency of the security inspection system is improved, and the map judging quality of the map judging personnel and the fatigue degree of the map judging personnel are also considered, so the map judging quality is effectively ensured.
As shown in fig. 4, in one embodiment, the calculation method of the graph judgment efficiency of the graph judge includes:
s402: and acquiring the distribution time and the completion time of the historical chart judging task corresponding to each chart judging person.
Specifically, the time allocation refers to the time when the central control center allocates the graph judging task to the graph judging personnel, and the central control center allocates the graph judging task and then stores the time. The completion time refers to the time when the central control center receives the result of the figure judgment person and stores the time. And the central control center acquires the distribution time of the historical chart judging tasks corresponding to each chart judging person and the completion time of the historical chart judging tasks in the process of distributing the chart judging tasks according to the chart judging task distribution strategy.
S404: and calculating the graph judging time of each graph judging task of the corresponding judger according to the distribution time and the completion time.
Specifically, the graph judging time of each graph judging task is a time period obtained by subtracting the graph judging task distribution time from the graph judging task completion time. The central control center can calculate the graph judging time length of each graph judging task of the corresponding judger according to the acquired distribution time of the historical graph judging tasks and the finishing time of the historical graph judging tasks.
S406: the average figure judging time corresponding to the figure judging person is calculated to obtain the figure judging time of each figure judging task of the figure judging person, and the average figure judging time is used as the figure judging efficiency of the figure judging person.
Specifically, the average graph judging time is an average value of a plurality of graph judging times, and a specific algorithm is obtained by dividing the sum of N added graph judging times by N.
The central control center can calculate the average image judging time of the corresponding image judging person completing the image judging task by dividing the image judging task workload by the image judging time length through the image judging time length and the image judging task workload of the image judging person completing the image judging task each time, and can also obtain the average image judging time by other calculation modes, which is not limited herein. And taking the calculated average graph judging time as the graph judging efficiency of the graph judging person.
And thus, the average image judging time of each image judging person is counted according to the distribution time and the completion time of the image judging task of each image judging person. The average graph judging time is used as the graph judging efficiency of a graph judging person, and accidental factors are eliminated, so that the graph judging efficiency is more accurate.
As shown in fig. 5, in one embodiment, the method for determining the quality of the graph includes:
s502: and acquiring a test picture.
Specifically, the test picture refers to a picture stored in a memory of the central control center and used for testing or training a diagraph. And the central control center acquires the test picture of the judger of the test remote judging workstation and caches the test picture.
S504: and inserting the dangerous article image into the test picture according to a dangerous article insertion strategy to obtain a test judgment picture task.
Specifically, the hazardous article insertion strategy refers to a method for inserting hazardous article images into a test picture of a test or training diagnostician. The dangerous goods image is an image containing dangerous goods in the scanned image of the detected luggage. And after the central control center obtains the test picture, inserting the dangerous goods image into the test picture according to a dangerous goods insertion strategy to obtain a test judgment picture task. Namely, the central control center inserts the dangerous goods image into the test picture according to the dangerous goods insertion strategy to obtain the test judgment picture task.
S506: and distributing a test chart judging task to a remote chart judging workstation where a chart judging person is located, and acquiring a manual chart judging result of the chart judging person.
Specifically, the manual map judgment result refers to a non-mechanically completed map judgment result performed by a map judgment person. And the central control center distributes the test chart judging task obtained in the step S404 to a remote chart judging workstation where the chart judging staff is located, and obtains a manual chart judging result of the chart judging staff of the remote chart judging workstation.
S508: and according to the inserted dangerous goods image and the manual image judgment result, counting the image judgment accuracy of each image judgment person as image judgment quality.
Specifically, the graph judgment accuracy refers to the number of correct judgment graphs divided by the total number of judgment graphs. And the central control center calculates the figure judgment accuracy of each figure judgment person according to the inserted dangerous goods image and the obtained manual figure judgment result. The calculation method of the figure judgment accuracy may be, for example, the percentage obtained by dividing the number of the dangerous goods images of the manual figure judgment result by the number of the inserted dangerous goods images is used as the figure judgment accuracy, or may be another calculation method, which is not limited herein. And taking the figure judgment accuracy obtained by the calculation mode as the figure judgment quality of the figure judgment person.
In the above calculation method of judging the picture quality, the picture judgment accuracy of the picture judgment person is counted by adopting the inserted dangerous goods image and the manual picture judgment result as the picture judgment quality. By the design, the image judging quality of the image judging person can be tested, and the training of the image judging work of the image judging person can be realized, so that the image judging quality of the image judging person is improved.
As shown in fig. 6, in one embodiment, the calculation method of the fatigue of the diagrapher includes:
s602: and obtaining the login, logout and image judgment data of each image judgment person in a preset time period, and counting the continuous working time of the image judgment person, the total image judgment time and the total image judgment quantity.
Specifically, the continuous operating time is the time of the continuous login state of the login time minus the logout time. The total graph judging time is the sum of the graph judging time of the graph judging person in the login state. The total figure judgment quantity is the number of the finished figure judgment within the total figure judgment time. The central control center acquires login, logout and graph judging data of each graph judging person in a preset time period, wherein the login and logout in the preset time period refer to the time when the graph judging person logs in the remote graph judging workstation for multiple times and the time when the graph judging person logs out the remote graph judging workstation for multiple times in the preset time period, and the continuous working time is superposed with the further continuous working time of the statistical graph judging person. The judging graph data refers to total judging graph time and total judging graph quantity.
S604: and generating the fatigue degree of the judging staff according to the continuous working time, the total judging time and the total judging quantity.
And the central control center analyzes the total judging graph time and the total judging graph quantity according to the continuous working time obtained by the calculation in the step S602 to generate the fatigue degree of the judging graph.
In the above calculation method of the fatigue degree of the image judging person, the fatigue degree of the image judging person is generated by adopting the continuous working time of the image judging person, the total image judging time and the total image judging quantity, and further, the fatigue degree of the image judging person is used as a reference factor of the task allocation strategy, so that the condition that the image judging person works in a fatigue state to influence the image judging quality is avoided.
As shown in fig. 7, in one embodiment, the remote mapping workstation determines the operating status thereof, including:
s702: and acquiring the number and the completion condition of the image judging tasks of the remote image judging workstation.
Specifically, the number of the map judging tasks refers to the number of the map judging tasks generated after the security inspection equipment acquires the scanned image of the detected packet, and the central control center acquires the number of the map judging tasks of the remote map judging workstation and acquires the completion condition of the map judging tasks.
S704: and obtaining the state of the remote map judging workstation as a working state or an idle state according to the number and the completion condition of the map judging tasks of the remote map judging workstation.
And the central control center can further obtain the current working state of the remote map judging workstation according to the acquired number of the map judging tasks of the remote map judging workstation and the completion condition of the map judging tasks. If the number of the uncompleted map judging tasks is multiple, the remote map judging workstation is in a working state, and if the number of the uncompleted map judging tasks is zero, the remote map judging workstation is in an idle state.
The working state of the remote map judging workstation is obtained by analyzing the number and the completion condition of the map judging tasks of the remote map judging workstation, and the state of the remote map judging workstation is a working state or an idle state. And then the central control center can select whether to use the remote graph judging workstation as a graph judging task distribution object according to the state of the remote graph judging workstation.
As shown in fig. 8, in one embodiment, the obtaining the working state of each remote map judging workstation corresponding to the remote map judging workstation includes:
s802: and receiving a working state modification request sent by the remote graph judging workstation.
Specifically, the work state modification request is a request sent to the central control center when the judge leaves or reviews the image for a short time. When the diagnostician at the remote diagraph workstation needs to leave or review the image for a short time, a request can be sent to the central control center, and the central control center receives the work state modification request sent by the remote diagraph workstation.
S804: and judging whether to accept the working state modification request according to the current graph judging task.
After receiving a working state modification request sent by a remote image judging workstation, the central control center judges whether to accept the working state modification request according to the current image judging task, and selects not to accept the working state modification request when judging that the current image judging task is heavy; and when the central control center judges that the current graph judging task is not heavy, selecting to receive the working state modification request.
S806: and after the work state modification request is received, updating the work state of the remote graph judging workstation.
Specifically, after the central control center receives the working state modification request, the working state of the remote graph judging workstation is updated in time.
After the central control center receives the work state modification request of the remote image judging workstation, the state of the remote image judging workstation is timely updated, and the phenomenon that the central control center distributes image judging tasks to image judging personnel needing to leave or review images for a short time to influence the work efficiency of the image judging tasks is avoided.
In one embodiment, the task allocation policy includes at least one of: taking an idle remote graph judging workstation as a graph judging task receiver; taking the remote graph judging workstation with the graph judging accuracy higher than the lowest graph judging accuracy as a graph judging task receiver, wherein the average graph judging time of the corresponding graph judging staff is less than the maximum average graph judging time; and taking the corresponding remote graph judging workstations with short continuous working time, short total graph judging time and small total graph judging quantity as graph judging task receivers.
Specifically, when the central control center receives and caches the map judgment tasks sent by the control workstations, the central control center obtains at least one of the map judgment efficiency and the map judgment quality of the map judgment staff corresponding to the remote map judgment workstations, the fatigue of the map judgment staff and the working state of each remote map judgment workstation, and the idle remote map judgment workstations are used as map judgment task receivers. When a plurality of idle remote graph judging workstations exist, in order to ensure the overall graph judging efficiency and quality of the system, the central control center sets two thresholds, namely the maximum graph judging time and the minimum graph judging accuracy. The central control center preferentially polls the idle remote graph judging workstation with the graph judging time less than the maximum graph judging time and the graph judging accuracy higher than the minimum graph judging accuracy. And taking the remote graph judging workstation with the graph judging accuracy higher than the lowest graph judging accuracy as a graph judging task receiver, wherein the average graph judging time of the corresponding graph judging staff is less than the maximum average graph judging time. And considering the fairness of the graph judging task allocation, the graph judging task allocation strategy also considers the fatigue degree of the graph judging personnel, and the corresponding remote graph judging workstation with short continuous working time, short total graph judging time and small total graph judging quantity of the graph judging personnel is taken as a graph judging task receiver.
It should be understood that although the various steps in the flow charts of fig. 2-8 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 fig. 2-8 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 alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 9, there is provided a mapping task assigning apparatus including: a receiving module 202 and a task assignment module 204.
The receiving module 202 is configured to receive a map judging task sent by a control workstation, where the map judging task is sent when the control workstation judges that a local map judging workstation is in a busy state.
The receiving module 202 is further configured to receive a diagram judgment result returned by the remote diagram judgment workstation.
And the task allocation module 204 is used for allocating the map judging tasks to the corresponding remote map judging workstations according to the set task allocation strategy.
In one embodiment, the task allocation module 204 allocates the mapping task to the corresponding remote mapping workstation according to the set task allocation policy, including:
the acquisition module is used for acquiring at least one of the judgment efficiency and the judgment quality of the image judgment staff corresponding to the remote image judgment workstation, the fatigue of the image judgment staff and the working state of each remote image judgment workstation.
And the task allocation module 204 is configured to allocate the map judging task to the corresponding remote map judging workstation according to a set task allocation strategy according to at least one of the map judging efficiency and the map judging quality of a map judging person corresponding to the remote map judging workstation, the fatigue of the map judging person, and the working state of each remote map judging workstation.
In one embodiment, the module for calculating the graph judgment efficiency of the graph judge comprises:
and the acquisition unit is used for acquiring the distribution time and the completion time of the historical chart judging task corresponding to each chart judging person.
And the calculating unit is used for calculating the graph judging time of each graph judging task corresponding to the judger according to the distribution time and the completion time, calculating the graph judging time of each graph judging task corresponding to the judger according to the graph judging time of each graph judging task of the judger, taking the average graph judging time of the corresponding graph judging person as the graph judging efficiency of the graph judging person, and counting the average graph judging time of each graph judging person according to the distribution time and the completion time of the graph judging task.
In one embodiment, the module for calculating the graph quality includes:
and the acquisition unit is used for acquiring the test picture.
And the dangerous article image inserting unit is used for inserting the dangerous article image into the test picture according to a dangerous article inserting strategy to obtain a test judging picture task.
And the task allocation unit is used for allocating the test chart judging task to the remote chart judging workstation where the chart judging person is located and acquiring the manual chart judging result of the chart judging person.
And the statistical unit is used for counting the figure judgment accuracy of each figure judgment person as the figure judgment quality according to the inserted dangerous article images and the manual figure judgment results.
In one embodiment, the module for calculating the fatigue of the diagrapher comprises:
the acquisition unit is used for acquiring login, logout and image judgment data of each image judgment person in a preset time period, and counting the continuous working time of the image judgment person, the total image judgment time and the total image judgment quantity.
And the fatigue degree generating unit is used for generating the fatigue degree of the judging graph according to the continuous working time, the total judging graph time and the total judging graph quantity.
In one embodiment, the work state module of the remote graph judging workstation comprises:
and the acquisition unit is used for acquiring the number and the completion condition of the chart judging tasks of the remote chart judging workstation.
And the state generating unit is used for obtaining the state of the remote map judging workstation as a working state or an idle state according to the number and the completion condition of the map judging tasks of the remote map judging workstation.
In one embodiment, the work state module of the remote graph judging workstation further comprises:
and the receiving unit is used for receiving the working state modification request sent by the remote graph judging workstation.
And the judging unit is used for judging whether to accept the working state modification request according to the current graph judging task.
And the state updating unit is used for updating the working state of the remote map judging workstation after receiving the working state modification request.
In one embodiment, the task allocation policy module includes at least one of:
and the image judging task receiving unit is used for taking the idle remote image judging workstation as an image judging task receiving party.
The judging unit is used for taking the remote graph judging workstation with the graph judging accuracy higher than the lowest graph judging accuracy as the graph judging task receiver, wherein the average graph judging time of the corresponding graph judging person is less than the maximum average graph judging time; and taking the remote graph judging workstation with short continuous working time, short total graph judging time and small total graph judging quantity of the corresponding graph judging personnel as the graph judging task receiver.
For specific limitations of the graph judging task allocation device, reference may be made to the above limitations of the graph judging task allocation method, and details are not described here. All or part of each module in the graph judging task distributing device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, as shown in fig. 10, an apparatus for judging task allocation includes a security inspection machine, a judging workstation and a processor, the processor is respectively connected with the security inspection machine and the judging workstation, wherein:
the security inspection machine scans the line pack entering the security inspection machine to generate a line pack scanning image.
The processor implements the steps of: receiving a graph judging task sent by a control workstation, wherein the graph judging task is sent when the control workstation judges that a local graph judging workstation is in a busy state; distributing the graph judging task to a corresponding remote graph judging workstation according to a set task distribution strategy; and receiving the graph judgment result returned by the remote graph judgment workstation.
In one embodiment, the processor executes the task allocation policy to allocate the mapping task to the corresponding remote mapping workstation, and the task allocation policy includes: acquiring at least one of the judgment efficiency and the judgment quality of a diagram judgment person, the fatigue of the diagram judgment person and the working state of each remote diagram judgment workstation corresponding to the remote diagram judgment workstation; and distributing the chart judging tasks to the corresponding remote chart judging workstations according to a set task distribution strategy according to at least one of the chart judging efficiency and the chart judging quality of the chart judging staff corresponding to the remote chart judging workstations, the fatigue of the chart judging staff and the working state of each remote chart judging workstation.
In one embodiment, the processor performs a calculation of the graph judgment efficiency of the graph judge, including: acquiring the distribution time and the completion time of the historical chart judging task corresponding to each chart judging person; calculating the graph judging time of each graph judging task of the corresponding judger according to the distribution time and the completion time; calculating the graph judging time of each graph judging task of the judger, wherein the average graph judging time corresponding to the judger is taken as the graph judging efficiency of the judger; and according to the distribution time and the completion time of the graph judging task, counting the average graph judging time of each graph judging person.
In one embodiment, the processor performs the implemented calculation of the graph quality, including: acquiring a test picture; inserting a dangerous article image into the test picture according to a dangerous article insertion strategy to obtain a test judgment picture task; distributing the test chart judging task to the remote chart judging workstation where the chart judging person is located, and acquiring a manual chart judging result of the chart judging person; and according to the inserted dangerous goods image and the manual image judgment result, counting the image judgment accuracy of each image judgment person as image judgment quality.
In one embodiment, the processor performs the implemented calculation of the fatigue of the diagrapher, including: acquiring login, logout and image judging data of each image judging person in a preset time period, and counting the continuous working time of the image judging person, the total image judging time and the total image judging quantity; and generating the fatigue of the judging graph according to the continuous working time, the total judging graph time and the total judging graph quantity.
In one embodiment, the processor executes the working state of the remote mapping workstation, which comprises: acquiring the number and the completion condition of the image judging tasks of the remote image judging workstation; and obtaining the state of the remote graph judging workstation as a working state or an idle state according to the quantity and the completion condition of the graph judging tasks of the remote graph judging workstation.
In one embodiment, the obtaining of the working state of each remote map judging workstation corresponding to the remote map judging workstation performed by the processor includes: receiving a working state modification request sent by a remote graph judging workstation; judging whether to accept the working state modification request according to the current graph judging task; and after the work state modification request is accepted, updating the work state of the remote graph judging workstation.
In one embodiment, the task allocation policy implemented by the processor comprises at least one of: taking the idle remote graph judging workstation as a graph judging task receiver; taking the remote graph judging workstation with the graph judging accuracy higher than the lowest graph judging accuracy as the graph judging task receiver, wherein the average graph judging time of the corresponding graph judging staff is less than the maximum average graph judging time; and taking the remote graph judging workstation with short continuous working time, short total graph judging time and small total graph judging quantity of the corresponding graph judging personnel as the graph judging task receiver.
In one embodiment, as shown, a computer storage medium having a computer program stored thereon, the computer program when executed by a processor implementing the steps of: receiving a graph judging task sent by a control workstation, wherein the graph judging task is sent when the control workstation judges that a local graph judging workstation is in a busy state; distributing the graph judging task to a corresponding remote graph judging workstation according to a set task distribution strategy; and receiving the graph judgment result returned by the remote graph judgment workstation.
In one embodiment, the assigning of the mapping tasks to the corresponding remote mapping workstations according to the set task assignment strategy, which is implemented when the computer program is executed by the processor, includes: acquiring at least one of the judgment efficiency and the judgment quality of a diagram judgment person, the fatigue of the diagram judgment person and the working state of each remote diagram judgment workstation corresponding to the remote diagram judgment workstation; and distributing the chart judging tasks to the corresponding remote chart judging workstations according to a set task distribution strategy according to at least one of the chart judging efficiency and the chart judging quality of the chart judging staff corresponding to the remote chart judging workstations, the fatigue of the chart judging staff and the working state of each remote chart judging workstation.
In one embodiment, the manner of calculating the graph interpretation efficiency of the graph interpreter when the computer program is executed by the processor includes: acquiring the distribution time and the completion time of the historical chart judging task corresponding to each chart judging person; calculating the graph judging time of each graph judging task of the corresponding judger according to the distribution time and the completion time; calculating the graph judging time of each graph judging task of the judger, wherein the average graph judging time corresponding to the judger is taken as the graph judging efficiency of the judger; and according to the distribution time and the completion time of the graph judging task, counting the average graph judging time of each graph judging person.
In one embodiment, the way of calculating the graph quality when the computer program is executed by the processor includes: acquiring a test picture; inserting a dangerous article image into the test picture according to a dangerous article insertion strategy to obtain a test judgment picture task; distributing the test chart judging task to the remote chart judging workstation where the chart judging person is located, and acquiring a manual chart judging result of the chart judging person; and according to the inserted dangerous goods image and the manual image judgment result, counting the image judgment accuracy of each image judgment person as image judgment quality.
In one embodiment, the way of calculating the fatigue of the diagrapher, which is implemented when the computer program is executed by the processor, includes: acquiring login, logout and image judging data of each image judging person in a preset time period, and counting the continuous working time of the image judging person, the total image judging time and the total image judging quantity; and generating the fatigue of the judging graph according to the continuous working time, the total judging graph time and the total judging graph quantity.
In one embodiment, the operating state of the remote mapping workstation, when implemented by a processor, includes: acquiring the number and the completion condition of the image judging tasks of the remote image judging workstation; and obtaining the state of the remote graph judging workstation as a working state or an idle state according to the quantity and the completion condition of the graph judging tasks of the remote graph judging workstation.
In one embodiment, the obtaining of the working state of each remote mapping workstation corresponding to the remote mapping workstation, which is implemented when the computer program is executed by the processor, includes: receiving a working state modification request sent by a remote graph judging workstation; judging whether to accept the working state modification request according to the current graph judging task; and after the work state modification request is accepted, updating the work state of the remote graph judging workstation.
In one embodiment, the task allocation policy implemented by the computer program when executed by the processor comprises at least one of: taking the idle remote graph judging workstation as a graph judging task receiver; taking the remote graph judging workstation with the graph judging accuracy higher than the lowest graph judging accuracy as the graph judging task receiver, wherein the average graph judging time of the corresponding graph judging staff is less than the maximum average graph judging time; and taking the remote graph judging workstation with short continuous working time, short total graph judging time and small total graph judging quantity of the corresponding graph judging personnel as the graph judging task receiver.
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 hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. 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 invention. 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.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:服务调度方法、装置、电子设备及存储介质