An order binding method, device and equipment and storage medium

By matching order information flow and behavior information flow, and using time sequence relationships to bind order information and initiator information, the problem of business parties being unable to determine the source of order invitations is solved, and accurate initiator identification and statistical analysis are achieved.

CN115526655BActive Publication Date: 2026-05-05SHENGDOUSHI SHANGHAI SCI & TECH DEV CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENGDOUSHI SHANGHAI SCI & TECH DEV CO LTD
Filing Date
2022-09-13
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

The business side cannot determine which party invited the order invitation information obtained from other applications, making it difficult to accurately analyze which party invited the user who generated the order.

Method used

By acquiring order information streams and behavior information streams, matching the order information and behavior information of the same user, and binding order information and initiator information using time sequence relationships, it can be determined which initiator invited the user to generate the order.

Benefits of technology

It enables accurate identification of the initiator of user-generated orders, facilitating subsequent statistical analysis and business operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115526655B_ABST
    Figure CN115526655B_ABST
Patent Text Reader

Abstract

This specification discloses an order binding method, apparatus, device, and storage medium. The method includes: acquiring an order information stream and a behavior information stream; the behavior information includes information about the initiator of the order invitation and the time when the behavior of accepting the order invitation occurs; determining at least one pair of mutually related order information sub-streams and behavior information sub-streams from the order information stream and the behavior information stream; for any pair of mutually related order information sub-streams and behavior information sub-streams, if new behavior information is obtained from the behavior information sub-stream, adding the new behavior information to a behavior information set; if new order information is obtained from the order information sub-stream, and it is determined that there is corresponding behavior information to be bound in the behavior information set, binding the initiator information in the determined behavior information to be bound to the new order information with the new order information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments in this specification relate to the field of computer application technology, and in particular to an order binding method, apparatus, device and storage medium. Background Technology

[0002] Currently, to increase order volume, businesses can send order invitations to users, thereby increasing the likelihood of users placing orders and ultimately boosting order numbers. The initiators of these order invitations can include community users, marketing channels, or self-media advertisements, among others.

[0003] For example, community users can invite other users to place an order on a product page within a social application. Specifically, this could be done by sending a shared link, which other users can click to accept the order invitation and thus access the product page.

[0004] For example, users can click on advertising links placed through marketing channels to accept order invitations and enter the product page. Specifically, this could be splash screen video ads on short video apps, or advertising links on news and social media platforms.

[0005] Furthermore, business stakeholders typically need to analyze the invitation effectiveness of different initiators to determine which initiator invited the user who generated the order, facilitating subsequent statistical analysis.

[0006] However, the applications used to send out order invitations are usually unrelated to the business, such as social applications, instant messaging applications, or short video applications.

[0007] Businesses have no control over information obtained from other applications, making it difficult to determine which initiator invited the user who generated the order. Summary of the Invention

[0008] To address the aforementioned problems, this specification provides an order binding method, apparatus, device, and storage medium. The technical solution is shown below.

[0009] An order binding method, comprising:

[0010] Obtain order information stream and behavior information stream; the behavior information includes information about the initiator of the order invitation, information about the invited user who accepted the order invitation, and the time when the act of accepting the order invitation occurred; the order information includes information about the user who placed the order and the order generation time;

[0011] From the order information stream and the behavior information stream, at least one pair of mutually related order information sub-streams and behavior information sub-streams are determined; in the pair of mutually related order information sub-streams and behavior information sub-streams, the invited user information is the same as the order-placing user information;

[0012] For any pair of related order information sub-streams and behavior information sub-streams, if new behavior information is obtained from the behavior information sub-stream, the new behavior information is added to the behavior information set.

[0013] If new order information is obtained from the order information sub-stream, and it is determined that there is corresponding behavior information to be bound in the behavior information set, the initiator information in the determined behavior information to be bound is bound to the new order information.

[0014] The new order information to be bound includes the behavior information in the behavior information set that occurred before the order generation time of the new order information and has the latest occurrence time.

[0015] Optionally, the method further includes:

[0016] If new order information is obtained from the order information substream, and it is determined that there is no corresponding behavior information to be bound in the behavior information set, the new order information is added to the order information set.

[0017] Optionally, the method further includes:

[0018] If new behavior information is obtained from the behavior information sub-stream, and it is determined that there is an order information to be bound corresponding to the new behavior information in the order information set, the determined order information to be bound is removed from the order information set, and the determined order information to be bound is bound to the initiator information in the new behavior information.

[0019] The order information to be bound corresponding to the new behavioral information includes the order information in the order information set whose order generation time is after the occurrence time of the new behavioral information and whose order generation time is the earliest.

[0020] Optionally, the method further includes:

[0021] For each unbound order in the order information set, if the duration of its addition to the order information set exceeds a first preset duration threshold, the unbound order is removed from the order information set.

[0022] Optionally, the method further includes:

[0023] For each piece of behavior information in the behavior information set, if the duration of its addition to the behavior information set exceeds a second preset duration threshold, the targeted behavior information is removed from the behavior information set.

[0024] Optionally, the method further includes:

[0025] If new behavioral information is obtained from the behavioral information substream, the new behavioral information is added to the backup information set.

[0026] For each behavior information in the guaranteed minimum information set, if the duration of its addition to the guaranteed minimum information set exceeds a third preset duration threshold, the targeted behavior information is removed from the guaranteed minimum information set; the third preset duration threshold is greater than the second preset duration threshold.

[0027] For any unbound order information, if it is determined that there is a corresponding pending behavior information in the guaranteed information set, the initiator information in the determined pending behavior information is bound to the unbound order information.

[0028] Optionally, the method further includes:

[0029] If new behavioral information is obtained from the behavioral information substream, the new behavioral information is added to the backup information set.

[0030] For each piece of behavior information in the behavior information set, if the duration of its addition to the behavior information set exceeds a second preset duration threshold, the targeted behavior information is removed from the behavior information set.

[0031] For each behavior information in the guaranteed minimum information set, if the duration of its addition to the guaranteed minimum information set exceeds a third preset duration threshold, the targeted behavior information is removed from the guaranteed minimum information set; the third preset duration threshold is greater than the second preset duration threshold.

[0032] For any unbound order information in the order information set, if it is determined that there is a corresponding pending behavior information in the guaranteed information set, the initiator information in the determined pending behavior information is bound to the unbound order information.

[0033] An order binding device, comprising:

[0034] The acquisition unit is used to acquire order information streams and behavior information streams; the behavior information includes information about the initiator of the order invitation, information about the invited user who accepted the order invitation, and the time when the behavior of accepting the order invitation occurred; the order information includes information about the user who placed the order and the order generation time.

[0035] The determining unit is configured to determine at least one pair of mutually related order information sub-streams and behavior information sub-streams from the order information stream and the behavior information stream; in the pair of mutually related order information sub-streams and behavior information sub-streams, the invited user information is the same as the order-placing user information;

[0036] The addition unit is used to add new behavior information to the behavior information set when new behavior information is obtained from any pair of related order information sub-streams and behavior information sub-streams.

[0037] The binding unit is used to bind the initiator information in the behavior information to the new order information when new order information is obtained from the order information sub-stream and it is determined that there is behavior information to be bound corresponding to the new order information in the behavior information set;

[0038] The new order information to be bound includes the behavior information in the behavior information set that occurred before the order generation time of the new order information and has the latest occurrence time.

[0039] Optionally, the device further includes:

[0040] The order information set unit is used to add the new order information to the order information set when a new order information is obtained from the order information sub-stream and it is determined that there is no corresponding behavior information to be bound in the behavior information set.

[0041] Optionally, the binding unit is further configured to:

[0042] If new behavior information is obtained from the behavior information sub-stream, and it is determined that there is an order information to be bound corresponding to the new behavior information in the order information set, the determined order information to be bound is removed from the order information set, and the determined order information to be bound is bound to the initiator information in the new behavior information.

[0043] The order information to be bound corresponding to the new behavioral information includes the order information in the order information set whose order generation time is after the occurrence time of the new behavioral information and whose order generation time is the earliest.

[0044] Optionally, the device further includes:

[0045] The order information removal unit is used to remove each unbound order information from the order information set if the duration of its addition to the order information set exceeds a first preset duration threshold.

[0046] Optionally, the device further includes:

[0047] The behavior information removal unit is used to remove the target behavior information from the behavior information set if the duration of the behavior information set is exceeded by a second preset duration threshold.

[0048] Optionally, the behavior information removal unit is further configured to:

[0049] If new behavioral information is obtained from the behavioral information substream, the new behavioral information is added to the backup information set.

[0050] For each behavior information in the guaranteed minimum information set, if the duration of its addition to the guaranteed minimum information set exceeds a third preset duration threshold, the targeted behavior information is removed from the guaranteed minimum information set; the third preset duration threshold is greater than the second preset duration threshold.

[0051] The binding unit is further configured to: for any unbound order information, if it is determined that there is a pending behavior information corresponding to the unbound order information in the guaranteed information set, bind the initiator information in the determined pending behavior information to the unbound order information.

[0052] Optionally, the behavior information removal unit is further configured to:

[0053] If new behavioral information is obtained from the behavioral information substream, the new behavioral information is added to the backup information set.

[0054] For each piece of behavior information in the behavior information set, if the duration of its addition to the behavior information set exceeds a second preset duration threshold, the targeted behavior information is removed from the behavior information set.

[0055] For each behavior information in the guaranteed minimum information set, if the duration of its addition to the guaranteed minimum information set exceeds a third preset duration threshold, the targeted behavior information is removed from the guaranteed minimum information set; the third preset duration threshold is greater than the second preset duration threshold.

[0056] The binding unit is further configured to: for any unbound order information in the order information set, if it is determined that there is pending binding behavior information corresponding to the unbound order information in the guaranteed information set, bind the initiator information in the determined pending binding behavior information to the unbound order information.

[0057] In the above technical solution, order information and behavior information of the same user can be combined, and the order information and initiator information can be bound by time sequence relationship, so as to determine that the user generated the order under the order invitation of the initiator. Attached Figure Description

[0058] To more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings.

[0059] Figure 1 This is a flowchart illustrating an order binding method provided in an embodiment of this specification;

[0060] Figure 2 This is a schematic diagram illustrating the principle of an order binding method provided in the embodiments of this specification;

[0061] Figure 3 This is a flowchart illustrating another order binding method provided in the embodiments of this specification;

[0062] Figure 4 This is a schematic diagram of the structure of an order binding device provided in the embodiments of this specification;

[0063] Figure 5 This is a schematic diagram of another order binding device provided in the embodiments of this specification;

[0064] Figure 6 This is a schematic diagram of the structure of a device used to configure the methods of the embodiments of this specification. Detailed Implementation

[0065] To enable those skilled in the art to better understand the technical solutions in the embodiments of this specification, the technical solutions in the embodiments of this specification will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this specification, and not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by those skilled in the art should fall within the scope of disclosure.

[0066] Currently, to increase order volume, businesses can send order invitations to users, thereby increasing the likelihood of users placing orders and ultimately boosting order numbers. The initiators of these order invitations can include community users, marketing channels, or self-media advertisements, among others.

[0067] For example, community users can invite other users to place an order on a product page within a social application. Specifically, this could be done by sending a shared link, which other users can click to accept the order invitation and thus access the product page.

[0068] For example, users can click on advertising links placed through marketing channels to accept order invitations and enter the product page. Specifically, this could be splash screen video ads on short video apps, or advertising links on news and social media platforms.

[0069] Furthermore, business stakeholders typically need to analyze the invitation effectiveness of different initiators to determine which initiator invited the user who generated the order, facilitating subsequent statistical analysis.

[0070] However, the applications used to send out order invitations are usually unrelated to the business, such as social applications, instant messaging applications, or short video applications.

[0071] Businesses have no control over information obtained from other applications, making it difficult to determine which initiator invited the user who generated the order.

[0072] To address the aforementioned issues, this specification provides an order binding method in its embodiments.

[0073] First, the business side can continuously receive order information and behavioral information. For ease of description, the order information continuously received by the business side can be regarded as an order information stream, and the behavioral information continuously received by the business side can be regarded as a behavioral information stream.

[0074] After a user accepts an order invitation, they need to obtain relevant product information from the business side, which requires them to send information to the business side. Specifically, this could involve obtaining the online store interface from the business side to select products and generate an order. Therefore, the business side can continuously receive behavioral information.

[0075] Specifically, this could be information received by the business unit from the servers of other applications. For example, if the business unit receives a request from a user's e-commerce interface from the server of a social application, this request can be considered as behavioral information.

[0076] Behavioral information specifically refers to information generated when a user accepts an order invitation from the initiator. Since users typically need to communicate with the business side when accepting an order invitation, the business side can obtain the user's behavioral information.

[0077] For example, after a user clicks on a product link sent by another user, a request can be sent to the business server to enter the product page and place an order.

[0078] Optionally, the behavioral information may include: information about the initiator of the order invitation, information about the invited user who accepted the order invitation, and the time when the act of accepting the order invitation occurred.

[0079] Furthermore, after a user places an order, the order needs to be sent to the business unit. Therefore, the business unit can continuously receive order information. Specifically, this can be obtained from the business unit's order server.

[0080] After accepting the order invitation from the initiator, a user may successfully place an order and generate the corresponding order, or they may not generate an order.

[0081] For example, after clicking on a product link sent by another user and entering the product page, a user can select a product to place an order, thereby generating a corresponding order, or they can refuse to place an order and exit the page directly.

[0082] Order information specifically refers to the information generated after a user successfully places an order. This information may include order details, order specifications, and order price. The order creation time may also be included.

[0083] Since the user's order is generated for the business party, the business party can also obtain the user's order information.

[0084] Optionally, the order information may include: the user who placed the order and the order generation time.

[0085] From the business perspective, the order information stream can include order information from multiple users, and the behavior information stream can include behavior information from multiple users accepting order invitations.

[0086] To determine the initiator of the order information, we can first match the order information flow and the behavior information flow, and extract the order information of the same user and the behavior information of the user accepting the order invitation.

[0087] Since order information and behavior information can be continuously generated for a single user, a pair of related order information sub-streams and behavior information sub-streams can be identified, where the ordering user information for each order information and the invited user information for each behavior information are the same.

[0088] Furthermore, we can first analyze the user's behavior flow. Typically, after accepting the order invitation from the initiator and generating behavioral information, the user then successfully places an order and generates order information.

[0089] For example, after a user clicks on a product link sent by another user, a request can be sent to the business server to generate behavioral information. After that, the user can enter the product interface to place an order. Once the order is successfully placed, the user can send order information to the business server.

[0090] Therefore, in the process of a user successfully placing an order by invitation, the action usually occurs before the order is generated.

[0091] In addition, to determine which initiator invited a user to place an order, it is possible to identify which user's order information and which behavioral information were involved in the same successful order placement process, thereby identifying the initiator information in the behavioral information.

[0092] Furthermore, multiple behavioral and order information entries may be generated for the same user. For example, a user may click on multiple product links sent by multiple users, or multiple orders may be generated.

[0093] Since the product interface that a user enters after accepting an order invitation usually overwrites the previous product interface, for an order from the same user, it is generally possible to determine that the latest behavior that occurred before the order was generated is more likely to belong to the same successful order placement process.

[0094] For example, a user can click on multiple users' product links to generate an order. Usually, after clicking on the last user's product link, the user will be taken to the product page to place an order, and the order will be generated upon successful placement.

[0095] Therefore, in this method, the behavioral information and order information of the same user can be combined. Then, for each order information, the behavior information whose behavior occurred before the order generation time of the order information and whose behavior occurred the latest can be determined. The order information is then bound to the initiator information in the determined behavior information, so as to determine that the user generated the order at the invitation of the initiator.

[0096] like Figure 1 The diagram shown is a flowchart illustrating an order binding method provided in an embodiment of this specification.

[0097] The embodiments in this specification do not limit the specific execution entity. Optionally, the execution entity of this method flow can be a server, specifically a business server.

[0098] This method may include the following steps.

[0099] S101: Obtain order information flow and behavior information flow.

[0100] Optionally, the behavioral information may include information about the initiator of the order invitation, information about the invited user who accepted the order invitation, and the time when the act of accepting the order invitation occurred.

[0101] Optionally, order information may include the ordering user information and the order generation time.

[0102] S102: Identify at least one pair of mutually related order information sub-flows and behavior information sub-flows from the order information flow and behavior information flow.

[0103] Optionally, in a pair of interconnected order information sub-streams and behavior information sub-streams, the invited user information and the order-placing user information can be the same. Specifically, in a pair of interconnected order information sub-streams and behavior information sub-streams, the invited user information in each behavior information is the same as the order-placing user information in each order information.

[0104] S103: For any pair of related order information sub-streams and behavior information sub-streams, if new behavior information is obtained from the targeted behavior information sub-stream, add the new behavior information to the behavior information set.

[0105] S104: If new order information is obtained from the targeted order information sub-stream, and it is determined that there is a new order information corresponding to the new order information in the action information set, the initiator information in the determined action information to be bound is bound to the new order information.

[0106] Optionally, the behavior information to be bound to the new order information may include the behavior information in the behavior information set that occurred before the order generation time of the new order information and that occurred latest.

[0107] This method does not limit the execution order of steps S101-S104. Optionally, they can be executed in parallel.

[0108] Optionally, the above steps S101-S104 can be processed in a streaming manner, with each step independent of the others.

[0109] Optionally, four virtual program modules can be set in the execution entity to execute S101-S104 respectively. Specifically, four processes or four threads can be set to execute S101-S104 respectively.

[0110] Optionally, the first acquisition module can acquire the order information stream and the behavior information stream.

[0111] The first determining module determines at least one pair of mutually related order information sub-streams and behavior information sub-streams from the acquired order information stream and behavior information stream.

[0112] The first adding module, for any given pair of related order information sub-streams and behavior information sub-streams, adds the new behavior information to the behavior information set when new behavior information is obtained from the behavior information sub-stream.

[0113] The first binding module, for the aforementioned interconnected order information sub-stream and behavior information sub-stream, when obtaining new order information from the order information sub-stream and determining that there is new order information corresponding to the new order information in the behavior information set, binds the initiator information in the determined behavior information to be bound to the new order information.

[0114] This method can integrate the order information and behavior information of the same user, and use the time sequence relationship to bind the order information and the initiator information, thereby determining that the user generated the order under the initiator's order invitation.

[0115] Furthermore, by binding the initiator information to the order information, subsequent statistical analysis can be facilitated.

[0116] The following is a detailed explanation of each step.

[0117] 1. S101: Obtain order information flow and behavior information flow.

[0118] This method does not limit the way of obtaining order information flow and behavior information flow.

[0119] Optionally, order information streams and behavior information streams can be obtained from different servers. Specifically, order information streams can be obtained from the business's order server, behavior information streams can be obtained from the servers of other applications, or behavior information streams can be obtained from the client.

[0120] Since the business side can continuously obtain order information and behavior information, the continuously obtained order information can be regarded as an order information flow, thereby continuously obtaining new order information from the order information flow.

[0121] Similarly, business users can continuously acquire new behavioral information from the behavioral information stream.

[0122] Optionally, the behavioral information may include information about the initiator of the order invitation, information about the invited user who accepted the order invitation, and the time when the act of accepting the order invitation occurred.

[0123] Optionally, order information may include the ordering user information and the order generation time.

[0124] Optionally, behavioral information may also include the time, form, and number of times the order invitation was initiated. Order information may also include order details, order price, and order specifications.

[0125] This method does not limit how users can invite others to place orders. Optionally, orders can be invited by sending a link, and clicking the link can be considered as accepting the order invitation.

[0126] Alternatively, users can be invited to place an order by directly pulling users; a user's acceptance of the pull operation can be regarded as acceptance of the order invitation.

[0127] Alternatively, an order invitation can be sent by sending a QR code image, and users scanning the code can be seen as accepting the order invitation.

[0128] Alternatively, the order invitation can be sent via a pop-up window, allowing users to respond to the pop-up and accept the order invitation.

[0129] Alternatively, order invitations can be sent via notification bar, allowing users to respond to the message and accept the invitation.

[0130] Optionally, the initiator may include other users, marketing channels, advertisers, or self-media platforms, etc. Correspondingly, the initiator information may include at least one of the following: other user information, marketing channel information, advertiser information, or self-media platform information, etc.

[0131] 2. S102: From the order information flow and the behavior information flow, determine at least one pair of mutually related order information sub-flows and behavior information sub-flows.

[0132] Optionally, in a pair of interconnected order information sub-streams and behavior information sub-streams, the invited user information and the order-placing user information can be the same.

[0133] Specifically, it could be a pair of interconnected order information sub-streams and behavior information sub-streams, where the invited user information in each behavior information is the same as the order placement user information in each order information.

[0134] This method does not limit the way of determining the interrelated order information sub-streams and behavior information sub-streams.

[0135] Optionally, the system can use target user information as an identifier to combine order information from the order information flow where the ordering user information is the target user information, and behavioral information from the behavioral information flow where the invited user information is the target user information.

[0136] The target user can be any user.

[0137] Since new information can be continuously obtained from the order information stream and the behavior information stream, by using the target user information as an identifier, it is also possible to continuously obtain order information with new ordering user information as the target user information, as well as behavior information with new invited user information as the target user information.

[0138] This allows us to obtain interrelated sub-streams of order information and behavior information, identified by the target user information.

[0139] Alternatively, the system can use target user information as an identifier to integrate all order information in the order information flow where the ordering user information is the target user information, and all behavioral information in the behavioral information flow where the invited user information is the target user information, thereby improving the accuracy of order binding.

[0140] This method does not limit the number of interrelated order information sub-streams and behavior information sub-streams determined.

[0141] Optionally, for each piece of user information involved in the order information flow and behavior information flow, the related order information sub-flow and behavior information sub-flow can be determined using the targeted user information as an identifier. This increases the number of orders bound.

[0142] Alternatively, for a portion of the user information involved in the order information flow and behavior information flow, the relevant order information sub-flow and behavior information sub-flow can be identified by using the targeted user information as an identifier.

[0143] In a specific example, Flink's distributed processing framework can be used. Flink can obtain behavioral and order information streams from different applications and business systems in real time. Furthermore, Flink can parse the order and behavioral information streams in real time, filtering out the necessary real-time data. Then, Flink can connect the order and behavioral information streams using a unified identifier's primary key; specifically, it can connect the order information from the order information and the invited user information from the behavioral information.

[0144] After connecting with Flink, you get a data collection called "process". This process aggregates the order information stream and behavior information stream of the same user, and the order information stream and behavior information stream are clearly distinguished.

[0145] 3. S103: For any pair of related order information sub-streams and behavior information sub-streams, if new behavior information is obtained from the targeted behavior information sub-stream, the new behavior information is added to the behavior information set.

[0146] First, it should be noted that S103 and S104 describe the steps to be performed for any pair of related order information sub-streams and behavior information sub-streams. It can be understood that the same steps can be performed for multiple pairs of related order information sub-streams and behavior information sub-streams to bind orders.

[0147] This embodiment is not limited.

[0148] In one alternative embodiment, new behavioral information obtained from the targeted behavioral information sub-stream can be collected into a behavioral information set, thereby facilitating the use of the collected behavioral information to help with order binding.

[0149] It should be noted that, optionally, since users can enter the product page to place an order after accepting an order invitation from another user, a user may place multiple orders based on the product page, generating multiple order information. In other words, one behavioral information may be linked to multiple order information.

[0150] Therefore, behavior information that has been successfully bound can usually not be removed from the behavior information set.

[0151] Conversely, for an order, since the order is generated in an order invitation process, it can usually be bound to a behavioral information.

[0152] In one alternative embodiment, there is a limitation on the behavioral information that can be retained in the behavioral information set, which may be a limitation on storage resources or a limitation on efficiency.

[0153] It should be noted that behavioral information that has been retained for a long time usually has a low probability of being successfully bound to order information. Therefore, in order to save storage resources and improve binding efficiency, the behavioral information set can be cleaned up.

[0154] This embodiment does not limit the method of cleaning up the behavior information set. Optionally, a valid retention period can be set for each behavior information in the behavior information set, and the behavior information can be removed if the valid retention period expires.

[0155] Optionally, for each piece of behavior information in the behavior information set, if the duration of its addition to the behavior information set exceeds a second preset duration threshold, the targeted behavior information can be removed from the behavior information set.

[0156] This embodiment does not limit the destination of the removed behavior information. Optionally, it can be stored in a database or directly deleted.

[0157] 4. S104: When new order information is obtained from the targeted order information sub-stream, and it is determined that there is a new order information corresponding to the new order information in the action information set, the initiator information in the determined action information to be bound is bound to the new order information.

[0158] Optionally, the behavior information to be bound to the new order information may include the behavior information in the behavior information set that occurred before the order generation time of the new order information and that occurred latest.

[0159] This method does not limit the way the initiator information is bound to the order information. Optionally, the initiator information may specifically include the initiator's identifier, and the binding method may be to establish a correspondence between the initiator's identifier and the order information.

[0160] Optionally, the bound initiator information and order information can be directly stored in the database for convenient subsequent statistical analysis.

[0161] In addition, it should be noted that, since the order information of the target user can be linked to the corresponding initiator information, it can be determined that the target user generated the order at the invitation of the initiator.

[0162] Therefore, for any order from any user, the corresponding initiator can be identified using the same method. This makes it easy to calculate the order invitation results of each initiator, which can include the number of orders successfully generated by each initiator through initiating order invitations. This facilitates subsequent business operations for the business side, such as increasing or decreasing the investment of marketing channels, rewarding other users who initiated order invitations, and conducting business analysis.

[0163] V. Other steps.

[0164] In an optional embodiment, regarding step S104 above, if new order information is obtained from the targeted order information sub-stream and it is determined that there is no new order information to be bound in the behavior information set, it can be determined that the new order information cannot be directly bound at present.

[0165] This method does not limit the handling of order information that cannot be bound at present. Optionally, the order information that cannot be bound at present can be directly deleted, or it can be stored in the database.

[0166] Typically, behavioral information can reach the business side before order information and be added to the behavioral information set. Order information under the same order invitation process can be generated and reach the business side afterward, and then bound through S104.

[0167] However, order information and behavior information of the same user may arrive out of order. This may be due to network fluctuations or malfunctions, causing the order information to arrive out of order and thus preventing the order information from being bound. Therefore, the order information can be temporarily stored and bound later when new behavior information arrives.

[0168] Optionally, the above method may further include: if new order information is obtained from the targeted order information sub-stream and it is determined that there is no new order information to be bound in the behavior information set, the new order information may be added to the order information set.

[0169] Furthermore, for unbound order information in the order information set, since the order information could not be bound based on the previous set of behavioral information, as new behavioral information is added subsequently, it can be determined whether the unbound order information in the order information set can be bound based on the newly added behavioral information.

[0170] Optionally, the above method may further include: when new behavior information is obtained from the targeted behavior information sub-stream and it is determined that there is a new behavior information corresponding to the order information to be bound in the order information set, the determined order information to be bound is bound to the initiator information in the new behavior information, and the determined order information to be bound is removed from the order information set.

[0171] Optionally, the order information to be bound to the new behavior information may include the order information in the order information set whose order generation time is after the occurrence time of the new behavior information and whose order generation time is the earliest.

[0172] This embodiment can utilize new behavioral information to reverse-engineer unbound order information in the order information set to determine whether binding is possible, thereby improving order binding efficiency.

[0173] It should be noted that, optionally, one behavioral information may correspond to multiple order information for binding. Therefore, it is not necessary to remove successfully bound behavioral information from the behavioral information set.

[0174] Of course, optionally, if the business stipulates that a behavior information can only be bound to one order information, the successfully bound behavior information can also be removed from the behavior information set. For example, after generating order information, the system can automatically exit the online store interface. If multiple orders are required, the system would need to click the link multiple times to re-enter the online store interface and generate multiple behavior information entries.

[0175] Optionally, for order information, since order information is usually bound to only one behavior information, the successfully bound order information can be removed from the order collection after the order information is successfully bound.

[0176] Optionally, for order information that is not bound in the order information set, you can also manually determine which order information can be bound based on the updated behavior information set. This can be done periodically.

[0177] Optionally, for unbound order information in the order information set, it can be periodically determined whether there is any pending action information corresponding to the targeted order information in the current action information set. If so, the initiator information in the determined pending action information can be bound to the targeted order information.

[0178] Furthermore, regarding the order information set, if there are order information that cannot be bound for a long time, then the corresponding behavioral information may be lost or malfunction and cannot be obtained.

[0179] Therefore, in order to save storage resources and improve the efficiency of order binding, the order information set can be cleaned up.

[0180] This embodiment does not limit the method of cleaning up the order information set. Optionally, a valid retention period can be set for unbound order information in the order information set, so that the unbound order information can be removed after the valid retention period expires.

[0181] Optionally, for each unbound order in the order information set, if the duration of its addition to the order information set exceeds a first preset duration threshold, the unbound order can be removed from the order information set.

[0182] Of course, the effective retention period can also be set in other ways, such as by determining the number of times the unbound order information and behavior information are bound.

[0183] In addition, in an optional embodiment, besides the behavioral information set, a backup information set can also be set, which can be used to retain behavioral information for a longer period of time, thereby facilitating an increase in the probability of order binding.

[0184] Specifically setting the behavior information set and the safety net information set can improve the execution efficiency of S104, that is, the efficiency of binding orders. First, binding is determined by the behavior information set containing relatively less behavior information, and then binding is determined by the safety net information set containing relatively more behavior information. Thus, the efficiency of binding orders can be improved by utilizing the behavior information set containing less behavior information.

[0185] Optionally, if new behavioral information is obtained from the targeted behavioral information substream, the new behavioral information can be added to the backup information set.

[0186] Optionally, for each behavior information in the guaranteed information set, if the duration of its addition to the guaranteed information set exceeds a third preset duration threshold, the targeted behavior information can be removed from the guaranteed information set; the third preset duration threshold is greater than the second preset duration threshold.

[0187] For example, the behavioral information set can retain 10 minutes of behavioral information, while the safety net information set can retain 24 hours of behavioral information.

[0188] This embodiment does not limit the method of binding orders using a set of guaranteed information.

[0189] Optionally, for order information that failed to bind on the first attempt, the binding can be confirmed directly using the backup information set. Alternatively, for unbound order information in the order information set, the binding can be confirmed using the backup information set. Or, for unbound order information in the order information set that needs to be removed, the binding can be confirmed using the backup information set.

[0190] Optionally, for unbound order information, if it is determined that there is corresponding pending behavior information for the unbound order information in the set of guaranteed information, the initiator information in the determined pending behavior information can be bound to the unbound order information.

[0191] Optionally, for unbound order information in the order information set, if it is determined that there is corresponding pending behavior information in the backup information set, the initiator information in the pending behavior information can be bound to the unbound order information.

[0192] Optionally, for unbound order information to be removed in the order information set, if it is determined that there is corresponding unbound behavior information in the backup information set, the initiator information in the unbound behavior information can be bound to the unbound order information.

[0193] Alternatively, regardless of whether an order information set is set, for any unbound order information, if it is determined that there is a pending behavior information corresponding to the unbound order information in the guaranteed information set, the initiator information in the determined pending behavior information can be bound to the unbound order information.

[0194] In this embodiment, the timing and number of times the binding determination between the unbound order information and the guaranteed minimum information set are not limited. Multiple binding judgments can be performed.

[0195] Optionally, when setting an order information set, for any unbound order information in the order information set, if it is determined that there is a corresponding pending behavior information in the guaranteed information set for the unbound order information, the initiator information in the determined pending behavior information can be bound to the unbound order information.

[0196] In this embodiment, the timing and number of times the binding determination is made between unbound order information in the order information set and the guaranteed minimum information set are not limited. Multiple binding judgments can be performed.

[0197] Optionally, the binding determination with the backup information set can be performed when it is necessary to remove unbound order information from the order information set. Alternatively, the binding determination can be performed at any time during the valid retention period of unbound order information in the order information set.

[0198] In one alternative embodiment, both successfully bound order information and unbound order information can be stored in the database.

[0199] Specifically, successfully bound order information and the corresponding initiator information can be stored together in the database. Order information that failed to bind can be easily audited or used to confirm future binding attempts.

[0200] For ease of understanding, such as Figure 2 The diagram shown is a schematic representation of an order binding method provided in an embodiment of this specification.

[0201] In a specific example, Flink's distributed processing framework can be used. Flink can retrieve behavioral and order information streams from different applications and business systems in real time. Furthermore, Flink can parse the order and behavioral information streams in real time and filter out the required real-time data.

[0202] Then, Flink can be used to connect the order information stream and the behavior information stream using a unified identifier associated primary key; specifically, it can be done by using the order user information in the order information and the invited user information in the behavior information.

[0203] After connecting with Flink, you get a data collection called "process". This process aggregates the order information stream and behavior information stream of the same user, and the order information stream and behavior information stream are clearly distinguished.

[0204] For the data set process, three state storages and one timer can be set. The state storages are: state (order flow) TTL (10 min), state (behavior flow) TTL (10 min), and state (behavior flow) TTL (24 hours). The timer is onTimer (10 min).

[0205] Then, real-time calculations can be performed on the data set process.

[0206] a. For a real-time behavioral information A, this behavioral information A can be stored simultaneously in the state (behavioral flow) TTL (10 minutes) and the state (behavioral flow) TTL (24 hours). At the same time, considering that behavioral information A may be a delayed data, the anti-coloring logic of behavioral information relative to order information can be performed. The processing logic is as follows.

[0207] First, check if there is any order information in the state (order flow) TTL (10min). If there is, take behavior information A, iterate through each order information in the state (order flow) TTL (10min), and according to the order generation time in the order information, use insertion sort to get the order information B whose order generation time is after the invitation time of behavior information A and whose order generation time is closest to the invitation time of behavior information A. Mark the order information B with the mark and output the marked order information B. At the same time, remove the order information B from the state (order flow) TTL (10min). If there is no order information whose order generation time is after the invitation time of behavior information A, do not do anything.

[0208] The coloring marker here can specifically be a way to establish a binding relationship, thereby determining the initiator information corresponding to the order information. Specifically, it can be the initiator information included in the behavior information corresponding to the coloring. Different initiators can correspond to different coloring markers.

[0209] b. For a real-time order information C, we can directly retrieve the order information D from the state (behavior flow) TTL (10min) according to the invitation time of the behavior information, using insertion sort, and obtain the behavior information D whose invitation time is before the order creation time of order information C and whose invitation time is closest to the order creation time of order information C. Then, we can color and mark the order information C and output the colored order information C. If there is no behavior information whose invitation time is before the order creation time of order information C, then we put the order information C into the state (order flow) TTL (10min).

[0210] c. For the state (order flow) TTL (10 minutes), after the timer onTimer (10 minutes) is triggered, each order information in the state (order flow) TTL (10 minutes) can be retrieved. Then, this order information is used to check the state (behavior flow) TTL (24 hours) to see if it contains a behavior information whose invitation time is before the order creation time of the order information and whose invitation time is closest to the order creation time of the order information. If so, the order information is tagged and the tagged order information is output. If not, the order information is untagged and the untagged order information is output.

[0211] Of course, a timer can also be set for each order information in the state (order flow) TTL (10 min), so that each order information can receive reverse coloring of behavior information before the timer is triggered, and after the timer is triggered, coloring judgment can be performed on the state (behavior flow) TTL (24 hours).

[0212] Order data that has been tagged with color can be stored in real time, specifically in the Doris database. The storage duration can be determined within the database for a maximum of 8 days.

[0213] Through the above embodiments, in high-throughput real-time scenarios, such as 50,000 to 100,000 transactions per second, the traffic changes of each initiator, also known as the changes in private domain traffic, can be observed in real time.

[0214] Furthermore, it can perform calculations for each incoming data point. As long as the server latency is low and behavioral and order data arrive normally, the traffic coloring calculation time can be quite fast, reaching the millimeter level.

[0215] It does not require storage media other than Flink, such as HBase / Redis, to store behavioral and order data, which helps improve IO performance in data interaction with Flink.

[0216] This can, to some extent, solve the problem of data being out of order or delayed in arrival during the calculation process of order flow and behavior flow, resulting in data not being calculated.

[0217] In addition, this specification also provides another order binding method, which can bind orders from the perspective of a single user.

[0218] like Figure 3 The diagram shown is a flowchart illustrating another order binding method provided in the embodiments of this specification.

[0219] The embodiments in this specification do not limit the specific execution entity. Optionally, the execution entity of this method flow can be a server, specifically a business server.

[0220] This method may include the following steps.

[0221] S201: Obtain the target user's behavior information and the target user's order information.

[0222] Optionally, the behavioral information may include information about the party that initiated the order invitation and the time when the act of accepting the order invitation occurred; the order information may include the order generation time.

[0223] S202: If new behavioral information of the target user is obtained, add the new behavioral information to the behavioral information set.

[0224] S203: If new order information of the target user is obtained, and it is determined that there is new order information to be bound in the set of behavior information, the initiator information in the determined behavior information to be bound is bound to the new order information.

[0225] Optionally, the behavior information to be bound to the new order information may include the behavior information in the behavior information set that occurred before the order generation time of the new order information and that occurred latest.

[0226] This method does not restrict the execution order between S202 and S203. Optionally, they can be executed in parallel.

[0227] This method can integrate order information and behavior information of the same target user, and use time sequence relationships to bind order information and initiator information, thereby determining whether the target user generated the order under the initiator's order invitation.

[0228] This method does not limit the specific meaning of the target user. Optionally, the target user can be any user. Specifically, the target user can be the user to whom this method is executed.

[0229] This method does not limit the format of behavioral and order information. Please refer to the explanation above for details.

[0230] This method does not limit the specific way of obtaining the target user's behavioral and order information. Optionally, it can collect behavioral and order information obtained by the business side, and then filter out the target user's behavioral and order information based on the user.

[0231] Specifically, this could involve filtering the target user's order information from the order information stream and filtering the target user's behavior information from the behavior information stream.

[0232] Alternatively, it can directly receive behavioral information and order information sent by the target user.

[0233] Optionally, behavioral information may also include information about invited users who accepted the order invitation; order information may also include information about users who placed the order.

[0234] Correspondingly, obtaining the target user's behavioral information and target user's order information may include: obtaining behavioral information of invited users as target user information, and order information of users who placed orders as target user information.

[0235] Optionally, if the new order information of the target user is obtained, and it is determined that there is no corresponding behavior information to be bound in the behavior information set, the new order information is added to the order information set.

[0236] Optionally, if new behavioral information of the target user is obtained and it is determined that there is order information to be bound corresponding to the new behavioral information in the order information set, the determined order information to be bound is bound to the initiator information in the new behavioral information, and the determined order information to be bound is removed from the order information set.

[0237] Among them, the order information to be bound corresponding to the new behavior information includes the order information in the order information set whose order generation time is after the occurrence time of the new behavior information and whose order generation time is the earliest.

[0238] Optionally, for each unbound order in the order information set, if the duration of adding it to the order information set exceeds a first preset duration threshold, the unbound order is removed from the order information set.

[0239] Optionally, for each piece of behavior information in the behavior information set, if the duration of its addition to the behavior information set exceeds a second preset duration threshold, the targeted behavior information is removed from the behavior information set.

[0240] Optionally, if new behavioral information of the target user is obtained, the new behavioral information is added to the safety net information set;

[0241] For each behavior information in the guaranteed information set, if the duration added to the guaranteed information set exceeds the third preset duration threshold, the targeted behavior information is removed from the guaranteed information set; the third preset duration threshold is greater than the second preset duration threshold.

[0242] For any unbound order information, if it is determined that there is a corresponding pending action information in the guaranteed information set, the initiator information in the determined pending action information is bound to the unbound order information.

[0243] Optionally, if new behavioral information of the target user is obtained, the new behavioral information is added to the safety net information set;

[0244] For each piece of behavior information in the behavior information set, if the duration of its addition to the behavior information set exceeds a second preset duration threshold, the targeted behavior information is removed from the behavior information set.

[0245] For each behavior information in the guaranteed information set, if the duration added to the guaranteed information set exceeds the third preset duration threshold, the targeted behavior information is removed from the guaranteed information set; the third preset duration threshold is greater than the second preset duration threshold.

[0246] For any unbound order in the order information set, if it is determined that there is a corresponding pending action information in the guaranteed information set, the initiator information in the determined pending action information is bound to the unbound order.

[0247] For further explanation of the above method flow, please refer to the explanation of the above method flow S101-S104.

[0248] Corresponding to the above method embodiments, this specification also provides corresponding device embodiments.

[0249] like Figure 4 The diagram shown is a structural schematic of an order binding device provided in an embodiment of this specification.

[0250] The device may include the following units.

[0251] The acquisition unit 301 is used to acquire order information flow and behavior information flow; the behavior information includes the initiator information of the order invitation, the invited user information of the user who accepted the order invitation, and the time when the behavior of accepting the order invitation occurred; the order information includes the order user information and the order generation time.

[0252] The determining unit 302 is used to determine at least one pair of mutually related order information sub-flows and behavior information sub-flows from the order information flow and behavior information flow; in the pair of mutually related order information sub-flows and behavior information sub-flows, the invited user information is the same as the order-placing user information;

[0253] Adding unit 303 is used to add new behavior information to the behavior information set when new behavior information is obtained from any pair of related order information sub-streams and behavior information sub-streams.

[0254] Binding unit 304 is used to bind the initiator information in the behavior information to be bound to the new order information when new order information is obtained from the order information sub-stream and it is determined that there is behavior information to be bound corresponding to the new order information in the behavior information set.

[0255] The new order information includes the behavior information to be bound, which is the behavior information that occurred before the order generation time of the new order information and is the latest behavior information.

[0256] Optionally, the above-mentioned device further includes:

[0257] The order information collection unit 305 is used to add new order information to the order information collection when new order information is obtained from the order information sub-stream and it is determined that there is no corresponding behavior information to be bound in the behavior information collection.

[0258] Optionally, the binding unit 304 is also used for:

[0259] If new behavior information is obtained from the behavior information sub-stream, and it is determined that there is a new behavior information corresponding to the order information to be bound in the order information set, the determined order information to be bound is removed from the order information set, and the determined order information to be bound is bound to the initiator information in the new behavior information.

[0260] The order information to be bound to the new behavioral information includes the order information in the order information set whose order generation time is after the occurrence time of the new behavioral information and whose order generation time is the earliest.

[0261] Optionally, the above-mentioned device further includes:

[0262] The order information removal unit 306 is used to remove each unbound order information from the order information set if the duration of its addition to the order information set exceeds a first preset duration threshold.

[0263] Optionally, the above-mentioned device further includes:

[0264] The behavior information removal unit 307 is used to remove the target behavior information from the behavior information set if the duration of the behavior information set is exceeded by a second preset duration threshold.

[0265] Optionally, the behavior information removal unit 307 is also used for:

[0266] If new behavioral information is obtained from the behavioral information substream, the new behavioral information is added to the backup information set.

[0267] For each behavior information in the guaranteed information set, if the duration of its addition to the guaranteed information set exceeds a third preset duration threshold, the targeted behavior information is removed from the guaranteed information set; the third preset duration threshold is greater than the second preset duration threshold.

[0268] The binding unit 304 is also used to: for any unbound order information, if it is determined that there is a pending behavior information corresponding to the unbound order information in the guaranteed information set, bind the initiator information in the determined pending behavior information to the unbound order information.

[0269] Optionally, the behavior information removal unit 307 is also used for:

[0270] If new behavioral information is obtained from the behavioral information substream, the new behavioral information is added to the backup information set.

[0271] For each piece of behavior information in the behavior information set, if the duration of its addition to the behavior information set exceeds a second preset duration threshold, the targeted behavior information is removed from the behavior information set.

[0272] For each behavior information in the guaranteed information set, if the duration added to the guaranteed information set exceeds the third preset duration threshold, the targeted behavior information is removed from the guaranteed information set; the third preset duration threshold is greater than the second preset duration threshold.

[0273] The binding unit 304 is also used to: for any unbound order information in the order information set, if it is determined that there is a pending behavior information corresponding to the unbound order information in the guaranteed information set, bind the initiator information in the determined pending behavior information to the unbound order information.

[0274] For a detailed explanation of the above device embodiments, please refer to the above method embodiments.

[0275] like Figure 5 The diagram shown is a structural schematic of another order binding device provided in an embodiment of this specification.

[0276] The device may include the following units.

[0277] User unit 401 is used to obtain the target user's behavior information and the target user's order information; the behavior information includes the initiator information of the party that initiated the order invitation, and the time when the behavior of accepting the order invitation occurred; the order information includes the order generation time.

[0278] The information adding unit 402 is used to add new behavioral information to the behavioral information set when new behavioral information of the target user is obtained.

[0279] The information binding unit 403 is used to bind the initiator information in the determined behavior information to be bound to the new order information when it obtains new order information of the target user and determines that there is behavior information to be bound corresponding to the new order information in the behavior information set.

[0280] The new order information includes the behavior information to be bound, which is the behavior information that occurred before the order generation time of the new order information and is the latest behavior information.

[0281] For a detailed explanation of the above device embodiments, please refer to the above method embodiments.

[0282] This specification also provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any of the above method embodiments.

[0283] This specification also provides a computer-readable storage medium, wherein when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is able to implement any of the above-described method embodiments.

[0284] This specification also provides a computer device, which includes at least a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement an order binding method.

[0285] Figure 6 This diagram illustrates a more specific hardware structure of a computer device provided in an embodiment of this specification. The device may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0286] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0287] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0288] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0289] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0290] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0291] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0292] This specification also provides a computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements an order binding method.

[0293] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0294] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that the embodiments of this specification can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solutions of the embodiments of this specification, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in various embodiments or some parts of the embodiments of this specification.

[0295] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which can take the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.

[0296] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on its differences from other embodiments. In particular, the device embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments. The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. When implementing the embodiments of this specification, the functions of each module can be implemented in one or more software and / or hardware. Alternatively, some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.

[0297] The above description is merely a specific implementation of the embodiments of this specification. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principles of the embodiments of this specification, and these improvements and modifications should also be considered as protection of the embodiments of this specification.

Claims

1. An order binding method, characterized in that, include: Obtain order information stream and behavior information stream; the behavior information includes information about the initiator of the order invitation, information about the invited user who accepted the order invitation, and the time when the behavior of accepting the order invitation occurred; The order information includes the ordering user information and the order generation time; From the order information stream and the behavior information stream, at least one pair of mutually related order information sub-streams and behavior information sub-streams are determined; in the pair of mutually related order information sub-streams and behavior information sub-streams, the invited user information is the same as the order-placing user information; For any pair of related order information sub-streams and behavior information sub-streams, if new behavior information is obtained from the behavior information sub-stream, the new behavior information is added to the behavior information set. If new order information is obtained from the order information sub-stream, and it is determined that there is corresponding behavior information to be bound in the behavior information set, the initiator information in the determined behavior information to be bound is bound to the new order information. For each piece of behavior information in the behavior information set, if the duration of its addition to the behavior information set exceeds a second preset duration threshold, the targeted behavior information is removed from the behavior information set. The new order information to be bound includes the behavior information in the behavior information set that occurred before the order generation time of the new order information and has the latest occurrence time.

2. The method according to claim 1, characterized in that, Also includes: If new order information is obtained from the order information substream, and it is determined that there is no corresponding behavior information to be bound in the behavior information set, the new order information is added to the order information set.

3. The method according to claim 2, characterized in that, Also includes: If new behavioral information is obtained from the behavioral information sub-stream, and it is determined that there is an order information to be bound corresponding to the new behavioral information in the order information set, the determined order information to be bound is bound to the initiator information in the new behavioral information, and the determined order information to be bound is removed from the order information set. The order information to be bound corresponding to the new behavioral information includes the order information in the order information set whose order generation time is after the occurrence time of the new behavioral information and whose order generation time is the earliest.

4. The method according to claim 2 or 3, characterized in that, Also includes: For each unbound order in the order information set, if the duration of its addition to the order information set exceeds a first preset duration threshold, the unbound order is removed from the order information set.

5. The method according to claim 1, characterized in that, Also includes: If new behavioral information is obtained from the behavioral information substream, the new behavioral information is added to the backup information set. For each behavioral information in the guaranteed minimum information set, if the duration of its addition to the guaranteed minimum information set exceeds a third preset duration threshold, the targeted behavioral information is removed from the guaranteed minimum information set. The third preset duration threshold is greater than the second preset duration threshold; For any unbound order information, if it is determined that there is a corresponding pending behavior information in the guaranteed information set, the initiator information in the determined pending behavior information is bound to the unbound order information.

6. The method according to claim 2, characterized in that, Also includes: If new behavioral information is obtained from the behavioral information substream, the new behavioral information is added to the backup information set. For each piece of behavior information in the behavior information set, if the duration of its addition to the behavior information set exceeds a second preset duration threshold, the targeted behavior information is removed from the behavior information set. For each behavioral information in the guaranteed minimum information set, if the duration of its addition to the guaranteed minimum information set exceeds a third preset duration threshold, the targeted behavioral information is removed from the guaranteed minimum information set. The third preset duration threshold is greater than the second preset duration threshold; For any unbound order information in the order information set, if it is determined that there is a corresponding pending behavior information in the guaranteed information set, the initiator information in the determined pending behavior information is bound to the unbound order information.

7. An order binding method, characterized in that, include: Obtain the target user's behavioral information and the target user's order information; The behavioral information includes the information of the party that initiated the order invitation, and the time when the act of accepting the order invitation occurred; The order information includes the order generation time; Upon obtaining new behavioral information about the target user, the new behavioral information is added to the behavioral information set. If new order information of the target user is obtained, and it is determined that there is corresponding behavior information to be bound in the behavior information set, the initiator information in the determined behavior information to be bound is bound to the new order information. For each piece of behavior information in the behavior information set, if the duration of its addition to the behavior information set exceeds a second preset duration threshold, the targeted behavior information is removed from the behavior information set. The new order information to be bound includes the behavior information in the behavior information set that occurred before the order generation time of the new order information and has the latest occurrence time.

8. An order binding device, characterized in that, include: The acquisition unit is used to acquire order information stream and behavior information stream; the behavior information includes information on the initiator of the order invitation, information on the invited user who accepted the order invitation, and the time when the behavior of accepting the order invitation occurred. The order information includes the ordering user information and the order generation time; The determining unit is configured to determine at least one pair of mutually related order information sub-streams and behavior information sub-streams from the order information stream and the behavior information stream; in the pair of mutually related order information sub-streams and behavior information sub-streams, the invited user information is the same as the order-placing user information; The addition unit is used to add new behavior information to the behavior information set when new behavior information is obtained from any pair of related order information sub-streams and behavior information sub-streams. The binding unit is used to bind the initiator information in the behavior information to the new order information when new order information is obtained from the order information sub-stream and it is determined that there is behavior information to be bound corresponding to the new order information in the behavior information set; The behavior information removal unit is used to remove the target behavior information from the behavior information set if the duration of its addition to the behavior information set exceeds a second preset duration threshold. The new order information to be bound includes the behavior information in the behavior information set that occurred before the order generation time of the new order information and has the latest occurrence time.

9. The apparatus according to claim 8, characterized in that, Also includes: The order information set unit is used to add the new order information to the order information set when a new order information is obtained from the order information sub-stream and it is determined that there is no corresponding behavior information to be bound in the behavior information set.

10. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method as described in any one of claims 1 to 7.

11. A computer-readable storage medium, characterized in that, When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is able to implement the method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Order combining system and method

    CN103377437A

  • Order matching method based on face recognition and computer device

    CN110866746A