Data return method and device, electronic equipment and storage medium
By monitoring the basic event queue and processing configuration update notifications, it solves the problem of complex rule configuration and reuse in advertising data return, achieves flexible rule execution and process control, and improves the flexibility and efficiency of data return.
Patent Information
- Application Number
- CN202410605896.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing advertising data backhaul technology, the rule configuration is complex and difficult to reuse, resulting in poor backhaul flexibility and inability to meet changes in business needs.
By listening to the basic event queue, obtain user information, receive configuration update notifications, update local cache, query and process field and rule configuration information, achieve flexible rule execution and process control, and improve rule reusability and configuration efficiency.
It achieves efficient reuse and flexible configuration of rules, improves the flexibility and process control capabilities of advertising conversion data return, and simplifies the rule management and configuration process.
Smart Images

Figure CN118540374A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computers, and in particular to a data return method, device, electronic equipment and storage medium. Background Art
[0002] In the existing technology for advertising data transmission, developers are required to manually call interfaces to configure various interception rules, which results in unclear and error-prone rule descriptions, inability of businesses to configure rules on their own, and inability of rules to be shared by multiple channels. Once the demand for advertising conversion data transmission changes, the transmission logic of advertising conversion data needs to be rewritten, resulting in poor flexibility in advertising conversion data transmission.
[0003] Therefore, in view of the problems that the above-mentioned advertising data feedback technology has complex feedback rule configuration and the feedback rules cannot be reused, it is necessary to propose a data feedback method. Summary of the invention
[0004] In view of the above reasons, it is necessary to provide a data feedback method, device, electronic device and storage medium to improve the reusability and configuration efficiency of rules and achieve flexible rule execution and process control.
[0005] To achieve the above object, the present invention provides a data return method, which is applied to a client and is characterized in that the method comprises:
[0006] S1. Monitor a basic event queue, and when a node event message is generated by the basic event queue, obtain basic information of a user who triggers the node event, filter the basic information, and obtain first information;
[0007] S2. Receive a configuration update notification forwarded by the message middleware, update the locally cached information according to the configuration update notification, obtain field configuration information from the locally cached information, query the field configuration value of the field configuration information, and store the field configuration information, the field configuration value and the first information in the server database of the client, wherein the configuration update notification is a channel code configuration rule group generated by the management end according to the delivery channel, which is generated and sent to the message middleware after the configuration of the rule group is completed;
[0008] S3. Query the delivery address and field information corresponding to the node event message in the server database of the client, obtain the splitter cache information from the locally cached information according to the delivery address and field information obtained by the query, process the first information according to the rule group in the splitter cache information, obtain the second information, and upload the second information to the server database of the management end.
[0009] Optionally, updating the locally cached information according to the configuration update notification includes:
[0010] Determining whether the configuration update notification is a field change notification;
[0011] If yes, then updating the field information in the configuration update notification to the field cache space of the local cache of the client, where the information in the field cache space is the field configuration information;
[0012] If not, determine whether the configuration update notification is a rule change notification. If so, update the rule group information in the configuration update notification to the rule splitter cache space of the local cache of the client. The information in the rule splitter cache space is the splitter cache information.
[0013] Optionally, the processing the first information according to the rule group in the splitter cache information includes:
[0014] Execute the rule group, and determine whether the execution is successful after each execution;
[0015] If successful, determine whether there is a next rule group. If not, generate an execution result. If so, execute the next rule group until all rule groups are executed and generate an execution result.
[0016] Optionally, the basic events generated in the basic event queue include node events and business events, the node events include registration events, completion events, credit events and transaction events, and the business events include return events and settlement events; filtering the basic information includes:
[0017] Delete illegal parameters in the basic information, where the illegal parameters are incomplete and non-compliant information filtered out according to preset data filtering rules.
[0018] Optionally, the method also includes: generating execution information based on each basic event, and storing the execution information in the server database of the client, and constructing a return link interface of the management end according to the execution information, wherein the execution information includes basic information of users in the node, execution events, and execution results.
[0019] Optionally, the management end generates a channel code configuration rule group according to the delivery channel, including:
[0020] Establishing at least one rule base on the management end to store and manage all rule groups;
[0021] Define and configure rule groups, and view, search and reuse existing rule groups through the management interface provided by the rule library, wherein the management interface includes a field management interface, a delivery link management interface, a return link interface and a rule management interface;
[0022] A rule group is configured according to a channel code generated by a delivery channel, and a configuration update notification is generated after the configuration is completed. The configuration update notification is sent to a message middleware, wherein the rule group includes at least one rule configured based on the channel code.
[0023] Optionally, the channel code configuration rule group generated according to the delivery channel includes:
[0024] Configuring field information according to the channel code, and storing the field information in a server database of the management end;
[0025] A rule group is configured according to the field information and Boolean logic, and the rule group is stored in a server database of the management end.
[0026] In addition, to achieve the above object, the present invention also provides a data return system, the data return system comprising:
[0027] A client is used to monitor a basic event queue, and when monitoring the basic event queue to generate a node event message, obtain basic information of the user who triggers the node event, filter the basic information, obtain first information, receive a configuration update notification forwarded by a message middleware, update the locally cached information according to the configuration update notification, and obtain field configuration information from the locally cached information, query the field configuration value of the field configuration information, store the field configuration information, the field configuration value and the first information in a server database of the client, query the server database of the client for the delivery address and field information corresponding to the node event message, obtain the splitter cache information from the locally cached information according to the delivery address and field information obtained by the query, process the first information according to the rule group in the splitter cache information, obtain second information, and upload the second information to the server database of the management end;
[0028] The management end is used to configure the rule group according to the channel code generated by the delivery channel, generate a configuration update notification after the rule group configuration is completed and send it to the message middleware, and receive the second information uploaded by the client.
[0029] In addition, to achieve the above object, the present invention further provides an electronic device, the electronic device comprising:
[0030] at least one processor; and,
[0031] a memory communicatively connected to the at least one processor; wherein,
[0032] The memory stores a computer program that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the above-mentioned data return method.
[0033] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium storing a computer program, characterized in that the computer program implements the above-mentioned data return method when executed by a processor.
[0034] The present invention provides a data return method, which includes: the management end configures a rule group, and generates a configuration update notification and sends it to the message middleware; when the client monitors the node event message, the basic information of the user corresponding to the client is obtained, the basic information is filtered, and the first information is obtained; the client receives the configuration update notification, obtains the field configuration information from the local cache of the client, and queries the field configuration value of the field configuration information; the client queries the delivery address and field information corresponding to the node event message according to the node event message; the client obtains the splitter cache information from the rule splitter cache according to the delivery address and field information obtained by the query, and processes the first information according to the rule group in the splitter cache information to obtain the second information. The present invention can improve the reusability and configuration efficiency of rules, and realize flexible rule execution and process control. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A schematic diagram of an electronic device according to an embodiment of the present invention;
[0036] Figure 2 A flow chart of a data return method provided by an embodiment of the present invention;
[0037] Figure 3 A schematic diagram of a data backhaul system provided in accordance with an embodiment of the present invention.
[0038] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0039] The principle and spirit of the present invention will be described below with reference to several specific embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0040] See also Figure 1FIG. 1 is a schematic diagram of an optional hardware architecture of an electronic device proposed in the present invention. In this embodiment, the electronic device 10 may include, but is not limited to, a memory 11, a processor 12, and a network interface 13 that can communicate with each other via a communication bus 14. It should be noted that Figure 1 Only the electronic device 10 is shown with components 11 - 14 , but it is understood that implementing all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.
[0041] Among them, the memory 11 includes at least one type of computer-readable storage medium, and the computer-readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 11 can be an internal storage unit of the electronic device 10, such as a hard disk or memory of the electronic device 10. In other embodiments, the memory 11 can also be an outsourced storage device of the electronic device 10, such as a plug-in hard disk equipped on the electronic device 10, a smart memory card (SmartMedia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 11 can also include both the internal storage unit of the electronic device 10 and its outsourced storage device. In this embodiment, the memory 11 is generally used to store the operating system and various application software installed on the electronic device 10, such as a data return program, etc. In addition, the memory 11 can also be used to temporarily store various types of data that have been output or are to be output.
[0042] In some embodiments, the processor 12 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 12 is generally used to control the overall operation of the electronic device 10. In this embodiment, the processor 12 is used to run the program code stored in the memory 11 or process data, such as running a data return program.
[0043] The network interface 13 may include a wireless network interface or a wired network interface. The network interface 13 is generally used to establish a communication connection between the electronic device 10 and other electronic devices.
[0044] The communication bus 14 is used to realize the communication connection between the components 11-13.
[0045] Optionally, the electronic device 10 may further include a customer interface ( Figure 1(not shown in the figure), the customer interface may include a display, an input unit such as a keyboard, wherein the customer interface may also include a standard wired interface, a wireless interface, etc.
[0046] Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED touch device, etc. Further, the display may also be referred to as a display screen or a display unit, which is used to display information processed in the electronic device 10 and to display a visual customer interface.
[0047] Optionally, in some embodiments, the electronic device 10 may further include an audio unit (audio unit Figure 1 (not shown in the figure), the audio unit can convert the received or stored audio data into an audio signal when the electronic device 10 is in a call signal receiving mode, a talk mode, a recording mode, a voice recognition mode, a broadcast receiving mode, and the like; further, the electronic device 10 may also include an audio output unit, which outputs the audio signal converted by the audio unit, and the audio output unit may also provide audio output related to a specific function performed by the electronic device 10 (such as a call signal receiving sound, a message receiving sound, and the like), and the audio output unit may include a speaker, a buzzer, and the like.
[0048] Optionally, in some embodiments, the electronic device 10 may further include an alarm unit (not shown in the figure), which may provide an output to notify the electronic device 10 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit may provide output in different ways to notify the occurrence of an event. For example, the alarm unit may provide an output in the form of a vibration, and when a call, message, or some other event that may cause the electronic device 10 to enter a communication mode is received, the alarm unit may provide a tactile output (i.e., vibration) to notify the client of the event.
[0049] In one embodiment, the processor 12 implements the following steps when executing the data return program stored in the memory 11:
[0050] S1. Monitor a basic event queue, and when a node event message is generated by the basic event queue, obtain basic information of a user who triggers the node event, filter the basic information, and obtain first information;
[0051] S2. Receive a configuration update notification forwarded by the message middleware, update the locally cached information according to the configuration update notification, obtain field configuration information from the locally cached information, query the field configuration value of the field configuration information, and store the field configuration information, the field configuration value and the first information in the server database of the client, wherein the configuration update notification is a channel code configuration rule group generated by the management end according to the delivery channel, which is generated and sent to the message middleware after the configuration of the rule group is completed;
[0052] S3. Query the delivery address and field information corresponding to the node event message in the server database of the client, obtain the splitter cache information from the locally cached information according to the delivery address and field information obtained by the query, process the first information according to the rule group in the splitter cache information, obtain the second information, and upload the second information to the server database of the management end.
[0053] In other embodiments, the data return program can also be divided into one or more modules, one or more modules are stored in the memory 11, and are executed by one or more processors 12 to complete the present invention. The module referred to in the present invention refers to a series of computer program instruction segments that can complete specific functions, which are used to describe the execution process of the data return program in the electronic device 10.
[0054] Reference Figure 2 , which is a flow chart of a data return method provided by an embodiment of the present invention, is applied to a client and includes steps S1-S3.
[0055] S1. Monitor a basic event queue, and when a node event message is generated by the basic event queue, obtain basic information of a user who triggers the node event, filter the basic information, and obtain first information.
[0056] Specifically, the node events include registration events, completion events, credit events and transaction events, the business events include return events and settlement events; and the filtering of the basic information includes:
[0057] Delete illegal parameters in the basic information, where the illegal parameters are incomplete and non-compliant information filtered out according to preset data filtering rules.
[0058] In one embodiment, when a user clicks on a delivery link to register, complete, grant credit, and trade a loan application, corresponding events will be generated, and the client will monitor these events and obtain the basic information filled in by the user during this event. The basic information of the user includes the user's credit ID, total amount, loan amount, e-commerce amount, transaction amount, etc.
[0059] S2. Receive a configuration update notification forwarded by the message middleware, update the locally cached information according to the configuration update notification, obtain field configuration information from the locally cached information, query the field configuration value of the field configuration information, store the field configuration information, the field configuration value and the first information to the server database of the client, wherein the configuration update notification is a channel code configuration rule group generated by the management end according to the delivery channel, which is generated and sent to the message middleware after the configuration of the rule group is completed.
[0060] Specifically, updating the locally cached information according to the configuration update notification includes:
[0061] Determining whether the configuration update notification is a field change notification;
[0062] If yes, then updating the field information in the configuration update notification to the field cache space of the local cache of the client, where the information in the field cache space is the field configuration information;
[0063] If not, determine whether the configuration update notification is a rule change notification. If so, update the rule group information in the configuration update notification to the rule splitter cache space of the local cache of the client. The information in the rule splitter cache space is the splitter cache information.
[0064] In one embodiment, the obtained field configuration information and field configuration value are extracted and compared with the basic information of the user, so that the eligible users can be screened out, and several rule groups form a splitter, and the splitter implements expression evaluation based on the avitor expression engine. If the user information includes "age-17" and the field configuration information is "age-greater than-18", the splitter will evaluate and compare the rule group and the user information, and judge that the user information does not meet the conditions of the rule group, so as to realize flexible rule execution and process control.
[0065] Specifically, the management end generates a channel code configuration rule group according to the delivery channel, including: establishing at least one rule library on the management end to store and manage all rule groups; defining and configuring rule groups through a management interface provided by the rule library, and viewing, searching and reusing existing rule groups, wherein the management interface includes a field management interface, a delivery link management interface, a return link interface and a rule management interface; configuring the rule group according to the channel code generated by the delivery channel, and generating a configuration update notification after the configuration is completed, and sending the configuration update notification to the message middleware, wherein the rule group includes at least one rule configured based on the channel code.
[0066] Specifically, the configuration of the rule group according to the channel code generated by the delivery channel includes: configuring field information according to the channel code, storing the field information in the server database of the management end; configuring the rule group according to the field information and Boolean logic, and storing the rule group in the server database of the management end. In one embodiment, it is necessary to deliver an advertisement of a loan application to channels such as Weibo, Douyin, Baidu, etc. Because there are certain differences in user consumption habits, age groups, economic conditions, etc. of each delivery channel, it is necessary to formulate different rule groups according to the channel codes generated by different delivery channels. Because it is a loan advertisement, fields such as age, target loan amount, and annual salary can be configured to filter user information. The rule group is divided into a return rule group and a settlement rule group according to the function type. When the return rule group is executed, a return event is generated, and the information that meets the conditions is filtered out from the user's information and returned to the management end. When the settlement rule group is executed, a settlement event is generated, and the collection and screening of user information is terminated at this node. In one embodiment, the return link interface includes a display column of link id, uid, event type, node, whether the process is successful, channel code, click_id, last update time, and operation. The manager can return the link interface to display the link id, uid, event type, node, whether the process is successful, channel code, click_id and other information. The manager can also search for uid and / or click_id to find the relevant return link, and click the "User Attributes and Rule Snapshot", "Request Input" and other buttons in the operation bar to operate, which is convenient for the manager to troubleshoot problems. In one embodiment, through the field management interface provided by the management end, field queries can be performed based on field id, field name, etc., and relevant information of the found field, such as field id, field name, and applicable node, can be displayed. The field management interface can also perform field editing, add new fields and other operations. In one embodiment, corresponding delivery links are generated for different delivery channels, and the delivery links include H5 pages and mini-programs. The delivery link contains the channel code of the delivery channel, and the channel code is used to distinguish which delivery channel the user comes from, so as to customize the return rules according to the delivery link. In one embodiment, through the delivery link management interface provided by the management end, the delivery link can be searched according to keywords (such as activity category, delivery type, operation label, date), and the relevant information of the delivery link found can be displayed, such as delivery ID, channel name, feedback rules, delivery status, delivery platform and operator. The delivery link management interface can also edit the delivery link.In one embodiment, through the rule management interface provided by the rule library of the management end, the rule group is edited according to the field information combined with Boolean logic and limit value. For example, if the selected field is "annual salary", the Boolean logic is "less than", and the limit value is "15", the rule group "annual salary-less than-15" can be formed. Multiple rules can also be combined through Boolean logic, such as using "and" to combine the single rules "annual salary-greater than-20" and "gender-male" into the rule group "'annual salary-greater than-20' and 'gender-male'". In one embodiment, through the rule management interface provided by the rule library of the management end, the rule names of the relevant rule groups and the distribution channels of the rule group applications are managed on the rule management interface. The rule management interface can also set whether to send back the relevant nodes. The setting of whether to send back can set the rule group and select whether to send back for the registration, completion, credit and transaction nodes. Among them, one of the multiple rule groups of the credit node is "satisfying the conditions: 'age-less than-22' and 'second-segment channel code-equal to-2002', whether to return: yes", and the rule management interface can copy, add, delete and move down the rule group, wherein the move down operation can adjust the arrangement order of multiple rule groups to adjust the priority of rule group execution. The rule management interface can also select the fields therein, such as replacing "age" with "annual salary" and replacing "less than" with "equal to". In one embodiment, the rule management interface can set the return value, and the return value includes low value, medium value and high value, such as setting the information whose delivery channel is "circle of friends" to "high value". S3, query the delivery address and field information corresponding to the node event message in the server database of the client, obtain the splitter cache information from the local cache information according to the delivery address and field information obtained by the query, process the first information according to the rule group in the splitter cache information, obtain the second information, and upload the second information to the server database of the management end.
[0067] Specifically, the processing the first information according to the rule group in the splitter cache information includes:
[0068] Execute the rule group, and determine whether the execution is successful after each execution;
[0069] If successful, determine whether there is a next rule group. If not, generate an execution result. If so, execute the next rule group until all rule groups are executed and generate an execution result.
[0070] Specifically, the method further includes:
[0071] Execution information is generated based on each basic event, and the execution information is stored in the server database of the client. The return link interface of the management end is constructed according to the execution information. The execution information includes basic information of users in the node, execution events, and execution results.
[0072] In one embodiment, the second information is user information that meets the conditions of the rule group, which can be transmitted back to the management end and / or settlement based on the function of the rule group. The settlement ends the collection and screening of the user's information, and it can also be determined whether the customer is suitable for advertising DMP package push, report display and other scenarios based on the second information and the relevant rule group.
[0073] The present invention provides a data return method, which configures a rule group through a management end, generates a configuration update notification and sends it to a message middleware; when a client monitors a node event message, obtains basic information of a user corresponding to the client, filters the basic information, and obtains first information; the client receives the configuration update notification, obtains field configuration information from the client's local cache, and queries the field configuration value of the field configuration information; the client queries the delivery address and field information corresponding to the node event message according to the node event message; the client obtains the splitter cache information from the rule splitter cache according to the delivery address and field information obtained by the query, and processes the first information according to the rule group in the splitter cache information to obtain the second information. The present invention can improve the reusability and configuration efficiency of rules, and realize flexible rule execution and process control.
[0074] Reference Figure 3 FIG. 1 is a schematic diagram of a data backhaul system provided in an embodiment of the present invention. In this embodiment, the data backhaul system 50 includes a client 51 and a management terminal 52. Exemplarily:
[0075] The client 51 is used to monitor the basic event queue, and when monitoring the node event message generated by the basic event queue, obtain the basic information of the user who triggers the node event, filter the basic information, obtain the first information, receive the configuration update notification forwarded by the message middleware, update the local cached information according to the configuration update notification, and obtain the field configuration information from the local cached information, query the field configuration value of the field configuration information, store the field configuration information, the field configuration value and the first information in the server database of the client, query the server database of the client for the delivery address and field information corresponding to the node event message, obtain the splitter cache information from the local cached information according to the delivery address and field information obtained by the query, process the first information according to the rule group in the splitter cache information, obtain the second information, and upload the second information to the server database of the management end;
[0076] The management terminal 52 is used to configure a rule group according to the channel code generated by the delivery channel, generate a configuration update notification after the rule group configuration is completed and send it to the message middleware, and receive the second information uploaded by the client.
[0077] The specific operation steps implemented when the client 51 and the management terminal 52 are executed are substantially the same as those in the above embodiment, and will not be repeated here.
[0078] The specific implementation of the computer-readable storage medium of the present invention is substantially the same as the specific implementation of the above-mentioned data return method and electronic device 10, and will not be described in detail here.
[0079] The present invention provides a data return method, which configures a rule group through a management end, generates a configuration update notification and sends it to a message middleware; when a client monitors a node event message, obtains basic information of a user corresponding to the client, filters the basic information, and obtains first information; the client receives the configuration update notification, obtains field configuration information from the client's local cache, and queries the field configuration value of the field configuration information; the client queries the delivery address and field information corresponding to the node event message according to the node event message; the client obtains the splitter cache information from the rule splitter cache according to the delivery address and field information obtained by the query, and processes the first information according to the rule group in the splitter cache information to obtain the second information. The present invention can improve the reusability and configuration efficiency of rules, and realize flexible rule execution and process control.
[0080] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, device, article or method including the element.
[0081] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. Through the description of the above implementation modes, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases the former is a better implementation mode. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0082] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A data return method, applied to a client, characterized in that: The method includes: S1. Monitoring a basic event queue. When a node event message is generated by the basic event queue, obtaining basic information of the user who triggered the node event, filtering the basic information, and obtaining first information. S2. Receive a configuration update notification forwarded by the message middleware, update locally cached information according to the configuration update notification, obtain field configuration information from the locally cached information, query the field configuration value of the field configuration information, and store the field configuration information, the field configuration value, and the first information in a server database of the client, wherein the configuration update notification is a channel code configuration rule group generated by the management end based on the delivery channel, and is generated and sent to the message middleware after the rule group configuration is completed; S3. Query the delivery address and field information corresponding to the node event message in the server database of the client, obtain the splitter cache information from the locally cached information based on the delivery address and field information obtained from the query, process the first information according to the rule group in the splitter cache information, obtain the second information, and upload the second information to the server database of the management end.
2. The data return method according to claim 1, wherein: The updating of the locally cached information according to the configuration update notification includes: Determining whether the configuration update notification is a field change notification; If yes, then updating the field information in the configuration update notification to the field cache space of the local cache of the client, where the information in the field cache space is the field configuration information; If not, determine whether the configuration update notification is a rule change notification. If so, update the rule group information in the configuration update notification to the rule splitter cache space of the client's local cache. The information in the rule splitter cache space is the splitter cache information.
3. The data return method according to claim 1, wherein: The processing of the first information according to the rule group in the splitter cache information includes: Execute the rule group and determine whether the execution is successful after each execution; If successful, determine whether the next rule group exists. If not, generate an execution result. If so, execute the next rule group until all rule groups are executed and generate an execution result.
4. The data return method according to claim 1, wherein: The basic events generated in the basic event queue include node events and business events. The node events include registration events, completion events, credit events and transaction events. The business events include return events and settlement events. The filtering of the basic information includes: Delete illegal parameters in the basic information, where the illegal parameters are incomplete and non-compliant information filtered out according to preset data filtering rules.
5. The data return method according to claim 4, wherein: The method further includes: Execution information is generated based on each basic event and stored in the server database of the client. The return link interface of the management end is constructed based on the execution information. The execution information includes the basic information of the user in the node, the execution event, and the execution result.
6. The data return method according to claim 1, wherein: The management terminal generates a channel code configuration rule group based on the delivery channel, including: Establishing at least one rule base on the management end to store and manage all rule groups; Define and configure rule groups, and view, search, and reuse existing rule groups through the management interface provided by the rule library, where the management interface includes a field management interface, a delivery link management interface, a return link interface, and a rule management interface; A rule group is configured according to the channel code generated by the delivery channel, and a configuration update notification is generated after the configuration is completed. The configuration update notification is sent to the message middleware, and the rule group includes at least one rule configured based on the channel code.
7. The data return method according to claim 6, wherein: The channel code configuration rule group generated according to the delivery channel includes: Configuring field information according to the channel code, and storing the field information in a server database of the management end; A rule group is configured according to the field information and Boolean logic, and the rule group is stored in a server database of the management end.
8. A data return system, characterized in that: The data return system includes: A client is used to monitor a basic event queue, and when monitoring the basic event queue to generate a node event message, obtain basic information of the user who triggered the node event, filter the basic information, obtain first information, receive a configuration update notification forwarded by a message middleware, update the locally cached information according to the configuration update notification, obtain field configuration information from the locally cached information, query the field configuration value of the field configuration information, store the field configuration information, the field configuration value and the first information in the server database of the client, query the server database of the client for the delivery address and field information corresponding to the node event message, obtain the splitter cache information from the locally cached information according to the delivery address and field information obtained by the query, process the first information according to the rule group in the splitter cache information, obtain second information, and upload the second information to the server database of the management end; The management end is used to configure a rule group according to the channel code generated by the delivery channel, generate a configuration update notification after the rule group configuration is completed and send it to the message middleware, and receive the second information uploaded by the client.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the data return method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the data return method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Rule arrangement execution method, device and system and rule arrangement method, device and system
CN119806958A
