Sharing business processing methods, devices, computer equipment, and storage media
By constructing a sharing business strategy tree and identifying the relationships between sharing events, rules, and channel information, the problem of inaccurate user group identification in existing technologies is solved, thus achieving precision and accuracy in business sharing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHAOLIAN CONSUMER FINANCE CO LTD
- Filing Date
- 2022-12-09
- Publication Date
- 2026-07-31
AI Technical Summary
Existing technologies cannot accurately identify user groups, resulting in inaccurate message pushes.
By acquiring the description text of the sharing business, parsing and identifying the relationships between sharing events, rules, and channel information, a sharing business strategy tree is constructed to determine the target sharing objects.
This improves the accuracy and precision of business communication, ensuring that messages are accurately pushed to target users.
Smart Images

Figure CN116166879B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, computer equipment, storage medium, and computer program product for sharing business processing. Background Technology
[0002] As people's needs continue to change, companies' products are also undergoing different changes, resulting in many different products. Different products have different target audiences, so it is necessary to identify the appropriate target audience for each product. Similarly, different companies are constantly launching new services, each with a different target audience, so it is also necessary to identify the appropriate target audience for each service.
[0003] In related technologies, information from all users is typically collected extensively, and the collected user information is then manually filtered based on experience. The target users of the product or service are then determined based on the filtering results, and the product or service can then be pushed to the corresponding target users.
[0004] However, the aforementioned technologies cannot accurately identify user groups, resulting in the inability to achieve accurate message push. Summary of the Invention
[0005] Therefore, it is necessary to provide a sharing service processing method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can accurately push messages, addressing the aforementioned technical problems.
[0006] Firstly, this application provides a method for processing shared business data. The method includes:
[0007] Get the sharing service description text, which is generated based on the sharing service template;
[0008] Parse the text describing the sharing service to determine the sharing keywords corresponding to the preset fields of the sharing service template. The preset fields include the sharing event field, the sharing rule field, and the sharing channel field.
[0009] Based on sharing keywords, extract sharing event information, sharing rules, and sharing channel information recorded in the sharing business description text;
[0010] Identify the relationships between sharing events, sharing rules, and sharing channel information, and construct a sharing business strategy tree based on the identified relationships;
[0011] Based on the sharing business strategy tree, the target sharing objects are identified, and business sharing is performed on the target sharing objects.
[0012] In one embodiment, extracting sharing event information, sharing rules, and sharing channel information recorded in the sharing service description text based on sharing keywords includes: determining sharing event keywords, sharing rule keywords, and sharing channel keywords based on sharing keywords; locating punctuation marks in the sharing service description text; segmenting the sharing service description text into event description text, rule description text, and channel description text based on the sharing event keywords, sharing rule keywords, sharing channel keywords, and punctuation marks; generating sharing event information based on the event description text, generating sharing rules based on the rule description text, and generating sharing channel information based on the channel description text.
[0013] In one embodiment, generating sharing event information based on event description text includes: extracting sharing event behavior rules based on event description text, wherein the sharing event behavior rules are rules for determining valid user sharing behavior; and generating sharing event information based on the sharing event behavior rules.
[0014] In one embodiment, generating sharing rules based on rule description text includes: identifying sharing rule conditions from the rule description text; determining sharing rule parameters, sharing rule expressions, and preset sharing parameter thresholds based on the sharing rule conditions; and generating sharing rules according to the sharing rule parameters, sharing rule expressions, and preset sharing parameter thresholds.
[0015] In one embodiment, generating sharing channel information based on channel description text includes: identifying a sharing channel identifier and sharing business information from the channel description text; and generating sharing channel information based on the channel identifier and sharing business information.
[0016] In one embodiment, identifying the relationships between sharing events, sharing rules, and sharing channel information, and constructing a sharing business strategy tree based on the identified relationships, includes: identifying the event-rule relationship between sharing events and sharing rules, and identifying the rule-channel relationship between sharing rules and sharing channel information, based on the sharing business description text; and sequentially connecting the sharing events, sharing rules, and sharing channel information based on the event-rule relationship and the rule-channel relationship to construct the sharing business strategy tree.
[0017] Secondly, this application also provides a data sharing and processing apparatus. The apparatus includes:
[0018] The acquisition module is used to acquire the sharing service description text, which is generated based on the sharing service template.
[0019] The keyword determination module is used to parse the sharing service description text and determine the sharing keywords corresponding to the preset fields of the sharing service template. The preset fields include the sharing event field, the sharing rule field, and the sharing channel field.
[0020] The extraction module is used to extract sharing event information, sharing rules, and sharing channel information recorded in the sharing business description text based on sharing keywords;
[0021] The module is used to identify the relationships between sharing events, sharing rules, and sharing channel information, and to build a sharing business strategy tree based on the identified relationships;
[0022] The business sharing module is used to determine the target sharing object based on the sharing business strategy tree, and to share business with the target sharing object.
[0023] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0024] Get the sharing service description text, which is generated based on the sharing service template;
[0025] Parse the text describing the sharing service to determine the sharing keywords corresponding to the preset fields of the sharing service template. The preset fields include the sharing event field, the sharing rule field, and the sharing channel field.
[0026] Based on sharing keywords, extract sharing event information, sharing rules, and sharing channel information recorded in the sharing business description text;
[0027] Identify the relationships between sharing events, sharing rules, and sharing channel information, and construct a sharing business strategy tree based on the identified relationships;
[0028] Based on the sharing business strategy tree, the target sharing objects are identified, and business sharing is performed on the target sharing objects.
[0029] Fourthly, this application also provides a computer-readable storage medium. This computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0030] Get the sharing service description text, which is generated based on the sharing service template;
[0031] Parse the text describing the sharing service to determine the sharing keywords corresponding to the preset fields of the sharing service template. The preset fields include the sharing event field, the sharing rule field, and the sharing channel field.
[0032] Based on sharing keywords, extract sharing event information, sharing rules, and sharing channel information recorded in the sharing business description text;
[0033] Identify the relationships between sharing events, sharing rules, and sharing channel information, and construct a sharing business strategy tree based on the identified relationships;
[0034] Based on the sharing business strategy tree, the target sharing objects are identified, and business sharing is performed on the target sharing objects.
[0035] Fifthly, this application also provides a computer program product. This computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0036] Get the sharing service description text, which is generated based on the sharing service template;
[0037] Parse the text describing the sharing service to determine the sharing keywords corresponding to the preset fields of the sharing service template. The preset fields include the sharing event field, the sharing rule field, and the sharing channel field.
[0038] Based on sharing keywords, extract sharing event information, sharing rules, and sharing channel information recorded in the sharing business description text;
[0039] Identify the relationships between sharing events, sharing rules, and sharing channel information, and construct a sharing business strategy tree based on the identified relationships;
[0040] Based on the sharing business strategy tree, the target sharing objects are identified, and business sharing is performed on the target sharing objects.
[0041] The aforementioned data processing method, apparatus, computer equipment, storage medium, and computer program product for sharing services involves: acquiring sharing service description text, which is generated based on a sharing service template; parsing the sharing service description text to determine sharing keywords corresponding to preset fields in the sharing service template, including sharing event fields, sharing rule fields, and sharing channel fields; extracting sharing event information, sharing rule information, and sharing channel information recorded in the sharing service description text based on the sharing keywords; identifying the relationships between sharing events, sharing rules, and sharing channel information, and constructing a sharing service strategy tree based on the identified relationships; and determining the target sharing object based on the sharing service strategy tree and sharing services with the target sharing object. The entire solution extracts sharing event information, sharing rules, and sharing channel information from the sharing service description information and constructs a sharing service strategy tree based on multi-dimensional sharing service-related information. The strategy tree can accurately filter target users, and sharing services based on the strategy tree can improve the accuracy of service sharing. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the conventional technology, the drawings used in the description of the embodiments or the conventional technology will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 This is an application environment diagram of a shared business processing method in one embodiment;
[0044] Figure 2 This is a flowchart illustrating a business processing method in one embodiment;
[0045] Figure 3 This is a flowchart illustrating the sharing business processing method in yet another embodiment;
[0046] Figure 4 This is a flowchart illustrating the sharing business processing method in another embodiment;
[0047] Figure 5 A schematic diagram illustrating the process of determining the target sharing object in another embodiment;
[0048] Figure 6 This is a structural block diagram of a shared service processing device in one embodiment;
[0049] Figure 7 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0050] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0051] The sharing service processing method provided in this application embodiment can be applied to, for example, Figure 1In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store the data that server 104 needs to process. The data storage system can be integrated onto server 104 or placed on a cloud or other network server. The user inputs a sharing service description text on terminal 102, which then sends the text to server 104. Server 104 receives the sharing service description text, which is generated based on a sharing service template. The server 104 parses the text to determine the sharing keywords corresponding to preset fields in the sharing service template. These preset fields include a sharing event field, a sharing rule field, and a sharing channel field. Based on the sharing keywords, the server extracts the sharing event information, sharing rules, and sharing channel information recorded in the sharing service description text. It identifies the relationships between the sharing events, sharing rules, and sharing channel information and constructs a sharing service strategy tree based on these relationships. Finally, based on the sharing service strategy tree, it determines the target sharing object and performs service sharing on that target object. The terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle systems. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.
[0052] In one embodiment, such as Figure 2 As shown, a method for sharing business data processing is provided, which can be applied to... Figure 1 Taking server 104 as an example, the following steps are included:
[0053] Step 202: Obtain the sharing service description text.
[0054] In this context, the sharing service refers to the enterprise's sharing service processing node providing sharing services to sharing targets. Sharing targets refer to users who need to share information, such as the enterprise's employees or customers. The sharing service processing node refers to the management personnel specifically responsible for sharing services, such as customer service representatives or account managers, who are specifically responsible for communicating with users. The sharing service processing node inputs a sharing service description text on the terminal display interface. This description text is generated based on a sharing service template. The sharing service description data is used to generate a strategy tree that determines the target sharing targets. The sharing service description data is a text file generated based on a preset sharing service template provided by the enterprise.
[0055] Specifically, the user inputs a sharing service description text on the terminal. The terminal responds with the sharing service description text and generates a sharing service processing instruction based on it, which is then sent to the server. The server listens for and responds to the sharing service processing instruction, parses it, and obtains the sharing service description text. The sharing service processing instruction can also carry a sharing service identifier, which instructs the server to generate a sharing policy tree for the target sharing service and obtain the target sharing object for the target sharing service. If the sharing service description data applies to multiple sharing services, the sharing service processing instruction can also carry multiple sharing service identifiers corresponding to the sharing service description data, which instruct the server to generate a sharing policy tree for multiple target sharing services and obtain multiple target sharing objects for multiple target sharing services.
[0056] Step 204: Parse the sharing service description text and determine the sharing keywords corresponding to the preset fields of the sharing service template.
[0057] The preset fields include a sharing event field, a sharing rule field, and a sharing channel field. Sharing keywords include sharing event keywords, sharing rule keywords, and sharing channel keywords. The sharing service template includes a sharing event template, a sharing rule template, and a sharing channel template; therefore, the sharing service description text includes event description text, rule description text, and channel description text. The preset fields correspond to the three templates in the sharing service template, including the sharing event field, sharing rule field, and sharing channel field.
[0058] Specifically, the server parses the sharing service description text based on natural language algorithms to obtain a sharing service description vector, calculates the similarity between the sharing service description vector and the sharing keywords corresponding to the preset fields of the sharing service template, and determines the sharing keywords of the sharing service description text based on the similarity calculation results.
[0059] Step 206: Based on the sharing keywords, extract the sharing event information, sharing rules, and sharing channel information recorded in the sharing business description text.
[0060] Specifically, the server extracts sharing event information, sharing rules, and sharing channel information recorded in the sharing service description text based on sharing keywords and sharing service templates. It extracts sharing event information from the sharing service description text based on sharing event keywords. It extracts sharing rules from the sharing service description text based on sharing rule keywords. Finally, it extracts sharing channel information from the sharing service description text based on sharing channel keywords.
[0061] Step 208: Identify the relationships between sharing events, sharing rules, and sharing channel information, and construct a sharing business strategy tree based on the identified relationships.
[0062] The relationships between sharing events, sharing rules, and sharing channel information include the relationships between sharing events and sharing rules, and the relationships between sharing rules and sharing channel information. The relationship between sharing events and sharing rules refers to the connection conditions between them, i.e., the logical relationship between them. The sharing business strategy tree refers to the entire processing flow of the sharing business and the relationships between each processing flow, constructed based on binary tree theory.
[0063] Specifically, the server extracts the relationships between sharing events and sharing rules, and between sharing rules and sharing channel information, from the sharing service description text. Then, the server concatenates the sharing events, sharing rules, sharing channel information, the relationships between sharing events and sharing rules, and the relationships between sharing rules and sharing channel information to construct a sharing service strategy tree.
[0064] Step 210: Based on the sharing business strategy tree, determine the target sharing object and perform business sharing on the target sharing object.
[0065] Each sharing object has a sharing object identifier, which is a unique identifier for the sharing object. The unique sharing object can be directly identified based on the sharing object identifier.
[0066] Specifically, the server obtains user behavior data corresponding to the sharing service identifier, filters the user behavior data based on the sharing service strategy tree, determines the filtering results as the target sharing objects, and then shares the service information with the target sharing objects through the sharing channel.
[0067] In the above-described data processing method for sharing services, the following steps are taken: First, the sharing service description text is obtained, generated based on a sharing service template. This text is then parsed to determine the sharing keywords corresponding to preset fields in the template, including sharing event, sharing rule, and sharing channel fields. Based on these keywords, the sharing event, sharing rule, and sharing channel information recorded in the description text are extracted. The relationships between these elements are identified, and a sharing service strategy tree is constructed based on these relationships. Finally, the target sharing object is determined, and service sharing is performed on this target object. This entire solution extracts sharing event, sharing rule, and sharing channel information from the sharing service description information and constructs a sharing service strategy tree based on multi-dimensional sharing service-related information. The strategy tree can accurately filter target users, and sharing based on it improves the accuracy of service sharing.
[0068] In an optional embodiment, such as Figure 3 As shown, based on sharing keywords, the sharing event information, sharing rules, and sharing channel information recorded in the sharing business description text are extracted, including:
[0069] Step 302: Based on the sharing keywords, determine the sharing event keywords, sharing rule keywords, and sharing channel keywords; locate the punctuation mark keys in the sharing business description text.
[0070] Specifically, the server parses the sharing service description text using natural language processing algorithms to obtain a sharing service description vector. It then calculates the similarity between this vector and the sharing keywords corresponding to preset fields in the sharing service template. Based on the similarity calculation results, it determines the sharing event keywords, sharing rule keywords, and sharing channel keywords in the sharing service description text. The server can also detect punctuation marks in the sharing service description text.
[0071] Step 304: Based on the sharing event keywords, sharing rule keywords, sharing channel keywords, and punctuation mark keys, the sharing business description text is divided into event description text, rule description text, and channel description text.
[0072] Specifically, the server extracts the information of the text containing sharing event keywords from the sharing business description text based on punctuation marks, thus obtaining the event description text. It then extracts the information of the text containing sharing rule keywords from the sharing business description text, thus obtaining the rule description text. Finally, it extracts the information of the text containing sharing channel keywords from the sharing business description text, thus obtaining the channel description text.
[0073] Step 306: Generate sharing event information based on event description text, generate sharing rules based on rule description text, and generate sharing channel information based on channel description text.
[0074] Specifically, the server generates a sharing event policy tree based on the event description text, and then generates sharing event information based on the sharing event policy tree. The server also generates a sharing rule policy tree based on the rule description text, and then generates sharing rules based on the sharing rule policy tree. Finally, the server generates a sharing channel policy tree based on the channel description text, and then generates sharing channel information based on the sharing channel policy tree.
[0075] In this embodiment, the server sequentially extracts sharing event information, sharing rules, and sharing channel information from the sharing business description text based on sharing event keywords, sharing rule keywords, and sharing channel keywords. Based on the sharing keywords, the server accurately extracts the corresponding parts from the sharing business description data to construct an accurate sharing strategy tree, thereby improving the accuracy of business sharing.
[0076] In an optional embodiment, generating sharing event information based on event description text includes: extracting sharing event behavior rules based on event description text, wherein the sharing event behavior rules are rules for determining valid user sharing behavior; and generating sharing event information based on the sharing event behavior rules.
[0077] The sharing event behavior rules are the rules for determining the validity of user sharing behavior. These rules determine whether the behavioral data generated after a user triggers a sharing event is valid. User behavior data is generated after a user triggers a sharing event. The sharing event behavior rules refer to the sharing event itself and its access rules. Access rules refer to the conditions for determining validity after a sharing event is triggered. For example, if a user stays on a page for a preset duration after triggering a sharing event, the user behavior data is considered valid. For instance, if a user logs in or visits a page and stays on that page for a preset time threshold, the sharing event information might be: a user visits a loan page and stays on the loan page for 15 minutes without borrowing money. The sharing keyword is "visit," and the sharing event behavior rules are: a user visits a loan page and stays on the loan page for 15 minutes without borrowing money.
[0078] Specifically, the server extracts sharing event behavior rules from the event description text based on sharing event keywords, generates a sharing event strategy tree based on these rules, and then generates sharing event information based on the strategy tree. For example, the server extracts the sharing event behavior rules sequentially, obtaining multiple judgment conditions, such as visiting a loan page, staying for 15 minutes, and not borrowing money, and then generates the sharing event strategy tree based on these judgment actions.
[0079] In an optional embodiment, generating sharing rules based on rule description text includes: identifying sharing rule conditions from the rule description text; determining sharing rule parameters, sharing rule expressions, and preset sharing parameter thresholds based on the sharing rule conditions; and generating sharing rules based on the sharing rule parameters, sharing rule expressions, and preset sharing parameter thresholds.
[0080] The sharing rule conditions refer to the criteria for determining whether to share. For example, if a user's credit limit is greater than a preset threshold and their credit limit utilization rate is less than a preset utilization rate threshold, then the conditions for sharing are: credit limit greater than the preset threshold and utilization rate less than the preset utilization rate threshold. Credit limit and utilization rate are the sharing parameters, while the preset threshold and utilization rate threshold are the preset sharing parameter thresholds. The expression for sharing rule is: credit limit greater than the preset threshold and utilization rate less than the preset utilization rate threshold. The sharing parameters and preset sharing parameter thresholds in the sharing rule expression are merely numerical identifiers. The sharing rule expression needs to be instantiated based on the specific sharing parameters and preset sharing parameter thresholds to obtain the sharing rule.
[0081] Specifically, the server identifies the sharing rule conditions from the rule description text, and then extracts the sharing rule parameters, the sharing rule expression, and the preset sharing parameter thresholds based on the sharing rule conditions. The sharing rule parameters and the preset sharing parameter thresholds are then filled into the sharing rule expression to generate the sharing rule.
[0082] In this implementation, by extracting the sharing rule expression from the sharing rule information, sharing rules are accurately generated, and accurate sharing rule judgments are made, thereby improving the accuracy of sharing business judgments and reducing the system's sharing resource consumption.
[0083] In an optional embodiment, generating sharing channel information based on channel description text includes: identifying a sharing channel identifier and sharing business information from the channel description text; and generating sharing channel information based on the channel identifier and sharing business information.
[0084] Sharing channels include SMS, phone calls, app messages, or official account messages. Sharing business information refers to sharing business information with the intended recipients.
[0085] Specifically, the server determines the sharing channel identifier and sharing business information based on the channel description text, then generates a sharing channel policy tree based on the sharing channel identifier and sharing business information, and generates sharing channel information based on the sharing channel policy tree.
[0086] In an optional embodiment, identifying the relationships between sharing events, sharing rules, and sharing channel information, and constructing a sharing business strategy tree based on the identified relationships, includes: identifying the event-rule relationship between sharing events and sharing rules, and identifying the rule-channel relationship between sharing rules and sharing channel information, based on the sharing business description text; and sequentially connecting the sharing events, sharing rules, and sharing channel information based on the event-rule relationship and the rule-channel relationship to construct the sharing business strategy tree.
[0087] The event rule association between sharing events and sharing rules refers to the connection between the last rule in the sharing event's behavior rules and the sharing rules themselves. For example, if a user stays on a loan page for 15 minutes without borrowing money, and "not borrowing money" is the last behavior rule in the sharing event, after the server determines that the user has stayed on the loan page for 15 minutes and performs the last "not borrowing money" behavior rule check, if the user meets the "not borrowing money" requirement, the sharing rule check process begins. Similarly, the rule channel association between sharing rules and sharing channel information refers to the connection between the last sharing rule expression in the sharing rules and the sharing channel information.
[0088] Specifically, the server obtains the association between the last sharing event behavior rule and the sharing rules from the sharing business description text, thus obtaining the event rule association. Then, it obtains the association between the last sharing rule expression and the sharing channel information, thus obtaining the channel rule association. Based on the event rule association, the server connects the sharing event strategy tree and the sharing rule strategy tree. Then, based on the channel rule association, the server connects the sharing rule strategy tree and the sharing channel strategy tree, thus obtaining the sharing business strategy tree.
[0089] In this embodiment, by accurately identifying the connection relationship between sharing event information, sharing rules, and sharing channel information, and then connecting the sharing event information, sharing rules, and sharing channel information according to the connection relationship, an accurate sharing business strategy tree is obtained.
[0090] To facilitate understanding of the technical solutions provided in the embodiments of this application, such as Figure 4 As shown, the sharing business data processing method provided in this application embodiment will be briefly described with a complete sharing business data processing process:
[0091] (1) Obtain the sharing service description text, which is generated based on the sharing service template.
[0092] (2) Parse the text describing the sharing service and determine the sharing keywords corresponding to the preset fields of the sharing service template. The preset fields include the sharing event field, the sharing rule field, and the sharing channel field.
[0093] (3) Based on the sharing keywords, determine the sharing event keywords, sharing rule keywords, and sharing channel keywords; locate the punctuation mark keys in the sharing business description text.
[0094] (4) Based on the sharing event keywords, sharing rule keywords, sharing channel keywords and punctuation mark keys, the sharing business description text is divided into event description text, rule description text and channel description text.
[0095] (5) Based on the event description text, extract the sharing event behavior rules, which are the rules for determining the user's valid sharing behavior; based on the sharing event behavior rules, generate sharing event information.
[0096] (6) Identify the sharing rule conditions from the rule description text; determine the sharing rule parameters, sharing rule expression, and preset sharing parameter threshold based on the sharing rule conditions; generate the sharing rule according to the sharing rule parameters, sharing rule expression, and preset sharing parameter threshold.
[0097] (7) Identify the sharing channel identifier and sharing business information from the channel description text; generate sharing channel information based on the channel identifier and sharing business information.
[0098] (8) Based on the description text of the sharing business, identify the event rule association between the sharing event and the sharing rule, and identify the rule channel association between the sharing rule and the sharing channel information; based on the event rule association and the rule channel association, connect the sharing event, the sharing rule and the sharing channel information in sequence to construct the sharing business strategy tree.
[0099] (9) Push the pagination business strategy tree to the terminal interface for user confirmation and modification. After user confirmation, submit it to the system administrator for review. After the review is approved, the target sharing business strategy tree is obtained.
[0100] (10) Based on the sharing business strategy tree, determine the target sharing object and share business with the target sharing object.
[0101] like Figure 5 The diagram illustrates the process of acquiring target sharing objects based on a sharing business strategy tree. The server includes a behavior data system, an event strategy system, a Redis cluster, and a sharing channel system. The behavior data system captures user behavior events. When a user triggers a sharing event, the event strategy system determines whether the user meets the sharing rules. If the user completes the operation within a specified time period, the sharing conditions are not met; if the user does not complete the operation within the specified time period, the sharing rules are met, and the business information is then shared through the sharing channel. The specific process for acquiring target sharing objects is as follows:
[0102] (1) When a user triggers a sharing event (i.e. a behavioral event), the behavioral data system publishes the user's sharing event.
[0103] (2) The event strategy system subscribes to sharing events and then analyzes user behavior data according to the sharing rules. If the user's behavior data matches the sharing rules, it waits for subsequent events, which are generally the user's operation time. Time events are added and added to the Redis cluster. The delayed event queue of the Redis cluster is used to determine whether the time event triggers the time threshold.
[0104] (3) If the user completes the transaction operation within the preset time threshold, the behavior data system captures and publishes the transaction event. The event strategy system judges the user's subsequent behavior according to the subsequent judgment rules of the transaction event. If it meets the requirements, the time event in the Redis delayed event queue is deleted, the transaction is completed, and there is no need to share business information with the user.
[0105] (4) If the user does not trigger a transaction operation within the preset time threshold, then the user is the target sharing object. The event strategy system sends a sharing request to the sharing system. The sharing request carries the target sharing object identifier, sharing channel information and sharing business information.
[0106] (5) The sharing system receives the sharing request, parses the sharing request, obtains the target sharing object identifier, sharing channel information and sharing business information, and shares the business information to the target sharing object through the sharing channel.
[0107] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0108] Based on the same inventive concept, this application also provides a shared business data processing apparatus for implementing the shared business data processing method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more embodiments of the shared business data processing apparatus provided below can be found in the limitations of the shared business data processing method described above, and will not be repeated here.
[0109] In one embodiment, such as Figure 6As shown, a business data sharing processing device is provided, including: an acquisition module 602, a keyword determination module 604, an extraction module 606, a construction module 608, and a business sharing module 610, wherein:
[0110] The acquisition module 602 is used to acquire the sharing service description text, which is generated based on the sharing service template;
[0111] The keyword determination module 604 is used to parse the sharing service description text and determine the sharing keywords corresponding to the preset fields of the sharing service template. The preset fields include the sharing event field, the sharing rule field, and the sharing channel field.
[0112] The extraction module 606 is used to extract sharing event information, sharing rules, and sharing channel information recorded in the sharing business description text based on sharing keywords;
[0113] Module 608 is used to identify the relationships between sharing events, sharing rules, and sharing channel information, and to build a sharing business strategy tree based on the identified relationships.
[0114] The business sharing module 610 is used to determine the target sharing object based on the sharing business strategy tree and to share business with the target sharing object.
[0115] In one embodiment, the extraction module 606 is further configured to determine sharing event keywords, sharing rule keywords, and sharing channel keywords based on sharing keywords; locate punctuation marks in the sharing business description text; segment the sharing business description text into event description text, rule description text, and channel description text based on the sharing event keywords, sharing rule keywords, sharing channel keywords, and punctuation marks; generate sharing event information based on the event description text, generate sharing rules based on the rule description text, and generate sharing channel information based on the channel description text.
[0116] In one embodiment, the extraction module 606 is further configured to extract sharing event behavior rules based on the event description text, wherein the sharing event behavior rules are rules for determining valid user sharing behavior; and generate sharing event information based on the sharing event behavior rules.
[0117] In one embodiment, the extraction module 606 is further configured to identify sharing rule conditions from the rule description text; determine sharing rule parameters, sharing rule expressions, and preset sharing parameter thresholds based on the sharing rule conditions; and generate sharing rules according to the sharing rule parameters, sharing rule expressions, and preset sharing parameter thresholds.
[0118] In one embodiment, the extraction module 606 is further configured to identify the sharing channel identifier and sharing business information from the channel description text; and generate sharing channel information based on the channel identifier and sharing business information.
[0119] In one embodiment, the construction module 608 is further configured to identify the event rule association between sharing events and sharing rules, and the rule channel association between sharing rules and sharing channel information, based on the sharing business description text; and to connect the sharing events, sharing rules and sharing channel information in sequence based on the event rule association and the rule channel association to construct a sharing business strategy tree.
[0120] Each module in the aforementioned data sharing processing device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0121] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows: Figure 7 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores sharing business templates, preset fields, and sharing object behavior data. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a sharing business data processing method.
[0122] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0123] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0124] Get the sharing service description text, which is generated based on the sharing service template;
[0125] Parse the text describing the sharing service to determine the sharing keywords corresponding to the preset fields of the sharing service template. The preset fields include the sharing event field, the sharing rule field, and the sharing channel field.
[0126] Based on sharing keywords, extract sharing event information, sharing rules, and sharing channel information recorded in the sharing business description text;
[0127] Identify the relationships between sharing events, sharing rules, and sharing channel information, and construct a sharing business strategy tree based on the identified relationships;
[0128] Based on the sharing business strategy tree, the target sharing objects are identified, and business sharing is performed on the target sharing objects.
[0129] In one embodiment, when the processor executes the computer program, it further performs the following steps: extracting sharing event information, sharing rules, and sharing channel information recorded in the sharing business description text based on sharing keywords, including: determining sharing event keywords, sharing rule keywords, and sharing channel keywords based on sharing keywords; locating punctuation marks in the sharing business description text; segmenting the sharing business description text into event description text, rule description text, and channel description text based on the sharing event keywords, sharing rule keywords, sharing channel keywords, and punctuation marks; generating sharing event information based on the event description text, generating sharing rules based on the rule description text, and generating sharing channel information based on the channel description text.
[0130] In one embodiment, when the processor executes the computer program, it further performs the following steps: generating sharing event information based on event description text includes: extracting sharing event behavior rules based on event description text, wherein the sharing event behavior rules are rules for determining valid user sharing behavior; and generating sharing event information based on the sharing event behavior rules.
[0131] In one embodiment, when the processor executes the computer program, it further performs the following steps: generating sharing rules based on rule description text includes: identifying sharing rule conditions from the rule description text; determining sharing rule parameters, sharing rule expressions, and preset sharing parameter thresholds based on the sharing rule conditions; and generating sharing rules according to the sharing rule parameters, sharing rule expressions, and preset sharing parameter thresholds.
[0132] In one embodiment, when the processor executes the computer program, it further performs the following steps: generating sharing channel information based on channel description text includes: identifying a sharing channel identifier and sharing business information from the channel description text; and generating sharing channel information based on the channel identifier and sharing business information.
[0133] In one embodiment, when the processor executes the computer program, it further performs the following steps: identifying the relationship between sharing events, sharing rules, and sharing channel information, and constructing a sharing business strategy tree based on the identified relationship, including: identifying the event-rule relationship between sharing events and sharing rules, and identifying the rule-channel relationship between sharing rules and sharing channel information based on the sharing business description text; and sequentially connecting the sharing events, sharing rules, and sharing channel information based on the event-rule relationship and the rule-channel relationship to construct a sharing business strategy tree.
[0134] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0135] Get the sharing service description text, which is generated based on the sharing service template;
[0136] Parse the text describing the sharing service to determine the sharing keywords corresponding to the preset fields of the sharing service template. The preset fields include the sharing event field, the sharing rule field, and the sharing channel field.
[0137] Based on sharing keywords, extract sharing event information, sharing rules, and sharing channel information recorded in the sharing business description text;
[0138] Identify the relationships between sharing events, sharing rules, and sharing channel information, and construct a sharing business strategy tree based on the identified relationships;
[0139] Based on the sharing business strategy tree, the target sharing objects are identified, and business sharing is performed on the target sharing objects.
[0140] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: extracting sharing event information, sharing rules, and sharing channel information recorded in the sharing business description text based on sharing keywords, including: determining sharing event keywords, sharing rule keywords, and sharing channel keywords based on sharing keywords; locating punctuation marks in the sharing business description text; segmenting the sharing business description text into event description text, rule description text, and channel description text based on the sharing event keywords, sharing rule keywords, sharing channel keywords, and punctuation marks; generating sharing event information based on the event description text, generating sharing rules based on the rule description text, and generating sharing channel information based on the channel description text.
[0141] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: generating sharing event information based on event description text includes: extracting sharing event behavior rules based on event description text, wherein the sharing event behavior rules are rules for determining valid user sharing behavior; and generating sharing event information based on the sharing event behavior rules.
[0142] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: generating sharing rules based on rule description text includes: identifying sharing rule conditions from the rule description text; determining sharing rule parameters, sharing rule expressions, and preset sharing parameter thresholds based on the sharing rule conditions; and generating sharing rules according to the sharing rule parameters, sharing rule expressions, and preset sharing parameter thresholds.
[0143] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: generating sharing channel information based on channel description text includes: identifying a sharing channel identifier and sharing business information from the channel description text; and generating sharing channel information based on the channel identifier and sharing business information.
[0144] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: identifying the relationships between sharing events, sharing rules, and sharing channel information, and constructing a sharing business strategy tree based on the identified relationships, including: identifying the event-rule relationship between sharing events and sharing rules, and identifying the rule-channel relationship between sharing rules and sharing channel information based on the sharing business description text; and sequentially connecting the sharing events, sharing rules, and sharing channel information based on the event-rule relationship and the rule-channel relationship to construct a sharing business strategy tree.
[0145] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0146] Get the sharing service description text, which is generated based on the sharing service template;
[0147] Parse the text describing the sharing service to determine the sharing keywords corresponding to the preset fields of the sharing service template. The preset fields include the sharing event field, the sharing rule field, and the sharing channel field.
[0148] Based on sharing keywords, extract sharing event information, sharing rules, and sharing channel information recorded in the sharing business description text;
[0149] Identify the relationships between sharing events, sharing rules, and sharing channel information, and construct a sharing business strategy tree based on the identified relationships;
[0150] Based on the sharing business strategy tree, the target sharing objects are identified, and business sharing is performed on the target sharing objects.
[0151] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: extracting sharing event information, sharing rules, and sharing channel information recorded in the sharing service description text based on sharing keywords, including:
[0152] Based on the sharing keywords, determine the sharing event keywords, sharing rule keywords, and sharing channel keywords; locate the punctuation marks in the sharing business description text; based on the sharing event keywords, sharing rule keywords, sharing channel keywords, and punctuation marks, segment the sharing business description text into event description text, rule description text, and channel description text; generate sharing event information based on the event description text, generate sharing rules based on the rule description text, and generate sharing channel information based on the channel description text.
[0153] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: generating sharing event information based on event description text includes: extracting sharing event behavior rules based on event description text, wherein the sharing event behavior rules are rules for determining valid user sharing behavior; and generating sharing event information based on the sharing event behavior rules.
[0154] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: generating sharing rules based on rule description text includes: identifying sharing rule conditions from the rule description text; determining sharing rule parameters, sharing rule expressions, and preset sharing parameter thresholds based on the sharing rule conditions; and generating sharing rules according to the sharing rule parameters, sharing rule expressions, and preset sharing parameter thresholds.
[0155] In one embodiment, when the computer program is executed by a processor, it further performs the following steps: generating sharing channel information based on channel description text includes: identifying a sharing channel identifier and sharing business information from the channel description text; and generating sharing channel information based on the channel identifier and sharing business information.
[0156] In one embodiment, when the computer program is executed by the processor, it further performs the following steps: identifying the relationships between sharing events, sharing rules, and sharing channel information, and constructing a sharing business strategy tree based on the identified relationships, including: identifying the event-rule relationship between sharing events and sharing rules, and identifying the rule-channel relationship between sharing rules and sharing channel information based on the sharing business description text; and sequentially connecting the sharing events, sharing rules, and sharing channel information based on the event-rule relationship and the rule-channel relationship to construct a sharing business strategy tree.
[0157] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.
[0158] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0159] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0160] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A method of processing service data for sharing, characterized by, The method includes: Obtain the sharing service description text, which is generated based on the sharing service template; the sharing service description text is used to generate a sharing service strategy tree that determines the target sharing object; The text describing the sharing service is parsed to determine the sharing keywords corresponding to the preset fields of the sharing service template. The preset fields include a sharing event field, a sharing rule field, and a sharing channel field. Based on the sharing keywords, extract the sharing event information, sharing rules, and sharing channel information recorded in the sharing service description text; Based on the sharing service description text, identify the event rule association between the sharing event and the sharing rule, and identify the rule channel association between the sharing rule and the sharing channel information; Based on the event rule association and the rule channel association, the sharing event, sharing rule, and sharing channel information are sequentially connected to construct a sharing business strategy tree; the sharing business strategy tree refers to the processing flow of the sharing business and the relationship between each processing flow. Based on the sharing business strategy tree, the target sharing object is determined, and business sharing is performed on the target sharing object.
2. The method according to claim 1, characterized in that, The step of extracting sharing event information, sharing rules, and sharing channel information recorded in the sharing service description text based on the sharing keywords includes: Based on the sharing keywords, determine the sharing event keywords, sharing rule keywords, and sharing channel keywords; locate the punctuation marks in the sharing service description text; Based on the shared event keywords, shared rule keywords, shared channel keywords, and the punctuation marks, the shared business description text is divided into event description text, rule description text, and channel description text. Based on the event description text, share event information is generated; based on the rule description text, share rules are generated; and based on the channel description text, share channel information is generated.
3. The method according to claim 2, characterized in that, The process of generating and sharing event information based on the event description text includes: Based on the event description text, share event behavior rules are extracted, which are rules for determining valid user sharing behavior. Based on the aforementioned sharing event behavior rules, sharing event information is generated.
4. The method according to claim 2, characterized in that, The rules for generating and sharing text based on the rule description include: Identify the sharing rule conditions from the rule description text; Based on the sharing rule conditions, the sharing rule parameters, the sharing rule expression, and the preset sharing parameter threshold are determined; A sharing rule is generated based on the sharing rule parameters, the sharing rule expression, and the preset sharing parameter threshold.
5. The method according to claim 2, characterized in that, The process of generating sharing channel information based on the channel description text includes: Identify the sharing channel identifier and sharing business information from the channel description text; Based on the channel identifier and the sharing service information, share channel information is generated.
6. A data sharing processing device, characterized in that, The device includes: The acquisition module is used to acquire the sharing service description text, which is generated based on the sharing service template; the sharing service description text is used to generate a sharing service strategy tree that determines the target sharing object. The keyword determination module is used to parse the sharing service description text and determine the sharing keywords corresponding to the preset fields of the sharing service template. The preset fields include the sharing event field, the sharing rule field, and the sharing channel field. The extraction module is used to extract sharing event information, sharing rules, and sharing channel information recorded in the sharing service description text based on the sharing keywords. The construction module is used to identify the event-rule association between the sharing event and the sharing rule, and the rule-channel association between the sharing rule and the sharing channel information, based on the sharing service description text. Based on the event-rule association and the rule-channel association, the sharing event, sharing rule, and sharing channel information are sequentially connected to construct a sharing service strategy tree. The sharing service strategy tree refers to the processing flow of the sharing service and the relationship between each processing flow. The business sharing module is used to determine the target sharing object based on the sharing business strategy tree, and to share business with the target sharing object.
7. The apparatus according to claim 6, characterized in that, The extraction module is further configured to determine sharing event keywords, sharing rule keywords, and sharing channel keywords based on the sharing keywords; locate punctuation marks in the sharing service description text; and, based on the sharing event keywords, sharing rule keywords, sharing channel keywords, and the punctuation marks, segment the sharing service description text into event description text, rule description text, and channel description text; generate sharing event information based on the event description text; generate sharing rules based on the rule description text; and generate sharing channel information based on the channel description text.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.