CN113419790A - Service data processing method, device, equipment and computer readable storage medium - Google Patents

Service data processing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN113419790A
CN113419790A CN202110691974.9A CN202110691974A CN113419790A CN 113419790 A CN113419790 A CN 113419790A CN 202110691974 A CN202110691974 A CN 202110691974A CN 113419790 A CN113419790 A CN 113419790A
Authority
CN
China
Prior art keywords
current layer
node
service data
layer node
data processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110691974.9A
Other languages
Chinese (zh)
Inventor
向云棕
范渊
黄进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DBAPPSecurity Co Ltd
Hangzhou Dbappsecurity Technology Co Ltd
Original Assignee
Hangzhou Dbappsecurity Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Dbappsecurity Technology Co Ltd filed Critical Hangzhou Dbappsecurity Technology Co Ltd
Priority to CN202110691974.9A priority Critical patent/CN113419790A/en
Publication of CN113419790A publication Critical patent/CN113419790A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a service data processing method, which comprises the following steps: receiving current layer service data to be processed; judging whether the current layer node meets the preset data processing condition; if not, determining a target event anchor point corresponding to the current layer node; searching a target callback method corresponding to a target event anchor point from a subscription center; the subscription center stores the corresponding relation between each event anchor point and each callback method; and processing the current layer service data by using the current layer node based on a target callback method. By applying the business data processing method provided by the invention, the business data processing efficiency is improved, and the consumption of the memory is reduced. The invention also discloses a service data processing device, equipment and a storage medium, and has corresponding technical effects.

Description

Service data processing method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a method, an apparatus, a device, and a computer-readable storage medium for processing service data.
Background
Due to the explosion of the internet, the traffic of internet companies has increased explosively, and repeated development work has been increasing. In order to avoid repeated development work, the internet company separates each service module into independent modules, each node bears the service data processing task which needs to be completed by each service module, and the operation logic between the nodes is edited and realized by a non-software development post. Namely, users in non-software development stations can complete a new product online through visual logic combination. After the user completes the visual logic combination arrangement, the back data processing program will execute according to the sequence of the user combination arrangement until the flow execution is completed.
In the prior art, most of the logic generation executable codes arranged by users are injected into products, and the logic arranged by the users is executed by a matched program. Usually, a large amount of data processing programs are repeatedly executed, which affects the processing efficiency of the service data and generates unnecessary memory consumption.
In summary, how to effectively solve the problems of repeated execution of a large amount of data processing programs, affecting the processing efficiency of business data, generating unnecessary memory consumption, and the like is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a business data processing method, which improves the business data processing efficiency and reduces the consumption of a memory; another object of the present invention is to provide a service data processing apparatus, device and computer readable storage medium.
In order to solve the technical problems, the invention provides the following technical scheme:
a service data processing method comprises the following steps:
receiving current layer service data to be processed;
judging whether the current layer node meets the preset data processing condition;
if not, determining a target event anchor point corresponding to the current layer node;
searching a target callback method corresponding to the target event anchor point from a subscription center; the subscription center stores the corresponding relation between each event anchor point and each callback method;
and processing the current layer service data by using the current layer node based on the target callback method.
In a specific embodiment of the present invention, when it is determined that the current layer node satisfies the preset data processing condition, the method further includes:
performing current layer processing on the current layer service data by using the current layer node;
searching a node connection edge set matched with the current layer node;
judging whether an un-forbidden node connection edge exists in the node connection edge set;
if so, sending the processed service data to a lower node through the node connection edge which is not forbidden;
and determining the lower layer node as the current layer node, determining the processed service data as the current layer service data, and repeatedly executing the step of judging whether the current layer node meets the preset data processing condition.
In a specific embodiment of the present invention, performing current-layer processing on the current-layer service data by using the current-layer node includes:
determining the target processing logic of the type of the current layer node;
and performing current layer processing on the current layer service data by using the current layer node according to the target processing logic.
In a specific embodiment of the present invention, before determining a target event anchor point corresponding to the current layer node, the method further includes:
determining a target data format of the type of the current layer node;
acquiring a service data format of the current layer service data;
judging whether the business data format is consistent with the target data format;
if not, outputting prompt information of abnormal data format;
and if so, executing the step of determining the target event anchor point corresponding to the current layer node.
In a specific embodiment of the present invention, determining a target event anchor point corresponding to the current layer node includes:
acquiring node identification information of the current layer node;
and determining a target event anchor point corresponding to the current layer node according to the node identification information.
In a specific embodiment of the present invention, before determining a target event anchor point corresponding to the current layer node or performing current layer processing on the current layer service data by using the current layer node, the method further includes:
detecting whether the current layer node is in a forbidden state;
if yes, ending the data processing program;
if not, executing the step of determining the target event anchor point corresponding to the current layer node or performing current layer processing on the current layer service data by using the current layer node.
A service data processing apparatus, comprising:
the data receiving module is used for receiving the current layer service data to be processed;
the first judgment module is used for judging whether the current layer node meets the preset data processing condition;
the event anchor point determining module is used for determining a target event anchor point corresponding to the current layer node when the current layer node is determined not to meet the preset data processing condition;
the callback method determination module is used for searching a target callback method corresponding to the target event anchor point from the subscription center;
and the first data processing module is used for processing the current layer service data by using the current layer node based on the target callback method.
In one embodiment of the present invention, the method further comprises:
the second data processing module is used for performing current layer processing on the current layer service data by using the current layer node when the current layer node is determined to meet the preset data processing condition;
the connection edge searching module is used for searching a node connection edge set matched with the current layer node;
a second judging module, configured to judge whether an unconfigurated node connecting edge exists in the node connecting edge set;
a data sending module, configured to send the processed service data to a lower node through an un-forbidden node connection edge when it is determined that the un-forbidden node connection edge exists in the node connection edge set;
and the repeated execution module is used for determining the lower-layer node as the current-layer node, determining the processed service data as the current-layer service data, and repeatedly executing the step of judging whether the current-layer node meets the preset data processing condition.
A service data processing apparatus comprising:
a memory for storing a computer program;
a processor, configured to implement the steps of the service data processing method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the business data processing method as set forth above.
The business data processing method provided by the invention receives the current layer business data to be processed; judging whether the current layer node meets the preset data processing condition; if not, determining a target event anchor point corresponding to the current layer node; searching a target callback method corresponding to a target event anchor point from a subscription center; the subscription center stores the corresponding relation between each event anchor point and each callback method; and processing the current layer service data by using the current layer node based on a target callback method.
According to the technical scheme, the subscription center is preset, the corresponding relation between each event anchor point and each callback method is stored in the subscription center in advance, and when the current layer node is determined not to meet the preset data processing condition, after the target event anchor point corresponding to the current layer node is determined, the target callback method corresponding to the target event anchor point is searched from the subscription center, and the processing of the current layer service data is completed based on the callback method. The same data processing program does not need to be repeatedly executed, the service data processing efficiency is improved, and the consumption of the memory is reduced.
Correspondingly, the invention also provides a service data processing device, equipment and a computer readable storage medium corresponding to the service data processing method, which have the technical effects and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an implementation of a service data processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of another implementation of a service data processing method according to an embodiment of the present invention;
fig. 3 is a block diagram of a service data processing apparatus according to an embodiment of the present invention;
fig. 4 is a block diagram of a service data processing device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a service data processing device provided in this embodiment.
Detailed Description
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart of an implementation of a service data processing method in an embodiment of the present invention, where the method may include the following steps:
s101: and receiving the current layer service data to be processed.
When the service data processing is needed, the service data to be processed is sent to a service data processing center, the service data processing center comprises one or more levels of nodes, and each level of nodes is used for processing the service data to be processed in a corresponding level. And the service data processing center receives the current layer service data to be processed.
It should be noted that the service data to be processed may be set and adjusted according to an actual application scenario, which is not limited in the embodiment of the present invention.
S102: and judging whether the current layer node meets the preset data processing condition, if so, executing the step S103, and if not, executing the step S104.
And presetting processing conditions for carrying out corresponding level processing on the service data to be processed by each layer of nodes. After receiving the current-layer service data to be processed, the service data processing center judges whether the current-layer node meets a preset data processing condition, if so, the current-layer node can directly process the current-layer service data, and executes step S103, otherwise, the current-layer node cannot directly process the current-layer service data, and executes step S104.
It should be noted that the data processing conditions may be set and adjusted according to actual situations, and the data processing conditions corresponding to the nodes in each layer may be the same or different, which is not limited in this embodiment of the present invention.
S103: and carrying out current layer processing on the current layer service data by using the current layer node.
When the current layer node is determined to meet the preset data processing conditions, the current layer node can directly process the current layer service data, and the current layer node is used for performing current layer processing on the current layer service data.
S104: and determining a target event anchor point corresponding to the current layer node.
And presetting event anchor points corresponding to nodes of each layer. When the current layer node is determined not to meet the preset data processing condition, the current layer node is indicated not to be capable of directly processing the current layer service data, and a target event anchor point corresponding to the current layer node is determined.
S105: and searching a target callback method corresponding to the target event anchor point from the subscription center.
The subscription center stores the corresponding relation between each event anchor point and each callback method.
The subscription center stores the corresponding relation between each event anchor point and each callback method, and the subscription center is used for carrying out unified management on the target callback method. After the target event anchor point corresponding to the current layer node is determined, a target call-back method corresponding to the target event anchor point is searched from the subscription center, and code logic in the target call-back method is executed. By setting the corresponding relation between each event anchor point and each callback method, the corresponding target callback method is directly searched after the current layer node is determined not to be capable of directly processing the current layer service data, and repeated execution of the same data processing program is avoided.
S106: and processing the current layer service data by using the current layer node based on a target callback method.
And after the target callback method corresponding to the target event anchor point is found, processing the service data of the current layer by using the node of the current layer based on the target callback method. And processing the service data of the current layer is completed based on a callback method by searching a target callback method corresponding to the target event anchor point from the subscription center. The problem of repeated execution of data processing in visual arrangement is solved, the program execution efficiency is improved, and unnecessary memory consumption is reduced.
According to the technical scheme, the subscription center is preset, the corresponding relation between each event anchor point and each callback method is stored in the subscription center in advance, and when the current layer node is determined not to meet the preset data processing condition, after the target event anchor point corresponding to the current layer node is determined, the target callback method corresponding to the target event anchor point is searched from the subscription center, and the processing of the current layer service data is completed based on the callback method. The same data processing program does not need to be repeatedly executed, the service data processing efficiency is improved, and the consumption of the memory is reduced.
It should be noted that, based on the above embodiments, the embodiments of the present invention also provide corresponding improvements. In the following embodiments, steps that are the same as or correspond to those in the above embodiments may be referred to one another, and corresponding advantageous effects may also be referred to one another, which is not described in detail in the following modified embodiments.
Referring to fig. 2, fig. 2 is a flowchart of another implementation of the service data processing method in the embodiment of the present invention, where the method may include the following steps:
s201: and receiving the current layer service data to be processed.
After receiving the original service data to be processed, the original service data can be subjected to one-layer data packaging, and functions such as time stamping, execution stack management, error collection and the like are added, so that the effective tracking of the service data processing process is realized.
S202: and judging whether the current layer node meets the preset data processing condition, if so, executing step S203, and if not, executing step S209.
In an embodiment of the present invention, before step S203 or step S209, the method may further include the steps of:
the method comprises the following steps: and detecting whether the current layer node is in a forbidden state, if so, executing a step two, and if not, executing the step 203 or the step 209.
Step two: the data processing procedure is ended.
For convenience of description, the above two steps may be combined for illustration.
After receiving the current layer service data to be processed, the service data processing center detects whether the current layer node is in a forbidden state, if so, the current layer node is unavailable, and the data processing program is ended, otherwise, the corresponding step S203 or step S209 is continuously executed according to the judgment result of whether the current layer node meets the preset data processing condition.
S203: and carrying out current layer processing on the current layer service data by using the current layer node.
In one embodiment of the present invention, step S203 may include the following steps:
the method comprises the following steps: determining the target processing logic of the type of the current layer node;
step two: and performing current layer processing on the current layer service data by using the current layer node according to the target processing logic.
For convenience of description, the above two steps may be combined for illustration.
Presetting the corresponding relation between the type of the node and the processing logic, determining the target processing logic of the type of the current layer node after determining that the current layer node meets the preset data processing condition, and performing current layer processing on the current layer service data by using the current layer node according to the target processing logic.
S204: and searching a node connection edge set matched with the current layer node.
The nodes of adjacent layers are in communication connection through node connection edges, each node prevNodeId in the previous layer can be in communication connection with one node nextNodeId in the next layer through one node connection edge, and can also be in communication connection with a plurality of nodes in the next layer through a plurality of node connection edges. After the current layer processing of the current layer service data is completed by using the current layer node, the node connection edge set matched with the current layer node is searched, for example, the node connection edge set can be searched through the relationship between the node identification information, so that the searching efficiency is improved.
S205: and judging whether the node connection edge set has an un-forbidden node connection edge or not, if not, executing the step S206, and if so, executing the step S207.
After the node connection edge set matched with the current layer node is found, whether an un-forbidden node connection edge exists in the node connection edge set is judged, if not, all node connection edges used for connecting the next layer node cannot be used, step S206 is executed, if yes, a node connection edge capable of being in communication connection with the next layer node exists currently, and step S207 is executed.
S206: and outputting abnormal prompt information of the connecting edge.
When it is determined that the node connecting edge set does not have the node connecting edge which is not forbidden, the node connecting edges used for connecting the nodes of the next level cannot be used, and abnormal connecting edge prompt information is output, so that operation and maintenance personnel are prompted to maintain the system in time.
S207: and sending the processed service data to the lower-layer node through the non-forbidden node connecting edge.
And when the node connection edge which is not forbidden exists in the node connection edge set, the node connection edge which can be in communication connection with the next level node exists at present, and the processed service data is sent to the lower level node through the node connection edge which is not forbidden.
S208: and determining the lower layer node as the current layer node, determining the processed service data as the current layer service data, and returning to execute the step S202.
After the processed service data is sent to the lower node, the lower node is determined as the current layer node, the processed service data is determined as the current layer service data, and the step S202 is returned to be executed, thereby realizing the recursive operation of the similar service processing flow.
S209: and determining the target data format of the type of the current layer node.
Each node has a data format supporting processing, and when the current layer node is determined not to meet the preset data processing condition, the target data format of the type to which the current layer node belongs is determined.
S210: and acquiring the service data format of the service data of the current layer.
And after receiving the current layer service data to be processed, acquiring the service data format of the current layer service data.
S211: and judging whether the business data format is consistent with the target data format, if not, executing step S212, and if so, executing step S213.
After determining the target data format of the type to which the current layer node belongs and acquiring the service data format of the current layer service data, judging whether the service data format is consistent with the target data format, if not, indicating that the current layer node does not support the service data format of the current layer service data, executing step S212, if so, indicating that the current layer node supports the service data format of the current layer service data, and executing step S213.
S212: and outputting prompt information of abnormal data format.
When the business data format is determined to be inconsistent with the target data format, the current layer node is not supported by the business data format of the current layer business data, and prompt information of abnormal data format is output to prompt operation and maintenance personnel that the currently input business data format is not in accordance with the standard.
S213: and acquiring the node identification information of the current layer node.
Each node has node identification information for uniquely identifying its identity. And when the business data format is consistent with the target data format, the current layer node supports the business data format of the current layer business data, and the node identification information of the current layer node is obtained.
S214: and determining a target event anchor point corresponding to the node of the current layer according to the node identification information.
And presetting the corresponding relation between each node identification information and each event anchor point, and after the node identification information of the current layer node is obtained, determining a target event anchor point corresponding to the current layer node according to the node identification information. And by presetting the corresponding relation between each node identification information and each event anchor point, the target event anchor point corresponding to each current layer node is quickly searched.
S215: and searching a target callback method corresponding to the target event anchor point from the subscription center.
The subscription center stores the corresponding relation between each event anchor point and each callback method.
S216: and processing the current layer service data by using the current layer node based on a target callback method.
The embodiment of the invention greatly improves the service data processing efficiency by combining the arrangement of each callback method in the subscription center and the arrangement of the recursion realization of each layer of nodes.
Corresponding to the above method embodiment, the present invention further provides a service data processing apparatus, and the service data processing apparatus described below and the service data processing method described above may be referred to in correspondence with each other.
Referring to fig. 3, fig. 3 is a block diagram of a service data processing apparatus according to an embodiment of the present invention, where the apparatus may include:
a data receiving module 31, configured to receive current layer service data to be processed;
a first judging module 32, configured to judge whether a current layer node meets a preset data processing condition;
the event anchor point determining module 33 is configured to determine a target event anchor point corresponding to the current layer node when it is determined that the current layer node does not meet the preset data processing condition;
a callback method determining module 34, configured to search a target callback method corresponding to the target event anchor from the subscription center;
and the first data processing module 35 is configured to process the current-layer service data by using the current-layer node based on the target callback method.
According to the technical scheme, the subscription center is preset, the corresponding relation between each event anchor point and each callback method is stored in the subscription center in advance, and when the current layer node is determined not to meet the preset data processing condition, after the target event anchor point corresponding to the current layer node is determined, the target callback method corresponding to the target event anchor point is searched from the subscription center, and the processing of the current layer service data is completed based on the callback method. The same data processing program does not need to be repeatedly executed, the service data processing efficiency is improved, and the consumption of the memory is reduced.
In one embodiment of the present invention, the apparatus may further include:
the second data processing module is used for performing current layer processing on the current layer service data by using the current layer node when the current layer node is determined to meet the preset data processing condition;
the connection edge searching module is used for searching a node connection edge set matched with the node of the current layer;
the second judgment module is used for judging whether an unconfigurated node connection edge exists in the node connection edge set or not;
the data sending module is used for sending the processed service data to the lower-layer node through the non-forbidden node connecting edge when the non-forbidden node connecting edge exists in the node connecting edge set;
and the repeated execution module is used for determining the lower-layer node as the current-layer node, determining the processed service data as the current-layer service data, and repeatedly executing the step of judging whether the current-layer node meets the preset data processing condition.
In one embodiment of the present invention, the second data processing module includes:
the processing logic determining submodule is used for determining the target processing logic of the type of the current layer node;
and the data processing submodule is used for carrying out current layer processing on the current layer service data by using the current layer node according to the target processing logic.
In one embodiment of the present invention, the apparatus may further include:
the data format determining module is used for determining a target data format of the type to which the current layer node belongs before determining a target event anchor point corresponding to the current layer node;
the data format acquisition module is used for acquiring the service data format of the service data of the current layer;
the third judging module is used for judging whether the business data format is consistent with the target data format;
the format exception output module is used for outputting prompt information of data format exception when the business data format is determined to be inconsistent with the target data format;
the event anchor determining module 33 is specifically a module for determining a target event anchor corresponding to the current layer node when it is determined that the service data format is consistent with the target data format.
In one embodiment of the present invention, the event anchor point determining module 33 includes:
the node identification obtaining submodule is used for obtaining node identification information of a current layer node;
and the event anchor point determining submodule is used for determining a target event anchor point corresponding to the node of the current layer according to the node identification information.
In one embodiment of the present invention, the apparatus may further include:
the node state detection module is used for detecting whether the current layer node is in a forbidden state or not before determining a target event anchor point corresponding to the current layer node or utilizing the current layer node to perform current layer processing on current layer service data;
the processing program operation control module is used for finishing the data processing program when detecting that the current layer node is in a forbidden state;
the event anchor point determining module 33 is specifically a module that determines a target event anchor point corresponding to the current layer node when it is detected that the current layer node is not in the disabled state;
the second data processing module is specifically a module for performing current layer processing on current layer service data by using a current layer node when detecting that the current layer node is not in a forbidden state.
Corresponding to the above method embodiment, referring to fig. 4, fig. 4 is a schematic diagram of a service data processing device provided in the present invention, where the device may include:
a memory 332 for storing a computer program;
the processor 322 is configured to implement the steps of the service data processing method of the foregoing method embodiment when executing the computer program.
Specifically, referring to fig. 5, fig. 5 is a schematic diagram of a specific structure of a service data processing apparatus provided in this embodiment, the service data processing apparatus may generate a relatively large difference due to different configurations or performances, and may include a processor (CPU) 322 (for example, one or more processors) and a memory 332, where the memory 332 stores one or more computer applications 342 or data 344. Memory 332 may be, among other things, transient or persistent storage. The program stored in memory 332 may include one or more modules (not shown), each of which may include a sequence of instructions operating on a data processing device. Further, processor 322 may be configured to communicate with memory 332 to execute a sequence of instruction operations in memory 332 on business data processing apparatus 301.
The business data processing apparatus 301 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input-output interfaces 358, and/or one or more operating systems 341.
The steps in the above-described service data processing method may be implemented by the structure of a service data processing device.
Corresponding to the above method embodiment, the present invention further provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the steps of:
receiving current layer service data to be processed; judging whether the current layer node meets the preset data processing condition; if not, determining a target event anchor point corresponding to the current layer node; searching a target callback method corresponding to a target event anchor point from a subscription center; the subscription center stores the corresponding relation between each event anchor point and each callback method; and processing the current layer service data by using the current layer node based on a target callback method.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
For the introduction of the computer-readable storage medium provided by the present invention, please refer to the above method embodiments, which are not described herein again.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device, the apparatus and the computer-readable storage medium disclosed in the embodiments correspond to the method disclosed in the embodiments, so that the description is simple, and the relevant points can be referred to the description of the method.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. A method for processing service data is characterized by comprising the following steps:
receiving current layer service data to be processed;
judging whether the current layer node meets the preset data processing condition;
if not, determining a target event anchor point corresponding to the current layer node;
searching a target callback method corresponding to the target event anchor point from a subscription center; the subscription center stores the corresponding relation between each event anchor point and each callback method;
and processing the current layer service data by using the current layer node based on the target callback method.
2. The method of claim 1, wherein when it is determined that the current layer node satisfies the preset data processing condition, further comprising:
performing current layer processing on the current layer service data by using the current layer node;
searching a node connection edge set matched with the current layer node;
judging whether an un-forbidden node connection edge exists in the node connection edge set;
if so, sending the processed service data to a lower node through the node connection edge which is not forbidden;
and determining the lower layer node as the current layer node, determining the processed service data as the current layer service data, and repeatedly executing the step of judging whether the current layer node meets the preset data processing condition.
3. The method of claim 2, wherein performing current-layer processing on the current-layer service data by using the current-layer node comprises:
determining the target processing logic of the type of the current layer node;
and performing current layer processing on the current layer service data by using the current layer node according to the target processing logic.
4. The method for processing service data according to claim 1, further comprising, before determining a target event anchor point corresponding to the current layer node:
determining a target data format of the type of the current layer node;
acquiring a service data format of the current layer service data;
judging whether the business data format is consistent with the target data format;
if not, outputting prompt information of abnormal data format;
and if so, executing the step of determining the target event anchor point corresponding to the current layer node.
5. The method of claim 1, wherein determining a target event anchor point corresponding to the current layer node comprises:
acquiring node identification information of the current layer node;
and determining a target event anchor point corresponding to the current layer node according to the node identification information.
6. The method according to any of claims 1 to 5, wherein before determining a target event anchor corresponding to the current layer node or performing current layer processing on the current layer service data by using the current layer node, the method further comprises:
detecting whether the current layer node is in a forbidden state;
if yes, ending the data processing program;
if not, executing the step of determining the target event anchor point corresponding to the current layer node or performing current layer processing on the current layer service data by using the current layer node.
7. A service data processing apparatus, comprising:
the data receiving module is used for receiving the current layer service data to be processed;
the first judgment module is used for judging whether the current layer node meets the preset data processing condition;
the event anchor point determining module is used for determining a target event anchor point corresponding to the current layer node when the current layer node is determined not to meet the preset data processing condition;
the callback method determination module is used for searching a target callback method corresponding to the target event anchor point from the subscription center;
and the first data processing module is used for processing the current layer service data by using the current layer node based on the target callback method.
8. The traffic data processing apparatus according to claim 7, further comprising:
the second data processing module is used for performing current layer processing on the current layer service data by using the current layer node when the current layer node is determined to meet the preset data processing condition;
the connection edge searching module is used for searching a node connection edge set matched with the current layer node;
a second judging module, configured to judge whether an unconfigurated node connecting edge exists in the node connecting edge set;
a data sending module, configured to send the processed service data to a lower node through an un-forbidden node connection edge when it is determined that the un-forbidden node connection edge exists in the node connection edge set;
and the repeated execution module is used for determining the lower-layer node as the current-layer node, determining the processed service data as the current-layer service data, and repeatedly executing the step of judging whether the current-layer node meets the preset data processing condition.
9. A service data processing apparatus, comprising:
a memory for storing a computer program;
processor for implementing the steps of the business data processing method according to any one of claims 1 to 6 when executing said computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the business data processing method according to any one of claims 1 to 6.
CN202110691974.9A 2021-06-22 2021-06-22 Service data processing method, device, equipment and computer readable storage medium Pending CN113419790A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110691974.9A CN113419790A (en) 2021-06-22 2021-06-22 Service data processing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110691974.9A CN113419790A (en) 2021-06-22 2021-06-22 Service data processing method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN113419790A true CN113419790A (en) 2021-09-21

Family

ID=77716047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110691974.9A Pending CN113419790A (en) 2021-06-22 2021-06-22 Service data processing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113419790A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482962A (en) * 2009-02-26 2009-07-15 北控易码通(北京)科技有限公司 Service data processing terminal and service data processing method
CN108874844A (en) * 2017-11-24 2018-11-23 北京视联动力国际信息技术有限公司 A kind of table data processing method and view networked server
CN109634561A (en) * 2018-10-16 2019-04-16 阿里巴巴集团控股有限公司 A kind of online visual programming method and device
CN110245110A (en) * 2019-05-20 2019-09-17 深圳壹账通智能科技有限公司 Data processing method, device and storage medium
CN110442756A (en) * 2019-06-27 2019-11-12 平安科技(深圳)有限公司 Data verification method, device, computer equipment and storage medium
CN110457117A (en) * 2019-07-05 2019-11-15 中国平安人寿保险股份有限公司 Data processing method, device, computer equipment and storage medium
CN110597602A (en) * 2019-09-17 2019-12-20 北京字节跳动网络技术有限公司 Transaction processing method and device, computer equipment and storage medium
CN111190750A (en) * 2019-12-25 2020-05-22 天津幸福生命科技有限公司 Data processing method and system
CN111208991A (en) * 2020-01-03 2020-05-29 北京龙归科技有限公司 Workflow-based program development method, electronic device, and storage medium
CN111263200A (en) * 2020-01-16 2020-06-09 百途新媒体技术(北京)有限公司 System and method for visually arranging infinite loading waterfall flow page
CN111338817A (en) * 2020-02-21 2020-06-26 中国农业银行股份有限公司 Interface preprocessing method and device
CN111967849A (en) * 2020-08-19 2020-11-20 支付宝(杭州)信息技术有限公司 Task processing flow arrangement method and device and electronic equipment
CN112861033A (en) * 2021-02-04 2021-05-28 北京三快在线科技有限公司 Method and device for executing service
CN112990769A (en) * 2021-04-21 2021-06-18 北京宇信科技集团股份有限公司 Service processing method and device, electronic equipment and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101482962A (en) * 2009-02-26 2009-07-15 北控易码通(北京)科技有限公司 Service data processing terminal and service data processing method
CN108874844A (en) * 2017-11-24 2018-11-23 北京视联动力国际信息技术有限公司 A kind of table data processing method and view networked server
CN109634561A (en) * 2018-10-16 2019-04-16 阿里巴巴集团控股有限公司 A kind of online visual programming method and device
CN110245110A (en) * 2019-05-20 2019-09-17 深圳壹账通智能科技有限公司 Data processing method, device and storage medium
CN110442756A (en) * 2019-06-27 2019-11-12 平安科技(深圳)有限公司 Data verification method, device, computer equipment and storage medium
CN110457117A (en) * 2019-07-05 2019-11-15 中国平安人寿保险股份有限公司 Data processing method, device, computer equipment and storage medium
CN110597602A (en) * 2019-09-17 2019-12-20 北京字节跳动网络技术有限公司 Transaction processing method and device, computer equipment and storage medium
CN111190750A (en) * 2019-12-25 2020-05-22 天津幸福生命科技有限公司 Data processing method and system
CN111208991A (en) * 2020-01-03 2020-05-29 北京龙归科技有限公司 Workflow-based program development method, electronic device, and storage medium
CN111263200A (en) * 2020-01-16 2020-06-09 百途新媒体技术(北京)有限公司 System and method for visually arranging infinite loading waterfall flow page
CN111338817A (en) * 2020-02-21 2020-06-26 中国农业银行股份有限公司 Interface preprocessing method and device
CN111967849A (en) * 2020-08-19 2020-11-20 支付宝(杭州)信息技术有限公司 Task processing flow arrangement method and device and electronic equipment
CN112861033A (en) * 2021-02-04 2021-05-28 北京三快在线科技有限公司 Method and device for executing service
CN112990769A (en) * 2021-04-21 2021-06-18 北京宇信科技集团股份有限公司 Service processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110650036A (en) Alarm processing method and device and electronic equipment
CN106921712B (en) Service processing method and device
CN111090268B (en) Data acquisition method and device based on thread division and data acquisition equipment
CN104239156A (en) External service call method and system
CN112242938A (en) Detection method, detection device, electronic equipment and computer-readable storage medium
CN111078468A (en) Service rollback method and device under micro-service architecture
CN117767250B (en) Direct-current micro-grid coordinated control method and system based on fault monitoring
CN114819958A (en) Transaction processing method, device and equipment based on block chain
CN112087459B (en) Access request detection method, device, equipment and readable storage medium
CN112003872B (en) Method and device for detecting and calling secondary node capability of industrial internet identifier
CN113419790A (en) Service data processing method, device, equipment and computer readable storage medium
CN112416725A (en) Pressure testing method and device
CN109697234B (en) Multi-attribute information query method, device, server and medium for entity
CN114022279A (en) Service data error correction method, device, equipment and readable storage medium
CN114841267B (en) Real-time prediction method, device, electronic equipment and computer program product
CN116362213A (en) Method, device, processor and storage medium for generating report file
CN110955498B (en) Process processing method, device and equipment and computer readable storage medium
CN101971562B (en) Method, device and system for controlling automatic running process performance
CN114171107A (en) Detection method, device, equipment and storage medium for VPD information of solid state disk
CN113721937A (en) Method for establishing reasoning service by using AIC (advanced information center) resource by artificial intelligence development platform
CN111625262A (en) Rollback method, system, equipment and storage medium of workload resources
CN112019383B (en) Method, device and equipment for positioning access problem of shared file and readable storage medium
CN114860760B (en) Multi-source data integration processing method and system
CN117439871B (en) Meter reading fault positioning method and device, storage medium and electronic equipment
CN116155722A (en) Cluster intelligent processing method and device based on automatic perception

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210921

RJ01 Rejection of invention patent application after publication