CN-115526655-B - Order binding method, device, equipment and storage medium
Abstract
The embodiment of the specification discloses an order binding method, an order binding device, order binding equipment and a storage medium. The method comprises the steps of obtaining an order information stream and a behavior information stream, wherein the behavior information comprises initiator information for initiating an order invitation and behavior occurrence time for accepting the order invitation, determining at least one pair of mutually related order information substreams and behavior information substreams from the order information stream and the behavior information stream, adding new behavior information into a behavior information set when new behavior information is obtained from any pair of mutually related order information substreams and behavior information substreams, and binding the initiator information in the determined behavior information to be bound with the new order information when new order information is obtained from the order information substreams and the initiator information in the determined behavior information to be bound exists in the behavior information set.
Inventors
- SHEN XUE
- ZHANG WEIWEI
Assignees
- 胜斗士(上海)科技技术发展有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20220913
Claims (11)
- 1. An order binding method, comprising: the method comprises the steps of obtaining an order information stream and a behavior information stream, wherein the behavior information comprises initiator information for initiating an order placing invitation, invited user information for receiving the order placing invitation and behavior occurrence time for receiving the order placing invitation; Determining at least one pair of mutually related order information substreams and behavior information substreams from the order information stream and the behavior information stream, wherein the invited user information is the same as the ordering user information in the pair of mutually related order information substreams and behavior information substreams; For any pair of an order information substream and a behavior information substream which are associated with each other, adding new behavior information into a behavior information set under the condition that the new behavior information is acquired from the behavior information substream; under the condition that new order information is obtained from the order information substream, and the to-be-bound behavior information corresponding to the new order information exists in the behavior information set, the initiator information in the determined to-be-bound behavior information is bound with the new order information; For each piece of behavior information in the behavior information set, removing the targeted behavior information from the behavior information set under the condition that the time length added to the behavior information set exceeds a second preset time length threshold; the to-be-bound behavior information corresponding to the new order information comprises behavior information, wherein the behavior occurrence time is before the order generation time of the new order information, and the behavior information with the latest behavior occurrence time is included in the behavior information set.
- 2. The method as recited in claim 1, further comprising: And adding the new order information into the order information set under the condition that new order information is acquired from the order information sub-stream and it is determined that the to-be-bound behavior information corresponding to the new order information does not exist in the behavior information set.
- 3. The method as recited in claim 2, further comprising: Under the condition that new behavior information is obtained from the behavior information substream, and the to-be-bound order information corresponding to the new behavior information exists in the order information set, binding the determined to-be-bound order information with the initiator information in the new behavior information, and removing the determined to-be-bound order information from the order information set; The to-be-bound order information corresponding to the new behavior information comprises order information with the earliest order generation time, wherein the order generation time is after the behavior generation time of the new behavior information in the order information set.
- 4. A method according to claim 2 or 3, further comprising: for each unbound order information in the order information set, removing the unbound order information from the order information set if the length of time added to the order information set exceeds a first preset length of time threshold.
- 5. The method as recited in claim 1, further comprising: Under the condition that new behavior information is obtained from the behavior information substream, adding the new behavior information into a bottom-keeping information set; For each piece of behavior information in the bottom-keeping information set, removing the targeted behavior information from the bottom-keeping information set under the condition that the time length added to the bottom-keeping information set exceeds a third preset time length threshold value, wherein the third preset time length threshold value is larger than the second preset time length threshold value; And for any unbound order information, under the condition that the to-be-bound behavior information corresponding to the unbound order information exists in the bottom-protecting information set, binding the initiator information in the determined to-be-bound behavior information with the unbound order information.
- 6. The method as recited in claim 2, further comprising: Under the condition that new behavior information is obtained from the behavior information substream, adding the new behavior information into a bottom-keeping information set; For each piece of behavior information in the behavior information set, removing the targeted behavior information from the behavior information set under the condition that the time length added to the behavior information set exceeds a second preset time length threshold; For each piece of behavior information in the bottom-keeping information set, removing the targeted behavior information from the bottom-keeping information set under the condition that the time length added to the bottom-keeping information set exceeds a third preset time length threshold value, wherein the third preset time length threshold value is larger than the second preset time length threshold value; And binding the initiator information in the determined to-be-bound behavior information with the to-be-bound order information under the condition that the to-be-bound behavior information corresponding to the to-be-bound order information exists in the bottom-protecting information set aiming at any one of the to-be-bound order information in the order information set.
- 7. An order binding method, comprising: Acquiring behavior information of a target user and order information of the target user, wherein the behavior information comprises initiator information for initiating an order placing invitation and behavior occurrence time for accepting the order placing invitation; Under the condition that new behavior information of the target user is acquired, adding the new behavior information into a behavior information set; under the condition that new order information of the target user is obtained, and the to-be-bound behavior information corresponding to the new order information exists in the behavior information set, the initiator information in the determined to-be-bound behavior information is bound with the new order information; For each piece of behavior information in the behavior information set, removing the targeted behavior information from the behavior information set under the condition that the time length added to the behavior information set exceeds a second preset time length threshold; the to-be-bound behavior information corresponding to the new order information comprises behavior information, wherein the behavior occurrence time is before the order generation time of the new order information, and the behavior information with the latest behavior occurrence time is included in the behavior information set.
- 8. An order binding apparatus, comprising: The system comprises an acquisition unit, an order information stream and a behavior information stream, wherein the behavior information comprises initiator information of an order invitation, invited user information for accepting the order invitation and behavior occurrence time for accepting the order invitation; A determining unit, configured to determine at least one pair of an associated order information sub-stream and an associated behavior information sub-stream from the order information stream and the behavior information stream, where the invited user information is the same as the order user information; an adding unit, configured to add new behavior information to a behavior information set when new behavior information is acquired from an arbitrary pair of an order information substream and a behavior information substream that are associated with each other; The binding unit is used for binding the initiator information in the behavior information to be bound with the new order information under the condition that new order information is acquired from the order information substream and the behavior information to be bound corresponding to the new order information exists in the behavior information set; A behavior information removing unit, configured to remove, for each piece of behavior information in the behavior information set, the targeted piece of behavior information from the behavior information set if a duration added to the behavior information set exceeds a second preset duration threshold; the to-be-bound behavior information corresponding to the new order information comprises behavior information, wherein the behavior occurrence time is before the order generation time of the new order information, and the behavior information with the latest behavior occurrence time is included in the behavior information set.
- 9. The apparatus as recited in claim 8, further comprising: and the order information collection unit is used for adding the new order information into the order information collection when the new order information is acquired from the order information substream and the fact that the to-be-bound behavior information corresponding to the new order information does not exist in the behavior information collection is determined.
- 10. An electronic device, comprising: A processor; A memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the method of any one of claims 1 to 7.
- 11. A computer readable storage medium, characterized in that instructions in the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to implement the method of any one of claims 1 to 7.
Description
Order binding method, device, equipment and storage medium Technical Field Embodiments of the present disclosure relate to the field of computer application technologies, and in particular, to an order binding method, an order binding device, and a storage medium. Background Currently, in order to increase the number of orders, a service party can initiate an order placing invitation to a user, and the possibility of the user to place an order is increased, so that the number of orders is increased. The sponsor for sponsoring the order invitation may specifically include community users, marketing channels, self-media advertisements, and the like. For example, a social user may invite other users to enter a merchandise interface for ordering in a social application. The invitation can be specifically carried out by sending the sharing link, and other users can accept the order invitation by clicking the sharing link so as to enter the commodity interface. For example, a user may accept an invitation to place an order by clicking on an advertising link placed by the marketing channel to enter the merchandise interface. Specifically, the method can be an open screen video advertisement on a short video application or an advertisement link on a news social platform. Further, the business side generally needs to analyze the invitation effects of different sponsors, and can specifically determine which sponsor invites the user generating the order, so as to facilitate subsequent statistical analysis. But the application used when initiating the ordering invitation is typically not relevant to the business party, e.g. social applications, instant messaging applications, or short video applications, etc. The business party cannot control the information obtained from other applications and it is difficult to determine which initiator invited the user who generated the order. Disclosure of Invention In order to solve the above problems, the embodiments of the present disclosure provide an order binding method, an apparatus, a device, and a storage medium. The technical scheme is as follows. An order binding method, comprising: the method comprises the steps of obtaining an order information stream and a behavior information stream, wherein the behavior information comprises initiator information for initiating an order placing invitation, invited user information for receiving the order placing invitation and behavior occurrence time for receiving the order placing invitation; Determining at least one pair of mutually related order information substreams and behavior information substreams from the order information stream and the behavior information stream, wherein the invited user information is the same as the ordering user information in the pair of mutually related order information substreams and behavior information substreams; For any pair of an order information substream and a behavior information substream which are associated with each other, adding new behavior information into a behavior information set under the condition that the new behavior information is acquired from the behavior information substream; under the condition that new order information is obtained from the order information substream, and the to-be-bound behavior information corresponding to the new order information exists in the behavior information set, the initiator information in the determined to-be-bound behavior information is bound with the new order information; the to-be-bound behavior information corresponding to the new order information comprises behavior information, wherein the behavior occurrence time is before the order generation time of the new order information, and the behavior information with the latest behavior occurrence time is included in the behavior information set. Optionally, the method further comprises: And adding the new order information into the order information set under the condition that new order information is acquired from the order information sub-stream and it is determined that the to-be-bound behavior information corresponding to the new order information does not exist in the behavior information set. Optionally, the method further comprises: Under the condition that new behavior information is obtained from the behavior information substream, and the to-be-bound order information corresponding to the new behavior information exists in the order information set, removing the determined to-be-bound order information from the order information set, and binding the determined to-be-bound order information with the initiator information in the new behavior information; The to-be-bound order information corresponding to the new behavior information comprises order information with the earliest order generation time, wherein the order generation time is after the behavior generation time of the new behavior information in the order information set. Optionally, the method further comprises: