CN107423785B - Work task confirmation method, system, device and storage medium based on two-dimension code - Google Patents

Work task confirmation method, system, device and storage medium based on two-dimension code Download PDF

Info

Publication number
CN107423785B
CN107423785B CN201710583858.9A CN201710583858A CN107423785B CN 107423785 B CN107423785 B CN 107423785B CN 201710583858 A CN201710583858 A CN 201710583858A CN 107423785 B CN107423785 B CN 107423785B
Authority
CN
China
Prior art keywords
terminal
work
confirmation
dimensional code
task
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
Application number
CN201710583858.9A
Other languages
Chinese (zh)
Other versions
CN107423785A (en
Inventor
沈东�
胡春梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Ganwei Software Technology Co ltd
Original Assignee
Shenzhen Ganwei Software Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ganwei Software Technology Co ltd filed Critical Shenzhen Ganwei Software Technology Co ltd
Priority to CN201710583858.9A priority Critical patent/CN107423785B/en
Publication of CN107423785A publication Critical patent/CN107423785A/en
Application granted granted Critical
Publication of CN107423785B publication Critical patent/CN107423785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a work task confirmation method based on a two-dimension code, which comprises the following steps: after receiving work confirmation information of the first terminal based on the two-dimensional code, acquiring position information of the first terminal according to the work confirmation information, and acquiring position information of the second terminal according to the two-dimensional code; calculating the distance between the first terminal and the second terminal according to the position information of the first terminal and the position information of the second terminal, and judging whether the distance is smaller than or equal to a preset distance; and when the distance is smaller than or equal to the preset distance, setting the state of the work task to be confirmed. The invention also discloses a work task confirmation system, a work task confirmation device and a storage medium based on the two-dimensional code. According to the invention, the server can judge whether the first terminal and the second terminal are within the preset distance according to the distance between the first terminal and the second terminal, so that the confirmation of the work task that the first terminal and the second terminal are in the same place is ensured, and the completion quality of the work task is ensured.

Description

Work task confirmation method, system, device and storage medium based on two-dimension code
Technical Field
The invention relates to the technical field of communication, in particular to a work task confirmation method, a work task confirmation system, a work task confirmation device and a work task confirmation storage medium based on two-dimension codes.
Background
When people work daily, the work completed by the people needs to be reported to the superior, and the superior confirms that the work is completed, so that the next work can be carried out. With the arrival of the big data, the accomplishment of the work task can generate the two-dimensional code from the work task, and then the two-dimensional code is scanned by the confirmation party of the work task to confirm the work task.
However, some work tasks need to be confirmed that both parties are in the same place, and a worker who completes the work task can send the two-dimensional code to the confirming party, so that the confirming party scans the two-dimensional code to confirm the work task.
Disclosure of Invention
The invention mainly aims to provide a work task confirmation method, a work task confirmation system, a work task confirmation device and a storage medium based on a two-dimensional code, and aims to solve the problem that the work task confirmation mode cannot ensure that confirmation parties are in the same place for confirmation, so that the completion quality of the work task cannot be ensured.
In order to achieve the above object, the present invention provides a work confirmation method based on a two-dimensional code, which includes the following steps:
after receiving work confirmation information of a first terminal based on a two-dimensional code, acquiring position information of the first terminal according to the work confirmation information, and acquiring position information of a second terminal according to the two-dimensional code, wherein the first terminal scans the two-dimensional code displayed by the second terminal so that the first terminal displays a work task of the second terminal;
calculating the distance between the first terminal and the second terminal according to the position information of the first terminal and the position information of the second terminal, and judging whether the distance is smaller than or equal to a preset distance;
and when the distance is smaller than or equal to a preset distance, setting the state of the work task to be confirmed.
Preferably, after receiving the work confirmation information of the first terminal based on the two-dimensional code, before the step of obtaining the position information of the first terminal according to the work confirmation information and obtaining the position information of the second terminal according to the two-dimensional code, the method further includes:
when a work confirmation request sent by a second terminal is received, acquiring the position information of the second terminal and the time point of the work confirmation request, and determining the work task according to the work confirmation request;
and generating the two-dimensional code according to the position information of the second terminal, the time point of the work confirmation request and the work task, and sending the two-dimensional code to the first terminal.
Preferably, the work task confirmation method based on the two-dimensional code further includes:
when the distance is smaller than or equal to a preset distance, acquiring a time point of the work confirmation request and a receiving time point of the work confirmation information;
calculating the interval duration of the time point of the work confirmation request and the receiving time point of the work confirmation information according to the time point of the work confirmation request and the receiving time point of the work confirmation information;
and when the interval duration is less than or equal to the preset duration, setting the state of the work task to be confirmed.
Preferably, the work task confirmation method based on the two-dimensional code further includes:
when a work confirmation request sent by a second terminal is received, judging whether the time point of the work confirmation request is within a preset time period;
and when the time point of the work confirmation request is within a preset time period, executing the step of determining the work task according to the work confirmation request.
Preferably, after the step of calculating the distance between the first terminal and the second terminal according to the position information of the first terminal and the position information of the second terminal, the method further includes:
determining a type of the work task;
and acquiring a corresponding preset distance according to the work task.
Preferably, the work task confirmation method based on the two-dimensional code further includes:
after receiving work confirmation information of a first terminal based on a two-dimensional code, acquiring an identity of the first terminal according to the work confirmation information;
judging whether the first terminal has a confirmation authority or not according to the identity of the first terminal;
and when the first terminal has the confirmation right, executing the step of acquiring the position information of the first terminal according to the confirmation information.
Preferably, the work task confirmation method based on the two-dimensional code further includes:
and after the state of the work task is set to be confirmed, sending prompt information of successful confirmation of the work task to the first terminal and the second terminal.
In order to achieve the above object, the present invention further provides a work confirmation system based on a two-dimensional code, where the work confirmation system based on a two-dimensional code includes: a first terminal, a second terminal, and a server, wherein,
the first terminal is used for sending work confirmation information based on the two-dimensional code to the server;
the second terminal is used for sending a work confirmation request to the server;
the server is used for acquiring the position information of the first terminal according to the work confirmation information after receiving the work confirmation information of the first terminal based on the two-dimensional code, acquiring the position information of the second terminal according to the two-dimensional code, calculating the distance between the first terminal and the second terminal according to the position information of the first terminal and the position information of the second terminal, judging whether the distance is smaller than or equal to a preset distance, and setting the state of the work task to be confirmed when the distance is smaller than or equal to the preset distance.
In order to achieve the above object, the present invention further provides a two-dimensional code based job task confirmation device, which includes a processor, a memory, and a two-dimensional code based job task confirmation program stored in the memory and executable on the processor, wherein the two-dimensional code based job task confirmation program implements the steps of the two-dimensional code based job task confirmation method when executed by the processor.
In order to achieve the above object, the present invention further provides a storage medium storing a two-dimensional code based job task confirmation program, wherein the two-dimensional code based job task confirmation program realizes the steps of the two-dimensional code based job task confirmation method when executed by a processor.
According to the work task confirmation method, the work task confirmation system, the work task confirmation device and the storage medium, after a server receives work confirmation information of a first terminal based on a two-dimensional code, position information of the first terminal is obtained according to the work confirmation information, and position information of a second terminal is obtained according to the two-dimensional code; then calculating the distance between the two and judging whether the distance is smaller than or equal to a preset distance; when the distance is smaller than or equal to a preset distance, setting the state of the work task to be confirmed; the server can judge whether the first terminal and the second terminal are within the preset distance through the distance between the first terminal and the second terminal, so that the confirmation of the work task that the first terminal and the second terminal are in the same place is ensured, and the completion quality of the work task is ensured.
Drawings
FIG. 1 is a schematic diagram of a system architecture to which embodiments of the present invention relate;
fig. 2 is a schematic diagram of a hardware structure of a server according to an embodiment of the present invention;
FIG. 3 is a schematic flowchart of a work task confirmation method based on two-dimensional codes according to a first embodiment of the present invention;
fig. 4 is a flowchart illustrating a work task confirmation method based on two-dimensional codes according to a second embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows: after receiving work confirmation information of a first terminal based on a two-dimensional code, a server acquires position information of the first terminal according to the work confirmation information and acquires position information of a second terminal according to the two-dimensional code; then calculating the distance between the two and judging whether the distance is smaller than or equal to a preset distance; and when the distance is smaller than or equal to a preset distance, setting the state of the work task to be confirmed.
In the prior art, some work tasks need to be confirmed that both parties are in the same place for confirmation, and a worker who finishes the work tasks can send the two-dimensional code to the confirming party, so that the confirming party scans the two-dimensional code to confirm the work tasks.
As shown in fig. 1, the system architecture related to the method of the present embodiment includes a first terminal, a second terminal, and a server.
The first terminal is used for sending work confirmation information based on the two-dimensional code to the server;
the second terminal is used for sending a work confirmation request to the server;
the server is used for acquiring the position information of the first terminal according to the work confirmation information after receiving the work confirmation information of the first terminal based on the two-dimensional code, acquiring the position information of the second terminal according to the two-dimensional code, calculating the distance between the first terminal and the second terminal according to the position information of the first terminal and the position information of the second terminal, judging whether the distance is smaller than or equal to a preset distance, and setting the state of the work task to be confirmed when the distance is smaller than or equal to the preset distance.
As an implementation scheme, the hardware structure of the server may be as shown in fig. 2.
Referring to fig. 2, the server may include: a processor 1001, such as a CPU, a memory 1002, and a communication bus 1003. The communication bus 1003 is used for implementing connection communication between the components in the server. The memory 1002 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 1002 may alternatively be a storage device separate from the processor 1001. As shown in fig. 2, the memory 1002, which is a kind of computer storage medium, may include therein an operating system, a network communication module, and a two-dimensional code-based job task confirmation program.
In the hardware involved in the server shown in fig. 2, the processor 1001 may be configured to call the two-dimensional code-based job task confirmation program stored in the memory 1002, and perform the following operations:
after receiving work confirmation information of a first terminal based on a two-dimensional code, acquiring position information of the first terminal according to the work confirmation information, and acquiring position information of a second terminal according to the two-dimensional code, wherein the first terminal scans the two-dimensional code displayed by the second terminal so that the first terminal displays a work task of the second terminal;
calculating the distance between the first terminal and the second terminal according to the position information of the first terminal and the position information of the second terminal, and judging whether the distance is smaller than or equal to a preset distance;
and when the distance is smaller than or equal to a preset distance, setting the state of the work task to be confirmed.
Further, in one embodiment, the processor 1001 may be configured to call the two-dimensional code based work task confirmation program stored in the memory 1002, and perform the following operations:
when a work confirmation request sent by a second terminal is received, acquiring the position information of the second terminal and the time point of the work confirmation request, and determining the work task according to the work confirmation request;
and generating the two-dimensional code according to the position information of the second terminal, the time point of the work confirmation request and the work task, and sending the two-dimensional code to the first terminal.
Further, in one embodiment, the processor 1001 may be configured to call the two-dimensional code based work task confirmation program stored in the memory 1002, and perform the following operations:
when the distance is smaller than or equal to a preset distance, acquiring a time point of the work confirmation request and a receiving time point of the work confirmation information;
calculating the interval duration of the time point of the work confirmation request and the receiving time point of the work confirmation information according to the time point of the work confirmation request and the receiving time point of the work confirmation information;
and when the interval duration is less than or equal to the preset duration, setting the state of the work task to be confirmed.
Further, in one embodiment, the processor 1001 may be configured to call the two-dimensional code based work task confirmation program stored in the memory 1002, and perform the following operations:
when a work confirmation request sent by a second terminal is received, judging whether the time point of the work confirmation request is within a preset time period;
and when the time point of the work confirmation request is within a preset time period, executing the step of determining the work task according to the work confirmation request.
Further, in one embodiment, the processor 1001 may be configured to call the two-dimensional code based work task confirmation program stored in the memory 1002, and perform the following operations:
determining a type of the work task;
and acquiring a corresponding preset distance according to the work task.
Further, in one embodiment, the processor 1001 may be configured to call the two-dimensional code based work task confirmation program stored in the memory 1002, and perform the following operations:
after receiving work confirmation information of a first terminal based on a two-dimensional code, acquiring an identity of the first terminal according to the work confirmation information;
judging whether the first terminal has a confirmation authority or not according to the identity of the first terminal;
and when the first terminal has the confirmation right, executing the step of acquiring the position information of the first terminal according to the confirmation information.
Further, in one embodiment, the processor 1001 may be configured to call the two-dimensional code based work task confirmation program stored in the memory 1002, and perform the following operations:
and after the state of the work task is set to be confirmed, sending prompt information of successful confirmation of the work task to the first terminal and the second terminal.
According to the scheme, after receiving the work confirmation information of the first terminal based on the two-dimensional code, the server acquires the position information of the first terminal according to the work confirmation information and acquires the position information of the second terminal according to the two-dimensional code; then calculating the distance between the two and judging whether the distance is smaller than or equal to a preset distance; when the distance is smaller than or equal to a preset distance, setting the state of the work task to be confirmed; the server can judge whether the first terminal and the second terminal are within the preset distance through the distance between the first terminal and the second terminal, so that the confirmation of the work task that the first terminal and the second terminal are in the same place is ensured, and the completion quality of the work task is ensured.
Based on the hardware architecture, the embodiment of the work task confirmation method based on the two-dimensional code is provided.
Referring to fig. 3, fig. 3 is a first embodiment of a work task confirmation method based on a two-dimensional code according to the present invention, where the work task confirmation method based on a two-dimensional code includes the following steps:
step S10, after receiving work confirmation information of a first terminal based on a two-dimensional code, acquiring position information of the first terminal according to the work confirmation information, and acquiring position information of a second terminal according to the two-dimensional code, wherein the first terminal scans the two-dimensional code displayed by the second terminal to enable the first terminal to display a work task of the second terminal;
in the invention, the first terminal and the second terminal can be mobile phones or computers, and can also be other intelligent devices with positioning functions and time recording functions. The server has a function of work confirmation, account information or terminal information of the holder (user) of the first terminal and the second terminal and the related co-worker of the holder is set in the server, and the server can be loaded in the terminal in the form of APP. After the two-dimensional code displayed by the second terminal is scanned by the first terminal, the first terminal sends a two-dimensional code identification request to the server, the server generates a page with the content contained in the analyzed two-dimensional code and sends the page to the first terminal after identifying and analyzing the two-dimensional code, the page contains a work task of the second terminal, the second terminal in the two-dimensional code requests the server for a time point of generating the two-dimensional code, the position information of the second terminal is recorded by the server, and the server can selectively load the content on the page.
Step S20, calculating the distance between the first terminal and the second terminal according to the position information of the first terminal and the position information of the second terminal, and judging whether the distance is smaller than or equal to a preset distance;
step S30, when the distance is less than or equal to the preset distance, setting the state of the work task to be confirmed;
in this embodiment, when a user (a second terminal holder) completes work or handover work, the content of the work may be input into an APP of the second terminal, the input mode may be text or voice, and meanwhile, the user needs to input information (such as account information or a mobile phone number bound to the server) of an approved object of the work task or a handover object of the work handover into the APP, after the user completes the input of the content, the user sends a work confirmation request to the server through the APP loaded in the second terminal, and the server obtains the work task (work content) according to the work confirmation request, and then generates the two-dimensional code. After the server generates the two-dimensional code, the server can search corresponding terminal information according to an object required to be approved by a work task input by a user, the server finds the corresponding terminal information, the server sends the two-dimensional code to the first terminal, the server also sends the two-dimensional code to the second terminal, so that the second terminal can directly send the two-dimensional code to the first terminal for identification, or the first terminal directly scans the two-dimensional code displayed by the second terminal, when the first terminal scans the two-dimensional code, an identification request of the two-dimensional code can be sent to the server, after the server analyzes the two-dimensional code, the analyzed information of the two-dimensional code is sent to the first terminal and displayed, and the displayed content comprises the work task of the second terminal. The approver information in the work confirmation request is not limited to terminal information and can be account information of the approver, and the server only needs to send the two-dimensional code to an account associated with the approver and the server. It should be noted that, the server may further confirm whether the terminal has the confirmation authority, and if so, send the two-dimensional code to the second terminal.
When the server receives a work confirmation request sent by the second terminal, the server positions the position of the second terminal and generates a two-dimensional code by the position of the second terminal, the time point of the work confirmation request and a work task in the work confirmation request; when receiving work confirmation information based on the two-dimensional code sent by the first terminal, the server can also locate the position of the first terminal, then calculate the distance between the first terminal and the second terminal, finally judge whether the distance between the first terminal and the second terminal is smaller than or equal to a preset distance (the preset distance can be any appropriate value), if the distance between the first terminal and the second terminal is smaller than or equal to the preset distance, the state of a work task is set to be confirmed, otherwise, prompt information that the work task is failed to be confirmed can be sent to the first terminal and the second terminal. In this embodiment, in this way, the approver and the approved person can be within a certain distance.
When the work task is confirmed, the first terminal sends confirmation information of the work task to the server, and after the server receives the request and sets the state of the work task to be confirmed, prompt information that the work task is confirmed successfully is sent to the first terminal and the second terminal.
It should be noted that there are some work tasks, and the approver needs to personally confirm whether the work is completed, for example, whether some buildings in the construction site reach a predetermined process; there are also tasks that require the approver and approvee to be within the company to be able to complete the validation. Based on the method, the work tasks can be divided into types, each type corresponds to a preset distance or a preset distance range, when the server compares the distance between the first terminal and the second terminal with the preset distance, the type of the work task sent by the second terminal needs to be confirmed first to confirm the corresponding preset distance, and therefore the server can achieve confirmation of the work tasks more intelligently.
In the technical scheme provided by this embodiment, after receiving work confirmation information of a first terminal based on a two-dimensional code, a server acquires position information of the first terminal according to the work confirmation information, and acquires position information of a second terminal according to the two-dimensional code; then calculating the distance between the two and judging whether the distance is smaller than or equal to a preset distance; when the distance is smaller than or equal to a preset distance, setting the state of the work task to be confirmed; the server can judge whether the first terminal and the second terminal are within the preset distance through the distance between the first terminal and the second terminal, so that the confirmation of the work task that the first terminal and the second terminal are in the same place is ensured, and the completion quality of the work task is ensured.
Referring to fig. 4, fig. 4 is a second embodiment of the work task confirmation method based on two-dimensional code according to the present invention, and based on the above embodiment, the step S30 includes:
step S31, when the distance is less than or equal to a preset distance, acquiring a time point of the work confirmation request and a time point of receiving the work confirmation information;
step S32, calculating an interval duration between the time point of the job confirmation request and the time point of receipt of the job confirmation information according to the time point of the job confirmation request and the time point of receipt of the job confirmation information;
step S33, when the interval duration is less than or equal to the preset duration, setting the state of the work task to be confirmed;
in this embodiment, the server sets the timeliness of the two-dimensional code, and the duration of the timeliness is the preset duration. The server records the time point of each operation, such as the generation time point of the two-dimensional code, the time point of receiving the confirmation information based on the two-dimensional code, and the time point of the work confirmation request. The server starts to calculate the aging of the two-dimensional code at the time point of the work confirmation request (or starts to calculate the failure of the two-dimensional code at the time point of the generation of the two-dimensional code of the second terminal), and ends the aging of the two-dimensional code when the first terminal sends the work confirmation information based on the two-dimensional code, and the server sets the state of the work task to be confirmed only when the interval duration between the two is less than the preset duration.
When the work task is a handover task (for example, shift change), or the approval of the work task can only be approved during a working time period, at this time, the server needs to determine whether a time point of a work confirmation request sent by the second terminal is within a preset time period (the preset time period refers to the shift change time period or the working time period, and the preset time period may be any suitable time region), and only when the work confirmation request is within the preset time period, the server generates the two-dimensional code according to the work confirmation request.
In the technical scheme provided by this embodiment, the server determines whether the two-dimensional code has timeliness by calculating the interval duration between the generation time point of the two-dimensional code and the receiving time point of the work confirmation information, so that the server can confirm the work task more intelligently, and the completion quality of the work task is further ensured.
The invention also provides a work confirmation system based on the two-dimensional code, which comprises the following components: a first terminal, a second terminal, and a server, wherein,
the first terminal is used for sending work confirmation information based on the two-dimensional code to the server;
the second terminal is used for sending a work confirmation request to the server;
the server is used for acquiring the position information of the first terminal according to the work confirmation information after receiving the work confirmation information of the first terminal based on the two-dimensional code, acquiring the position information of the second terminal according to the two-dimensional code, calculating the distance between the first terminal and the second terminal according to the position information of the first terminal and the position information of the second terminal, judging whether the distance is smaller than or equal to a preset distance, and setting the state of the work task to be confirmed when the distance is smaller than or equal to the preset distance.
The invention also provides a two-dimension code-based work task confirmation device, which comprises a processor, a memory and a two-dimension code-based work task confirmation program stored on the memory and capable of running on the processor, wherein when the two-dimension code-based work task confirmation program is executed by the processor, the steps of the two-dimension code-based work task confirmation method are realized.
The present invention further provides a storage medium, wherein the storage medium stores a two-dimensional code-based job task confirmation program, and the two-dimensional code-based job task confirmation program implements the steps of the two-dimensional code-based job task confirmation method according to the above embodiment when executed by a processor.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A work task confirmation method based on two-dimension codes is characterized by comprising the following steps:
after receiving work confirmation information of a first terminal based on a two-dimensional code, acquiring position information of the first terminal according to the work confirmation information, and acquiring position information of a second terminal according to the two-dimensional code, wherein the first terminal scans the two-dimensional code displayed by the second terminal to enable the first terminal to display a work task of the second terminal,said work The task is generated by the server according to the work confirmation request sent by the second terminal
Calculating the distance between the first terminal and the second terminal according to the position information of the first terminal and the position information of the second terminal, and judging whether the distance is smaller than or equal to a preset distance;
and when the distance is smaller than or equal to a preset distance, setting the state of the work task to be confirmed.
2. The method for confirming work tasks based on two-dimensional codes according to claim 1, wherein after receiving work confirmation information of a first terminal based on two-dimensional codes, the method further comprises the steps of obtaining position information of the first terminal according to the work confirmation information and obtaining position information of a second terminal according to the two-dimensional codes, wherein the steps comprise:
when a work confirmation request sent by a second terminal is received, acquiring the position information of the second terminal and the time point of the work confirmation request, and determining the work task according to the work confirmation request;
and generating the two-dimensional code according to the position information of the second terminal, the time point of the work confirmation request and the work task, and sending the two-dimensional code to the first terminal.
3. The two-dimensional code-based work task confirmation method according to claim 2, further comprising:
when the distance is smaller than or equal to a preset distance, acquiring a time point of the work confirmation request and a receiving time point of the work confirmation information;
calculating the interval duration of the time point of the work confirmation request and the receiving time point of the work confirmation information according to the time point of the work confirmation request and the receiving time point of the work confirmation information;
and when the interval duration is less than or equal to the preset duration, setting the state of the work task to be confirmed.
4. The two-dimensional code-based work task confirmation method according to claim 2, further comprising:
when a work confirmation request sent by a second terminal is received, judging whether the time point of the work confirmation request is within a preset time period;
and when the time point of the work confirmation request is within a preset time period, executing the step of determining the work task according to the work confirmation request.
5. The two-dimensional code-based work task confirmation method according to any one of claims 1 to 4, wherein after the step of calculating the distance between the first terminal and the second terminal according to the position information of the first terminal and the position information of the second terminal, the method further comprises:
determining a type of the work task;
and acquiring a corresponding preset distance according to the work task.
6. The two-dimensional code-based work task confirmation method according to any one of claims 1 to 4, further comprising:
after receiving work confirmation information of a first terminal based on a two-dimensional code, acquiring an identity of the first terminal according to the work confirmation information;
judging whether the first terminal has a confirmation authority or not according to the identity of the first terminal;
and when the first terminal has the confirmation right, executing the step of acquiring the position information of the first terminal according to the confirmation information.
7. The two-dimensional code-based work task confirmation method according to any one of claims 1 to 4, further comprising:
and after the state of the work task is set to be confirmed, sending prompt information of successful confirmation of the work task to the first terminal and the second terminal.
8. A work confirmation system based on a two-dimensional code, characterized in that the work task confirmation system based on a two-dimensional code comprises: a first terminal, a second terminal, and a server, wherein,
the first terminal is used for sending work confirmation information based on the two-dimensional code to the server;
the second terminal is used for sending a work confirmation request to the server,so that the server confirms according to the work Requesting to generate a work task and generating a two-dimensional code according to the work task
The server is used for acquiring the position information of the first terminal according to the work confirmation information after receiving the work confirmation information of the first terminal based on the two-dimensional code, acquiring the position information of the second terminal according to the two-dimensional code, calculating the distance between the first terminal and the second terminal according to the position information of the first terminal and the position information of the second terminal, judging whether the distance is smaller than or equal to a preset distance, and setting the state of the work task to be confirmed when the distance is smaller than or equal to the preset distance.
9. A two-dimensional code based job task confirmation apparatus, wherein the two-dimensional code based job task confirmation apparatus comprises a processor, a memory, and a two-dimensional code based job task confirmation program stored on the memory and executable on the processor, and the two-dimensional code based job task confirmation program, when executed by the processor, implements the steps of the two-dimensional code based job task confirmation method according to any one of claims 1 to 7.
10. A storage medium, characterized in that the storage medium stores a two-dimensional code-based job task confirmation program, which when executed by a processor implements the steps of the two-dimensional code-based job task confirmation method according to any one of claims 1 to 7.
CN201710583858.9A 2017-07-17 2017-07-17 Work task confirmation method, system, device and storage medium based on two-dimension code Active CN107423785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710583858.9A CN107423785B (en) 2017-07-17 2017-07-17 Work task confirmation method, system, device and storage medium based on two-dimension code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710583858.9A CN107423785B (en) 2017-07-17 2017-07-17 Work task confirmation method, system, device and storage medium based on two-dimension code

Publications (2)

Publication Number Publication Date
CN107423785A CN107423785A (en) 2017-12-01
CN107423785B true CN107423785B (en) 2020-09-08

Family

ID=60430224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710583858.9A Active CN107423785B (en) 2017-07-17 2017-07-17 Work task confirmation method, system, device and storage medium based on two-dimension code

Country Status (1)

Country Link
CN (1) CN107423785B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509818B (en) * 2018-03-23 2021-09-21 西安艾润物联网技术服务有限责任公司 Two-dimensional code scanning method and device and computer readable storage medium
CN112199181A (en) * 2020-10-23 2021-01-08 劢微机器人科技(深圳)有限公司 Information interaction system and method based on two-dimensional code

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002043393A1 (en) * 2000-11-27 2002-05-30 Akio Watanabe Quality control method for job by worker using a photographic device
CN202339618U (en) * 2011-11-18 2012-07-18 重庆市电力公司电力科学研究院 Intelligent navigation system for inspection in substation work area
CN103152693A (en) * 2013-01-18 2013-06-12 北京小米科技有限责任公司 Method and device for data processing based on position
CN103810765A (en) * 2012-11-08 2014-05-21 苏州博远容天信息科技有限公司 Station field personnel work attendance checking method based on NFC technology
CN104463481A (en) * 2014-12-18 2015-03-25 国家电网公司 Electric power construction site safety control method
CN204650581U (en) * 2015-04-15 2015-09-16 国网辽宁省电力有限公司鞍山供电公司 A kind of electric field safe mass observation system
CN204856582U (en) * 2015-06-09 2015-12-09 江苏省电力公司苏州供电公司 A certification system for power equipment maintenance task
CN105530270A (en) * 2014-09-28 2016-04-27 深圳前海百递网络有限公司 Message sending method and server
CN105678505A (en) * 2015-12-31 2016-06-15 合肥大多数信息科技有限公司 On-site standardized operation guidance system based on smart phone
CN105930989A (en) * 2016-06-24 2016-09-07 平安科技(深圳)有限公司 Crowdsourcing-based house survey method and server
CN106127367A (en) * 2016-06-15 2016-11-16 中邮建技术有限公司 A kind of scene anti-cheating inspection method single with random group based on mobile terminal
CN106127317A (en) * 2016-07-15 2016-11-16 广州医科大学附属第医院 Armarium maintaining management system based on quickly response Quick Response Code and method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110196784A1 (en) * 2010-02-09 2011-08-11 Yechiel Newman System and method for incentivizing and confirming the completion of tasks using an electronic escrow service

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002043393A1 (en) * 2000-11-27 2002-05-30 Akio Watanabe Quality control method for job by worker using a photographic device
CN202339618U (en) * 2011-11-18 2012-07-18 重庆市电力公司电力科学研究院 Intelligent navigation system for inspection in substation work area
CN103810765A (en) * 2012-11-08 2014-05-21 苏州博远容天信息科技有限公司 Station field personnel work attendance checking method based on NFC technology
CN103152693A (en) * 2013-01-18 2013-06-12 北京小米科技有限责任公司 Method and device for data processing based on position
CN105530270A (en) * 2014-09-28 2016-04-27 深圳前海百递网络有限公司 Message sending method and server
CN104463481A (en) * 2014-12-18 2015-03-25 国家电网公司 Electric power construction site safety control method
CN204650581U (en) * 2015-04-15 2015-09-16 国网辽宁省电力有限公司鞍山供电公司 A kind of electric field safe mass observation system
CN204856582U (en) * 2015-06-09 2015-12-09 江苏省电力公司苏州供电公司 A certification system for power equipment maintenance task
CN105678505A (en) * 2015-12-31 2016-06-15 合肥大多数信息科技有限公司 On-site standardized operation guidance system based on smart phone
CN106127367A (en) * 2016-06-15 2016-11-16 中邮建技术有限公司 A kind of scene anti-cheating inspection method single with random group based on mobile terminal
CN105930989A (en) * 2016-06-24 2016-09-07 平安科技(深圳)有限公司 Crowdsourcing-based house survey method and server
CN106127317A (en) * 2016-07-15 2016-11-16 广州医科大学附属第医院 Armarium maintaining management system based on quickly response Quick Response Code and method thereof

Also Published As

Publication number Publication date
CN107423785A (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN108549799B (en) Android permission management method and device, terminal and computer storage medium
CN108388988B (en) Block chain-based collaborative office method, system and computer-readable storage medium
CN102651700A (en) Management test automation
CN107729014B (en) Page jump method and structure based on Android
CN108776592B (en) Page construction method, device, equipment and storage medium
CN107438054B (en) Method and system for realizing menu information control based on public platform
CN107423785B (en) Work task confirmation method, system, device and storage medium based on two-dimension code
CN110909330A (en) Vehicle networking platform authorization method, device, equipment and storage medium
CN109034603B (en) Business process execution method, device and computer readable storage medium
CN111147402A (en) Method and device for customizing factory setting items of switch, switch and system
CN111245841A (en) Account authorization method and system
CN105072082A (en) Method and device for transmitting verification code
CN108509818B (en) Two-dimensional code scanning method and device and computer readable storage medium
CN104639973B (en) Information pushing method and device
CN110673970B (en) Cross-process calling system and method based on web application
CN112492577B (en) Profile migration method and device, SM-DP + and operator background system
CN106843917B (en) Driver loading method and device
CN111045725A (en) Control method, device and storage medium of code management system
WO2020019291A1 (en) Information processing method, electronic device, server, and information processing system
US20030023667A1 (en) Information processing method, information processing apparatus, and program product
CN113821737B (en) Map rendering method, device, equipment and storage medium for single page application
CN113660288B (en) User number binding method and system based on block chain system
US20210385296A1 (en) Method for configuring an internet service provider
CN111046682A (en) Remote control method, device, system and terminal
CN113159800B (en) Identity authentication processing method and device

Legal Events

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