Data processing system, method and storage medium

By introducing multi-terminal data summary module, data module, bus pipeline and business separation module into the circle system, the main logic and secondary logic data processing are decoupled, the system stability problem is solved, and the decoupling between data and system stability are achieved. promote.

CN111414553BActive Publication Date: 2024-09-24CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010119571.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-02-26
Publication Date
2024-09-24
Estimated Expiration
2040-02-26

AI Technical Summary

Technical Problem

The lack of decoupling between primary logic and secondary logic in the existing circle system causes the system to easily cause chaos in the entire process framework and system collapse when the primary logic fails to execute.

Method used

Use multi-terminal data summary modules, data modules, bus pipelines and business separation modules to separate and process primary logical data and secondary logical data through data assembly, filtering and transformation to achieve decoupling of primary logic and secondary logic and reduce data coupling. sex.

Benefits of technology

The stability of the system is improved. By prioritizing the processing of primary logical data and classifying secondary logical data, the coupling between data is reduced, and the stability and maintainability of the system are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111414553B
    Figure CN111414553B
Patent Text Reader

Abstract

The embodiment of the present application discloses a system, method and storage medium for data processing. The system includes: a multi-terminal data aggregation module, a data module, a bus pipeline, a core module and a business separation module. The system uses multiple modules to process the original data, and by giving priority to processing primary logical data, and secondly, classifying secondary logical data into local processing events and remote processing events, the decoupling of primary logical data and secondary logical data is achieved, the coupling between data is reduced, and it is beneficial to improve the stability of the system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a data processing system, method and storage medium. Background Art

[0002] Circles contain business functions such as topics, questions, opinions, answers, information, posts, comments, etc., all of which belong to the content system of the circle. However, at present, there is no decoupling between the main logic and the secondary logic, and the two logics are irrelevant. For example, in a circle, when a user creates a topic, the main logic is to generate the topic according to the business logic, write the content into the relevant cache or record it in the database, and the secondary logic can refer to synchronization to the search system or recommendation system. When the main logic and the secondary logic are executed in the same process, if the main logic fails to execute, it will cause confusion in the entire process framework and cause the system to crash. Summary of the invention

[0003] The embodiments of the present application provide a data processing system, method and storage medium, which decouple the main logical data and the secondary logical data in the system, and are conducive to improving the stability of the system.

[0004] A first aspect of an embodiment of the present application provides a data processing system, the system comprising: a multi-terminal data aggregation module, a data module, a bus pipeline, a core module and a business separation module; wherein:

[0005] The multi-terminal data aggregation module is used to receive original data and send the original data to the data module, wherein the original data includes at least two of the following: third-party system data, local system data and client data;

[0006] The data module is used to assemble the original data to obtain first data, where the first data includes at least one of the following: basic data, business data, and event data;

[0007] The bus pipeline is used to transmit the first data to the core module;

[0008] The core module is used to filter the first data to obtain secondary logic data and primary logic data;

[0009] The business separation module is used to perform data conversion on the secondary logical data to obtain at least one subscription event. If at least one target subscription event in the at least one subscription event is monitored, the at least one target subscription event is classified to obtain a remote processing event and a local processing event, call a local handle, process the local processing event through the local handle, call a remote handle, and process the remote processing event through the remote handle;

[0010] The bus pipeline is also used to monitor the at least one subscription event, transmit the remote processing event to a third-party system, and push the local processing event to the local system.

[0011] A second aspect of an embodiment of the present application provides a data processing method, which is applied to a data processing system, and the method includes:

[0012] Receiving original data, the original data including at least two of the following: third-party system data, local system data, and client data;

[0013] Assembling the original data to obtain first data, where the first data includes at least one of the following: basic data, business data, and event data;

[0014] Performing data filtering on the first data to obtain secondary logic data and primary logic data;

[0015] Performing data conversion on the secondary logical data to obtain at least one subscription event;

[0016] If at least one target subscription event in the at least one subscription event is monitored, classifying the at least one target subscription event to obtain a remote processing event and a local processing event;

[0017] The local handle is called to process the local processing event through the local handle, and the remote handle is called to process the remote processing event through the remote handle.

[0018] A third aspect of the embodiments of the present application provides a data processing device, the device comprising: a receiving unit, a data assembling unit, a data filtering unit, a data conversion unit, an event classification unit and a calling unit, wherein:

[0019] The receiving unit is used to receive original data, where the original data includes at least two of the following: third-party system data, local system data, and client data;

[0020] The data assembly unit is used to assemble the original data to obtain first data, where the first data includes at least one of the following: basic data, business data, and event data;

[0021] The data filtering unit is used to filter the first data to obtain secondary logic data and primary logic data;

[0022] The data conversion unit is used to perform data conversion on the secondary logical data to obtain at least one subscription event;

[0023] The event classification unit is used for classifying the at least one target subscription event in the at least one subscription event to obtain a remote processing event and a local processing event if at least one target subscription event in the at least one subscription event is monitored;

[0024] The calling unit is used to call the local handle to process the local processing event through the local handle, and call the remote handle to process the remote processing event through the remote handle.

[0025] A fourth aspect of an embodiment of the present application provides a data processing device, which includes a processor, an input device, an output device and a memory, wherein the processor, input device, output device and memory are interconnected, wherein the memory is used to store a computer program, and the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method described in the second aspect of the embodiment of the present application.

[0026] The fifth aspect of the embodiments of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in the second aspect of the embodiments of the present application.

[0027] A sixth aspect of the embodiments of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the second aspect of the embodiments of the present application. The computer program product may be a software installation package.

[0028] Implementing the embodiments of the present application has at least the following beneficial effects:

[0029] The system provided by the embodiment of the present application includes: a multi-terminal data aggregation module, a data module, a bus pipeline, a core module and a business separation module. The system uses multiple modules to process the original data, and by giving priority to processing the main logical data, and secondly, classifying the secondary logical data into local processing events and remote processing events, the decoupling of the main logical data and the secondary logical data is achieved, the coupling between the data is reduced, and it is beneficial to improve the stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0031] Figure 1 A structural diagram of a data processing system is provided for an embodiment of the present application;

[0032] Figure 2 A flowchart of a data processing method is provided for an embodiment of the present application;

[0033] Figure 3 A flowchart of a data processing method is provided for an embodiment of the present application;

[0034] Figure 4 A flowchart of a data processing method is provided for an embodiment of the present application;

[0035] Figure 5 A structural schematic diagram of a data processing device is provided for an embodiment of the present application;

[0036] Figure 6 A structural schematic diagram of a data processing device is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0037] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0038] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0039] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.

[0040] In order to better understand the embodiments of the present application, the method of applying the embodiments of the present application will be introduced below.

[0041] The data processing device mentioned in the embodiments of the present application may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices (such as smart watches, smart bracelets, pedometers, etc.), computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment (UE), mobile stations (MS), terminal devices, etc. For the convenience of description, the above-mentioned devices are collectively referred to as electronic devices.

[0042] See also Figure 1 , Figure 1 is a structural diagram of a data processing system provided in an embodiment of the present application, such as Figure 1 As shown, the data processing system includes a multi-end data aggregation module 101, a data module 102, a bus pipeline 103, a core module 104 and a business separation module 105, wherein:

[0043] The multi-terminal data aggregation module 101 is used to receive original data and send the original data to the data module, wherein the original data includes at least two of the following: third-party system data, local system data, and client data;

[0044] The data module 102 is used to assemble the original data to obtain first data, where the first data includes at least one of the following: basic data, business data, and event data;

[0045] The bus pipe 103 is used to transmit the first data to the core module;

[0046] The core module 104 is used to filter the first data to obtain secondary logic data and primary logic data;

[0047] The business separation module 105 is used to perform data conversion on the secondary logic data to obtain at least one subscription event. If at least one target subscription event in the at least one subscription event is monitored, the at least one target subscription event is classified to obtain a remote processing event and a local processing event, call a local handle, process the local processing event through the local handle, call a remote handle, and process the remote processing event through the remote handle;

[0048] The bus pipeline 103 is also used to monitor the at least one subscription event, transmit the remote processing event to a third-party system, and push the local processing event to the local system.

[0049] Optionally, the multi-terminal data aggregation module 101 may include a data registration unit and a bus data transceiver unit, wherein:

[0050] The data registration unit is used to register the original data in the data processing system;

[0051] The bus data sending unit is used to send the original data to the data module 102.

[0052] Optionally, the data module 102 may include a data model assembly unit, wherein:

[0053] The data model assembling unit is used to assemble the original data to obtain the first data.

[0054] Optionally, the bus pipeline 103 includes a core pipeline and a secondary pipeline, wherein:

[0055] The core pipeline is used to monitor the first data in the bus pipeline and transmit the main logic data to the business separation module 105;

[0056] The secondary channel is used to transmit the secondary logic data to the core module 104 and monitor the at least one target subscription event.

[0057] Optionally, the business separation module 105 includes a local processing unit, a remote processing unit, an event selection unit and a model conversion unit, wherein:

[0058] The conversion unit is used to perform data conversion on the secondary logical data to obtain the at least one subscription event;

[0059] The event selection unit model is used to classify the at least one target subscription event to obtain the remote processing event and the local processing event;

[0060] The local processing unit is used to call the local handle and process the local processing event through the local handle;

[0061] The remote processing unit is used to call the remote handle and process the remote processing event through the remote handle.

[0062] Optionally, the core module 104 includes a data filtering unit and a core business unit, wherein:

[0063] The data filter is used to filter the first data to obtain the secondary logic data and the primary logic data;

[0064] The core business unit is used to process the main logical data.

[0065] It can be seen that a data processing system provided by an embodiment of the present application can use multiple modules to process the original data, and by giving priority to processing the main logical data, and secondly classifying the secondary logical data into local processing events and remote processing events, the decoupling of the main logical data and the secondary logical data is achieved, the coupling between the data is reduced, and it is beneficial to improve the stability of the system.

[0066] See also Figure 2 , Figure 2 This is a flow chart of a data processing method disclosed in an embodiment of the present application, which is applied to Figure 1 The data processing system shown in the figure, the data processing method may include the following steps:

[0067] 201. Receive original data, where the original data includes at least two of the following: third-party system data, local system data, and client data;

[0068] Among them, the above-mentioned original data may refer to the data of this system and the data from other systems. The above-mentioned original data may include at least two of the following: third-party system data, local data and client data, etc., which are not limited here; after the system receives the original data, it can register the above-mentioned data to obtain different types of original data.

[0069] 202. Assemble the original data to obtain first data, where the first data includes at least one of the following: basic data, business data, and event data;

[0070] Among them, since the original data in the entire system is diverse, but may not be recognized by the entire system, the above original data can be assembled to obtain first data. The first data is data that can be recognized by the entire system. The first data may include at least one of the following: basic data, business data, event data, etc., which are not limited here.

[0071] Specifically, the original data can be classified to obtain basic data, business data, event data, etc., and then the above three types of data can be encapsulated through basic data models, business data models, event models, etc. to obtain data that can be recognized by the entire system.

[0072] In addition, the above-mentioned business data may include at least one of the following: topic data, information data, post data, etc., which are not limited here; since the above-mentioned business data all have titles, content themes, publishers, etc., they have similar attributes; furthermore, event data refers to a system-level event, for example, if the topic data needs to be synchronized to the search system, then the event data will have the event execution subject (for example, the server), the specific method block of the event execution, the event trigger source (Observed), etc., and therefore, have similar attributes; for example, the basic data model refers more to the basic data of the entire system framework, such as the call chain ID, the executor ID, etc., which are not limited here; the above-mentioned basic data runs through the entire system framework process, therefore, data with similar attributes can be regarded as a type of data.

[0073] 203. Filter the first data to obtain secondary logic data and primary logic data;

[0074] Among them, due to the complexity of business scenarios when applying circles, most scenarios require the use of content corresponding to the same circle to generate business logic, such as recommendation business, synchronization business, activity customization, etc., which will cause the entire system to be messy and difficult to maintain and manage; therefore, different logics can be divided for different data to obtain primary logic data corresponding to the primary logic and secondary logic data corresponding to the secondary logic, and the above-mentioned main logic data may include at least one of the following: recording to the database, writing to the cache, etc., which are not limited here; the above-mentioned secondary logic may include at least one of the following: synchronization to the search system, synchronization to the recommendation system, loading to the search system, etc., which are not limited here.

[0075] Specifically, data filtering may be performed on the first data, and the first data may be distributed to obtain secondary logic data and primary logic data. The secondary logic data may be understood as data that does not need to be resolved locally, and the primary logic data may be understood as data processed locally.

[0076] For example, when data needs to be synchronized or recommended to a third-party platform, the data may be secondary logical data; the above data filtering method may include at least one of the following: comparison operation, range operation, null value matching, character matching and logical matching, etc., which are not limited here.

[0077] Optionally, the above step 203, filtering the first data to obtain secondary logic data and primary logic data, may include the following steps:

[0078] 31. Obtain a preset filtering rule library, wherein the preset filtering rule library includes a plurality of primary logic preset filtering rules and a plurality of secondary logic preset filtering rules, and each preset filtering rule corresponds to a regular expression;

[0079] 32. Based on the corresponding multiple regular expressions in the preset filtering rule library, regular matching is performed on the first data to obtain the main logical data that matches any main logical preset filtering rule in the multiple main logical preset filtering rules and the secondary logical data that matches any secondary logical preset filtering rule in the multiple secondary logical preset filtering rules.

[0080] Among them, a preset filtering rule library can be pre-set in the server corresponding to the system, and multiple preset filtering rules can be stored in the preset filtering rule library, and the multiple preset filtering rules can include multiple main logical preset filtering rules and multiple secondary logical preset filtering rules. A regular expression can be set for each preset filtering rule, and each regular expression corresponds to the preset filtering rule one by one.

[0081] For example, assuming that the secondary logical data is topic data within the circle, a character string can be preset for the topic within the circle. The above preset character string may include at least one of the following: title, publisher, content theme, etc., which are not limited here. A regular expression can be preset for each character string. In this way, multiple regular expressions corresponding to multiple secondary logical preset filtering rules can be obtained.

[0082] Specifically, the first data may be matched by using a plurality of regular expressions to obtain successfully matched secondary logic data or primary logic data.

[0083] 204. Perform data conversion on the secondary logical data to obtain at least one subscription event;

[0084] Among them, the above subscription event can correspond to a type or a secondary logic. In the message queue, the producer and consumer model is generally adopted to implement it. The above at least one subscription event can be understood as an event required by at least one consumer. For example, when we subscribe to newspapers, we usually need to register with newspaper offices or some intermediary agencies. When a new edition of the newspaper is published, the postman needs to distribute the newspaper to the people who subscribe to the newspaper in turn. At this time, the above newspaper refers to the above subscription event.

[0085] Optionally, the above step 204, performing data conversion on the secondary logical data to obtain at least one subscription event, may include the following steps:

[0086] 41. Obtain a preset secondary logic set, wherein the secondary logic set includes secondary logics of multiple categories;

[0087] 42. Classify the secondary logic data according to the preset secondary logic set to obtain at least one target secondary logic data;

[0088] 43. Perform event registration on the at least one target secondary logical data to obtain the at least one subscription event.

[0089] The secondary logic set may include multiple secondary logics, and the secondary logic may include at least one of the following: synchronization to a search system, synchronization to a recommendation system, storage to a database, etc., which are not limited here. Each secondary logic may correspond to a category, and the subscription event may include at least one of the following categories: search category, recommendation category, click category, loading category, closing category, etc., which are not limited here. Each secondary logic may correspond to a category, and each category may correspond to multiple secondary logic data.

[0090] In a specific implementation, the above-mentioned secondary logic data may be classified and processed. Since the secondary logic data may only include one category of secondary logic, at least one target secondary logic data corresponding to multiple secondary logic categories may be obtained. Then, event registration may be performed for at least one target secondary logic data. Finally, at least one subscription event may be obtained, wherein each target secondary logic data corresponds to one subscription event.

[0091] 205. If at least one target subscription event in the at least one subscription event is monitored, classify the at least one target subscription event to obtain a remote processing event and a local processing event;

[0092] Among them, since the above-mentioned system is a system group with many subsystems or components, and each component is a system cluster, which can be used to be responsible for a piece of business logic, some minor logics are distributed in different components corresponding to other systems for processing. The above-mentioned events used for processing by different components of other systems are remote processing events, and the events used for processing by this system are local processing events.

[0093] Specifically, the above-mentioned target subscription event can be pre-set by the user or by the system default. For example, the target subscription event can be pushed to the push system. The above-mentioned system can monitor at least one of the above-mentioned subscription events in real time. When at least one target subscription event is monitored, the above-mentioned at least one target subscription event can be classified to obtain the above-mentioned local processing events and remote processing events.

[0094] Optionally, the above step 205, classifying the at least one target subscription event to obtain a remote processing event and a local processing event, may include the following steps:

[0095] 51. Obtain preset event attributes, where the event attributes include: local processing attributes and remote processing attributes;

[0096] 52. Classify the at least one target subscription event according to the preset event attribute to obtain the remote processing event corresponding to the remote processing attribute and the local processing event corresponding to the local processing attribute.

[0097] Among them, different event attributes can be set in advance, and the event attributes may include at least one of the following: local processing attributes, remote processing attributes, etc., which are not limited here; each target subscription event can correspond to an event attribute, so that the above-mentioned at least one target subscription event can be classified according to the preset event attributes to obtain remote processing events corresponding to the remote processing attributes and local processing events corresponding to the local processing attributes.

[0098] 206. Call the local handle to process the local processing event through the local handle, call the remote handle to process the remote processing event through the remote handle.

[0099] Among them, processing the above remote processing event can obtain the target server corresponding to the remote handle, obtain the secondary logic corresponding to the remote processing event, and send the remote processing event to the target server according to the secondary logic.

[0100] In addition, to process the above-mentioned local processing event, a local handle corresponding to the local processing event can be obtained from a preset memory, and the above-mentioned local processing event can be processed through the local handle.

[0101] Optionally, since the processing logic of the above-mentioned entire system can adopt an event-driven model and decouple related logic (main logic and secondary logic), a message compensation mechanism can also be set up in the system to ensure the final consistency of information and prevent data loss; for example, after the above-mentioned local processing event fails to be processed, the above-mentioned first data can be pulled again and the above-mentioned data processing operation can be performed again.

[0102] like Figure 3As shown, it is a flow chart of a data processing method. After receiving the original data, the system can filter the above original data to obtain basic data, business data and event data. Then, according to the preset data filtering rules, the above basic data, business data and event data can be filtered to obtain primary logic data and secondary logic data, wherein the primary logic data includes the basic data, and the secondary logic data includes the above business data and event data. Finally, the primary logic data can be processed by the system, and subscription events can be generated according to the secondary logic data to obtain remote processing events and local processing events, wherein the local processing events can be processed by the system (or server), and the remote processing events can be processed by the remote server. In this way, the data is classified to obtain primary logic data and secondary logic data, which can realize the decoupling of primary logic data and secondary logic data and reduce the coupling between data.

[0103] It can be seen that the data processing method described in the embodiment of the present application can receive original data, where the original data includes at least two of the following: third-party system data, local system data and client data, assemble the original data to obtain first data, where the first data includes at least one of the following: basic data, business data and event data, filter the first data to obtain secondary logical data and primary logical data, transform the secondary logical data to obtain at least one subscription event, and if at least one target subscription event in at least one subscription event is listened to, classify the at least one target subscription event to obtain remote processing events and local processing events, call the local handle, process the local processing event through the local handle, call the remote handle, and process the remote processing event through the remote handle. In this way, the primary logical data and the secondary logical data are processed separately, the decoupling of the primary logical data and the secondary logical data is realized, the coupling between the data is reduced, and it is beneficial to improve the stability of the system.

[0104] Consistent with the above, see Figure 4 , Figure 4 This is a flow chart of a data processing method disclosed in an embodiment of the present application, which is applied to Figure 1 The data processing system and the data processing method may include the following steps:

[0105] 401. Receive original data, where the original data includes at least two of the following: third-party system data, local system data, and client data.

[0106] 402. Assemble the original data to obtain first data, where the first data includes at least one of the following: basic data, business data, and event data.

[0107] 403. Filter the first data to obtain secondary logic data and primary logic data.

[0108] 404. Obtain a preset secondary logic set, where the secondary logic set includes secondary logics of multiple categories.

[0109] 405. Classify the secondary logic data according to the preset secondary logic set to obtain at least one target secondary logic data.

[0110] 406. Register an event for the at least one target secondary logical data to obtain the at least one subscription event.

[0111] 407. If at least one target subscription event in the at least one subscription event is monitored, obtain preset event attributes, where the event attributes include: local processing attributes and remote processing attributes.

[0112] 408. Classify the at least one target subscription event according to the preset event attribute to obtain the remote processing event corresponding to the remote processing attribute and the local processing event corresponding to the local processing attribute.

[0113] 409 . Call the local handle to process the local processing event through the local handle, and call the remote handle to process the remote processing event through the remote handle.

[0114] The specific description of the above steps 401 to 409 can refer to the above Figure 2 The corresponding steps of the described data processing method will not be repeated here.

[0115] It can be seen that the data processing method described in the embodiment of the present application can receive original data, where the original data includes at least two of the following: third-party system data, local system data, and client data, assemble the original data to obtain first data, where the first data includes at least one of the following: basic data, business data, and event data, filter the first data to obtain secondary logic data and primary logic data, obtain a preset secondary logic set, where the secondary logic set includes secondary logics of multiple categories, classify the secondary logic data according to the preset secondary logic set, obtain at least one target secondary logic data, register an event for at least one target secondary logic data, and obtain at least one subscription event. If at least one target subscription event in at least one subscription event is listened, the preset event attributes are obtained, and the event attributes include: local processing attributes and remote processing attributes. According to the preset event attributes, at least one target subscription event is classified to obtain remote processing events corresponding to the remote processing attributes and local processing events corresponding to the local processing attributes. The local handle is called to process the local processing event through the local handle, and the remote handle is called to process the remote processing event through the remote handle. In this way, the main logical data and the secondary logical data are processed separately, which realizes the decoupling of the main logical data and the secondary logical data, reduces the coupling between data, and is conducive to improving the stability of the system.

[0116] Consistent with the above, see Figure 5 , Figure 5 A schematic diagram of the structure of a data processing device provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, it includes a processor, a communication interface, a memory and one or more programs, wherein the processor, the communication interface and the memory are connected to each other, wherein the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions, and the one or more programs include instructions for performing the following steps:

[0117] Receiving original data, the original data including at least two of the following: third-party system data, local system data, and client data;

[0118] Assembling the original data to obtain first data, where the first data includes at least one of the following: basic data, business data, and event data;

[0119] Performing data filtering on the first data to obtain secondary logic data and primary logic data;

[0120] Performing data conversion on the secondary logical data to obtain at least one subscription event;

[0121] If at least one target subscription event in the at least one subscription event is monitored, classifying the at least one target subscription event to obtain a remote processing event and a local processing event;

[0122] The local handle is called to process the local processing event through the local handle, and the remote handle is called to process the remote processing event through the remote handle.

[0123] It can be seen that the data processing device described in the embodiment of the present application can receive original data, which includes at least two of the following: third-party system data, local system data and client data, assemble the original data to obtain first data, which includes at least one of the following: basic data, business data and event data, filter the first data to obtain secondary logical data and primary logical data, transform the secondary logical data to obtain at least one subscription event, and if at least one target subscription event in at least one subscription event is listened to, classify the at least one target subscription event to obtain remote processing events and local processing events, call the local handle, process the local processing event through the local handle, call the remote handle, and process the remote processing event through the remote handle. In this way, the primary logical data and the secondary logical data are processed separately, the decoupling of the primary logical data and the secondary logical data is realized, the coupling between data is reduced, the later maintenance of developers is convenient, and it is beneficial to improve the stability of the system.

[0124] In a possible example, in terms of filtering the first data to obtain secondary logic data and primary logic data, the program is used to execute instructions for the following steps:

[0125] Obtaining a preset filtering rule library, wherein the preset filtering rule library includes a plurality of primary logical preset filtering rules and a plurality of secondary logical preset filtering rules, and each preset filtering rule corresponds to a regular expression;

[0126] Based on the corresponding multiple regular expressions in the preset filtering rule library, regular matching is performed on the first data to obtain the main logical data that matches any main logical preset filtering rule among the multiple main logical preset filtering rules and the secondary logical data that matches any secondary logical preset filtering rule among the multiple secondary logical preset filtering rules.

[0127] In a possible example, in terms of performing data conversion on the secondary logical data to obtain at least one subscription event, the program is used to execute instructions for the following steps:

[0128] Acquire a preset secondary logic set, wherein the secondary logic set includes secondary logics of multiple categories;

[0129] According to the preset secondary logic set, the secondary logic data is classified and processed to obtain at least one target secondary logic data;

[0130] An event is registered for the at least one target secondary logical data to obtain the at least one subscription event.

[0131] In a possible example, in terms of classifying the at least one target subscription event to obtain a remote processing event and a local processing event, the program is used to execute instructions for the following steps:

[0132] Acquire preset event attributes, the event attributes including: local processing attributes and remote processing attributes;

[0133] According to the preset event attribute, the at least one target subscription event is classified to obtain the remote processing event corresponding to the remote processing attribute and the local processing event corresponding to the local processing attribute.

[0134] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that, in order to realize the above functions, the server includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0135] The embodiment of the present application can divide the data processing device into functional units according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0136] Consistent with the above, see Figure 6 , Figure 66 is a schematic diagram of a data processing device disclosed in an embodiment of the present application, the device comprising: a receiving unit 601, a data assembly unit 602, a data filtering unit 603, a data conversion unit 604, an event classification unit 605 and a calling unit 606, wherein:

[0137] The receiving unit 601 is used to receive original data, where the original data includes at least two of the following: third-party system data, local system data, and client data;

[0138] The data assembling unit 602 is used to assemble the original data to obtain first data, where the first data includes at least one of the following: basic data, business data, and event data;

[0139] The data filtering unit 603 is used to filter the first data to obtain secondary logic data and primary logic data;

[0140] The data conversion unit 604 is used to perform data conversion on the secondary logical data to obtain at least one subscription event;

[0141] The event classification unit 605 is used to classify the at least one target subscription event in the at least one subscription event to obtain a remote processing event and a local processing event if at least one target subscription event in the at least one subscription event is monitored;

[0142] The calling unit 606 is used to call the local handle to process the local processing event through the local handle, and call the remote handle to process the remote processing event through the remote handle.

[0143] It can be seen that the data processing device described in the embodiment of the present application can receive original data, which includes at least two of the following: third-party system data, local system data and client data, assemble the original data to obtain first data, which includes at least one of the following: basic data, business data and event data, filter the first data to obtain secondary logical data and primary logical data, transform the secondary logical data to obtain at least one subscription event, and if at least one target subscription event in at least one subscription event is listened to, classify the at least one target subscription event to obtain remote processing events and local processing events, call the local handle, process the local processing event through the local handle, call the remote handle, and process the remote processing event through the remote handle. In this way, the primary logical data and the secondary logical data are processed separately, the decoupling of the primary logical data and the secondary logical data is realized, the coupling between data is reduced, the later maintenance of developers is convenient, and it is beneficial to improve the stability of the system.

[0144] In a possible example, in filtering the first data to obtain the secondary logic data and the primary logic data, the data filtering unit 603 is specifically configured to:

[0145] Obtaining a preset filtering rule library, wherein the preset filtering rule library includes a plurality of primary logical preset filtering rules and a plurality of secondary logical preset filtering rules, and each preset filtering rule corresponds to a regular expression;

[0146] Based on the corresponding multiple regular expressions in the preset filtering rule library, regular matching is performed on the first data to obtain the main logical data that matches any main logical preset filtering rule among the multiple main logical preset filtering rules and the secondary logical data that matches any secondary logical preset filtering rule among the multiple secondary logical preset filtering rules.

[0147] In a possible example, in the aspect of performing data conversion on the secondary logical data to obtain at least one subscription event, the data conversion unit 604 is specifically configured to:

[0148] Acquire a preset secondary logic set, wherein the secondary logic set includes secondary logics of multiple categories;

[0149] According to the preset secondary logic set, the secondary logic data is classified and processed to obtain at least one target secondary logic data;

[0150] An event is registered for the at least one target secondary logical data to obtain the at least one subscription event.

[0151] In a possible example, in the aspect of classifying the at least one target subscription event to obtain a remote processing event and a local processing event, the event classification unit 605 is specifically used to:

[0152] Acquire preset event attributes, the event attributes including: local processing attributes and remote processing attributes;

[0153] According to the preset event attribute, the at least one target subscription event is classified to obtain the remote processing event corresponding to the remote processing attribute and the local processing event corresponding to the local processing attribute.

[0154] An embodiment of the present application also provides a computer-readable storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any data processing method recorded in the above method embodiments.

[0155] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any data processing method recorded in the above method embodiments.

[0156] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0157] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0158] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.

[0159] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0160] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of a software program module.

[0161] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.

[0162] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the relevant hardware through a program, and the program may be stored in a computer-readable memory, which may include a flash drive, ROM, RAM, a magnetic disk or an optical disk, etc.

[0163] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A data processing system, characterized in that: The system includes: a multi-terminal data aggregation module, a data module, a bus pipeline, a core module and a business separation module; wherein, The multi-terminal data aggregation module is used to receive original data and send the original data to the data module, wherein the original data includes at least two of the following: third-party system data, local system data and client data; The data module is used to assemble the original data to obtain first data, where the first data includes at least one of the following: basic data, business data, and event data; The bus pipeline is used to transmit the first data to the core module; The core module is used to filter the first data to obtain secondary logic data and primary logic data; The business separation module is used to perform data conversion on the secondary logical data to obtain at least one subscription event. If at least one target subscription event in the at least one subscription event is monitored, the at least one target subscription event is classified to obtain a remote processing event and a local processing event, call a local handle, process the local processing event through the local handle, call a remote handle, and process the remote processing event through the remote handle; The bus pipeline is also used to monitor the at least one subscription event, transmit the remote processing event to a third-party system, and push the local processing event to the local system.

2. The system according to claim 1, characterized in that The business separation module includes a local processing unit, a remote processing unit, an event selection unit and a model conversion unit, wherein: The model conversion unit is used to perform data conversion on the secondary logical data to obtain the at least one subscription event; The event selection unit is used to classify the at least one target subscription event to obtain the remote processing event and the local processing event; The local processing unit is used to call the local handle and process the local processing event through the local handle; The remote processing unit is used to call the remote handle and process the remote processing event through the remote handle.

3. The system according to claim 1, characterized in that The core module includes a data filtering unit and a core business unit, wherein: The data filtering unit is used to filter the first data to obtain the secondary logic data and the primary logic data; The core business unit is used to process the main logical data.

4. A data processing method, characterized in that: The method is applied to the data processing system according to claims 1-3, and the method comprises: Receiving original data, the original data including at least two of the following: third-party system data, local system data, and client data; Performing data assembly on the original data to obtain first data, where the first data includes at least one of the following: basic data, business data, and event data; Performing data filtering on the first data to obtain secondary logic data and primary logic data; Performing data conversion on the secondary logical data to obtain at least one subscription event; If at least one target subscription event in the at least one subscription event is monitored, classifying the at least one target subscription event to obtain a remote processing event and a local processing event; The local handle is called to process the local processing event through the local handle, and the remote handle is called to process the remote processing event through the remote handle.

5. The method according to claim 4, characterized in that The filtering the first data to obtain secondary logic data and primary logic data includes: Obtaining a preset filtering rule library, wherein the preset filtering rule library includes a plurality of primary logical preset filtering rules and a plurality of secondary logical preset filtering rules, and each preset filtering rule corresponds to a regular expression; Based on the corresponding multiple regular expressions in the preset filtering rule library, regular matching is performed on the first data to obtain the main logical data that matches any main logical preset filtering rule among the multiple main logical preset filtering rules and the secondary logical data that matches any secondary logical preset filtering rule among the multiple secondary logical preset filtering rules.

6. The method according to claim 4, characterized in that The performing data conversion on the secondary logical data to obtain at least one subscription event includes: Acquire a preset secondary logic set, wherein the secondary logic set includes secondary logics of multiple categories; According to the preset secondary logic set, the secondary logic data is classified and processed to obtain at least one target secondary logic data; An event is registered for the at least one target secondary logical data to obtain the at least one subscription event.

7. The method according to claim 4, characterized in that The classifying the at least one target subscription event to obtain a remote processing event and a local processing event includes: Acquire preset event attributes, the event attributes including: local processing attributes and remote processing attributes; According to the preset event attribute, the at least one target subscription event is classified to obtain the remote processing event corresponding to the remote processing attribute and the local processing event corresponding to the local processing attribute.

8. A data processing device, characterized in that: The device comprises: a receiving unit, a data assembling unit, a data filtering unit, a data converting unit, an event classification unit and a calling unit, wherein: The receiving unit is used to receive original data, where the original data includes at least two of the following: third-party system data, local system data, and client data; The data assembly unit is used to assemble the original data to obtain first data, where the first data includes at least one of the following: basic data, business data, and event data; The data filtering unit is used to filter the first data to obtain secondary logic data and primary logic data; The data conversion unit is used to perform data conversion on the secondary logical data to obtain at least one subscription event; The event classification unit is used for classifying the at least one target subscription event in the at least one subscription event to obtain a remote processing event and a local processing event if at least one target subscription event in the at least one subscription event is monitored; The calling unit is used to call the local handle to process the local processing event through the local handle, and call the remote handle to process the remote processing event through the remote handle.

9. A data processing device, characterized in that: The method comprises a processor, an input device, an output device and a memory, wherein the processor, the input device, the output device and the memory are interconnected, wherein the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method according to any one of claims 4 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is caused to perform the method according to any one of claims 4 to 7.