WO2023078263A1 - Assistance relationship determination method and apparatus, and device and storage medium - Google Patents
Assistance relationship determination method and apparatus, and device and storage medium Download PDFInfo
- Publication number
- WO2023078263A1 WO2023078263A1 PCT/CN2022/129065 CN2022129065W WO2023078263A1 WO 2023078263 A1 WO2023078263 A1 WO 2023078263A1 CN 2022129065 W CN2022129065 W CN 2022129065W WO 2023078263 A1 WO2023078263 A1 WO 2023078263A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- assistance
- assisted
- client
- user terminal
- 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.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0609—Qualifying participants for shopping transactions
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Managing shopping lists, e.g. compiling or processing purchase lists
- G06Q30/0637—Managing shopping lists, e.g. compiling or processing purchase lists requiring approval before final submission, e.g. parental approval
Definitions
- This application relates to the technical field of e-commerce, and involves but is not limited to a method, device, equipment and storage medium for determining an assistance relationship.
- the embodiments of the present application provide a method, device, device and storage medium for determining an assistance relationship, in response to the request information associated with the first client, generate information to be assisted and a link to be confirmed; send a link to be confirmed link to obtain the confirmation information sent by the second user terminal in response to the information to be assisted; finally, based on the information to be assisted and the confirmation information, determine the assistance relationship between the first user terminal and the second user terminal; in this way, the first user can be An assistance relationship with higher credibility is established between the user terminal and the second user terminal, thereby improving the security and reliability of completing related assistance tasks between the two user terminals.
- An embodiment of the present application provides a method for determining an assistance relationship, the method including:
- An assistance relationship between the first user terminal and the second user terminal is determined based on the information to be assisted and the confirmation information.
- An embodiment of the present application provides an apparatus for determining an assistance relationship, and the apparatus includes:
- a generating module configured to generate information to be assisted in response to the request information associated with the first client
- a first determining module configured to determine a link to be confirmed that matches the information to be assisted
- a sending module configured to send the link to be confirmed to the second client
- a receiving module configured to receive confirmation information sent by the second client in response to the link to be confirmed
- the second determination module is configured to determine an assistance relationship between the first user terminal and the second user terminal based on the information to be assisted and the confirmation information.
- An embodiment of the present application provides an electronic device, and the electronic device includes: a processor, a memory, and a communication bus;
- the communication bus configured to implement a communication connection between the processor and the memory
- the processor is configured to execute the program in the memory, so as to implement the method for determining the assistance relationship described above.
- the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to A method for determining the assisting relationship described above is realized.
- the method, device, device, and storage medium for determining the assistance relationship provided in the embodiments of the present application; firstly, in response to the request information associated with the first client, generating information to be assisted; secondly, determining the link to be confirmed that matches the assistance to be assisted , and send the link to be confirmed to the second client; then, receive the confirmation information sent by the second client in response to the link to be confirmed; finally, based on the information to be assisted and the confirmation information, determine the relationship between the first client and the second client assistance relationship between them.
- an assistance relationship with higher reliability can be established between the first client and the second client, thereby improving the security and reliability of completing related assistance tasks between the two clients.
- FIG. 1 is a schematic flowchart of a method for determining an assistance relationship provided in an embodiment of the present application
- FIG. 2A is a schematic flowchart of another method for determining an assistance relationship provided by the embodiment of the present application.
- FIG. 2B is a schematic flowchart of another method for determining an assistance relationship provided by the embodiment of the present application.
- FIG. 3 is a schematic diagram of two application scenarios in the method for determining an assistance relationship provided by an embodiment of the present application
- FIG. 4 is a schematic flow chart of determining an assistance relationship provided by an embodiment of the present application.
- FIG. 5 is another schematic flowchart for determining an assistance relationship provided by an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of a cache assistance relationship provided by an embodiment of the present application.
- FIG. 7 is a schematic diagram of shopping cart addition and product selection by applying the assistance relationship provided by the embodiment of the present application.
- FIG. 8 is a schematic structural diagram of an apparatus for determining an assistance relationship provided by an embodiment of the present application.
- FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- references to "an embodiment of the present application” or “the foregoing embodiment” throughout the specification mean that a specific feature, structure or characteristic related to the embodiment is included in at least one embodiment of the present application. Therefore, appearances of "in the embodiment of the present application” or “in the foregoing embodiment” throughout the specification do not necessarily refer to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments.
- the serial numbers of the above-mentioned processes do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, rather than the implementation process of the embodiments of the present application. constitute any limitation. The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
- Method 1 Borrow your friend's account and account password, log in to your friend's account and add relevant products to your friend's shopping cart;
- Method 2 Share the selected product or product list, and send the corresponding link of the product to the friend's account (or share one by one), and the friend will open the product link based on their account, and then add the product to the shopping cart after the friend's confirmation.
- Method 1 that is, borrowing a friend’s account to purchase related products on behalf of a friend, there is a risk of privacy leakage
- Method 2 that is, by sharing a product or list, it is necessary to send, click, and confirm the link multiple times, and then further
- the process of additional purchase of related products is relatively cumbersome.
- the product list usually cannot be modified after sharing, and the process of modifying it again is cumbersome; and it is extremely uncomfortable for multiple users to share. It is convenient, and it is impossible to remember who the different lists have been shared with, especially for affiliate promotion users, it is impossible to do different promotions for people of different levels.
- an embodiment of the present application provides a method for determining an assisting relationship, which is applied to electronic devices, as shown in FIG. 1 , which is a schematic flow chart of a method for determining an assisting relationship provided by an embodiment of the present application; the method include the following steps:
- Step 101 Generate information to be assisted in response to the request information associated with the first client.
- the electronic device is any device capable of data processing; wherein, the electronic device may generate assistance information corresponding to the request information in response to the request information input by the first user terminal.
- the client is a client, which refers to a program that corresponds to a server and provides local services for customers; this program can be deployed on electronic devices or other electronic devices capable of information interaction with electronic devices. on the device.
- the electronic device responds to the request information input based on the first user terminal, and parses or reassembles the request information to obtain the information to be assisted.
- the information to be assisted may be the same as or different from the requested information.
- the electronic device generates request assistance information in response to the request information input by the first user terminal for assistance from other user terminals.
- the electronic device generates request assistance information in response to request information input by the first user terminal for assisting other user terminals to complete related generation operations.
- the information to be assisted may include, but is not limited to: account information associated with the first client, the start time of assistance, specific execution actions of an assistance event, etc.;
- the quantity can be one, two and more.
- Step 102 Determine the link to be confirmed that matches the information to be assisted.
- the electronic device determines the connection to be confirmed that matches the information to be assisted; wherein, the link to be confirmed may be obtained by converting the information to be assisted by the electronic device through file format conversion.
- the link to be confirmed includes at least parameter information related to the attribute information of the information to be assisted.
- Step 103 sending the link to be confirmed to the second client.
- the electronic device sends the generated connection to be confirmed to the second client; wherein, the second client can be deployed on the electronic device, that is, it can be co-deployed on the electronic device together with the first client, It may also be deployed on other electronic devices capable of information interaction with electronic devices.
- the attributes of the second client and the attributes of the first client may be completely the same or completely different.
- the first client is associated with the first account
- the second client is associated with the second account.
- An example is used for illustration; wherein, the first account and the second account are different.
- Step 104 Receive confirmation information sent by the second client in response to the link to be confirmed.
- the electronic device receives the confirmation information sent by the second user terminal in response to the link to be confirmed; wherein, the confirmation information is information fed back by the second user terminal in response to the link to be confirmed.
- the confirmation information refers to information that feeds back an approval opinion on the link to be confirmed.
- Step 105 Determine an assistance relationship between the first user terminal and the second user terminal based on the information to be assisted and the confirmation information.
- the electronic device determines the assistance relationship between the first user terminal and the second user terminal based on the information to be assisted and the confirmation information;
- the assistance of the related operation may also be the assistance of the second client to perform the related operation of the first client, and the operation is determined based on the attribute information in the request information.
- the assisting relationship may refer to the first user terminal being able to perform an additional purchase operation on the second user terminal, it may also refer to the execution of the editing operation of the relevant text, and it may also refer to the execution of the sending operation of the relevant file; Correspondingly, the above may also be related operations performed by the second client on the first client.
- the electronic device generates the information to be assisted and the link to be confirmed in response to the request information associated with the first client; sends the link to be confirmed to obtain the response from the second client to Confirmation information for information sending; finally, based on the information to be assisted and the confirmation information, determine the assistance relationship between the first client and the second client; in this way, credibility can be established between the first client and the second client Higher assistance relationship, so that related tasks to be assisted can be completed between two clients.
- the method for determining the assistance relationship firstly, in response to the request information associated with the first client, generate the information to be assisted; secondly, determine the link to be confirmed that matches the assistance to be assisted, and send the link to be confirmed to The second client; then, receiving confirmation information sent by the second client in response to the link to be confirmed; finally, based on the information to be assisted and the confirmation information, determining an assistance relationship between the first client and the second client.
- an assistance relationship with higher reliability can be established between the first client and the second client, thereby improving the security and reliability of completing related assistance tasks between the two clients.
- the embodiment of the present application also provides a method for determining an assistance relationship, which is applied to electronic equipment, as shown in Figure 1 and Figure 2 (including Figure 2A and Figure 2B ), the method includes the following steps:
- the information to be assisted can be determined efficiently and accurately by inputting the corresponding request information on the assistance form to generate the information to be assisted, that is, the electronic device generates the information to be assisted in response to the request information associated with the first client.
- information which can be achieved by performing the following steps A1 and A2:
- Step A Determine an assistance form in response to the preset request instruction input by the first client.
- the electronic device determines an assistance form in response to a preset request instruction input by the first user terminal; wherein, the assistance form may be a form to be filled in with relevant assistance authority and relevant assistance account information.
- Step A2 generating the information to be assisted in response to the request information entered on the assistance form.
- the electronic device generates the information to be assisted in response to the request information input on the assistance form based on the first user terminal; wherein, it may be in response to inputting the corresponding request on the assistance form based on the first user terminal Parameters, that is, request information, and get the information to be assisted.
- the electronic device sequentially responds to the preset request instruction and request information input based on the first user terminal, and determines the assistance form and the information to be assisted. In this way, the accuracy and precision of the determined information to be assisted can be improved.
- determining the assistance relationship between the first client and the second client can be divided into two scenarios.
- One scenario is that the first client actively invites the second client to assist it in related operations. That is, the second client obtains the authority to perform related operations on the first client, so that the second client assists the first client to complete related operations, that is, establishes an assistance relationship between the first client and the second client;
- One scenario is that the first client actively applies for assisting the second client to complete related operations, that is, the first client obtains the authority to perform related operations on the second client, so that the first client assists the second client to complete related operations, That is, an assistance relationship between the first client and the second client is established.
- the embodiment of this application can perform the following steps based on the above two scenarios:
- FIG. 2A is a schematic flowchart of another method for determining an assistance relationship provided by the embodiment of the present application; that is, the execution of step A2 by the electronic device can be achieved by the following step 201:
- Step 201 generating application assistance information including assistance authority in response to the first request information input on the assistance form and carrying the authority to purchase additional commodities.
- the information to be assisted includes the application assistance information.
- the electronic device generates application assistance information including assistance authorization in response to the first request information input on the assistance form carrying the authorization to purchase additional commodities; wherein, the first request information may include but is not limited to: The start time and end time of the added product, the quantity of the added product, and the identification information of the assisted account associated with the first client terminal, which may be the Universally Unique Identifier (UUID) of the assisted account, etc.
- UUID Universally Unique Identifier
- the right to purchase additional products includes, but is not limited to: the start time and end time of additional purchased products, the quantity of additional products to be purchased, the types of additional products to be purchased, etc.; correspondingly, the application assistance information including assistance rights can be carried permission information.
- the electronic device sequentially obtains the corresponding link to be confirmed and the corresponding confirmation information through steps 102 to 104 in the above embodiment, and then determines the first user terminal based on the information to be assisted and the confirmation information.
- the assisting relationship with the second client that is, the electronic device executes step 105 of the above embodiment, may be implemented through the following steps 202 and 203:
- Step 202 based on the confirmation information, adjust the assistance status corresponding to the application assistance information to the confirmed status, and obtain the first information to be assisted.
- the electronic device adjusts the assistance state corresponding to the application assistance information based on the confirmation information obtained from the second user end, that is, adjusts the assistance state to the confirmed state, thereby obtaining the first information to be assisted; , the assistance state corresponding to the first information to be assisted is a confirmed state.
- the electronic device executes the above step 202, which may be implemented through the following steps 202a to 202d:
- Step 202a based on the confirmation information, adjust the assistance state corresponding to the application assistance information to an intermediate confirmation state, and obtain intermediate application assistance information.
- Step 202b sending the intermediate application assistance information to the first client.
- the electronic device based on the confirmation information sent by the second client, the electronic device adjusts the assistance state corresponding to the application assistance information to an intermediate confirmation state, obtains the intermediate application assistance information, and sends the intermediate application assistance information to the first
- the user end is to inform the first user end of the confirmed information about the information to be assisted by the second user end, and at the same time, carry relevant information about the second user end in the intermediate application assistance information to inform the first user end so that the second user end can
- a user end provides corresponding feedback information based on the relevant attribute information of the second user end and the confirmation information sent by the second user end.
- Step 202c receiving the intermediate confirmation information sent by the first client in response to the intermediate application assistance information.
- the electronic device receives the intermediate confirmation information sent by the first client in response to the intermediate application assistance information, and the intermediate confirmation information is the feedback information determined by the first client based on the received intermediate assistance information, that is, the intermediate confirmation information .
- Step 202d based on the intermediate confirmation information, adjust the assistance state corresponding to the intermediate application assistance information to the confirmed state, and obtain the first information to be assisted.
- the electronic device based on the intermediate confirmation information, adjusts the assistance state corresponding to the intermediate application assistance information to the confirmed state, and obtains the first assistance information, that is, the first assistance information is the application assistance information, and sequentially passes through the first The user end and the second user end confirm.
- the electronic device sequentially receives the confirmation information sent by the second client and the first client, and adjusts the assistance status corresponding to the application assistance information until the assistance status is confirmed.
- Step 203 based on the first information to be assisted, determine a commodity purchase assistance relationship between the second user terminal and the first user terminal.
- the electronic device determines the commodity addition assistance relationship between the second user terminal and the first user terminal based on the first information to be assisted, that is, the second user terminal obtains the commodity addition assistance relationship for the first user terminal. permission to purchase.
- the electronic device in the case that the first user end is the user end applying for assistance, the electronic device generates an application in response to the first request information based on the first user end inputting the permission to carry additional purchases of commodities. Assistance information; at the same time, based on the confirmation information sent from the second user terminal, adjust the assistance state corresponding to the application for assistance information, obtain the corresponding first assistance information, and then determine the second user terminal and the first assistance information according to the first assistance information.
- the electronic device determines the commodity purchase assistance relationship between the second user terminal and the first user terminal based on the first information to be assisted, that is, the electronic device executes step 203, It can be realized by means of step 203a and step 203b:
- Step 203a Based on the first information to be assisted, generate a first assistance instruction carrying the assistance authority.
- the electronic device generates a first assistance instruction carrying an assistance authority based on the first information to be assisted; wherein, the first assistance instruction may be obtained by converting the first information to be assisted.
- Step 203b sending the first assistance instruction to the second user terminal, so that the second user terminal obtains the right to add commodities to the first user terminal.
- the electronic device sends the generated first assistance instruction to the second user terminal, so that the second user terminal obtains the right of the first user terminal to purchase additional products, that is, the first user terminal adds related products to The purchase authority is authorized to the second user terminal, so that the second account associated with the second user terminal can perform an additional purchase operation of relevant commodities on the first account associated with the first user terminal.
- the electronic device sends the first assistance instruction corresponding to the first information to be assisted to the second user terminal, so that the second user terminal obtains the additional purchase order for the first user terminal.
- the electronic device sends the first assistance instruction corresponding to the first information to be assisted to the second user terminal, so that the second user terminal obtains the additional purchase order for the first user terminal.
- FIG. 2B is a schematic flow chart of another method for determining an assistance relationship provided by the embodiment of the present application; that is, the electronic device can perform step A2 through the following steps 204:
- Step 204 generating request assistance information in response to the second request information entered on the assistance form.
- the information to be assisted includes the information of requesting assistance; the second request information is different from the first request information.
- the electronic device generates assistance information in response to the second request information input on the assistance form; wherein, the second request information is different from the first request information, and the second request information may not include commodity Information about purchasing permissions.
- the second request information may include but not limited to: identification information of an assistance account associated with the first client, that is, a UUID of an account corresponding to the assistance account, and the like.
- the electronic device sequentially obtains the corresponding link to be confirmed and the corresponding confirmation information through steps 102 to 104 in the above embodiments, and then determines the second link based on the information to be assisted and the confirmation information.
- the assistance relationship between a user terminal and the second user terminal, that is, the electronic device executes step 105 provided in the above embodiment, may be implemented through the following steps 205 and 206:
- Step 205 based on the confirmation information, adjust the proposed assistance information to obtain second information to be assisted.
- the electronic device adjusts the proposed assistance information based on the confirmation information obtained from the second user terminal; wherein, the adjustment includes but is not limited to: adjusting the assistance state corresponding to the proposed assistance information, and adjusting the proposed assistance information
- the relevant internal parameters are supplemented, etc., and then the second information to be assisted is obtained.
- the attribute information of the second to-be-assisted information is the same as that of the first to-be-assisted information.
- the first client in the first to-be-assisted information is the assisted client, and the corresponding second client is the assisting client;
- the first client in the second to-be-assisted information is the assisting client, and the corresponding second client is the assisted client.
- the electronic device executes the above step 205, which may be implemented by the following steps 205a and 205b:
- Step 205a Combine the assistance authority in the confirmation information and the assistance proposal information to obtain intermediate proposal assistance information.
- the electronic device combines the assistance authority in the confirmation information and the proposed assistance information to obtain the intermediate proposed assistance information; wherein, the confirmation information corresponds to the proposed information and is sent by the second user terminal, wherein , the confirmation information carries the assistance authority set by the second user terminal for the relevant assistance request, that is, the range within which the relevant operation can be performed.
- Step 205b Adjust the assistance state corresponding to the assistance information proposed in the middle to the confirmed state, and obtain the second information to be assisted.
- the electronic device adjusts the assistance state corresponding to the assistance information proposed in the middle to the confirmed state, and obtains the second information to be assisted.
- the electronic device may adjust the assistance state corresponding to the assistance information proposed in the middle to the confirmed state, and then obtain the second information to be assisted.
- the electronic device based on the confirmation information obtained from the second user terminal, the electronic device adjusts the internal parameters of the proposed assistance information and the corresponding assistance status, and obtains the corresponding second information to be assisted; , by sequentially obtaining the relevant information of the first client and the second client, an operation entrustment relationship with a higher degree of trust, that is, an assistance relationship, is established between the first client and the second client, thereby improving the first client's trustworthiness
- the safety and reliability when the second user terminal performs assisted operation can improve the flexibility and convenience when the first user terminal performs assisted operation to the second user terminal.
- Step 206 based on the second information to be assisted, determine a commodity purchase assistance relationship between the second user terminal and the first user terminal.
- the electronic device determines the assisting relationship between the second user terminal and the first user terminal for product addition based on the second information to be assisted, that is, the first user terminal obtains the product addition assistance relationship for the second user terminal. permission to purchase.
- the electronic device when the first user end is the user end that provides assistance, the electronic device generates assistance information in response to the second request information input by the first user end;
- the confirmation information sent by the second user end adjusts the assistance status and internal parameters corresponding to the proposed assistance information, obtains the corresponding second assistance information, and then determines the second user end and the first user end according to the second assistance information
- the product purchase assistance relationship between them it is possible to establish a more secure and reliable entrustment relationship between the second client and the first client, and at the same time, it is possible to improve the time when the first account associated with the first client performs related assistance operations on the second account associated with the second client. flexibility and convenience.
- the electronic device determines the commodity purchase assistance relationship between the second user terminal and the first user terminal based on the second information to be assisted, that is, the electronic device executes step 206, It can be realized through the following steps 206a and 206b:
- Step 206a Based on the second information to be assisted, generate a second assistance instruction carrying the assistance authority.
- the electronic device generates a second assistance instruction carrying an assistance authority based on the second information to be assisted; wherein, the second assistance instruction may be obtained by converting the second information to be assisted.
- the attribute information inside the second assistance instruction is the same as that of the first assistance instruction, but their corresponding specific execution parameters may be different.
- Step 206b sending the second assistance instruction to the first user terminal, so that the first user terminal obtains the right to purchase additional commodities from the second user terminal.
- the electronic device sends the generated second assistance instruction to the first user terminal, so that the first user terminal obtains the right of the second user terminal to purchase additional products, that is, the second user terminal adds related products
- the purchase authority is authorized to the first user terminal, so that the first account associated with the first user terminal can perform an additional purchase operation of related commodities on the second account associated with the second user terminal.
- the electronic device sends the second assistance instruction corresponding to the second information to be assisted to the first user terminal, so that the first user terminal obtains the second user terminal to purchase additional products.
- the second user terminal can entrust the related product purchase operation to the first user terminal, which can make the process of completing related shopping operations on behalf of others safe and convenient.
- the method for determining the assistance relationship provided by the embodiment of the present application generates corresponding information to be assisted based on the request information input by the first user terminal in two application scenarios, that is, actively applying for assistance and inviting others to assist; From the confirmation information sent by the second user terminal, adjust the assistance status corresponding to the assistance information to obtain the corresponding assistance instruction, and send the assistance instruction to the corresponding user terminal, so that the second user terminal and the first user A more secure and reliable entrustment relationship can be established between terminals, and at the same time, it can improve the security and convenience when assisting the user terminal and the standby assisting user terminal to perform related assistance operations.
- the electronic device determines the first client and the second client based on the information to be assisted and the confirmation information.
- the following step B can also be performed:
- Step B When the assistance state corresponding to the information to be assisted is cancelled, cancel the assistance relationship between the first user terminal and the second user terminal.
- the electronic device detects the assistance status corresponding to the information to be assisted, and cancels the assistance relationship between the first client and the second client when the assistance status corresponding to the information to be assisted is cancelled. ; Wherein, it may be to cancel the behavior of the first client to assist the second client, or to cancel the behavior of the second client to assist the first client.
- the electronic device detects the assistance state corresponding to the assistance information to be assisted in real time, and cancels the relevant assistance relationship when the assistance state is canceled. In this way, the privacy and security of relevant user terminals, that is, accounts, can be efficiently and conveniently protected.
- the method for determining the assistance relationship provided by the embodiment of the present application is applied to the scenario of an e-commerce company operating a shopping cart on behalf of a friend, which may include two application situations, as shown in FIG. Schematic illustration of two application scenarios in the determination method.
- the assisted user actively invites the assisted user (user B) to help select products, that is, to operate the shopping cart
- the first step is 301
- user A operates the shopping cart function on behalf of the user, That is to generate and determine the corresponding request assistance connection, that is, to generate an authorized link and send (share) it to user B through relevant information interaction
- the second step is 302
- user B accesses the link sent by user A, and clicks to confirm
- Step 3 is 303.
- User A receives a message.
- the message can be a WeChat official account notification, an APP’s own message notification, or a SMS notification and other notification methods. Click on the message to jump to the confirmation authorization page.
- Confirm complete the authorization, that is, confirm to be assisted by user B.
- the assistant (user B) actively applies to operate the shopping cart of user A;
- the first step is 304, user B initiates the application, and shares and sends the assistance page corresponding to the request through relevant information interaction To user A;
- the second step is 305, user A opens the message link sent by user B to the authorization page, selects additional authorization information such as time, data limit, etc., clicks OK to complete the authorization, that is, confirms that user B is assisted.
- Figure 4 shows a schematic flow diagram for determining the assistance relationship provided by the application embodiment of the application;
- the electronic device provides an option foreground entrance. After user A clicks, a window pops up or jumps to a new page, that is, the 401 access invitation assistance page.
- the content of the page is the authorization restriction for inviting others (such as user B) to operate his shopping cart
- User A fills in the form (402), completes the form and submits it to the background (403), and submits the authorization restriction information to the system background; among them, the restriction information includes the duration of the operable shopping cart, the number of operable shopping carts, and the user's personal Identification password (Personal Identification Number, PIN) and a UUID.
- PIN Personal Identification Number
- the table may be as shown in Table 1, which includes the assisted user PIN, assisted PIN, UUID and corresponding start time, end time, restricted operands and status.
- the backend of the shopping cart system that is, the server receives the data, changes the data according to the UUID query, changes the status to "assistant confirmed", and sends the result to user A;
- user A opens the notification link to display the assistance information, In fact, it includes user B's PIN, etc.
- the background receives user A's confirmation data, queries the data according to the UUID, changes the status to "assisting", and assists in operating the shopping cart. That is, execute steps 409 to 413.
- Figure 5 shows another schematic flow diagram for determining the assistance relationship provided by the embodiment of the application;
- User A actively applies for assistance to User B, and User A Actively initiate a request to operate user B's shopping cart, user A visits the system background, generates the following record: user A's PIN, UUID, status is waiting for confirmation by the assisted person, generates a link, that is, executes 501 to 505; and shares the Connect to user B.
- User B opens the received link, and the information displayed on the page is authorization supplementary information, such as: authorization duration, the number of shopping carts that can be added to the authorization, etc.
- authorization supplementary information such as: authorization duration, the number of shopping carts that can be added to the authorization, etc.
- the authorization is confirmed, that is, 506 to 508 are executed, and the data is submitted to the background. It becomes the following state, the authorization state is established, and the corresponding steps can refer to the specific description in FIG. 4 , that is, 509 to 513 in FIG. 5 , to realize assisting in operating the shopping cart.
- Figure 6 is a structure of a caching assistance relationship provided by the embodiment of this application Schematic diagram; among them, it can be used to speed up the two-way query to see if there is operation authority, and to judge whether the current time is in the interval between the start and end of the cache. If the authority expires, you can delete a single record in the index by the way.
- the account shown in Figure 6 is xiaoming, and the three accounts with which the assisted operation relationship has been established are: xiaozhang, xiaoli, and xiaowang; the corresponding assisted operation time is 2021-05-01 11:10:20 Until 2021-05-02 11:10:20, 2021-05-02 11:10:20 to 2021-05-03 11:10:20 and 2021-05-01 11:10:20 to 2021-05-02 11:10:20.
- the embodiment of this application can also provide the background to provide a shopping cart interface addToCart(String sourcePin, String helperPin, Map ⁇ String, Integer>skuMap), and the three input parameters are the pin of the requesting helper, the helper pin, and the key is sku, value is the Map structure of the number of skus; delete the shopping cart interface delCart(String sourcePin, String helperPin, List ⁇ String>skuList), the three input parameters are the pin of the person requesting help, the pin of the helper, and the sku set to be deleted .
- the two heplerPins are the user pins in the login environment of the helper, and the sourcePin is the pin of the assisted person passed in from the front page; the data storage structure of the original shopping cart can be slightly changed, if the original data is stored as 123456:1, 1234567:2 , 1234567 If the port is added by the assistant, then the shopping cart information is stored as 123456:1, 1234567:2:xiaoli, 1234568:1:xiaoli, and according to this data structure, the shopping cart sku added by the specified user (xiaoli) can be traversed.
- the shopping cart after the assisted operation and the page of adding a shopping cart can also be adjusted to improve the user experience; as shown in FIG. Schematic diagram of additional purchases and product purchases; as shown in a in Figure 7, when the person being assisted checks the list of products in his shopping cart, according to the assistance relationship stored in the cache, he can obtain the pin information of the helper corresponding to the product added, and he can send The products of the same assister are grouped and displayed, and the user identity is displayed at the appropriate position of the shopping cart item list; at the same time, as an assister, when viewing a shopping cart item list of a assisted person, according to the assistance relationship stored in the cache, return The pin list that I can operate, and provide the front interface function of selecting users, as shown in b in Figure 7. After selecting the relevant users, you can add, delete, and query the shopping carts for the selected users.
- the embodiment of this application provides a method for remotely assisting in operating a shopping cart, which can establish a trustworthy operation entrustment relationship through multiple interaction processes between two client terminals, and at the same time, based on the assistance authority, the assisting party cannot view the assisted party.
- the existing shopping cart information can further improve security and convenience when assisting the user terminal and the assisting user terminal to perform related assistance operations.
- this embodiment of the present application also provides a device 8 for determining an assisting relationship, which can be applied to a device 8 provided in the embodiments corresponding to Figures 1 and 2 (including Figures 2A and 2B).
- the device 8 for determining the assisting relationship includes: a generating module 81, a first determining module 82, a sending module 83, a receiving module 84 and a second determining module 85, wherein:
- a generating module 81 configured to generate information to be assisted in response to the request information associated with the first client
- the first determining module 82 is configured to determine a link to be confirmed that matches the information to be assisted;
- the sending module 83 is configured to send the link to be confirmed to the second client
- the receiving module 84 is configured to receive confirmation information sent by the second client in response to the link to be confirmed;
- the second determining module 85 is configured to determine an assistance relationship between the first user terminal and the second user terminal based on the information to be assisted and the confirmation information.
- the generation module 81 is further configured to generate an assistance form in response to a preset request instruction input based on the first client; and generate the assistance form in response to the request information input on the assistance form. State assistance information.
- the generation module 81 in the case that the first client is a client applying for assistance, is further configured to respond to the first request for permission to carry additional purchases of commodities entered on the assistance form information, to generate application assistance information including assistance authority; wherein, the information to be assisted includes the application assistance information; correspondingly, the second determination module 85 is also configured to correspond the application assistance information based on the confirmation information The assistance state of the user is adjusted to the confirmed state, and the first information to be assisted is obtained; based on the first information to be assisted, a commodity purchase assistance relationship between the second user terminal and the first user terminal is determined.
- the second determination module 85 is further configured to adjust the assistance state corresponding to the application assistance information to an intermediate confirmation state based on the confirmation information, obtain intermediate application assistance information; send the intermediate application sending assistance information to the first client; receiving intermediate confirmation information sent by the first client in response to the intermediate application assistance information; based on the intermediate confirmation information, adjusting the assistance status corresponding to the intermediate application assistance information For the confirmed state, the first information to be assisted is obtained.
- the second determination module 85 is further configured to generate a first assistance instruction carrying the assistance authority based on the first information to be assisted; send the first assistance instruction to the second user terminal, so that the second user terminal obtains the right to purchase additional commodities from the first user terminal.
- the generating module 81 is further configured to generate assistance information in response to the second request information input on the assistance form when the first client is a client that provides assistance ;
- the information to be assisted includes the proposed assistance information;
- the second request information is different from the first request information;
- the second determination module 85 is also configured to, based on the confirmation information, The assistance information is adjusted to obtain second information to be assisted; based on the second information to be assisted, an assisting relationship for commodity purchase between the second user terminal and the first user terminal is determined.
- the second determining module 85 is further configured to combine the assistance authority in the confirmation information with the proposed assistance information to obtain intermediate proposed assistance information; The assistance state is adjusted to the confirmed state, and the second information to be assisted is obtained.
- the second determining module 85 is further configured to generate a second assistance instruction carrying the assistance authority based on the second information to be assisted; and send the second assistance instruction to the A user terminal, so that the first user terminal obtains the right to purchase additional commodities from the second user terminal.
- the device 8 for determining the assistance relationship further includes: a release module configured to release the first client and all Describe the assistance relationship between the second user terminals.
- the device for determining the assistance relationship provided by the embodiment of the present application generates corresponding information to be assisted based on the request information input by the first user terminal in two application scenarios, that is, actively applying for assistance and inviting others to assist; From the confirmation information sent by the second user terminal, adjust the assistance status corresponding to the assistance information to obtain the corresponding assistance instruction, and send the assistance instruction to the corresponding user terminal, so that the second user terminal and the first user A more secure and reliable entrustment relationship can be established between terminals, and at the same time, it can improve the security and convenience when assisting the user terminal and the standby assisting user terminal to perform related assistance operations.
- this embodiment of the present application also provides an electronic device 9, which can be applied to a method for determining an assistance relationship provided in the embodiments corresponding to Fig. 1 and Fig. 2 (including Fig. 2A and Fig. 2B ).
- the electronic device 9 includes: a processor 91, a memory 92 and a communication bus 93, wherein:
- the communication bus 93 is configured to realize the communication connection between the processor 91 and the memory 92 .
- the processor 91 is configured to execute the program of the method for determining the assistance relationship stored in the memory 92, so as to implement the method for determining the assistance relationship provided in the embodiments corresponding to FIG. 1 and FIG. 2 (including FIG. 2A and FIG. 2B ).
- the electronic device provided in the embodiment of the present application generates the corresponding information to be assisted based on the request information input by the first user terminal in two application scenarios, that is, actively applying for assistance and inviting others to assist;
- the confirmation information sent by the user end adjusts the assistance status corresponding to the assistance information to obtain the corresponding assistance instruction, and sends the assistance instruction to the corresponding user end, so that the second user end and the first user end can communicate with each other.
- a more secure and reliable entrustment relationship can be established, and at the same time, the security and convenience of assisting the user terminal and the standby assisting user terminal to perform related assistance operations can be improved.
- the embodiments of the present application further provide a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs can be executed by one or more processors to The method for determining the assistance relationship provided in the embodiment corresponding to FIG. 1 and FIG. 2 (including FIG. 2A and FIG. 2B ) is realized.
- the above-mentioned computer-readable storage medium may be a read-only memory (Read Only Memory, ROM), a programmable read-only memory (Programmable Read Only Memory, PROM), an erasable programmable read-only memory (Erasable Programmable Read Only Memory, EPROM), Electrically Erasable Programmable Read Only Memory (Electrically Erasable Programmable Read Only Memory, EEPROM), Magnetic Random Access Memory (Ferromagnetic Random Access Memory, FRAM), Flash Memory (Flash Memory), magnetic surface Memory, CD, or CD-ROM (Compact-Disc Read Only Memory, CD-ROM) and other storage; it can also be various electronic devices including one or any combination of the above-mentioned storage, such as mobile phones, computers, tablet devices, personal digital assistants and more.
- the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present application.
- a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
- These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions
- the device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
- the embodiment of the present application discloses a method, device, device, and storage medium for determining an assistance relationship, wherein the method includes: generating information to be assisted in response to request information associated with the first client; A link to be confirmed matching the assistance information; sending the link to be confirmed to the second client; receiving confirmation information sent by the second client in response to the link to be confirmed; based on the information to be assisted and the confirmation information to determine an assistance relationship between the first client and the second client.
- the method includes: generating information to be assisted in response to request information associated with the first client; A link to be confirmed matching the assistance information; sending the link to be confirmed to the second client; receiving confirmation information sent by the second client in response to the link to be confirmed; based on the information to be assisted and the confirmation information to determine an assistance relationship between the first client and the second client.
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
Description
相关申请的交叉引用Cross References to Related Applications
本申请要求2021年11月08日提交的中国专利申请号为202111314255.1、申请人为北京沃东天骏信息技术有限公司,北京京东世纪贸易有限公司,申请名称为“一种协助关系的确定方法、装置、设备及存储介质”的优先权,该申请的全文以引用的方式并入本申请中。This application requires that the Chinese patent application number submitted on November 08, 2021 is 202111314255.1, the applicants are Beijing Wodong Tianjun Information Technology Co., Ltd., Beijing Jingdong Century Trading Co., Ltd., and the application name is "A Method and Device for Determining an Assisting Relationship , equipment and storage medium", the entirety of which is incorporated into this application by reference.
本申请涉及电商技术领域,涉及但不限于一种协助关系的确定方法、装置、设备及存储介质。This application relates to the technical field of e-commerce, and involves but is not limited to a method, device, equipment and storage medium for determining an assistance relationship.
相关技术中,通常是采用登录对方账户的方式以实现代他人进行相关业务操作,这样存在对方账户的相关隐私信息泄露的风险。In related technologies, it is usually used to log in to the other party's account to perform related business operations on behalf of others, so there is a risk of leakage of relevant private information of the other party's account.
发明内容Contents of the invention
为解决上述技术问题,本申请实施例提供一种协助关系的确定方法、装置、设备及存储介质,响应于与第一用户端关联的请求信息,生成待协助信息及待确认链接;发送待确认链接,以获取第二用户端响应于待协助信息发送的确认信息;最后基于待协助信息和确认信息,确定第一用户端和第二用户端之间的协助关系;如此,能够使得第一用户端和第二用户端之间建立可信度更高的协助关系,进而能够提高两个用户端之间完成相关协助任务的安全性和可靠性。In order to solve the above technical problems, the embodiments of the present application provide a method, device, device and storage medium for determining an assistance relationship, in response to the request information associated with the first client, generate information to be assisted and a link to be confirmed; send a link to be confirmed link to obtain the confirmation information sent by the second user terminal in response to the information to be assisted; finally, based on the information to be assisted and the confirmation information, determine the assistance relationship between the first user terminal and the second user terminal; in this way, the first user can be An assistance relationship with higher credibility is established between the user terminal and the second user terminal, thereby improving the security and reliability of completing related assistance tasks between the two user terminals.
为达到上述目的,本申请的技术方案是这样实现的:In order to achieve the above object, the technical solution of the present application is achieved in this way:
本申请实施例提供一种协助关系的确定方法,所述方法包括:An embodiment of the present application provides a method for determining an assistance relationship, the method including:
响应于与第一用户端关联的请求信息,生成待协助信息;generating information to be assisted in response to request information associated with the first client;
确定与所述待协助信息相匹配的待确认链接;determining a link to be confirmed that matches the information to be assisted;
发送所述待确认链接至第二用户端;sending the link to be confirmed to the second client;
接收所述第二用户端响应于所述待确认链接发送的确认信息;receiving confirmation information sent by the second client in response to the link to be confirmed;
基于所述待协助信息和所述确认信息,确定所述第一用户端和所述第二用户端之间的协助关系。An assistance relationship between the first user terminal and the second user terminal is determined based on the information to be assisted and the confirmation information.
本申请实施例提供一种协助关系的确定装置,所述装置包括:An embodiment of the present application provides an apparatus for determining an assistance relationship, and the apparatus includes:
生成模块,配置为响应于与第一用户端关联的请求信息,生成待协助信息;A generating module configured to generate information to be assisted in response to the request information associated with the first client;
第一确定模块,配置为确定与所述待协助信息相匹配的待确认链接;A first determining module configured to determine a link to be confirmed that matches the information to be assisted;
发送模块,配置为发送所述待确认链接至第二用户端;A sending module configured to send the link to be confirmed to the second client;
接收模块,配置为接收所述第二用户端响应于所述待确认链接发送的确认信息;A receiving module configured to receive confirmation information sent by the second client in response to the link to be confirmed;
第二确定模块,配置为基于所述待协助信息和所述确认信息,确定所述第一用户端和所述第二用户端之间的协助关系。The second determination module is configured to determine an assistance relationship between the first user terminal and the second user terminal based on the information to be assisted and the confirmation information.
本申请实施例提供一种电子设备,所述电子设备包括:处理器、存储器和通信总线;An embodiment of the present application provides an electronic device, and the electronic device includes: a processor, a memory, and a communication bus;
所述通信总线,配置为实现所述处理器和所述存储器之间的通信连接;the communication bus configured to implement a communication connection between the processor and the memory;
所述处理器,配置为执行所述存储器中的程序,以实现上述所述的协助关系的确定方法。The processor is configured to execute the program in the memory, so as to implement the method for determining the assistance relationship described above.
对应地,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现上述所述的协助关系的确定方法。Correspondingly, the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to A method for determining the assisting relationship described above is realized.
本申请实施例提供的协助关系的确定方法、装置、设备及存储介质;首先,响应于与第一用户端关联的请求信息,生成待协助信息;其次,确定与待协助相匹配的待确认链接,以及发送待确认链接至第二用户端;然后,接收第二用户端响应于待确认链接发送的确认信息;最后,基于待协助信息和确认信息,确定第一用户端和第二用户端之间的协助关系。如此,能够使得第一用户端和第二用户端之间建立可信度更高的协助关系,进而能够提高两个用户端之间完成相关协助任务的安全性和可靠性。The method, device, device, and storage medium for determining the assistance relationship provided in the embodiments of the present application; firstly, in response to the request information associated with the first client, generating information to be assisted; secondly, determining the link to be confirmed that matches the assistance to be assisted , and send the link to be confirmed to the second client; then, receive the confirmation information sent by the second client in response to the link to be confirmed; finally, based on the information to be assisted and the confirmation information, determine the relationship between the first client and the second client assistance relationship between them. In this way, an assistance relationship with higher reliability can be established between the first client and the second client, thereby improving the security and reliability of completing related assistance tasks between the two clients.
为使本申请的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned purpose, features and advantages of the present application more comprehensible, preferred embodiments will be described in detail below together with the accompanying drawings.
在附图(其不一定是按比例绘制的)中,相似的附图标记可在不同的视图中描述相似的部件。附图以示例而非限制的方式大体示出了本文中所讨论的各个实施例。In the drawings (which are not necessarily drawn to scale), like reference numerals may describe like parts in different views. The drawings generally illustrate the various embodiments discussed herein, by way of example and not limitation.
图1为本申请实施例提供的一种协助关系的确定方法的流程示意图;FIG. 1 is a schematic flowchart of a method for determining an assistance relationship provided in an embodiment of the present application;
图2A为本申请实施例提供的另一种协助关系的确定方法的流程示意图;FIG. 2A is a schematic flowchart of another method for determining an assistance relationship provided by the embodiment of the present application;
图2B为本申请实施例提供的又一种协助关系的确定方法的流程示意图;FIG. 2B is a schematic flowchart of another method for determining an assistance relationship provided by the embodiment of the present application;
图3为应用本申请实施例提供的协助关系的确定方法中两种应用场景的示意图;FIG. 3 is a schematic diagram of two application scenarios in the method for determining an assistance relationship provided by an embodiment of the present application;
图4为应用本申请实施例提供的确定协助关系的一种流程示意图;FIG. 4 is a schematic flow chart of determining an assistance relationship provided by an embodiment of the present application;
图5为应用本申请实施例提供的确定协助关系的另一种流程示意图;FIG. 5 is another schematic flowchart for determining an assistance relationship provided by an embodiment of the present application;
图6为本申请实施例提供的一种缓存协助关系的结构示意图;FIG. 6 is a schematic structural diagram of a cache assistance relationship provided by an embodiment of the present application;
图7为应用本申请实施例提供的协助关系进行购物车加购以及商品选购的示意图;FIG. 7 is a schematic diagram of shopping cart addition and product selection by applying the assistance relationship provided by the embodiment of the present application;
图8为本申请实施例提供的一种协助关系的确定装置的结构示意图;FIG. 8 is a schematic structural diagram of an apparatus for determining an assistance relationship provided by an embodiment of the present application;
图9为本申请实施例提供的一种电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
为下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to clearly and completely describe the technical solutions in the embodiments of the present application, the technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings in the embodiments of the present application.
应理解,说明书通篇中提到的“本申请实施例”或“前述实施例”意味着与实施例有关的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在整个说明书各处出现的“本申请实施例中”或“在前述实施例中”未必一定指相同的实施例。此外,这些特定的特征、结构或特性可以任意适合的方式结合在一个或多个实施例中应。在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。It should be understood that references to "an embodiment of the present application" or "the foregoing embodiment" throughout the specification mean that a specific feature, structure or characteristic related to the embodiment is included in at least one embodiment of the present application. Therefore, appearances of "in the embodiment of the present application" or "in the foregoing embodiment" throughout the specification do not necessarily refer to the same embodiment. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner in one or more embodiments. In various embodiments of the present application, the serial numbers of the above-mentioned processes do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, rather than the implementation process of the embodiments of the present application. constitute any limitation. The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
为了能够更加详尽地了解本申请实施例的特点与技术内容,下面结合附图对本申请实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本申请。In order to understand the features and technical contents of the embodiments of the present application in more detail, the implementation of the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the present application.
相关技术中,在电商场景中,通常采用以下两种方式实现代好友加购商品的行为:In related technologies, in the e-commerce scenario, the following two methods are usually used to realize the behavior of purchasing additional products on behalf of friends:
方式一:借用好友的账号以及账户密码,登录好友账号并添加相关商品至好友购物车;Method 1: Borrow your friend's account and account password, log in to your friend's account and add relevant products to your friend's shopping cart;
方式二:分享挑选的商品或者商品清单,并将商品对应的链接发送至好友账户(或者逐个分享),同时好友基于其账户打开商品链接,经过好友确认再将商品加入购物车。Method 2: Share the selected product or product list, and send the corresponding link of the product to the friend's account (or share one by one), and the friend will open the product link based on their account, and then add the product to the shopping cart after the friend's confirmation.
通过方式一,即借用好友账号实现代好友加购相关商品存在相关隐私泄露的风险;通过方式二,即通过分享商品或清单的方式,需要多次进行链接的发送、点击以及确认,进而再对相关商品进行加购,其过程较为繁琐。此外,商品需要购买多个或以组合方式购买的情况下,还需双方以沟通的方式告知,同时商品清单通常分享后不可修改,想要再次修改过程繁琐;且对多个用户分享时极其不方便,无法记住不同的清单分享过给谁,尤其是对联盟推广用户来说,无法针对不同层次的人做不同的推广。Method 1, that is, borrowing a friend’s account to purchase related products on behalf of a friend, there is a risk of privacy leakage;
基于以上问题,本申请实施例提供一种协助关系的确定方法,应用于电子设备,参照图1所示,图1为本申请实施例提供的一种协助关系的确定方法的流程示意图;该方法包括以下步骤:Based on the above problems, an embodiment of the present application provides a method for determining an assisting relationship, which is applied to electronic devices, as shown in FIG. 1 , which is a schematic flow chart of a method for determining an assisting relationship provided by an embodiment of the present application; the method Include the following steps:
步骤101、响应于与第一用户端关联的请求信息,生成待协助信息。
在本申请实施例中,电子设备是任一具有数据处理能力的设备;其中,可以是电子设备响应于与基于第一用户端输入的请求信息,生成与该请求信息对应的待协助信息。In this embodiment of the present application, the electronic device is any device capable of data processing; wherein, the electronic device may generate assistance information corresponding to the request information in response to the request information input by the first user terminal.
需要说明的是,用户端即为客户端,是指与服务器相对应,为客户提供本地服务的程序;该程序可以部署在电子设备上,也可以部署在能够与电子设备进行信息交互的其他电子设备上。It should be noted that the client is a client, which refers to a program that corresponds to a server and provides local services for customers; this program can be deployed on electronic devices or other electronic devices capable of information interaction with electronic devices. on the device.
在一种可行的实现方式中,电子设备响应于基于第一用户端输入的请求信息,并对该请求信息进行解析或重新组合,得到待协助信息。相应地,待协助信息可以与请求信息相同,也可不同。In a feasible implementation manner, the electronic device responds to the request information input based on the first user terminal, and parses or reassembles the request information to obtain the information to be assisted. Correspondingly, the information to be assisted may be the same as or different from the requested information.
在一种可行的实现方式中,电子设备响应于基于第一用户端输入申请其他用户端进行协助的请求信息,生成申请协助信息。In a feasible implementation manner, the electronic device generates request assistance information in response to the request information input by the first user terminal for assistance from other user terminals.
在另一种可行的实现方式中,电子设备响应于基于第一用户端输入的申请协助其他用户端以完成相关代操作的请求信息,生成提出协助信息。In another feasible implementation manner, the electronic device generates request assistance information in response to request information input by the first user terminal for assisting other user terminals to complete related generation operations.
需要说明的是,待协助信息中可以包括但不限于:第一用户端关联的账户信息、协助的起始时间、协助事件的具体执行动作等;其中,待协助信息中对应的待协助请求的数量可以是一个,两个及以上。It should be noted that the information to be assisted may include, but is not limited to: account information associated with the first client, the start time of assistance, specific execution actions of an assistance event, etc.; The quantity can be one, two and more.
步骤102、确定与所述待协助信息相匹配的待确认链接。
在本申请实施例中,电子设备确定与待协助信息相匹配的待确认连接;其中,该待确认链接可以是电子设备将待协助信息进行文件格式转换得到的。In this embodiment of the present application, the electronic device determines the connection to be confirmed that matches the information to be assisted; wherein, the link to be confirmed may be obtained by converting the information to be assisted by the electronic device through file format conversion.
其中,待确认链接至少包括与待协助信息的属性信息相关的参数信息。Wherein, the link to be confirmed includes at least parameter information related to the attribute information of the information to be assisted.
步骤103、发送所述待确认链接至第二用户端。
在本申请实施例中,电子设备将生成的待确认连接发送至第二用户端;其中,该第二用户端可以部署在电子设备上,即可以与第一用户端共同部署在电子设备上,也可以是部署在能够与电子设备进行信息交互的其他电子设备上。In the embodiment of the present application, the electronic device sends the generated connection to be confirmed to the second client; wherein, the second client can be deployed on the electronic device, that is, it can be co-deployed on the electronic device together with the first client, It may also be deployed on other electronic devices capable of information interaction with electronic devices.
其中,第二用户端的属性与第一用户端的属性可以完全相同,也可以完全不同,在本申请以下其他实施例中,均以第一用户端关联第一账户,第二用户端关联第二账户为例进行说明;其中,第一账户和第二账户不同。Wherein, the attributes of the second client and the attributes of the first client may be completely the same or completely different. In other embodiments of the present application, the first client is associated with the first account, and the second client is associated with the second account. An example is used for illustration; wherein, the first account and the second account are different.
步骤104、接收所述第二用户端响应于所述待确认链接发送的确认信息。Step 104: Receive confirmation information sent by the second client in response to the link to be confirmed.
在本申请实施例中,电子设备接收第二用户端响应于待确认链接发送的确认信息;其中,该确认信息是第二用户端响应于待确认链接反馈的信息。In the embodiment of the present application, the electronic device receives the confirmation information sent by the second user terminal in response to the link to be confirmed; wherein, the confirmation information is information fed back by the second user terminal in response to the link to be confirmed.
需要说明的是,在本申请以下其他实施例中,该确认信息指代对该待确认链接反馈认同意见的信息。It should be noted that, in the following other embodiments of the present application, the confirmation information refers to information that feeds back an approval opinion on the link to be confirmed.
步骤105、基于所述待协助信息和所述确认信息,确定所述第一用户端和所述第二用户端之间的协助关系。Step 105: Determine an assistance relationship between the first user terminal and the second user terminal based on the information to be assisted and the confirmation information.
在本申请实施例中,电子设备基于待协助信息和确认信息,确定第一用户端和第二用户端之间的协助关系;其中,该协助关系可以是第一用户端对第二用户端进行相关操作的协助,也可以是第二用户端对第一用户端进行相关操作的协助,同时该操作是基于请求信息中的属性信息确定的。In this embodiment of the application, the electronic device determines the assistance relationship between the first user terminal and the second user terminal based on the information to be assisted and the confirmation information; The assistance of the related operation may also be the assistance of the second client to perform the related operation of the first client, and the operation is determined based on the attribute information in the request information.
其中,协助关系可以是指代第一用户端能够对第二用户端执行相关购物车的加购操作,也可以指代执行相关文本的编辑操作等,还可以指代执行相关文件的发送操作;对应的,以上也可是第二用户端针对第一用户端执行的相关操作。Wherein, the assisting relationship may refer to the first user terminal being able to perform an additional purchase operation on the second user terminal, it may also refer to the execution of the editing operation of the relevant text, and it may also refer to the execution of the sending operation of the relevant file; Correspondingly, the above may also be related operations performed by the second client on the first client.
需要说明的是,在本申请实施例中,电子设备响应于与第一用户端关联的请求信息,生成待协助信息及待确认链接;发送待确认链接,以获取第二用户端响应于待协助信息发送的确认信息;最后基于待协助信息和确认信息,确定第一用户端和第二用户端之间的协助关系;如此,能够使得第一用户端和第二用户端之间建立可信度更高的协助关系,以便两个用户端之间完成相关待协助任务。It should be noted that, in this embodiment of the application, the electronic device generates the information to be assisted and the link to be confirmed in response to the request information associated with the first client; sends the link to be confirmed to obtain the response from the second client to Confirmation information for information sending; finally, based on the information to be assisted and the confirmation information, determine the assistance relationship between the first client and the second client; in this way, credibility can be established between the first client and the second client Higher assistance relationship, so that related tasks to be assisted can be completed between two clients.
本申请实施例提供的协助关系的确定方法,首先,响应于与第一用户端关联的请求信息,生成待协助信息;其次,确定与待协助相匹配的待确认链接,以及发送待确认链接至第二用户端;然后,接收第二用户端响应于待确认链接发送的确认信息;最后,基 于待协助信息和确认信息,确定第一用户端和第二用户端之间的协助关系。如此,能够使得第一用户端和第二用户端之间建立可信度更高的协助关系,进而能够提高两个用户端之间完成相关协助任务的安全性和可靠性。In the method for determining the assistance relationship provided by the embodiment of the present application, firstly, in response to the request information associated with the first client, generate the information to be assisted; secondly, determine the link to be confirmed that matches the assistance to be assisted, and send the link to be confirmed to The second client; then, receiving confirmation information sent by the second client in response to the link to be confirmed; finally, based on the information to be assisted and the confirmation information, determining an assistance relationship between the first client and the second client. In this way, an assistance relationship with higher reliability can be established between the first client and the second client, thereby improving the security and reliability of completing related assistance tasks between the two clients.
基于前述实施例,本申请实施例还提供一种协助关系的确定方法,应用于电子设备,参照图1和图2所示(包括图2A和图2B),该方法包括以下步骤:Based on the aforementioned embodiments, the embodiment of the present application also provides a method for determining an assistance relationship, which is applied to electronic equipment, as shown in Figure 1 and Figure 2 (including Figure 2A and Figure 2B ), the method includes the following steps:
在一些实施例中,通过在协助表单上输入对应的请求信息,生成待协助信息,能够高效且精准地确定待协助信息,即电子设备响应于与第一用户端关联的请求信息,生成待协助信息,可以通过执行以下步骤A1和步骤A2的方式来实现:In some embodiments, the information to be assisted can be determined efficiently and accurately by inputting the corresponding request information on the assistance form to generate the information to be assisted, that is, the electronic device generates the information to be assisted in response to the request information associated with the first client. information, which can be achieved by performing the following steps A1 and A2:
步骤A1、响应于基于所述第一用户端输入的预设请求指令,确定协助表单。Step A1. Determine an assistance form in response to the preset request instruction input by the first client.
在本申请实施例中,电子设备响应于基于第一用户端输入的预设请求指令,确定协助表单;其中,该协助表单可以是待填写相关协助权限以及相关协助账户信息的表单。In this embodiment of the present application, the electronic device determines an assistance form in response to a preset request instruction input by the first user terminal; wherein, the assistance form may be a form to be filled in with relevant assistance authority and relevant assistance account information.
步骤A2、响应于在所述协助表单上输入的请求信息,生成所述待协助信息。Step A2, generating the information to be assisted in response to the request information entered on the assistance form.
在本申请实施例中,电子设备响应于基于第一用户端在协助表单上输入的请求信息,生成待协助信息;其中,可以是响应于基于第一用户端,在协助表单上输入对应的请求参数,即请求信息,得到待协助信息。In the embodiment of the present application, the electronic device generates the information to be assisted in response to the request information input on the assistance form based on the first user terminal; wherein, it may be in response to inputting the corresponding request on the assistance form based on the first user terminal Parameters, that is, request information, and get the information to be assisted.
需要说明的是,在本申请实施例中,电子设备依次响应于基于第一用户端输入的预设请求指令和请求信息,确定协助表单以及待协助信息。如此,能够使得确定的待协助信息的准确度和精准度更高。It should be noted that, in the embodiment of the present application, the electronic device sequentially responds to the preset request instruction and request information input based on the first user terminal, and determines the assistance form and the information to be assisted. In this way, the accuracy and precision of the determined information to be assisted can be improved.
在一些实施例中,确定第一用户端和第二用户端之间的协助关系,可以分为两大场景,一个场景是第一用户端主动邀请第二用户端对其进行相关操作的协助,即第二用户端获得对第一用户端进行相关操作的权限,以使得第二用户端协助第一用户端完成相关操作,即建立第一用户端和第二用户端之间的协助关系;另一个场景是第一用户端主动申请协助第二用户端完成相关操作,即第一用户端获得对第二用户端进行相关操作的权限,以使得第一用户端协助第二用户端完成相关操作,即建立第一用户端和第二用户端之间的协助关系。基于此,本申请实施例可以基于上述两种场景执行以下步骤:In some embodiments, determining the assistance relationship between the first client and the second client can be divided into two scenarios. One scenario is that the first client actively invites the second client to assist it in related operations. That is, the second client obtains the authority to perform related operations on the first client, so that the second client assists the first client to complete related operations, that is, establishes an assistance relationship between the first client and the second client; One scenario is that the first client actively applies for assisting the second client to complete related operations, that is, the first client obtains the authority to perform related operations on the second client, so that the first client assists the second client to complete related operations, That is, an assistance relationship between the first client and the second client is established. Based on this, the embodiment of this application can perform the following steps based on the above two scenarios:
场景一:被协助用户端主动邀请协助用户端对其进行相关操作的协助,即在第一用户端为申请协助的用户端的情况下,电子设备响应于在协助表单上输入的请求信息,生成待协助信息,参照图1和图2A所示,图2A为本申请实施例提供的另一种协助关系的确定方法的流程示意图;即电子设备执行步骤A2可以通过以下步骤201来实现:Scenario 1: The assisted user terminal actively invites the assisting user terminal to assist it in related operations, that is, if the first user terminal is a user terminal applying for assistance, the electronic device responds to the request information input on the assistance form, and generates a waiting list For assistance information, refer to FIG. 1 and FIG. 2A. FIG. 2A is a schematic flowchart of another method for determining an assistance relationship provided by the embodiment of the present application; that is, the execution of step A2 by the electronic device can be achieved by the following step 201:
步骤201、响应于在所述协助表单上输入的携带商品加购权限的第一请求信息,生成包括协助权限的申请协助信息。
其中,所述待协助信息包括所述申请协助信息。Wherein, the information to be assisted includes the application assistance information.
在本申请实施例中,电子设备响应于在协助表单上输入的携带商品加购权限的第一请求信息,生成包括协助权限的申请协助信息;其中,该第一请求信息可以包括但不限于:加购商品的开始时间和结束时间、加购商品的数量、第一用户端关联的被协助账户的标识信息,其可以是被协助账户的通用唯一识别码(Universally Unique Identifier, UUID)等。In this embodiment of the application, the electronic device generates application assistance information including assistance authorization in response to the first request information input on the assistance form carrying the authorization to purchase additional commodities; wherein, the first request information may include but is not limited to: The start time and end time of the added product, the quantity of the added product, and the identification information of the assisted account associated with the first client terminal, which may be the Universally Unique Identifier (UUID) of the assisted account, etc.
其中,商品加购权限包括但不限于:加购商品的开始时间和结束时间、加购商品的数量、加购商品的种类等;相应地,包括协助权限的申请协助信息可以是携带商品加购权限的信息。Among them, the right to purchase additional products includes, but is not limited to: the start time and end time of additional purchased products, the quantity of additional products to be purchased, the types of additional products to be purchased, etc.; correspondingly, the application assistance information including assistance rights can be carried permission information.
相应地,电子设备依次通过上述实施例中的步骤102至步骤104,获取对应的待确认链接以及对应的确认信息,进而基于所述待协助信息和所述确认信息,确定所述第一用户端和所述第二用户端之间的协助关系,即电子设备执行上述实施例的步骤105,可以通过以下步骤202和步骤203来实现:Correspondingly, the electronic device sequentially obtains the corresponding link to be confirmed and the corresponding confirmation information through
步骤202、基于所述确认信息,将所述申请协助信息对应的协助状态调整为已确认状态,得到第一待协助信息。
在本申请实施例中,电子设备基于从第二用户端获取的确认信息,对申请协助信息对应的协助状态进行调整,即将该协助状态调整为已确认状态,从而得到第一待协助信息;其中,第一待协助信息对应的协助状态为已确认状态。In the embodiment of the present application, the electronic device adjusts the assistance state corresponding to the application assistance information based on the confirmation information obtained from the second user end, that is, adjusts the assistance state to the confirmed state, thereby obtaining the first information to be assisted; , the assistance state corresponding to the first information to be assisted is a confirmed state.
在一种可行的实现方式中,电子设备执行上述步骤202,可以通过以下步骤202a至步骤202d的方式来实现:In a feasible implementation manner, the electronic device executes the
步骤202a、基于所述确认信息,将所述申请协助信息对应的协助状态调整为中间确认状态,得到中间申请协助信息。Step 202a, based on the confirmation information, adjust the assistance state corresponding to the application assistance information to an intermediate confirmation state, and obtain intermediate application assistance information.
步骤202b、发送所述中间申请协助信息至所述第一用户端。Step 202b, sending the intermediate application assistance information to the first client.
在本申请实施例中,电子设备基于第二用户端发送的确认信息,将申请协助信息对应的协助状态调整为中间确认状态,得到中间申请协助信息,同时将该中间申请协助信息发送至第一用户端,即告知第一用户端有关第二用户端对于待协助信息的已确认信息,同时还可在中间申请协助信息中携带有关第二用户端的相关信息,以告知第一用户端,以便第一用户端基于第二用户端的相关属性信息,以及第二用户端发送的确认信息给出对应的反馈信息。In this embodiment of the application, based on the confirmation information sent by the second client, the electronic device adjusts the assistance state corresponding to the application assistance information to an intermediate confirmation state, obtains the intermediate application assistance information, and sends the intermediate application assistance information to the first The user end is to inform the first user end of the confirmed information about the information to be assisted by the second user end, and at the same time, carry relevant information about the second user end in the intermediate application assistance information to inform the first user end so that the second user end can A user end provides corresponding feedback information based on the relevant attribute information of the second user end and the confirmation information sent by the second user end.
步骤202c、接收所述第一用户端响应于所述中间申请协助信息发送的中间确认信息。Step 202c, receiving the intermediate confirmation information sent by the first client in response to the intermediate application assistance information.
在本申请实施例中,电子设备接收第一用户端响应于中间申请协助信息发送的中间确认信息,该中间确认信息是第一用户端基于接收的中间协助信息确定的反馈信息,即中间确认信息。In the embodiment of this application, the electronic device receives the intermediate confirmation information sent by the first client in response to the intermediate application assistance information, and the intermediate confirmation information is the feedback information determined by the first client based on the received intermediate assistance information, that is, the intermediate confirmation information .
步骤202d、基于所述中间确认信息,将所述中间申请协助信息对应的协助状态调整为所述已确认状态,得到所述第一待协助信息。Step 202d, based on the intermediate confirmation information, adjust the assistance state corresponding to the intermediate application assistance information to the confirmed state, and obtain the first information to be assisted.
在本申请实施例中,电子设备基于中间确认信息,将中间申请协助信息对应的协助状态调整为已确认状态,得到第一待协助信息,即第一协助信息是申请协助信息,依次通过第一用户端和第二用户端进行确认得到的。In this embodiment of the application, based on the intermediate confirmation information, the electronic device adjusts the assistance state corresponding to the intermediate application assistance information to the confirmed state, and obtains the first assistance information, that is, the first assistance information is the application assistance information, and sequentially passes through the first The user end and the second user end confirm.
需要说明的是,在本申请实施例中,电子设备依次接收第二用户端和第一用户端发送的确认信息,对申请协助信息对应的协助状态进行调整,直至得到协助状态为已确认状态,得到第一待协助信息;如此,通过第一用户端和第二用户端之间的多次信息交互, 在第一用户端和第二用户端之间建立信任度更高的操作委托关系,即协助关系,进而能够提高第二用户端对第一用户端进行协助操作时的安全性和可靠性。It should be noted that, in this embodiment of the application, the electronic device sequentially receives the confirmation information sent by the second client and the first client, and adjusts the assistance status corresponding to the application assistance information until the assistance status is confirmed. Obtain the first information to be assisted; in this way, through multiple information interactions between the first client and the second client, an operation delegation relationship with a higher degree of trust is established between the first client and the second client, namely The assistance relationship can further improve the security and reliability when the second client performs an assisting operation on the first client.
步骤203、基于所述第一待协助信息,确定所述第二用户端与所述第一用户端之间的商品加购协助关系。
在本申请实施例中,电子设备基于第一待协助信息,确定第二用户端和第一用户端之间的商品加购协助关系,即使得第二用户端获得对第一用户端进行商品加购的权限。In the embodiment of the present application, the electronic device determines the commodity addition assistance relationship between the second user terminal and the first user terminal based on the first information to be assisted, that is, the second user terminal obtains the commodity addition assistance relationship for the first user terminal. permission to purchase.
需要说明的是,在本申请实施例中,在第一用户端为申请协助的用户端的情况下,电子设备响应于基于第一用户端输入的携带商品加购权限的第一请求信息,生成申请协助信息;同时基于从第二用户端发送的确认信息,对申请协助信息对应的协助状态进行调整,得到对应的第一待协助信息,进而根据第一待协助信息,确定第二用户端和第一用户端之间的商品加购协助关系。如此,能够使得第二用户端和第一用户端之间建立更加安全可靠的委托关系,即能够提高第二用户端对第一用户端进行协助操作时的安全性和可靠性,同时能够在第二用户端关联的第二账户对第一用户端关联的第一账户进行相关协助操作时,提高第一账户的相关隐私信息的安全性。It should be noted that, in the embodiment of the present application, in the case that the first user end is the user end applying for assistance, the electronic device generates an application in response to the first request information based on the first user end inputting the permission to carry additional purchases of commodities. Assistance information; at the same time, based on the confirmation information sent from the second user terminal, adjust the assistance state corresponding to the application for assistance information, obtain the corresponding first assistance information, and then determine the second user terminal and the first assistance information according to the first assistance information. A commodity purchase assistance relationship between user terminals. In this way, a more secure and reliable entrustment relationship can be established between the second client and the first client, that is, the security and reliability of the second client to assist the first client can be improved, and at the same time, the When the second account associated with the second user terminal performs relevant assistance operations on the first account associated with the first user end, the security of the relevant private information of the first account is improved.
在一种可行的实现方式中,电子设备基于所述第一待协助信息,确定所述第二用户端与所述第一用户端之间的商品加购协助关系,即电子设备执行步骤203,可以通过步骤203a和步骤203b的方式来实现:In a feasible implementation manner, the electronic device determines the commodity purchase assistance relationship between the second user terminal and the first user terminal based on the first information to be assisted, that is, the electronic device executes
步骤203a、基于所述第一待协助信息,生成携带所述协助权限的第一协助指令。Step 203a. Based on the first information to be assisted, generate a first assistance instruction carrying the assistance authority.
在本申请实施例中,电子设备基于第一待协助信息,生成携带协助权限的第一协助指令;其中,该第一协助指令可以是对第一待协助信息进行转换得到的。In this embodiment of the present application, the electronic device generates a first assistance instruction carrying an assistance authority based on the first information to be assisted; wherein, the first assistance instruction may be obtained by converting the first information to be assisted.
步骤203b、发送所述第一协助指令至所述第二用户端,以使所述第二用户端获得对所述第一用户端进行商品加购的权限。Step 203b, sending the first assistance instruction to the second user terminal, so that the second user terminal obtains the right to add commodities to the first user terminal.
在本申请实施例中,电子设备将生成的第一协助指令发送至第二用户端,以使第二用户端获得第一用户端进行商品加购的权限,即第一用户端将相关商品加购权限授权至第二用户端,以使第二用户端关联的第二账户可以对第一用户端关联的第一账户执行相关商品加购操作。In the embodiment of the present application, the electronic device sends the generated first assistance instruction to the second user terminal, so that the second user terminal obtains the right of the first user terminal to purchase additional products, that is, the first user terminal adds related products to The purchase authority is authorized to the second user terminal, so that the second account associated with the second user terminal can perform an additional purchase operation of relevant commodities on the first account associated with the first user terminal.
需要说明的是,在本申请实施例中,电子设备将与第一待协助信息对应的第一协助指令发送至第二用户端,以使第二用户端获得对第一用户端进行商品加购的权限;如此,将第一用户端的相关商品加购操作权限委托至第二用户端,能够使得代他人完成相关购物操作的过程安全且可靠。It should be noted that, in the embodiment of the present application, the electronic device sends the first assistance instruction corresponding to the first information to be assisted to the second user terminal, so that the second user terminal obtains the additional purchase order for the first user terminal. In this way, entrusting the relevant commodity purchase operation authority of the first user terminal to the second user terminal can make the process of completing relevant shopping operations on behalf of others safe and reliable.
场景二:协助用户端请求操作被协助用户端的部分权限,即在第一用户端为提出协助的用户端的情况下,电子设备响应于在协助表单上输入的请求信息,生成待协助信息,参照图1和图2B所示,图2B为本申请实施例提供的又一种协助关系的确定方法的流程示意图;即电子设备执行步骤A2可以通过以下步骤204来实现:Scenario 2: The assisting client requests to operate part of the permissions of the assisted client, that is, when the first client is the assisting client, the electronic device generates information to be assisted in response to the request information entered on the assistance form, as shown in Fig. 1 and FIG. 2B, FIG. 2B is a schematic flow chart of another method for determining an assistance relationship provided by the embodiment of the present application; that is, the electronic device can perform step A2 through the following steps 204:
步骤204、响应于在所述协助表单上输入的第二请求信息,生成提出协助信息。
其中,所述待协助信息包括所述提出协助信息;所述第二请求信息与第一请求信息 不同。Wherein, the information to be assisted includes the information of requesting assistance; the second request information is different from the first request information.
在本申请实施例中,电子设备响应于在协助表单上输入的第二请求信息,生成提出协助信息;其中,该第二请求信息与第一请求信息不同,第二请求信息可以是不包括商品加购权限的信息。In this embodiment of the application, the electronic device generates assistance information in response to the second request information input on the assistance form; wherein, the second request information is different from the first request information, and the second request information may not include commodity Information about purchasing permissions.
在一种可行的实现方式中,第二请求信息可以包括但不限于:第一用户端关联的协助账户的标识信息,即该协助账户所对应的账户的UUID等。In a feasible implementation manner, the second request information may include but not limited to: identification information of an assistance account associated with the first client, that is, a UUID of an account corresponding to the assistance account, and the like.
在一些实施例中,电子设备依次通过上述实施例中的步骤102至步骤104,获取对应的待确认链接以及对应的确认信息,进而基于所述待协助信息和所述确认信息,确定所述第一用户端和所述第二用户端之间的协助关系,即电子设备执行上述实施例提供的步骤105,可以通过以下步骤205和步骤206来实现:In some embodiments, the electronic device sequentially obtains the corresponding link to be confirmed and the corresponding confirmation information through
步骤205、基于所述确认信息,对所述提出协助信息进行调整,得到第二待协助信息。
在本申请实施例中,电子设备基于从第二用户端获取的确认信息,对提出协助信息进行调整;其中,调整包括但不限于:对提出协助信息对应的协助状态进行调整,对提出协助信息内部的相关参数进行补充等,进而得到第二待协助信息。In this embodiment of the application, the electronic device adjusts the proposed assistance information based on the confirmation information obtained from the second user terminal; wherein, the adjustment includes but is not limited to: adjusting the assistance state corresponding to the proposed assistance information, and adjusting the proposed assistance information The relevant internal parameters are supplemented, etc., and then the second information to be assisted is obtained.
其中,第二待协助信息与第一待协助信息的属性信息相同,需要说明的是,第一待协助信息中第一用户端为被协助用户端,对应的第二用户端为协助用户端;而第二待协助信息中第一用户端为协助用户端,对应的第二用户端为被协助用户端。Wherein, the attribute information of the second to-be-assisted information is the same as that of the first to-be-assisted information. It should be noted that the first client in the first to-be-assisted information is the assisted client, and the corresponding second client is the assisting client; In the second to-be-assisted information, the first client is the assisting client, and the corresponding second client is the assisted client.
在一种可行的实现方式中,电子设备执行上述步骤205,可以通过以下步骤205a和步骤205b的方式来实现:In a feasible implementation manner, the electronic device executes the
步骤205a、将所述确认信息中的协助权限和所述提出协助信息进行组合,得到中间提出协助信息。Step 205a: Combine the assistance authority in the confirmation information and the assistance proposal information to obtain intermediate proposal assistance information.
在本申请实施例中,电子设备将确认信息中的协助权限和提出协助信息进行组合,得到中间提出协助信息;其中,该确认信息是与提出信息对应的,由第二用户端发送的,其中,该确认信息中携带有第二用户端对于相关协助请求设定的协助权限,即可以执行相关操作的范围。In the embodiment of the present application, the electronic device combines the assistance authority in the confirmation information and the proposed assistance information to obtain the intermediate proposed assistance information; wherein, the confirmation information corresponds to the proposed information and is sent by the second user terminal, wherein , the confirmation information carries the assistance authority set by the second user terminal for the relevant assistance request, that is, the range within which the relevant operation can be performed.
步骤205b、将所述中间提出协助信息对应的协助状态调整为已确认状态,得到所述第二待协助信息。Step 205b. Adjust the assistance state corresponding to the assistance information proposed in the middle to the confirmed state, and obtain the second information to be assisted.
在本申请实施例中,电子设备将中间提出协助信息对应的协助状态调整为已确认状态,得到第二待协助信息。In the embodiment of the present application, the electronic device adjusts the assistance state corresponding to the assistance information proposed in the middle to the confirmed state, and obtains the second information to be assisted.
在一种可行的实现方式中,电子设备可以基于获取的确认信息,将中间提出协助信息对应的协助状态调整为已确认状态,进而得到第二待协助信息。In a feasible implementation manner, based on the obtained confirmation information, the electronic device may adjust the assistance state corresponding to the assistance information proposed in the middle to the confirmed state, and then obtain the second information to be assisted.
需要说明的是,在本申请实施例中,电子设备基于从第二用户端获取的确认信息,对提出协助信息内部的参数以及对应的协助状态进行调整,得到对应的第二待协助信息;如此,通过依次获取第一用户端和第二用户端的相关信息,在第一用户端和第二用户端之间建立信任度更高的操作委托关系,即协助关系,进而能够提高第一用户端对第二用户端进行协助操作时的安全性和可靠性,同时能够提高第一用户端对第二用户端进行协 助操作时的灵活性和便捷性。It should be noted that, in the embodiment of the present application, based on the confirmation information obtained from the second user terminal, the electronic device adjusts the internal parameters of the proposed assistance information and the corresponding assistance status, and obtains the corresponding second information to be assisted; , by sequentially obtaining the relevant information of the first client and the second client, an operation entrustment relationship with a higher degree of trust, that is, an assistance relationship, is established between the first client and the second client, thereby improving the first client's trustworthiness The safety and reliability when the second user terminal performs assisted operation can improve the flexibility and convenience when the first user terminal performs assisted operation to the second user terminal.
步骤206、基于所述第二待协助信息,确定所述第二用户端与所述第一用户端之间的商品加购协助关系。
在本申请实施例中,电子设备基于第二待协助信息,确定第二用户端和第一用户端之间的商品加购协助关系,即使得第一用户端获得对第二用户端进行商品加购的权限。In this embodiment of the application, the electronic device determines the assisting relationship between the second user terminal and the first user terminal for product addition based on the second information to be assisted, that is, the first user terminal obtains the product addition assistance relationship for the second user terminal. permission to purchase.
需要说明的是,在本申请实施例中,在第一用户端为提出协助的用户端的情况下,电子设备响应于基于第一用户端输入的第二请求信息,生成提出协助信息;同时基于从第二用户端发送的确认信息,对提出协助信息对应的协助状态以及内部参数进行调整,得到对应的第二待协助信息,进而根据第二待协助信息,确定第二用户端和第一用户端之间的商品加购协助关系。如此,能够使得第二用户端和第一用户端之间建立更加安全可靠的委托关系,同时能够提高第一用户端关联的第一账户对第二用户端关联的第二账户进行相关协助操作时的灵活性和便捷性。It should be noted that, in the embodiment of the present application, when the first user end is the user end that provides assistance, the electronic device generates assistance information in response to the second request information input by the first user end; The confirmation information sent by the second user end adjusts the assistance status and internal parameters corresponding to the proposed assistance information, obtains the corresponding second assistance information, and then determines the second user end and the first user end according to the second assistance information The product purchase assistance relationship between them. In this way, it is possible to establish a more secure and reliable entrustment relationship between the second client and the first client, and at the same time, it is possible to improve the time when the first account associated with the first client performs related assistance operations on the second account associated with the second client. flexibility and convenience.
在一种可行的实现方式中,电子设备基于所述第二待协助信息,确定所述第二用户端与所述第一用户端之间的商品加购协助关系,即电子设备执行步骤206,可以通过以下步骤206a和步骤206b的方式来实现:In a feasible implementation manner, the electronic device determines the commodity purchase assistance relationship between the second user terminal and the first user terminal based on the second information to be assisted, that is, the electronic device executes
步骤206a、基于所述第二待协助信息,生成携带所述协助权限的第二协助指令。Step 206a. Based on the second information to be assisted, generate a second assistance instruction carrying the assistance authority.
在本申请实施例中,电子设备基于第二待协助信息,生成携带协助权限的第二协助指令;其中,该第二协助指令可以是对第二待协助信息进行转换得到的。In this embodiment of the present application, the electronic device generates a second assistance instruction carrying an assistance authority based on the second information to be assisted; wherein, the second assistance instruction may be obtained by converting the second information to be assisted.
其中,第二协助指令与第一协助指令内部的属性信息相同,但其对应的具体执行参数可以不同。Wherein, the attribute information inside the second assistance instruction is the same as that of the first assistance instruction, but their corresponding specific execution parameters may be different.
步骤206b、发送所述第二协助指令至与所述第一用户端,以使所述第一用户端获得对所述第二用户端进行商品加购的权限。Step 206b, sending the second assistance instruction to the first user terminal, so that the first user terminal obtains the right to purchase additional commodities from the second user terminal.
在本申请实施例中,电子设备将生成的第二协助指令发送至第一用户端,以使第一用户端获得第二用户端进行商品加购的权限,即第二用户端将相关商品加购权限授权至第一用户端,以使第一用户端关联的第一账户可以对第二用户端关联的第二账户执行相关商品加购操作。In the embodiment of the present application, the electronic device sends the generated second assistance instruction to the first user terminal, so that the first user terminal obtains the right of the second user terminal to purchase additional products, that is, the second user terminal adds related products The purchase authority is authorized to the first user terminal, so that the first account associated with the first user terminal can perform an additional purchase operation of related commodities on the second account associated with the second user terminal.
需要说明的是,在本申请实施例中,电子设备将与第二待协助信息对应的第二协助指令发送至第一用户端,以使第一用户端获得对第二用户端进行商品加购的权限;如此,能够将第二用户端的相关商品加购操作委托至第一用户端进行操作,能够使得代他人完成相关购物操作的过程安全且便捷。It should be noted that, in the embodiment of the present application, the electronic device sends the second assistance instruction corresponding to the second information to be assisted to the first user terminal, so that the first user terminal obtains the second user terminal to purchase additional products. In this way, the second user terminal can entrust the related product purchase operation to the first user terminal, which can make the process of completing related shopping operations on behalf of others safe and convenient.
本申请实施例提供的协助关系的确定方法,在两种应用场景,即主动申请协助和邀请他人协助两种场景下,基于第一用户端输入的请求信息,生成对应的待协助信息;同时基于从第二用户端发送的确认信息,对待协助信息对应的协助状态等进行调整,以得到对应的协助指令,并将该协助指令发送至对应的用户端,以使得第二用户端和第一用户端之间建立更加安全可靠的委托关系,同时能够提协助用户端与备协助用户端进行相关协助操作时的安全性和便捷性。The method for determining the assistance relationship provided by the embodiment of the present application generates corresponding information to be assisted based on the request information input by the first user terminal in two application scenarios, that is, actively applying for assistance and inviting others to assist; From the confirmation information sent by the second user terminal, adjust the assistance status corresponding to the assistance information to obtain the corresponding assistance instruction, and send the assistance instruction to the corresponding user terminal, so that the second user terminal and the first user A more secure and reliable entrustment relationship can be established between terminals, and at the same time, it can improve the security and convenience when assisting the user terminal and the standby assisting user terminal to perform related assistance operations.
同时,基于前述实施例,在本申请实施例提供的协助关系的确定方法中,电子设备在基于所述待协助信息和所述确认信息,确定所述第一用户端和所述第二用户端之间的协助关系之后,还可以执行以下步骤B:At the same time, based on the foregoing embodiments, in the method for determining the assistance relationship provided in the embodiments of the present application, the electronic device determines the first client and the second client based on the information to be assisted and the confirmation information. After the assisting relationship between, the following step B can also be performed:
步骤B、在所述待协助信息对应的协助状态为已取消状态的情况下,解除所述第一用户端和所述第二用户端之间的协助关系。Step B. When the assistance state corresponding to the information to be assisted is cancelled, cancel the assistance relationship between the first user terminal and the second user terminal.
在本申请实施例中,电子设备检测待协助信息对应的协助状态,并在待协助信息对应的协助状态为已取消状态的情况下,解除第一用户端和第二用户端之间的协助关系;其中,可以是取消第一用户端对第二用户端进行协助的行为,也可以是取消第二用户端对第一用户端进行协助的行为。In the embodiment of the present application, the electronic device detects the assistance status corresponding to the information to be assisted, and cancels the assistance relationship between the first client and the second client when the assistance status corresponding to the information to be assisted is cancelled. ; Wherein, it may be to cancel the behavior of the first client to assist the second client, or to cancel the behavior of the second client to assist the first client.
需要说明的是,在本申请实施例中,电子设备通过对待协助信息对应的协助状态进行实时检测,并在该协助状态为已取消状态的情况下,解除相关协助关系。如此,能够高效且便捷地保护相关用户端即账户的隐私以及安全。It should be noted that, in the embodiment of the present application, the electronic device detects the assistance state corresponding to the assistance information to be assisted in real time, and cancels the relevant assistance relationship when the assistance state is canceled. In this way, the privacy and security of relevant user terminals, that is, accounts, can be efficiently and conveniently protected.
基于此,本申请实施例提供的协助关系的确定方法应用于电商代好友操作购物车场景中,可以包括两种应用情况,如图3所示,为应用本申请实施例提供的协助关系的确定方法中两种应用场景的示意图。Based on this, the method for determining the assistance relationship provided by the embodiment of the present application is applied to the scenario of an e-commerce company operating a shopping cart on behalf of a friend, which may include two application situations, as shown in FIG. Schematic illustration of two application scenarios in the determination method.
场景一,如图3的a所示,被协助用户(用户A)主动邀请协助用户(用户B)帮助挑选商品,即操作购物车;第1步即301,用户A通过代操作购物车功能,即生成并确定对应的请求协助连接,即生成一个授权链接,并通过相关信息交互方式发送(分享)给用户B;第2步即302,用户B访问用户A发送过来的链接,点击确认;第3步即303,用户A收到消息,该消息可以是微信公众号通知,也可以是APP自身消息通知,也可以是短信通知等等各种通知方式,点击消息,跳转到确认授权页面,确认,完成授权,即确认被用户B协助。Scenario 1, as shown in a of Figure 3, the assisted user (user A) actively invites the assisted user (user B) to help select products, that is, to operate the shopping cart; the first step is 301, user A operates the shopping cart function on behalf of the user, That is to generate and determine the corresponding request assistance connection, that is, to generate an authorized link and send (share) it to user B through relevant information interaction; the second step is 302, user B accesses the link sent by user A, and clicks to confirm; Step 3 is 303. User A receives a message. The message can be a WeChat official account notification, an APP’s own message notification, or a SMS notification and other notification methods. Click on the message to jump to the confirmation authorization page. Confirm, complete the authorization, that is, confirm to be assisted by user B.
场景二,如图3的b所示,协助人(用户B)主动申请操作用户A的购物车;第1步即304,用户B发起申请,通过相关信息交互方式分享发送该请求对应的协助页面给用户A;第2步即305,用户A打开协用户B发来的消息链接到授权页面,选择另外授权附加信息如时间、数据限制等,点击确认,完成授权,即确认被用户B协助。
其中,基于场景一建立协助关系的实现流程图如图4所示,即图4示出应用本申请实施例提供的确定协助关系的一种流程示意图;应用到本申请实施例中,可以默认在电子设备中提供一个选项前台入口,用户A点击后弹出窗口或者跳转到新页面,即401的访问邀请协助页面,页面内容为准备邀请别人(比如用户B)来操作自己购物车的授权限制条件的表单;用户A通过填写表单即402,完成表单提交到后台即403,提交授权限制信息到系统后台;其中,限制信息包括可操作购物车的时长、可操作加购物车的数量、用户的个人识别密码(Personal Identification Number,PIN)和一个UUID。Among them, the implementation flowchart of establishing an assistance relationship based on Scenario 1 is shown in Figure 4, that is, Figure 4 shows a schematic flow diagram for determining the assistance relationship provided by the application embodiment of the application; The electronic device provides an option foreground entrance. After user A clicks, a window pops up or jumps to a new page, that is, the 401 access invitation assistance page. The content of the page is the authorization restriction for inviting others (such as user B) to operate his shopping cart User A fills in the form (402), completes the form and submits it to the background (403), and submits the authorization restriction information to the system background; among them, the restriction information includes the duration of the operable shopping cart, the number of operable shopping carts, and the user's personal Identification password (Personal Identification Number, PIN) and a UUID.
其中,该表格可以表1所示,其中,包括被协助用户PIN、协助PIN、UUID以及对应的开始时间、结束时间、限制操作数和状态。Wherein, the table may be as shown in Table 1, which includes the assisted user PIN, assisted PIN, UUID and corresponding start time, end time, restricted operands and status.
需要说明的是,此时没有建立任何协助关系,类似表1中第一行记录,协助人PIN 为空。It should be noted that no assistance relationship has been established at this time, similar to the first row record in Table 1, the PIN of the assistance person is empty.
同时,数据状态为“发起中”,并生成一个后台链接,比如:http://cart.××.com/help_me_add_cart?pin=xuuid=cda12006-5bb0-4579-8d78-7ca75865e22f;即执行404至406;进而用户A将该链接发送或分享至给用户B,用户B点击或访问链接(此时被协助人已经登录),打开页面,页面中有用户A的信息,点击确认,数据提交后服务端,即执行407和408。At the same time, the data status is "initiating", and a background link is generated, such as: http://cart.××.com/help_me_add_cart? pin=xuuid=cda12006-5bb0-4579-8d78-7ca75865e22f; that is, execute 404 to 406; then user A sends or shares the link to user B, and user B clicks or visits the link (the assisted person has logged in at this time), Open the page, there is user A's information on the page, click OK, and the server will execute 407 and 408 after the data is submitted.
表1Table 1
然后,购物车系统后台即服务端接收数据,根据UUID查询出数据做变更,将状态变更为“协助人已确认”,并将结果用发送给用户A;用户A打开通知链接,展示协助信息,其实包括用户B的PIN等,再次点击确认,确认协助信息再次提交到后台;后台接收到用户A的确认数据,根据UUID查询出数据,将状态变更为“协助中”,协助操作购物车开始,即执行409至413。Then, the backend of the shopping cart system, that is, the server receives the data, changes the data according to the UUID query, changes the status to "assistant confirmed", and sends the result to user A; user A opens the notification link to display the assistance information, In fact, it includes user B's PIN, etc. Click Confirm again to confirm that the assistance information is submitted to the background again; the background receives user A's confirmation data, queries the data according to the UUID, changes the status to "assisting", and assists in operating the shopping cart. That is, execute
其中,基于场景二建立协助关系的实现流程图如图5所示,即图5示出应用本申请实施例提供的确定协助关系的另一种流程示意图;用户A主动申请协助用户B,用户A主动发起请求,要操作用户B的购物车,用户A访问系统后台,生成下面一条记录:用户A的PIN、UUID、状态为等待被协助人确认,生成链接,即执行501至505;并分享该连接至用户B。Among them, the implementation flowchart of establishing an assistance relationship based on
用户B打开收到的链接,页面展示信息为授权补充信息如:授权时长、授权可加购物车数量等,补充完后,确认授权,即执行506至508,并将该数据提交到后台,数据变为如下状态,授权状态建立,其对应的步骤可参照图4中的具体说明,即如图5中的509至513,以实现协助操作购物车。User B opens the received link, and the information displayed on the page is authorization supplementary information, such as: authorization duration, the number of shopping carts that can be added to the authorization, etc. After the supplement is completed, the authorization is confirmed, that is, 506 to 508 are executed, and the data is submitted to the background. It becomes the following state, the authorization state is established, and the corresponding steps can refer to the specific description in FIG. 4 , that is, 509 to 513 in FIG. 5 , to realize assisting in operating the shopping cart.
需要说明的是,协助人与被协助人的可操作关系,可以通过redis等进行缓存,建立类似如图6中的关系示意图,即图6为本申请实施例提供的一种缓存协助关系的结构示意图;其中,可以用于加快双向的查询是否有操作权限,判断当前时间是否在缓存开始结束区间,如果权限过期可顺便删除索引中的单条记录。其中,该图6中示出账户为xiaoming,与其建立协助操作关系的三个账户,分别为:xiaozhang、xiaoli以及xiaowang;其各自对应的协助操作时间分别为2021-05-01 11:10:20至2021-05-02 11:10:20、 2021-05-02 11:10:20至2021-05-03 11:10:20以及2021-05-01 11:10:20至2021-05-02 11:10:20。It should be noted that the operable relationship between the assisting person and the assisted person can be cached through redis, etc., to establish a schematic diagram of a relationship similar to that shown in Figure 6, that is, Figure 6 is a structure of a caching assistance relationship provided by the embodiment of this application Schematic diagram; among them, it can be used to speed up the two-way query to see if there is operation authority, and to judge whether the current time is in the interval between the start and end of the cache. If the authority expires, you can delete a single record in the index by the way. Among them, the account shown in Figure 6 is xiaoming, and the three accounts with which the assisted operation relationship has been established are: xiaozhang, xiaoli, and xiaowang; the corresponding assisted operation time is 2021-05-01 11:10:20 Until 2021-05-02 11:10:20, 2021-05-02 11:10:20 to 2021-05-03 11:10:20 and 2021-05-01 11:10:20 to 2021-05-02 11:10:20.
此外,本申请实施例还可提供后台提供加购物车接口addToCart(String sourcePin,String helperPin,Map<String,Integer>skuMap),三个入参分别为请求协助人的pin,协助人pin,key为sku,value为sku数量的Map结构;删除购物车接口delCart(String sourcePin,String helperPin,List<String>skuList),三个入参分别为请求协助人的pin、协助人pin,要删除的sku集合。两个heplerPin都是协助人的登录环境中的用户pin,sourcePin为前台页面传入的被协助人pin;原购物车的数据存储结构稍微改动即可,若原数据存储为123456:1、1234567:2、1234567如果端口为协助人添加的,那么购物车信息存储为123456:1、1234567:2:xiaoli、1234568:1:xiaoli,根据这个数据结构可以遍历取出指定用户(xiaoli)添加的购物车sku。In addition, the embodiment of this application can also provide the background to provide a shopping cart interface addToCart(String sourcePin, String helperPin, Map<String, Integer>skuMap), and the three input parameters are the pin of the requesting helper, the helper pin, and the key is sku, value is the Map structure of the number of skus; delete the shopping cart interface delCart(String sourcePin, String helperPin, List<String>skuList), the three input parameters are the pin of the person requesting help, the pin of the helper, and the sku set to be deleted . The two heplerPins are the user pins in the login environment of the helper, and the sourcePin is the pin of the assisted person passed in from the front page; the data storage structure of the original shopping cart can be slightly changed, if the original data is stored as 123456:1, 1234567:2 , 1234567 If the port is added by the assistant, then the shopping cart information is stored as 123456:1, 1234567:2:xiaoli, 1234568:1:xiaoli, and according to this data structure, the shopping cart sku added by the specified user (xiaoli) can be traversed.
同时本申请实施例中还可以对实现协助操作后的购物车以及添加购物车页面进行调整,进而以提升用户体验;如图7所示,示出应用本申请实施例提供的协助关系进行购物车加购以及商品选购的示意图;如图7中a所示,被协助人查看自己购物车商品列表时,根据缓存中存储的协助关系,获取到添加该商品对应的协助人Pin信息,可以将相同协助人的商品归堆展示,并在购物车商品列表的合适位置露出用户身份标识;同时作为协助人,查看某个被协助人的购物车商品列表,可根据缓存中存储的协助关系,返回本人可操作的pin列表,并提供选择用户的前台界面功能,如图7中的b所示,进而在选中相关用户后,可对选中用户添加、删除购物车、查询购物车等操作。At the same time, in the embodiment of the present application, the shopping cart after the assisted operation and the page of adding a shopping cart can also be adjusted to improve the user experience; as shown in FIG. Schematic diagram of additional purchases and product purchases; as shown in a in Figure 7, when the person being assisted checks the list of products in his shopping cart, according to the assistance relationship stored in the cache, he can obtain the pin information of the helper corresponding to the product added, and he can send The products of the same assister are grouped and displayed, and the user identity is displayed at the appropriate position of the shopping cart item list; at the same time, as an assister, when viewing a shopping cart item list of a assisted person, according to the assistance relationship stored in the cache, return The pin list that I can operate, and provide the front interface function of selecting users, as shown in b in Figure 7. After selecting the relevant users, you can add, delete, and query the shopping carts for the selected users.
基于以上,本申请实施例提供一种远程协助操作购物车的方法,可以通过两个用户端的多次交互过程,建立可信任的操作委托关系,同时基于协助权限,使得协助方无法查看被协助方已有的购物车信息,进而能够提协助用户端与备协助用户端进行相关协助操作时的安全性和便捷性。Based on the above, the embodiment of this application provides a method for remotely assisting in operating a shopping cart, which can establish a trustworthy operation entrustment relationship through multiple interaction processes between two client terminals, and at the same time, based on the assistance authority, the assisting party cannot view the assisted party. The existing shopping cart information can further improve security and convenience when assisting the user terminal and the assisting user terminal to perform related assistance operations.
基于前述实施例,本申请实施例还提供一种协助关系的确定装置8,该协助关系的确定装置8可以应用于图1和图2(包括图2A和图2B)对应的实施例提供的一种协助关系的确定方法中,参照图8所示,该协助关系的确定装置8包括:生成模块81、第一确定模块82、发送模块83、接收模块84和第二确定模块85,其中:Based on the aforementioned embodiments, this embodiment of the present application also provides a
生成模块81,配置为响应于与第一用户端关联的请求信息,生成待协助信息;A generating
第一确定模块82,配置为确定与所述待协助信息相匹配的待确认链接;The first determining
发送模块83,配置为发送所述待确认链接至第二用户端;The sending
接收模块84,配置为接收所述第二用户端响应于所述待确认链接发送的确认信息;The receiving
第二确定模块85,配置为基于所述待协助信息和所述确认信息,确定所述第一用户端和所述第二用户端之间的协助关系。The second determining
在本申请其他实施例中,生成模块81,还配置为响应于基于所述第一用户端输入的预设请求指令,生成协助表单;响应于在所述协助表单上输入的请求信息,生成所述待协助信息。In other embodiments of the present application, the
在本申请其他实施例中,生成模块81,在所述第一用户端为申请协助的用户端的情况下,还配置为响应于在所述协助表单上输入的携带商品加购权限的第一请求信息,生成包括协助权限的申请协助信息;其中,所述待协助信息包括所述申请协助信息;相应地,第二确定模块85,还配置为基于所述确认信息,将所述申请协助信息对应的协助状态调整为已确认状态,得到第一待协助信息;基于所述第一待协助信息,确定所述第二用户端与所述第一用户端之间的商品加购协助关系。In other embodiments of the present application, the
在本申请其他实施例中,第二确定模块85,还配置为基于所述确认信息,将所述申请协助信息对应的协助状态调整为中间确认状态,得到中间申请协助信息;发送所述中间申请协助信息至所述第一用户端;接收所述第一用户端响应于所述中间申请协助信息发送的中间确认信息;基于所述中间确认信息,将所述中间申请协助信息对应的协助状态调整为所述已确认状态,得到所述第一待协助信息。In other embodiments of the present application, the
在本申请其他实施例中,第二确定模块85,还配置为基于所述第一待协助信息,生成携带所述协助权限的第一协助指令;发送所述第一协助指令至所述第二用户端,以使所述第二用户端获得对所述第一用户端进行商品加购的权限。In other embodiments of the present application, the
在本申请其他实施例中,生成模块81,在所述第一用户端为提出协助的用户端的情况下,还配置为响应于在所述协助表单上输入的第二请求信息,生成提出协助信息;其中,所述待协助信息包括所述提出协助信息;所述第二请求信息与第一请求信息不同;相应地,第二确定模块85,还配置为基于所述确认信息,对所述提出协助信息进行调整,得到第二待协助信息;基于所述第二待协助信息,确定所述第二用户端与所述第一用户端之间的商品加购协助关系。In other embodiments of the present application, the generating
在本申请其他实施例中,第二确定模块85,还配置为将所述确认信息中的协助权限和所述提出协助信息进行组合,得到中间提出协助信息;将所述中间提出协助信息对应的协助状态调整为已确认状态,得到所述第二待协助信息。In other embodiments of the present application, the second determining
在本申请其他实施例中,第二确定模块85,还配置为基于所述第二待协助信息,生成携带所述协助权限的第二协助指令;发送所述第二协助指令至与所述第一用户端,以使所述第一用户端获得对所述第二用户端进行商品加购的权限。In other embodiments of the present application, the second determining
在本申请其他实施例中,该协助关系的确定装置8还包括:解除模块,配置为在所述待协助信息对应的协助状态为已取消状态的情况下,解除所述第一用户端和所述第二用户端之间的协助关系。In other embodiments of the present application, the
需要说明的是,本实施例中各个模块所执行的步骤的具体实现过程,可以参照图1和图2(包括图2A和图2B)对应的实施例提供的协助关系的确定方法中的实现过程,此处不再赘述。It should be noted that, for the specific implementation process of the steps performed by each module in this embodiment, you can refer to the implementation process in the method for determining the assisting relationship provided by the embodiment corresponding to FIG. 1 and FIG. 2 (including FIG. 2A and FIG. 2B ). , which will not be repeated here.
本申请实施例提供的协助关系的确定装置,在两种应用场景,即主动申请协助和邀请他人协助两种场景下,基于第一用户端输入的请求信息,生成对应的待协助信息;同时基于从第二用户端发送的确认信息,对待协助信息对应的协助状态等进行调整,以得到对应的协助指令,并将该协助指令发送至对应的用户端,以使得第二用户端和第一用 户端之间建立更加安全可靠的委托关系,同时能够提协助用户端与备协助用户端进行相关协助操作时的安全性和便捷性。The device for determining the assistance relationship provided by the embodiment of the present application generates corresponding information to be assisted based on the request information input by the first user terminal in two application scenarios, that is, actively applying for assistance and inviting others to assist; From the confirmation information sent by the second user terminal, adjust the assistance status corresponding to the assistance information to obtain the corresponding assistance instruction, and send the assistance instruction to the corresponding user terminal, so that the second user terminal and the first user A more secure and reliable entrustment relationship can be established between terminals, and at the same time, it can improve the security and convenience when assisting the user terminal and the standby assisting user terminal to perform related assistance operations.
基于前述实施例,本申请实施例还提供一种电子设备9,该电子设备9可以应用于图1和图2(包括图2A和图2B)对应的实施例提供的一种协助关系的确定方法中,参照图9所示,该电子设备9包括:处理器91、存储器92和通信总线93,其中:Based on the foregoing embodiments, this embodiment of the present application also provides an electronic device 9, which can be applied to a method for determining an assistance relationship provided in the embodiments corresponding to Fig. 1 and Fig. 2 (including Fig. 2A and Fig. 2B ). 9, the electronic device 9 includes: a
通信总线93,配置为实现处理器91和存储器92之间的通信连接。The
处理器91,配置为执行存储器92中存储的协助关系的确定方法的程序,以实现参照图1和图2(包括图2A和图2B)对应的实施例提供的协助关系的确定方法。The
本申请实施例提供的电子设备,在两种应用场景,即主动申请协助和邀请他人协助两种场景下,基于第一用户端输入的请求信息,生成对应的待协助信息;同时基于从第二用户端发送的确认信息,对待协助信息对应的协助状态等进行调整,以得到对应的协助指令,并将该协助指令发送至对应的用户端,以使得第二用户端和第一用户端之间建立更加安全可靠的委托关系,同时能够提协助用户端与备协助用户端进行相关协助操作时的安全性和便捷性。The electronic device provided in the embodiment of the present application generates the corresponding information to be assisted based on the request information input by the first user terminal in two application scenarios, that is, actively applying for assistance and inviting others to assist; The confirmation information sent by the user end adjusts the assistance status corresponding to the assistance information to obtain the corresponding assistance instruction, and sends the assistance instruction to the corresponding user end, so that the second user end and the first user end can communicate with each other. A more secure and reliable entrustment relationship can be established, and at the same time, the security and convenience of assisting the user terminal and the standby assisting user terminal to perform related assistance operations can be improved.
基于前述实施例,本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质存储有一个或者多个程序,该一个或者多个程序可被一个或者多个处理器执行,以实现如图1和图2(包括图2A和图2B)对应的实施例提供的协助关系的确定方法。Based on the foregoing embodiments, the embodiments of the present application further provide a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs can be executed by one or more processors to The method for determining the assistance relationship provided in the embodiment corresponding to FIG. 1 and FIG. 2 (including FIG. 2A and FIG. 2B ) is realized.
需要说明的是,上述计算机可读存储介质可以是只读存储器(Read Only Memory,ROM)、可编程只读存储器(Programmable Read Only Memory,PROM)、可擦除可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、电可擦除可编程只读存储器(Electrically Erasable Programmable Read Only Memory,EEPROM)、磁性随机存取存储器(Ferromagnetic Random Access Memory,FRAM)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(Compact-Disc Read Only Memory,CD-ROM)等存储器;也可以是包括上述存储器之一或任意组合的各种电子设备,如移动电话、计算机、平板设备、个人数字助理等。It should be noted that the above-mentioned computer-readable storage medium may be a read-only memory (Read Only Memory, ROM), a programmable read-only memory (Programmable Read Only Memory, PROM), an erasable programmable read-only memory (Erasable Programmable Read Only Memory, EPROM), Electrically Erasable Programmable Read Only Memory (Electrically Erasable Programmable Read Only Memory, EEPROM), Magnetic Random Access Memory (Ferromagnetic Random Access Memory, FRAM), Flash Memory (Flash Memory), magnetic surface Memory, CD, or CD-ROM (Compact-Disc Read Only Memory, CD-ROM) and other storage; it can also be various electronic devices including one or any combination of the above-mentioned storage, such as mobile phones, computers, tablet devices, personal digital assistants and more.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the above embodiments of the present application are for description only, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手 机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所描述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present application.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowcharts and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structures or equivalent process transformations made by using the description of the application and the accompanying drawings are directly or indirectly used in other related technical fields. , are all included in the patent protection scope of the present application in the same way.
本申请实施例公开了一种协助关系的确定方法、装置、设备及存储介质,其中,所述方法包括:响应于与第一用户端关联的请求信息,生成待协助信息;确定与所述待协助信息相匹配的待确认链接;发送所述待确认链接至第二用户端;接收所述第二用户端响应于所述待确认链接发送的确认信息;基于所述待协助信息和所述确认信息,确定所述第一用户端和所述第二用户端之间的协助关系。如此,能够使得第一用户端和第二用户端之间建立可信度更高的协助关系,进而能够提高两个用户端之间完成相关协助任务的安全性和可靠性。The embodiment of the present application discloses a method, device, device, and storage medium for determining an assistance relationship, wherein the method includes: generating information to be assisted in response to request information associated with the first client; A link to be confirmed matching the assistance information; sending the link to be confirmed to the second client; receiving confirmation information sent by the second client in response to the link to be confirmed; based on the information to be assisted and the confirmation information to determine an assistance relationship between the first client and the second client. In this way, an assistance relationship with higher reliability can be established between the first client and the second client, thereby improving the security and reliability of completing related assistance tasks between the two clients.
Claims (12)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111314255.1A CN114066566A (en) | 2021-11-08 | 2021-11-08 | Method, device, equipment and storage medium for determining assistance relationship |
| CN202111314255.1 | 2021-11-08 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023078263A1 true WO2023078263A1 (en) | 2023-05-11 |
Family
ID=80274284
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/129065 Ceased WO2023078263A1 (en) | 2021-11-08 | 2022-11-01 | Assistance relationship determination method and apparatus, and device and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114066566A (en) |
| WO (1) | WO2023078263A1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114066566A (en) * | 2021-11-08 | 2022-02-18 | 北京沃东天骏信息技术有限公司 | Method, device, equipment and storage medium for determining assistance relationship |
| CN119135705A (en) * | 2024-07-29 | 2024-12-13 | 中国银行股份有限公司 | Multi-terminal collaborative interaction service method, device and computer equipment |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020133414A1 (en) * | 2001-03-14 | 2002-09-19 | Pradhan Salil Vjaykumar | Mediated shopping method and system |
| US20170372275A1 (en) * | 2016-06-23 | 2017-12-28 | Mastercard International Incorporated | Method and system for authorizing and processing payment transactions over a network |
| CN110365657A (en) * | 2019-06-21 | 2019-10-22 | 北京奇艺世纪科技有限公司 | Remote assistance method, device and readable storage medium storing program for executing |
| CN112217890A (en) * | 2020-10-12 | 2021-01-12 | 南方电网数字电网研究院有限公司 | Remote assistance method, apparatus, computer equipment and storage medium |
| CN114066566A (en) * | 2021-11-08 | 2022-02-18 | 北京沃东天骏信息技术有限公司 | Method, device, equipment and storage medium for determining assistance relationship |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108776886B (en) * | 2018-05-11 | 2021-02-05 | 创新先进技术有限公司 | Transaction assistance method and device and electronic equipment |
| CN112235229B (en) * | 2019-06-28 | 2022-09-27 | 腾讯科技(深圳)有限公司 | Method for inviting user, related device, server and storage medium |
| CN111080391A (en) * | 2019-11-07 | 2020-04-28 | 拉扎斯网络科技(上海)有限公司 | Commodity operation method, commodity operation device, server and storage medium |
-
2021
- 2021-11-08 CN CN202111314255.1A patent/CN114066566A/en active Pending
-
2022
- 2022-11-01 WO PCT/CN2022/129065 patent/WO2023078263A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20020133414A1 (en) * | 2001-03-14 | 2002-09-19 | Pradhan Salil Vjaykumar | Mediated shopping method and system |
| US20170372275A1 (en) * | 2016-06-23 | 2017-12-28 | Mastercard International Incorporated | Method and system for authorizing and processing payment transactions over a network |
| CN110365657A (en) * | 2019-06-21 | 2019-10-22 | 北京奇艺世纪科技有限公司 | Remote assistance method, device and readable storage medium storing program for executing |
| CN112217890A (en) * | 2020-10-12 | 2021-01-12 | 南方电网数字电网研究院有限公司 | Remote assistance method, apparatus, computer equipment and storage medium |
| CN114066566A (en) * | 2021-11-08 | 2022-02-18 | 北京沃东天骏信息技术有限公司 | Method, device, equipment and storage medium for determining assistance relationship |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114066566A (en) | 2022-02-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12051056B2 (en) | User authentication using a browser cookie shared between a browser and an application | |
| US20250299169A1 (en) | Token-based email authentication for secure peer-to-peer financial transactions without user login | |
| US20220207519A1 (en) | Automated application programming interface (api) system and method | |
| JP7093393B2 (en) | Service processing methods, equipment, and servers | |
| US8332314B2 (en) | Text authorization for mobile payments | |
| JP6707127B2 (en) | Access server authenticity check initiated by end user | |
| US8423462B1 (en) | Real-time mobile wallet server | |
| US9306753B1 (en) | Mobile system and method for improving safety of impromptu meetings | |
| KR102138414B1 (en) | Using a wireless beacon to provide access credentials to a secure network | |
| CN115989518A (en) | Systems and methods for autofilling configuration information at a browser linked to a user account | |
| US20070027779A1 (en) | Add License Anonymously To Product Locker For Multi-Merchant Purchasing Environment | |
| US20100077036A1 (en) | System and method for interactively obtaining access to restricted content | |
| US20110313897A1 (en) | Pay group | |
| US20110055547A1 (en) | Personal information management and delivery mechanism | |
| US20200058091A1 (en) | Address management system | |
| CN101606370A (en) | Authorizing a secure resource | |
| US20170270531A1 (en) | Account notifications for required information to complete a financial transaction | |
| US11431701B2 (en) | Computer-based systems involving sharing session authentication and/or account details with a trusted party and methods of use thereof | |
| WO2023078263A1 (en) | Assistance relationship determination method and apparatus, and device and storage medium | |
| US12432272B2 (en) | Cross-network differential determination | |
| WO2021098241A1 (en) | Authorization method, auxiliary authorization component, management server and computer readable medium | |
| US20170228791A1 (en) | Proxy identity management system | |
| CN113673989A (en) | 5G message-based express payment agreement signing method, terminal and server | |
| US11941623B2 (en) | Device manager to control data tracking on computing devices | |
| US12120166B2 (en) | System and method for multi-user session for coordinated electronic transactions |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22889286 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22889286 Country of ref document: EP Kind code of ref document: A1 |