CN114155062A - Order obtaining method, device, equipment and computer readable storage medium - Google Patents

Order obtaining method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN114155062A
CN114155062A CN202111461174.4A CN202111461174A CN114155062A CN 114155062 A CN114155062 A CN 114155062A CN 202111461174 A CN202111461174 A CN 202111461174A CN 114155062 A CN114155062 A CN 114155062A
Authority
CN
China
Prior art keywords
target user
user
target
resource
verification result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111461174.4A
Other languages
Chinese (zh)
Inventor
张志达
姜志超
王攀月
蔡四兵
李晋
苑仁楷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online 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 Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202111461174.4A priority Critical patent/CN114155062A/en
Publication of CN114155062A publication Critical patent/CN114155062A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses an order obtaining method, an order obtaining device, order obtaining equipment and a computer readable storage medium, and belongs to the technical field of computers. The method comprises the following steps: acquiring user information and order information of a target user; acquiring a first verification result of a travel record of a target user in a first time period based on user information of the target user; and generating the target order based on the order information in response to the first verification result being a pass. The method can improve the flexibility of order acquisition and improve the efficiency of order acquisition.

Description

Order obtaining method, device, equipment and computer readable storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to an order obtaining method, an order obtaining device, order obtaining equipment and a computer readable storage medium.
Background
With the continuous development of computer technology, more and more things can be done without people going out. For example, one may obtain a resource without going out of home, thereby requiring an order obtaining method to generate an order to obtain the resource.
In the related art, an application program for acquiring a resource (e.g., a medicine) is installed and executed in a terminal, and a user determines the resource to be acquired in the application program. When a large-scale emergency event, such as a virus infection event, is encountered, in order to prevent further fermentation of the event, when a user acquires resources, it is determined whether the user's location belongs to a restricted area. And responding to the situation that the position of the user does not belong to the limited area, and the terminal generates the target order based on the resources needing to be acquired.
However, according to the order obtaining method, when the position of the user does not belong to the limited area, the target order is obtained, so that the order obtaining flexibility is low, and the order obtaining efficiency is low.
Disclosure of Invention
The embodiment of the application provides an order obtaining method, an order obtaining device, order obtaining equipment and a computer readable storage medium, which can be used for solving the problems in the related art. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides an order obtaining method, where the method includes:
acquiring user information and order information of a target user;
acquiring a first verification result of a travel record of the target user in a first time period based on the user information of the target user;
and generating a target order based on the order information in response to the first verification result being a pass.
In one possible implementation, the user information includes a user identifier; the obtaining a first verification result of the travel record of the target user in a first time period based on the user information of the target user includes:
sending a first verification request to a first server, wherein the first verification request carries the user identifier of the target user and the first time period, and processing the first verification request through the first server to obtain a first verification result of the travel record of the target user in the first time period;
and receiving a first verification result returned by the first server based on the first verification request.
In one possible implementation, the user information includes a reference image, and the reference image is used for representing the health state of the target user; the obtaining a first verification result of the travel record of the target user in a first time period based on the user information of the target user includes:
identifying the reference image to obtain an identification result of the reference image;
responding to the identification result of the reference image as a pass, sending the reference image to a second server, and processing the reference image through the second server to obtain a first verification result of the travel record of the target user in a first time period;
and receiving the first verification result returned by the second server.
In one possible implementation, the user information includes a user identifier; the obtaining a first verification result of the travel record of the target user in a first time period based on the user information of the target user includes:
sending an acquisition request to a third server, wherein the acquisition request carries the user identifier of the target user, and the acquisition request is used for acquiring the travel record of the target user in the first time period;
receiving a travel record of the target user in the first time period, returned by the third server based on the acquisition request;
acquiring a reference position, wherein the position attribute of the reference position at the current moment meets the attribute requirement;
and verifying the travel record of the target user in the first time period based on the reference position to obtain the first verification result.
In a possible implementation manner, the order information includes a resource identifier of at least one resource to be acquired by the target user, and after the user information and the order information of the target user are acquired, the method further includes:
determining a resource type of each resource based on the resource identifier of the at least one resource;
responding to the existence of the resource with the resource type meeting the type requirement in the at least one resource, acquiring user information of a user using the at least one resource, and acquiring a third verification result of the user in a first time period based on the user information of the user;
the generating a target order based on the order information in response to the first verification result being a pass comprises:
and generating a target order based on the order information in response to the third verification result and the first verification result both passing.
In a possible implementation manner, the order information includes a resource identifier of at least one resource to be acquired by the target user; the obtaining a first verification result of the travel record of the target user in a first time period based on the user information of the target user includes:
determining a resource type of each resource based on the resource identifier of the at least one resource;
and in response to the existence of the resource with the resource type meeting the type requirement in the at least one resource, acquiring a first verification result of the travel record of the target user in a first time period based on the user information of the target user.
In a possible implementation manner, the obtaining, in response to a resource whose resource type meets a type requirement existing in the at least one resource, a first verification result of a travel record of the target user in a first time period based on the user information of the target user includes:
responding to the resource with the resource type meeting the type requirement in the at least one resource, and verifying the position of the target user to obtain a second verification result;
and in response to the second verification result being passed, acquiring a first verification result of the travel record of the target user in the first time period based on the user information of the target user.
In one possible implementation, the method further includes:
in response to that at least one of the first verification result and the second verification result is failed, obtaining target content corresponding to the target user, where the target content is used to indicate a reason for the target user to obtain the at least one resource;
and executing corresponding processes based on the target content.
In one possible implementation manner, the executing, based on the target content, a corresponding process includes:
in response to the target content meeting a content requirement, generating the target order based on a resource identification of the at least one resource and a location of the target user;
and responding to the target content not meeting the content requirement, and displaying prompt information, wherein the prompt information is used for indicating the target user to carry out health service.
In one possible implementation, the method further includes:
in response to the target content not meeting the content requirements, determining a target object based on the location of the target user, the target object may provide a health service;
reserving the health service provided by the target object for the target user based on the user information of the target user.
In a possible implementation manner, after the displaying the prompt message, the method further includes:
and sending a notification message to a fifth server, wherein the notification message is used for indicating the fifth server to change the health state of the target user.
In a possible implementation manner, the verifying the location of the target user to obtain a second verification result includes:
sending a second verification request to a fourth server, wherein the second verification request carries the position of the target user, and verifying the position of the target user through the fourth server to obtain a second verification result;
and receiving a second verification result returned by the fourth server based on the second verification request.
In a possible implementation manner, the verifying the location of the target user to obtain a second verification result includes:
acquiring a reference position, wherein the position attribute of the reference position at the current moment meets the attribute requirement;
and verifying the position of the target user based on the reference position to obtain a second verification result.
On the other hand, an embodiment of the present application provides an order obtaining apparatus, including:
the acquisition module is used for acquiring user information and order information of a target user;
the obtaining module is further configured to obtain a first verification result of the travel record of the target user in a first time period based on the user information of the target user;
and the generating module is used for responding to the first verification result that the order passes, and generating a target order based on the order information.
In one possible implementation, the user information includes a user identifier; the obtaining module is configured to send a first verification request to a first server, where the first verification request carries a user identifier of the target user and the first time period, and process the first verification request through the first server to obtain a first verification result of a travel record of the target user in the first time period; and receiving a first verification result returned by the first server based on the first verification request.
In one possible implementation, the user information includes a reference image, which is used to indicate a health status of the target user; the acquisition module is used for identifying the reference image to obtain an identification result of the reference image; responding to the identification result of the reference image as a pass, sending the reference image to a second server, and processing the reference image through the second server to obtain a first verification result of the travel record of the target user in a first time period; and receiving the first verification result returned by the second server.
In one possible implementation, the user information includes a user identifier; the acquisition module is configured to send an acquisition request to a third server, where the acquisition request carries a user identifier of the target user, and the acquisition request is used to acquire a travel record of the target user in the first time period; receiving a travel record of the target user in the first time period, returned by the third server based on the acquisition request; acquiring a reference position, wherein the position attribute of the reference position at the current moment meets the attribute requirement; and verifying the travel record of the target user in the first time period based on the reference position to obtain the first verification result.
In a possible implementation manner, the order information includes a resource identifier of at least one resource to be acquired by the target user;
the obtaining module is further configured to determine a resource type of each resource based on the resource identifier of the at least one resource; responding to the existence of the resource with the resource type meeting the type requirement in the at least one resource, acquiring user information of a user using the at least one resource, and acquiring a third verification result of the user in a first time period based on the user information of the user;
and the generating module is used for responding to the third verification result and the first verification result, and generating the target order based on the order information.
In a possible implementation manner, the order information includes a resource identifier of at least one resource to be acquired by the target user;
the acquiring module is configured to determine a resource type of each resource based on the resource identifier of the at least one resource; and in response to the existence of the resource with the resource type meeting the type requirement in the at least one resource, acquiring a first verification result of the travel record of the target user in a first time period based on the user information of the target user.
In a possible implementation manner, the obtaining module is configured to verify a location of the target user in response to a resource whose resource type meets a type requirement exists in the at least one resource, so as to obtain a second verification result; and in response to the second verification result being passed, acquiring a first verification result of the travel record of the target user in the first time period based on the user information of the target user.
In a possible implementation manner, the obtaining module is further configured to obtain target content corresponding to the target user in response to that at least one of the first verification result and the second verification result is failed, where the target content is used to indicate a reason for the target user to obtain the at least one resource; and executing corresponding processes based on the target content.
In a possible implementation manner, the generating module is configured to generate the target order based on the resource identifier of the at least one resource and the location of the target user in response to the target content meeting a content requirement;
the device further comprises:
and the display module is used for responding to the condition that the target content does not meet the content requirement and displaying prompt information, wherein the prompt information is used for indicating the target user to carry out health service.
In one possible implementation, the apparatus further includes:
a determination module to determine a target object based on a location of the target user in response to the target content not meeting the content requirement, the target object to provide a health service;
a reservation module to reserve the health service provided by the target object for the target user based on user information of the target user.
In one possible implementation, the determining module is configured to determine a plurality of candidate objects based on the location of the target user, where the candidate objects may provide the health service; obtaining object information of each candidate object, wherein the object information comprises at least one of remaining health service name and distance between the target user and the position of the target user in a second time period, and the second time period is later than the first time period; determining the target object among the plurality of candidate objects based on the object information of the respective candidate objects.
In one possible implementation, the subject information includes a remaining health service denomination and a distance from a location of the target user over a second time period;
the determining module is used for taking a candidate object with the remaining health service quota larger than a target threshold value in the plurality of candidate objects as a reference object; and taking the reference object with the distance between the reference object and the position of the target user meeting the distance requirement as the target object.
In one possible implementation, the apparatus further includes:
and the sending module is used for sending a notification message to a fifth server, wherein the notification message is used for indicating the fifth server to change the health state of the target user.
In a possible implementation manner, the obtaining module is configured to send a second verification request to a fourth server, where the second verification request carries the location of the target user, and verify the location of the target user by using the fourth server to obtain a second verification result; and receiving a second verification result returned by the fourth server based on the second verification request.
In a possible implementation manner, the obtaining module is configured to obtain a reference position, and a position attribute of the reference position at a current time meets an attribute requirement; and verifying the position of the target user based on the reference position to obtain a second verification result.
On the other hand, an embodiment of the present application provides an electronic device, where the electronic device includes a processor and a memory, where the memory stores at least one program code, and the at least one program code is loaded and executed by the processor, so that the electronic device implements any one of the order obtaining methods described above.
In another aspect, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor, so as to make a computer implement any of the above order obtaining methods.
In another aspect, a computer program or a computer program product is provided, in which at least one computer instruction is stored, and the at least one computer instruction is loaded and executed by a processor, so as to enable a computer to implement any one of the above order obtaining methods.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
according to the technical scheme provided by the embodiment of the application, when the target order is obtained, the target order is obtained according to the first verification result of the travel record of the target user in the first time period, and if the first verification result is passed, the target order is obtained. Moreover, when the first verification result of the travel record of the target user in the first time period is obtained, the first verification result is obtained based on the user information of the target user, so that the obtaining efficiency of the first verification result is high, the obtaining accuracy is high, and the obtaining efficiency of the target order is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of an order obtaining method according to an embodiment of the present application;
fig. 2 is a flowchart of an order obtaining method according to an embodiment of the present application;
fig. 3 is a flowchart illustrating a reporting process of resource acquisition information of a target user according to an embodiment of the present application;
fig. 4 is a process diagram for determining whether an object corresponding to a target order provides at least one resource for a target user according to an embodiment of the present application;
fig. 5 is a flowchart of an order obtaining method according to an embodiment of the present application;
fig. 6 is a flowchart of an order obtaining method according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an order obtaining apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of an order obtaining method according to an embodiment of the present application, and as shown in fig. 1, the implementation environment includes: a terminal device 101 and a server 102.
The terminal device 101 may be at least one of a smartphone, a gaming console, a desktop computer, a tablet computer, an e-book reader, and a laptop portable computer. The terminal device 101 is configured to execute the order obtaining method provided in the embodiment of the present application.
The terminal device 101 may be generally referred to as one of a plurality of terminal devices, and the present embodiment is only illustrated by the terminal device 101. Those skilled in the art will appreciate that the number of terminal devices 101 may be greater or fewer. For example, the number of the terminal device 101 may be only one, or the number of the terminal device 101 may be several tens or several hundreds, or more, and the number of the terminal devices and the device types are not limited in the embodiment of the present application.
The server 102 may be one server, or a server cluster formed by multiple servers, or may be any one of a cloud computing platform and a virtualization center, which is not limited in this embodiment of the present application. The server 102 and the terminal apparatus 101 are communicatively connected via a wired network or a wireless network. The server 102 has functions of data reception, data processing, and data transmission. Of course, the server 102 may also have other functions, which are not limited in this embodiment.
Based on the foregoing implementation environment, an embodiment of the present application provides an order obtaining method, which may be executed by the terminal device 101 in fig. 1, taking a flowchart of the order obtaining method provided in the embodiment of the present application shown in fig. 2 as an example. As shown in fig. 2, the method includes, but is not limited to, the following steps 201-203.
In step 201, user information and order information of a target user are acquired.
In the exemplary embodiment of the present application, a first application program for acquiring a resource is installed and executed in a terminal device. The first application may be any type of application, and the embodiment of the present application is not limited thereto. For example, the first application may be a shopping application or a life application. Regardless of the first application, the resource available for the first application may be any type of resource, such as medicine, clothes, food, and the like, which is not limited in the embodiment of the present application. The embodiment of the present application is described by taking only the resource type of the resource acquired by the application as an example.
In a possible implementation manner, the order information includes a resource identifier of at least one resource to be acquired by the target user and a location of the target user, and the acquiring process of the resource identifier of the at least one resource is as follows: a plurality of applications are displayed in the terminal device. And responding to a selected instruction of the target user for the first application program, and displaying a home page of the first application program on the terminal equipment, wherein a plurality of selectable resources are displayed on the home page of the first application program. And responding to a selection instruction of the target user for at least one selectable resource in the plurality of selectable resources, taking the selected at least one selectable resource as at least one resource to be acquired by the target user, and further acquiring a resource identifier of the at least one resource.
The resource identifier is an identifier capable of uniquely representing one resource, and the resource identifier may be a resource name or a resource code, which is not limited in the embodiment of the present application.
In a possible implementation manner, a second application with a positioning function is also installed and operated in the terminal device, and the terminal device obtains the position of the target user by calling the second application. The second application program is exemplarily a Global Positioning System (GPS), and of course, the second application program may also be another type of application program, which is not limited in this embodiment of the present application. Optionally, in addition to acquiring the location of the target user by using the second application program, the target user may input a location, and the location input by the target user is used as the location corresponding to the target user.
In one possible implementation, the user information includes at least one of a user identification and a reference image. And when the user information comprises the reference image, the terminal equipment displays an image acquisition page, and the image acquisition page is used for acquiring the reference image. The target user intercepts a reference image for representing the health state of the target user, and the reference image is at least one of a health code image and a travel code image. And uploading the reference image to an image acquisition page by the target user, namely acquiring the reference image of the target user by the terminal equipment. When the user information comprises the user identification, the account of the target user is logged in the first application program, and the terminal equipment directly acquires the user identification of the target user logged in the first application program.
Optionally, a resource acquisition control is also displayed in the home page of the first application program, and in response to a selection instruction of the user on the resource acquisition control, the terminal device acquires a resource acquisition request, where the resource acquisition request carries user information and order information of the target user. In a possible implementation manner, after the terminal device obtains the resource obtaining request, the terminal device analyzes the resource obtaining request to obtain user information and order information of the target user.
Optionally, the terminal device may further obtain basic information of the target user, where the basic information includes information such as name, gender, address, and identification number of the target user. This is not limited in the examples of the present application. The manner of obtaining the basic information of the target user includes but is not limited to: the display information acquisition card displays a plurality of basic information items, responds to the input operation of a target user on the plurality of basic information items, and acquires the basic information of the target user. When the target user acquires the resource in the first application program for the first time, the basic information of the target user can be stored, and when the target user acquires the resource in the first application program for the Nth time, the basic information of the target user can be acquired in a one-key backfill mode. N is a positive integer greater than 1.
In step 202, a first verification result of the travel record of the target user in the first time period is obtained based on the user information of the target user.
In a possible implementation manner, before obtaining the first verification result of the travel record of the target user in the first time period, the resource type of each resource needs to be determined based on the resource identifier of at least one resource. And when the resource with the resource type meeting the type requirement exists in the at least one resource and the user using the at least one resource and the target user are the same user, acquiring a first verification result of the travel record of the target user in a first time period based on the user information of the target user.
Optionally, when there is a resource in the at least one resource whose resource type meets the type requirement and the user using the at least one resource and the target user are two different users, user information of the user using the at least one resource also needs to be acquired. And acquiring a third verification result of the travel record of the user in the first time period based on the user information of the user.
In the embodiment of the application, the first verification result may be obtained first, and then the third verification result may be obtained. Or the third verification result may be obtained first and then the first verification result may be obtained. The third verification result and the first verification result are not limited in the acquisition order in the embodiment of the present application.
Optionally, using the user information of the user includes using at least one of a user identification of the user and a reference image. The terminal equipment displays the user information acquisition page of the user, and the target user fills the user information of the user in the user information acquisition page of the user, so that the terminal equipment acquires the user information of the user. The process of acquiring the third verification result is similar to the process of acquiring the first verification result, and details of the process of acquiring the subsequent first verification result are not described herein again.
Optionally, when both the third verification result and the first verification result pass, the target order is generated based on the order information, which is detailed in step 203 and is not described herein again.
Optionally, when there is a resource whose resource type meets the type requirement in at least one resource, the location of the target user needs to be verified, and a second verification result is obtained. And when the second verification result is passed, acquiring a first verification result of the travel record of the target user in the first time period based on the user information of the target user.
The resource identifier includes, but is not limited to, a label for indicating a resource type, and the resource type of each resource is determined based on the resource identifier of each resource. The process of determining whether there is a resource of a resource type satisfying the type requirement in the at least one resource includes: and acquiring a reference resource identifier of which the resource type meets the type requirement. And in response to the existence of the resource with the resource identification consistent with the reference resource identification in the at least one resource, determining that the resource with the resource type meeting the type requirement exists in the at least one resource. And in response to that no resource with the resource identification consistent with the reference resource identification exists in the at least one resource, determining that no resource with the resource type meeting the type requirement exists in the at least one resource.
Alternatively, when a large-scale emergency event is encountered, such as a viral infection event, the resource whose resource type meets the type requirement is used to indicate the resource associated with the viral infection event. Illustratively, a resource of a resource type that meets the type requirements is used to indicate a fever reduction medication.
Exemplarily, the resource identifier of at least one resource to be acquired by the target user is respectively: resource one, resource two, and resource three. The reference resource whose resource type satisfies the type requirement is identified as resource three. And determining that the resource with the resource type meeting the type requirement exists in the at least one resource because the reference resource identifier exists in the resource identifier of the at least one resource to be acquired by the target user.
In one possible implementation manner, the location of the target user is verified in the following two implementation manners, and a second verification result is obtained.
In the first implementation manner, the terminal device obtains the second verification result through interaction with the fourth server.
In a possible implementation manner, the terminal device generates a second verification request based on the location of the target user, where the second verification request carries the location of the target user. The terminal device and the fourth server are in communication connection through a wired network or a wireless network, and the terminal device sends the second verification request to the fourth server. And the fourth server receives the second verification request, analyzes the second verification request to obtain the position of the target user, and verifies the position of the target user to obtain a second verification result. And the fourth server sends the second verification result to the terminal equipment. And the terminal device receives a second verification result returned by the fourth server based on the second verification request, that is, the terminal device obtains the second verification result.
And the fourth server stores a reference position, and the position attribute of the reference position at the current moment meets the attribute requirement. Illustratively, the reference location is a restricted area, such as a high risk area.
Optionally, the step of verifying the location of the target user by the fourth server to obtain the second verification result includes: and the fourth server verifies the position of the target user based on the reference position to obtain a second verification result. Optionally, in response to the presence of the location of the target user in the reference location, the second verification result is failed. In response to the absence of the location of the target user in the reference location, the second verification result is a pass.
Illustratively, the target user's location is location one, and the reference locations include location one, location two, and location three. Since the location of the target user exists in the reference location, the second verification result is not passed.
For another example, the target user's location is location four, and the reference locations include location one, location two, and location three. Since the location of the target user does not exist in the reference location, the second verification result is a pass.
And the terminal equipment acquires the reference position, verifies the position of the target user based on the reference position and obtains a second verification result.
Optionally, the terminal device obtains a reference position, and a position attribute of the reference position at the current time meets the attribute requirement. And the terminal equipment verifies the position of the target user based on the reference position to obtain a second verification result. In response to the presence of the location of the target user in the reference location, the second verification result is failed. In response to the absence of the location of the target user in the reference location, the second verification result is a pass.
In one possible implementation manner, the manner in which the terminal device acquires the reference position includes the following two manners. The first mode is as follows: and the terminal equipment sends a position acquisition request to the fourth server, wherein the position acquisition request is used for acquiring the reference position. And after receiving the position acquisition request, the fourth server determines the reference position. And the fourth server returns the reference position to the terminal equipment, namely the terminal equipment acquires the reference position. The second mode is as follows: the reference position is stored in the storage space of the terminal device, and the terminal device acquires the reference position from the storage space of the terminal device. Of course, the reference position may also be obtained in other manners, and the obtaining manner of the reference position is not limited in the embodiment of the present application.
It should be noted that any one of the above-mentioned implementation manners may be adopted to obtain the second verification result, which is not limited in the embodiment of the present application.
In one possible implementation manner, in response to the first verification result being passed, there are three obtaining manners that obtain the first verification result of the travel record of the target user in the first time period based on the user information of the target user.
The first obtaining method includes that user information comprises user identification, and a first verification result of a travel record of a target user in a first time period is obtained based on an interaction process of the terminal device and the first server.
In one possible implementation, the terminal device and the first server are communicatively connected via a wired network or a wireless network. The terminal device generates a first verification request based on the first time period and the user identification of the target user, wherein the first verification request carries the first time period and the user identification of the target user, and the first verification request is used for obtaining a first verification result of the travel record of the target user in the first time period. The terminal device sends a first authentication request to the first server. The first server receives the first verification request, analyzes the first verification request to obtain a first time period and a user identifier of the target user, and obtains a first verification result of the travel record of the target user in the first time period based on the first time period and the user identifier of the target user. And the first server sends the first verification result to the terminal equipment. The terminal device receives a first verification result returned by the first server based on the first verification request, that is, the terminal device obtains the first verification result of the travel record of the target user in the first time period.
The first time period is used for indicating a time period obtained by moving forwards from the current time by a first time length. The first time length is set based on experience or adjusted according to an application scenario, and the first time length may be any time length, which is not limited in the embodiment of the present application. Illustratively, the first duration is 14 days, and the first time period is used to indicate a time period taken to move back 14 days from the current time. For example, if the current time is 11/27 days 2021, and the first duration is 14 days, the first time period is 14 days at 11/2021 to 27 days at 11/2021.
Optionally, the travel record of the target user over the first time period is used to indicate where the target user arrived within the first time period.
Optionally, the process of the first server obtaining, based on the first time period and the user identifier of the target user, a first verification result of the travel record of the target user in the first time period includes: the first server obtains the historical travel record of the target user based on the user identification of the target user. Based on the first time period, determining the travel record of the target user in the first time period in the historical travel record of the target user. The first server acquires a reference position, and the position attribute of the reference position at the current moment meets the attribute requirement. The first server obtains a first verification result based on the reference position and the travel record of the target user in the first time period.
Optionally, in response to the target user having a reference location in the trip record for the first time period, the first verification result is failed. That is, the target user arrives at the over-restricted area within the first time period. In response to the target user not having a reference location in the trip record for the first time period, the first verification result is a pass. That is, the target user has not reached the restricted area for the first period of time.
Illustratively, the reference positions include position one, position two, and position three. The travel record of the target user in the first time period comprises a position four, a position five and a position six. The first verification result is passed since the target user does not have the reference location in the travel record for the first time period.
Also for example, the reference positions include position one, position two, and position three. The travel record of the target user in the first time period comprises a third position, a fourth position, a fifth position and a sixth position. The first verification result is not passed because the target user has the reference position in the travel record of the first time period.
And in the second acquisition mode, the user information comprises a reference image. Based on the reference image of the target user, a first verification result of the travel record of the target user in a first time period is obtained.
In a possible implementation manner, the terminal device identifies the reference image to obtain an identification result of the reference image. And responding to the image result of the reference image as a pass, sending the reference image to a second server, and processing the reference image through the second server to obtain a first verification result of the travel record of the target user in the first time period. And the terminal equipment receives a first verification result returned by the second server.
Optionally, the process of identifying the reference image by the terminal device to obtain the identification result of the reference image includes: the terminal device determines whether the reference image has been modified (e.g., image alteration, image modification, etc.). In response to the reference image being an unmodified image, information included in the reference image is extracted. And verifying the information contained in the reference image based on the basic information of the target user. The color of the reference image is extracted in response to verification of information included in the reference image. And in response to the color of the reference image being the first color, determining that the identification result of the reference image is a pass. And in response to the color of the reference image being the second color, determining that the identification result of the reference image is failed.
The information included in the reference image includes information such as name, gender, identification number and the like. The process of verifying the information included in the reference image based on the basic information of the target user comprises the following steps: and responding to the information included in the reference image and the basic information of the target user, and verifying the information included in the reference image. And in response to the information included in the reference image not being consistent with the basic information of the target user, the information included in the reference image is not verified.
Optionally, the terminal device may further send the reference image to a second server, and the second server identifies the reference image to obtain an identification result of the reference image. The process of identifying the reference image by the second server to obtain the identification result of the reference image is similar to the process of identifying the reference image by the terminal device to obtain the identification result of the reference image, and is not repeated herein.
The reference image is in a first color and used for indicating that the health state of the target user is healthy, and the reference image is in a second color and used for indicating that the health state of the target user is unhealthy. The first color and the second color are two different colors. For example, the first color is green and the second color is red. Of course, the first color and the second color may be other colors, which is not limited in the embodiments of the present application.
Alternatively, the reference image is identified by an image identification model, which is any type of model, for example, the image identification model is a Convolutional Neural Network (CNN) model.
Optionally, in response to that the reference image is a modified image and the recognition result of the reference image is failure, target information is displayed, and the target information is used for instructing the target user to upload the reference image again. Wherein, the content of the target information is: and if the uploaded reference image is not approved, asking the user to upload again. Of course, the content of the target information may be other content, which is not limited in the embodiment of the present application.
In one possible implementation manner, the second server obtains the user identifier of the target user based on the reference image. And acquiring the historical travel record of the target user based on the user identification of the target user. And the second server acquires the travel record of the target user in the first time period from the historical travel record of the target user. And the second server determines a first verification result based on the travel record of the target user in the first time period and the reference position.
The process of determining the first verification result by the second server based on the travel record of the target user in the first time period and the reference position is consistent with the process of obtaining the first verification result by the first server based on the reference position and the travel record of the target user in the first time period in the above obtaining mode two, and details are not repeated here.
Optionally, after the second server obtains the first verification result, the first verification result is sent to the terminal device, that is, the terminal device obtains the first verification result of the travel record of the target user in the first time period.
And the terminal equipment acquires a first verification result of the travel record of the target user in the first time period based on the travel record of the target user in the first time period and the reference position.
In a possible implementation manner, the terminal device sends an acquisition request to the third server, where the acquisition request carries a user identifier of the target user, and the acquisition request is used to acquire a travel record of the target user in a first time period. And the third server receives the acquisition request, analyzes the acquisition request and obtains the user identification of the target user. And the third server acquires the travel record of the target user in the first time period based on the user identification of the target user, wherein the travel record of the target user in the first time period is the place which the target user arrives at in the first time period. And the third server sends the travel record of the target user in the first time period to the terminal equipment. And the terminal equipment receives the travel record of the target user in the first time period, which is returned by the third server based on the acquisition request. The terminal equipment acquires a reference position, and the position attribute of the reference position at the current moment meets the attribute requirement. And verifying the travel record of the target user in the first time period based on the reference position to obtain a first verification result.
And responding to the target user having the reference position in the travel record of the first time period, and determining that the first verification result is not passed. In response to the target user not having a reference location in the trip record for the first time period, the first verification result is a pass.
The first server, the second server, the third server, and the fourth server may be the same server or may be three independent servers, which is not limited in this embodiment of the present application.
It should be further noted that any one of the above obtaining manners may be adopted to obtain the first verification result of the travel record of the target user in the first time period, which is not limited in this application embodiment.
In a possible implementation manner, in response to that the user using the at least one resource is the same user as the target user, and at least one of the first verification result and the second verification result is failed, for example, the second verification result is failed, or the second verification result is passed and the first verification result is failed, the target content corresponding to the target user is obtained, where the target content is used to indicate a reason why the target user obtains the at least one resource. Illustratively, if at least one resource is a medicine, the target content corresponding to the target user is the disease condition information of the target user. Or, in response to that the user using the at least one resource and the target user are two different users and the third verification result is that the user using the at least one resource and the target user do not pass, obtaining target content corresponding to the user using the at least one resource, where the target content is used to indicate a reason why the user using the at least one resource uses the at least one resource. Based on the target content, a corresponding process is performed.
Optionally, based on the target content, performing the corresponding process includes the following two cases:
in response to the target content meeting the content requirement, a target order is generated based on the resource identification of the at least one resource and the location of the target user. The process is elaborated in step 203.
And in response to that the target content does not meet the content requirement, displaying prompt information, wherein the prompt information is used for indicating the target user to carry out health service and is also used for indicating that the target user cannot acquire at least one resource. The content of the prompt message may be any content, which is not limited in this embodiment of the application.
Optionally, the process of determining whether the target content meets the content requirement includes: in response to the absence of the key information in the target content, the target content satisfies the content requirement. In response to the presence of the key information in the target content, the target content does not meet the content requirements. Wherein the key information is used to indicate information related to a viral infection event. Illustratively, the key information includes fever, dry cough, diarrhea, high body temperature, and the like.
Optionally, a health service may also be reserved for the target user (e.g., the health service is nucleic acid detection) in response to the target content not meeting the content requirements. The process comprises the following steps: based on the location of the target user, a target object is determined (e.g., the target object is a hospital), which may provide health services. Based on the user information of the target user, the health service provided by the target object is reserved for the target user.
Wherein, based on the location of the target user, the process of determining the target object comprises: based on the location of the target user, a plurality of candidates are determined, which may provide health services. Object information of each candidate object is acquired, the object information including at least one of a remaining health service denomination and a distance from a location of the target user at a second time period, the second time period being later than the first time period. A target object is determined among the plurality of candidate objects based on object information of the respective candidate objects.
Optionally, the second time period is set based on experience, and may also be adjusted according to an application scenario, which is not limited in this embodiment of the application. The duration of the second time period is any number, which is not limited in the embodiments of the present application.
Optionally, the process of determining a plurality of candidate objects based on the location of the target user comprises: and determining a first area by taking the position of the target user as a reference point and the first length as a reference length. And taking the object positioned in the first area as a candidate object.
Illustratively, a first circle is determined with the position of the target user as a center and the first length as a radius. Objects located within the first circle are taken as candidates.
In one possible implementation, in response to the object information including the remaining health service denomination and the distance to the target user's location within the second time period, the target object is determined among the plurality of candidate objects in the following two ways.
In the first mode, the candidate object with the remaining health service quota larger than the target threshold value in the plurality of candidate objects is used as the reference object. And taking the reference object with the distance between the reference object and the position of the target user meeting the distance requirement as the target object.
The target threshold is any positive integer, and the target threshold may be set based on experience or adjusted based on an application scenario, which is not limited in the embodiment of the present application. The reference object that satisfies the distance requirement may be the closest reference object.
Optionally, when the number of the reference objects is one, the reference object is taken as the target object. And in response to the number of the reference objects being multiple, taking the reference object with the shortest distance to the position of the target user as the target object.
Illustratively, the target threshold is 0, and the candidates include: object one, object two, object three, object four, and object five. The remaining health service name of the first object in the second time period is 10, the remaining health service name of the second object in the second time period is 30, the remaining health service name of the third object in the second time period is 50, the remaining health service name of the fourth object in the second time period is 0, and the remaining health service name of the fifth object in the second time period is 0, so that the reference objects are the first object, the second object and the third object.
The distance between the first object and the position of the target user is 500 meters, the distance between the second object and the position of the target user is 300 meters, and the distance between the third object and the position of the target user is 200 meters. The position of the object three from the target user is the shortest, so the object three is taken as the target object.
And secondly, determining the reference object with the remaining health service quota larger than the target threshold value in the plurality of candidate objects. And determining an index value of each reference object based on the remaining health service name of each reference object in the second time period and the distance between each reference object and the position of the target user, and taking the reference object with the index value meeting the index requirement as the target object.
The process of determining the reference object with the remaining health service quota larger than the target threshold value in the plurality of candidate objects is consistent with the process in the first mode, and is not described herein again.
Optionally, when the number of the reference objects is one, the reference objects are taken as targetsAn object. In response to the fact that the number of the reference objects is multiple, determining an index value P of each reference object according to the following formula (1) on the basis of the remaining health service name of each reference object in the second time period, the name weight parameter, the distance between each reference object and the position of the target user and the distance weight parameteri
Pi=Ai*α+Bi*β (1)
In the above formula (1), PiIs an index value of the ith reference object, AiThe remaining health service quota of the ith reference object in the second time period, alpha is a quota weight parameter, Biβ is the distance between the ith reference object and the location of the target user, and β is a distance weight parameter.
Alternatively, after the index value of each reference object is determined, the reference object with the lowest index value is used as the target object.
In a possible implementation manner, after the health service provided by the target object is reserved for the target user, the terminal device further displays reservation information, and the reservation information is used for prompting the target user to go to the target object for the health service in the XX time period. For example, the reservation information is "you go to the XX hospital for nucleic acid detection in XX month XX day XX period in 2021". Of course, the reservation information may also include other contents, which is not limited in the embodiment of the present application.
In a possible implementation manner, after the prompt information is displayed, a notification message may be further sent to the fifth server, where the notification message is used to instruct the fifth server to change the health status of the target user. Illustratively, the fifth server is notified to change the color of the reference image of the target user from the first color to the second color.
It should be noted that the fifth server and the first server, the second server, the third server and the fourth server may be the same server or may be independent servers, which is not limited in this embodiment of the application.
Optionally, after the prompt information is displayed, the related information of the target user may also be reported to the first user, and the reporting process is shown in fig. 3. Acquiring resource acquisition information of a target user, wherein the resource acquisition information comprises information such as a resource identifier of at least one resource to be acquired by the target user, a position of the target user, a first verification result of a travel record of the target user in a first time period, and a user identifier of the target user. And storing the resource acquisition information of the target user in the first storage space. And determining the area where the target user is located based on the position of the target user. And sending the resource acquisition information of the target user to a first user in the area where the target user is located. The first user follows the target user.
In step 203, in response to the first verification result being a pass, a target order is generated based on the order information.
In one possible implementation manner, the order information includes a resource identifier of at least one resource to be acquired by the target user and a location of the target user. And in response to the first verification result that the resource transfer page is passed, displaying a resource transfer page, wherein a total resource value required to be transferred by the target user is displayed in the resource transfer page, and the total resource value required to be transferred by the target user is determined based on the resource value of at least one resource to be acquired by the target user, namely the total resource value to be transferred by the user is the sum of the resource values of at least one resource to be acquired by the target user. And in response to the success of transferring the resource by the target user, generating a target order based on the order information, that is, generating the target order based on the resource identifier of the at least one resource and the position of the target user, wherein the target order is used for acquiring the at least one resource.
Optionally, after the target order is generated, the resource identifier of the at least one resource and the reference image of the target user may be further sent to an object corresponding to the target order, where the object corresponding to the target order is an object capable of providing the at least one resource, and the object corresponding to the target order determines whether to provide the at least one resource for the target user based on the reference image of the target user and the resource identifier of the at least one resource. Fig. 4 is a process diagram illustrating a process of determining whether an object corresponding to a target order provides at least one resource for a target user according to an embodiment of the present application. In fig. 4, an object corresponding to a target order obtains a reference image of a target user and a resource identifier of at least one resource. And determining whether the reference image of the target user meets the requirements by the object corresponding to the target order. And in response to the reference image of the target user meeting the requirement, determining that the object corresponding to the target order provides at least one resource for the target user. In response to the reference image of the target user not meeting the requirements, the object corresponding to the target order sends a rejection message to the target user to indicate that the at least one resource cannot be provided for the target user. And the object corresponding to the target order also reports the resource acquisition information of the target user.
In one possible implementation, after the target order is generated, the delivery user is determined based on the position of the object corresponding to the target order. And sending the order information of the target order to a distribution user. The order information of the target order includes a position of the target user, a resource identifier of at least one resource, and a position of an object corresponding to the target order.
Optionally, the determining the delivery user based on the location of the object corresponding to the target order includes: and determining a second area by taking the position of the object corresponding to the target order as a reference point and the second length as a reference length. And taking the delivery users with the current positions in the second area as candidate delivery users. The delivery user is determined among the plurality of candidate delivery users based on the user information of the respective candidate delivery users.
The user information of the candidate delivery user comprises at least one of the distance between the candidate delivery user and the position of the object corresponding to the target order and the number of orders to be delivered by the candidate delivery user.
Illustratively, a second circle is determined by taking the position of the object corresponding to the target order as a center of a circle and the second length as a radius. And taking the delivery user with the current position located on the second circle as a candidate delivery user.
Optionally, in response to that the user information of the candidate delivery users includes the distance between the candidate delivery users and the positions of the objects corresponding to the target orders and the number of the orders to be delivered by the candidate delivery users, determining the matching degree between each candidate delivery user and the target orders, and taking the candidate delivery users whose matching degree meets the matching requirement as the delivery users.
Optionally, the matching degree S between each candidate delivery user and the target order is determined according to the following formula (2)i
Si=Mi*θ+Ni*μ (2)
In the above formula (2), SiFor the matching degree of the ith candidate delivery user and the target order, MiThe distance between the ith candidate delivery user and the position of the object corresponding to the target order is calculated, theta is a distance weight parameter, and N isiAnd μ is a quantity weight parameter for the quantity of the order to be delivered by the ith candidate delivery user.
Optionally, after the matching degree between each candidate delivery user and the target order is determined, the candidate delivery user with the highest matching degree is taken as the delivery user.
When the target order is obtained, the method obtains the target order according to the first verification result of the travel record of the target user in the first time period, and if the first verification result is passed, the target order is obtained. Moreover, when the first verification result of the travel record of the target user in the first time period is obtained, the first verification result is obtained based on the user information of the target user, so that the obtaining efficiency of the first verification result is high, the obtaining accuracy is high, and the obtaining efficiency of the target order is improved.
Fig. 5 is a flowchart of an order obtaining method according to an embodiment of the present application, and in fig. 5, a target user obtains a medicine of a resource, and the target user and at least one resource using user are taken as an example. The target user selects and purchases the medicine, places an order and submits the order. After the order is submitted, the terminal equipment acquires the basic information of the target user, when the target user buys the medicine for the first time, the basic information is manually input by the target user, and the terminal equipment stores the basic information of the target user. When the target user buys the medicine for the Nth time, the basic information of the target user can be acquired in a one-key backfill mode. Wherein N is a positive integer greater than 1.
The terminal equipment determines whether the medicines meeting the type requirements exist in the medicines. And responding to the fact that no medicine meeting the type requirement exists in the medicines, displaying a resource transfer page, wherein a total resource value to be transferred of the target user is displayed in the resource transfer page.
And responding to the medicine meeting the type requirement in the medicines, and acquiring the position of the target user. It is determined whether the location of the target user is a restricted area. And responding to the situation that the position of the target user does not belong to the limited area, and acquiring whether the target user reaches the limited area in the first time period or not by accessing the travel record of the target user. In response to the target user not reaching the restricted area for the first time period, a resource transfer page is displayed.
And in response to the position of the target content being the limited region or in response to the target user reaching the limited region in the first time period, acquiring the target content (such as illness state information) corresponding to the target user, determining whether the target content meets the content requirement, and in response to the target content meeting the content requirement, displaying a resource transfer page.
And responding to the target content not meeting the content requirement, ending the order and displaying prompt information. The health service provided by the target subject is reserved for the target user. And sending the resource acquisition information of the target user to the first user, and following the target user by the first user.
The purpose of displaying the resource transfer page is to instruct the target user to perform resource transfer, and in response to the target user successfully transferring the resource, a target order is generated. Based on the target order, a delivery user is determined. And sending the order information of the target order to a distribution user, acquiring at least one resource from an object corresponding to the target order by the distribution user, and distributing the at least one resource to the target user.
Fig. 6 is a flowchart illustrating an order obtaining method according to an embodiment of the present application, where in fig. 6, a target user and at least one resource using user are taken as an example, where the target user obtains a resource medicine. The target user selects and purchases the medicine, places an order and submits the order. After the order is submitted, the terminal equipment acquires the basic information of the target user, when the target user buys the medicine for the first time, the basic information is manually input by the target user, and the terminal equipment stores the basic information of the target user. When the target user buys the medicine for the Nth time, the basic information of the target user can be acquired in a one-key backfill mode. Wherein N is a positive integer greater than 1.
The terminal equipment determines whether the medicines meeting the type requirements exist in the medicines. And responding to the fact that no medicine meeting the type requirement exists in the medicines, displaying a resource transfer page, wherein a total resource value to be transferred of the target user is displayed in the resource transfer page.
And responding to the medicine meeting the type requirement in the medicines, and acquiring the position of the target user. It is determined whether the location of the target user is a restricted area. And in response to the situation that the position of the target user does not belong to the limited area, acquiring a reference image of the target user, identifying the reference image of the target user, and in response to the situation that the identification of the reference image fails, displaying target information, wherein the target information is used for prompting the target user to upload the reference image again.
In response to the reference image recognition pass, it is determined whether the target user has reached the over-restricted area for the first time period based on the reference image of the target user. In response to the target user not reaching the restricted area for the first time period, a resource transfer page is displayed.
And in response to the position of the target content being the limited region or in response to the target user reaching the limited region in the first time period, acquiring the target content (such as illness state information) corresponding to the target user, determining whether the target content meets the content requirement, and in response to the target content meeting the content requirement, displaying a resource transfer page.
And responding to the target content not meeting the content requirement, ending the order and displaying prompt information. The health service provided by the target subject is reserved for the target user. And sending the resource acquisition information of the target user to the first user, and following the target user by the first user.
The purpose of displaying the resource transfer page is to instruct the target user to perform resource transfer, and in response to the target user successfully transferring the resource, a target order is generated. Based on the target order, a delivery user is determined. And sending the order information of the target order to a distribution user, acquiring at least one resource from an object corresponding to the target order by the distribution user, and distributing the at least one resource to the target user.
Fig. 7 is a schematic structural diagram of an order obtaining apparatus according to an embodiment of the present application, and as shown in fig. 7, the apparatus includes:
an obtaining module 701, configured to obtain user information and order information of a target user;
the obtaining module 701 is further configured to obtain a first verification result of the travel record of the target user in the first time period based on the user information of the target user;
a generating module 702 is configured to generate the target order based on the order information in response to the first verification result being a pass.
In one possible implementation, the user information includes a user identification;
the obtaining module 701 is configured to send a first verification request to a first server, where the first verification request carries a user identifier of a target user and a first time period, and process the first verification request through the first server to obtain a first verification result of a travel record of the target user in the first time period; and receiving a first verification result returned by the first server based on the first verification request.
In one possible implementation, the user information includes a reference image, and the reference image is used for representing the health state of the target user;
an obtaining module 701, configured to identify a reference image to obtain an identification result of the reference image; responding to the identification result of the reference image as a pass, sending the reference image to a second server, and processing the reference image through the second server to obtain a first verification result of the travel record of the target user in the first time period; and receiving a first verification result returned by the second server.
In one possible implementation, the user information includes a user identification;
an obtaining module 701, configured to send an obtaining request to a third server, where the obtaining request carries a user identifier of a target user, and the obtaining request is used to obtain a travel record of the target user in a first time period; receiving a travel record of the target user in the first time period, which is returned by the third server based on the acquisition request; acquiring a reference position, wherein the position attribute of the reference position at the current moment meets the attribute requirement; and verifying the travel record of the target user in the first time period based on the reference position to obtain a first verification result.
In a possible implementation manner, the order information includes a resource identifier of at least one resource to be acquired by the target user;
the obtaining module 701 is further configured to determine a resource type of each resource based on a resource identifier of at least one resource; responding to the resource with the resource type meeting the type requirement in at least one resource, acquiring user information of a user using the at least one resource, and acquiring a third verification result of the user in the first time period based on the user information of the user;
a generating module 702, configured to generate the target order based on the order information in response to that both the third verification result and the first verification result are passed.
In a possible implementation manner, the order information includes a resource identifier of at least one resource to be acquired by the target user;
an obtaining module 701, configured to determine a resource type of each resource based on a resource identifier of at least one resource; and responding to the existence of the resource with the resource type meeting the type requirement in at least one resource, and acquiring a first verification result of the travel record of the target user in the first time period based on the user information of the target user.
In a possible implementation manner, the obtaining module 701 is configured to verify a location of the target user in response to a resource whose resource type meets a type requirement exists in at least one resource, and obtain a second verification result; and in response to the second verification result being passed, acquiring a first verification result of the travel record of the target user in the first time period based on the user information of the target user.
In a possible implementation manner, the obtaining module 701 is further configured to obtain target content corresponding to the target user in response to that at least one of the first verification result and the second verification result is failed, where the target content is used to indicate a reason for the target user to obtain at least one resource; based on the target content, a corresponding process is performed.
In one possible implementation, the generating module 702 is configured to generate the target order based on the resource identifier of the at least one resource and the location of the target user in response to the target content meeting the content requirement;
the device still includes:
and the display module is used for responding to the condition that the target content does not meet the content requirement and displaying prompt information, wherein the prompt information is used for indicating the target user to carry out health service.
In one possible implementation, the apparatus further includes:
a determination module for determining a target object based on a location of a target user in response to the target content not meeting the content requirement, the target object being capable of providing a health service;
and the reservation module is used for reserving the health service provided by the target object for the target user based on the user information of the target user.
In one possible implementation, the determining module is configured to determine a plurality of candidate objects based on the location of the target user, where the candidate objects may provide health services; acquiring object information of each candidate object, wherein the object information comprises at least one of the remaining health service name and the distance between the object information and the position of the target user in a second time period, and the second time period is later than the first time period; a target object is determined among the plurality of candidate objects based on object information of the respective candidate objects.
In one possible implementation, the object information includes a remaining health service denomination and a distance from a location of the target user within a second time period;
a determining module, configured to use a candidate object with a remaining health service quota greater than a target threshold as a reference object; and taking the reference object with the distance between the reference object and the position of the target user meeting the distance requirement as the target object.
In one possible implementation, the apparatus further includes:
and the sending module is used for sending a notification message to the fifth server, wherein the notification message is used for indicating the fifth server to change the health state of the target user.
In a possible implementation manner, the obtaining module 701 is configured to send a second verification request to a fourth server, where the second verification request carries a location of a target user, and verify the location of the target user by the fourth server to obtain a second verification result; and receiving a second verification result returned by the fourth server based on the second verification request.
In a possible implementation manner, the obtaining module 701 is configured to obtain a reference position, where a position attribute of the reference position at a current time meets an attribute requirement; and verifying the position of the target user based on the reference position to obtain a second verification result.
When the device acquires the target order, the target order is acquired according to the first verification result of the travel record of the target user in the first time period, and the target order is acquired if the first verification result is passed, so that the target order is acquired flexibly. Moreover, when the first verification result of the travel record of the target user in the first time period is obtained, the first verification result is obtained based on the user information of the target user, so that the obtaining efficiency and the obtaining accuracy of the first verification result are high, and the obtaining efficiency of the target order is improved.
It should be understood that, when the above-mentioned apparatus is provided to implement its functions, it is only illustrated by the division of the above-mentioned functional modules, and in practical applications, the above-mentioned functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 8 shows a block diagram of a terminal device 800 according to an exemplary embodiment of the present application. The terminal device 800 may be a portable mobile terminal such as: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. The terminal device 800 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, the terminal device 800 includes: a processor 801 and a memory 802.
The processor 801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 801 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 801 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 801 may be integrated with a GPU (Graphics Processing Unit) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 801 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 802 may include one or more computer-readable storage media, which may be non-transitory. Memory 802 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 802 is used to store at least one instruction for execution by processor 801 to implement the order taking method provided by the method embodiments of the present application.
In some embodiments, the terminal device 800 may further include: a peripheral interface 803 and at least one peripheral. The processor 801, memory 802 and peripheral interface 803 may be connected by bus or signal lines. Various peripheral devices may be connected to peripheral interface 803 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 804, a display screen 805, a camera assembly 806, an audio circuit 807, a positioning assembly 808, and a power supply 809.
The peripheral interface 803 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 801 and the memory 802. In some embodiments, the processor 801, memory 802, and peripheral interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 801, the memory 802, and the peripheral interface 803 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 804 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 804 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 804 converts an electrical signal into an electromagnetic signal to be transmitted, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 804 may communicate with other terminal devices via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: the world wide web, metropolitan area networks, intranets, generations of mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 804 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 805 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 805 is a touch display, the display 805 also has the ability to capture touch signals on or above the surface of the display 805. The touch signal may be input to the processor 801 as a control signal for processing. At this point, the display 805 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 805 may be one, and is disposed on the front panel of the terminal device 800; in other embodiments, the number of the display screens 805 may be at least two, and the at least two display screens are respectively disposed on different surfaces of the terminal device 800 or are in a folding design; in other embodiments, the display 805 may be a flexible display, disposed on a curved surface or a folded surface of the terminal device 800. Even further, the display 805 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 805 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 806 is used to capture images or video. Optionally, camera assembly 806 includes a front camera and a rear camera. In general, a front camera is provided on the front panel of the terminal apparatus 800, and a rear camera is provided on the rear panel of the terminal apparatus 800. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 806 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 807 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 801 for processing or inputting the electric signals to the radio frequency circuit 804 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different positions of the terminal device 800. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 801 or the radio frequency circuit 804 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 807 may also include a headphone jack.
The positioning component 808 is used to locate the current geographic Location of the terminal device 800 to implement navigation or LBS (Location Based Service). The Positioning component 808 may be a Positioning component based on the Global Positioning System (GPS) in the united states, the beidou System in china, or the galileo System in russia.
The power supply 809 is used to supply power to various components in the terminal device 800. The power supply 809 can be ac, dc, disposable or rechargeable. When the power supply 809 includes a rechargeable battery, the rechargeable battery may be a wired rechargeable battery or a wireless rechargeable battery. The wired rechargeable battery is a battery charged through a wired line, and the wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, terminal device 800 also includes one or more sensors 810. The one or more sensors 810 include, but are not limited to: acceleration sensor 811, gyro sensor 812, pressure sensor 813, fingerprint sensor 814, optical sensor 815 and proximity sensor 816.
The acceleration sensor 811 can detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal apparatus 800. For example, the acceleration sensor 811 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 801 may control the display 805 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 811. The acceleration sensor 811 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 812 may detect a body direction and a rotation angle of the terminal device 800, and the gyro sensor 812 may cooperate with the acceleration sensor 811 to acquire a 3D motion of the user on the terminal device 800. From the data collected by the gyro sensor 812, the processor 801 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 813 may be disposed on the side bezel of terminal device 800 and/or underneath display screen 805. When the pressure sensor 813 is arranged on the side frame of the terminal device 800, the holding signal of the user to the terminal device 800 can be detected, and the processor 801 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 813. When the pressure sensor 813 is disposed at a lower layer of the display screen 805, the processor 801 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 805. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 814 is used for collecting a fingerprint of the user, and the processor 801 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 814, or the fingerprint sensor 814 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 801 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying for and changing settings, etc. Fingerprint sensor 814 may be disposed on the front, back, or side of terminal device 800. When a physical button or a vendor Logo is provided on the terminal device 800, the fingerprint sensor 814 may be integrated with the physical button or the vendor Logo.
The optical sensor 815 is used to collect the ambient light intensity. In one embodiment, processor 801 may control the display brightness of display 805 based on the ambient light intensity collected by optical sensor 815. Specifically, when the ambient light intensity is high, the display brightness of the display screen 805 is increased; when the ambient light intensity is low, the display brightness of the display 805 is reduced. In another embodiment, the processor 801 may also dynamically adjust the shooting parameters of the camera assembly 806 based on the ambient light intensity collected by the optical sensor 815.
A proximity sensor 816, also called a distance sensor, is typically provided on the front panel of the terminal device 800. The proximity sensor 816 is used to collect the distance between the user and the front surface of the terminal device 800. In one embodiment, when the proximity sensor 816 detects that the distance between the user and the front surface of the terminal device 800 gradually decreases, the processor 801 controls the display 805 to switch from the bright screen state to the dark screen state; when the proximity sensor 816 detects that the distance between the user and the front surface of the terminal device 800 becomes gradually larger, the display screen 805 is controlled by the processor 801 to switch from the screen-on state to the screen-on state.
Those skilled in the art will appreciate that the configuration shown in fig. 8 is not limiting of terminal device 800 and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
Fig. 9 is a schematic structural diagram of a server provided in this embodiment, where the server 900 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 901 and one or more memories 902, where the one or more memories 902 store at least one program code, and the at least one program code is loaded and executed by the one or more processors 901 to implement the order obtaining method provided in each method embodiment. Certainly, the server 900 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the server 900 may also include other components for implementing device functions, which are not described herein again.
In an exemplary embodiment, there is also provided a computer-readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor to cause a computer to implement any of the order taking methods described above.
Alternatively, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program or a computer program product having at least one computer instruction stored therein, the at least one computer instruction being loaded and executed by a processor to cause a computer to implement any of the above-mentioned order taking methods.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the principles of the present application should be included in the protection scope of the present application.

Claims (17)

1. An order taking method, characterized in that the method comprises:
acquiring user information and order information of a target user;
acquiring a first verification result of a travel record of the target user in a first time period based on the user information of the target user;
and generating a target order based on the order information in response to the first verification result being a pass.
2. The method of claim 1, wherein the user information comprises a user identification; the obtaining a first verification result of the travel record of the target user in a first time period based on the user information of the target user includes:
sending a first verification request to a first server, wherein the first verification request carries the user identifier of the target user and the first time period, and processing the first verification request through the first server to obtain a first verification result of the travel record of the target user in the first time period;
and receiving a first verification result returned by the first server based on the first verification request.
3. The method of claim 1, wherein the user information comprises a reference image, the reference image being indicative of a health status of the target user; the obtaining a first verification result of the travel record of the target user in a first time period based on the user information of the target user includes:
identifying the reference image to obtain an identification result of the reference image;
responding to the identification result of the reference image as a pass, sending the reference image to a second server, and processing the reference image through the second server to obtain a first verification result of the travel record of the target user in a first time period;
and receiving the first verification result returned by the second server.
4. The method of claim 1, wherein the user information comprises a user identification; the obtaining a first verification result of the travel record of the target user in a first time period based on the user information of the target user includes:
sending an acquisition request to a third server, wherein the acquisition request carries the user identifier of the target user, and the acquisition request is used for acquiring the travel record of the target user in the first time period;
receiving a travel record of the target user in the first time period, returned by the third server based on the acquisition request;
acquiring a reference position, wherein the position attribute of the reference position at the current moment meets the attribute requirement;
and verifying the travel record of the target user in the first time period based on the reference position to obtain the first verification result.
5. The method according to any one of claims 1 to 4, wherein the order information comprises a resource identifier of at least one resource to be acquired by the target user; after the user information and the order information of the target user are obtained, the method further includes:
determining a resource type of each resource based on the resource identifier of the at least one resource;
responding to the existence of the resource with the resource type meeting the type requirement in the at least one resource, acquiring user information of a user using the at least one resource, and acquiring a third verification result of the user in a first time period based on the user information of the user;
the generating a target order based on the order information in response to the first verification result being a pass comprises:
and generating a target order based on the order information in response to the third verification result and the first verification result both passing.
6. The method according to any one of claims 1 to 4, wherein the order information comprises a resource identifier of at least one resource to be acquired by the target user; the obtaining a first verification result of the travel record of the target user in a first time period based on the user information of the target user includes:
determining a resource type of each resource based on the resource identifier of the at least one resource;
and in response to the existence of the resource with the resource type meeting the type requirement in the at least one resource, acquiring a first verification result of the travel record of the target user in a first time period based on the user information of the target user.
7. The method as claimed in claim 6, wherein the obtaining a first verification result of the travel record of the target user in the first time period based on the user information of the target user in response to the existence of the resource with the resource type satisfying the type requirement in the at least one resource comprises:
responding to the resource with the resource type meeting the type requirement in the at least one resource, and verifying the position of the target user to obtain a second verification result;
and in response to the second verification result being passed, acquiring a first verification result of the travel record of the target user in the first time period based on the user information of the target user.
8. The method of claim 7, further comprising:
in response to that at least one of the first verification result and the second verification result is failed, obtaining target content corresponding to the target user, where the target content is used to indicate a reason for the target user to obtain the at least one resource;
and executing corresponding processes based on the target content.
9. The method of claim 8, wherein the performing a corresponding process based on the target content comprises:
in response to the target content meeting a content requirement, generating the target order based on a resource identification of the at least one resource and a location of the target user;
and responding to the target content not meeting the content requirement, and displaying prompt information, wherein the prompt information is used for indicating the target user to carry out health service.
10. The method of claim 9, further comprising:
in response to the target content not meeting the content requirements, determining a target object based on the location of the target user, the target object may provide a health service;
reserving the health service provided by the target object for the target user based on the user information of the target user.
11. The method of claim 9, wherein after displaying the prompt message, the method further comprises:
and sending a notification message to a fifth server, wherein the notification message is used for indicating the fifth server to change the health state of the target user.
12. The method of claim 7, wherein the verifying the location of the target user to obtain a second verification result comprises:
sending a second verification request to a fourth server, wherein the second verification request carries the position of the target user, and verifying the position of the target user through the fourth server to obtain a second verification result;
and receiving a second verification result returned by the fourth server based on the second verification request.
13. The method of claim 7, wherein the verifying the location of the target user to obtain a second verification result comprises:
acquiring a reference position, wherein the position attribute of the reference position at the current moment meets the attribute requirement;
and verifying the position of the target user based on the reference position to obtain a second verification result.
14. An order taking apparatus, comprising:
the acquisition module is used for acquiring user information and order information of a target user;
the obtaining module is further configured to obtain a first verification result of the travel record of the target user in a first time period based on the user information of the target user;
and the generating module is used for responding to the first verification result that the order passes, and generating a target order based on the order information.
15. An electronic device, comprising a processor and a memory, wherein at least one program code is stored in the memory, and wherein the at least one program code is loaded and executed by the processor to cause the electronic device to implement the order taking method according to any one of claims 1 to 13.
16. A computer-readable storage medium having stored therein at least one program code, the at least one program code being loaded and executed by a processor, to cause a computer to implement the order taking method according to any one of claims 1 to 13.
17. A computer program product having stored therein at least one computer instruction, which is loaded and executed by a processor, to cause a computer to implement the order taking method according to any of claims 1 to 13.
CN202111461174.4A 2021-11-30 2021-11-30 Order obtaining method, device, equipment and computer readable storage medium Pending CN114155062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111461174.4A CN114155062A (en) 2021-11-30 2021-11-30 Order obtaining method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111461174.4A CN114155062A (en) 2021-11-30 2021-11-30 Order obtaining method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114155062A true CN114155062A (en) 2022-03-08

Family

ID=80455958

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111461174.4A Pending CN114155062A (en) 2021-11-30 2021-11-30 Order obtaining method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114155062A (en)

Similar Documents

Publication Publication Date Title
CN111324259B (en) Group creation method, device and storage medium
CN113204298B (en) Method and device for displaying release progress, electronic equipment and storage medium
CN110740340B (en) Video live broadcast method and device and storage medium
CN110659127A (en) Method, device and system for processing task
CN112751679A (en) Instant messaging message processing method, terminal and server
CN110673944B (en) Method and device for executing task
CN112002391A (en) Method and device for determining checking sequence, electronic equipment and storage medium
CN110290191B (en) Resource transfer result processing method, device, server, terminal and storage medium
CN111881423A (en) Method, device and system for limiting function use authorization
CN113837709A (en) Online processing method and device of business process, terminal and readable storage medium
CN110781032A (en) Data transmission method, device, electronic equipment and medium
CN110570123B (en) Resource information management method, system and device based on block chain
CN112988254B (en) Method, device and equipment for managing hardware equipment
CN111191254B (en) Access verification method, device, computer equipment and storage medium
CN110855544B (en) Message sending method, device and readable medium
CN112132472A (en) Resource management method and device, electronic equipment and computer readable storage medium
CN114155062A (en) Order obtaining method, device, equipment and computer readable storage medium
CN112579926A (en) Method and device for acquiring target resource, electronic equipment and storage medium
CN113064537B (en) Media resource playing method, device, equipment, medium and product
CN115348262B (en) Cross-link operation execution method and network system based on cross-link protocol
CN113393608B (en) Service processing method, device, terminal and storage medium
CN111490979B (en) Information interaction method and device and storage medium
CN110544108B (en) Social user classification method and device, electronic equipment and medium
CN115019945A (en) Order distribution method, device, equipment and computer readable storage medium
CN114140105A (en) Resource transfer method, device, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication