CN115981743A - Service data processing method, device, equipment and medium - Google Patents
Service data processing method, device, equipment and medium Download PDFInfo
- Publication number
- CN115981743A CN115981743A CN202310006865.8A CN202310006865A CN115981743A CN 115981743 A CN115981743 A CN 115981743A CN 202310006865 A CN202310006865 A CN 202310006865A CN 115981743 A CN115981743 A CN 115981743A
- Authority
- CN
- China
- Prior art keywords
- state
- screening
- service data
- data
- 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
Links
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Debugging And Monitoring (AREA)
Abstract
The application provides a method, a device, equipment and a medium for processing service data. According to the method, after the business data are obtained, the corresponding target data processing flow is determined according to the business data type, and then the business data are processed according to the target data processing flow. According to the scheme, the data processing flow is determined according to the service data type, and the compatibility of the service data processing method is effectively improved.
Description
Technical Field
The present application relates to the field of financial technology or other related fields, and in particular, to a method, an apparatus, a device, and a medium for processing business data.
Background
With the development of science and technology, in order to improve the capital abundance and the asset mobility of financial institutions, the assets can be securitized, business data of businesses can be converted into securitized data, and the securitized data can be managed.
In the prior art, when processing service data, a data processing system is required to process the service data. Because the processing flows corresponding to different types of service data are different, when the types of the service data which need to be processed are more, different data processing systems need to be developed to process the service data.
In summary, when the types of the services that need to perform data processing are many, different data processing systems need to be developed, and different data processing methods are used to perform service data processing, which results in lower compatibility of the service data processing methods.
Disclosure of Invention
Embodiments of the present application provide a method, an apparatus, a device, and a medium for processing service data, which are used to solve the problem that when there are many types of service data that need to be processed, different data processing systems need to be developed, and different data processing methods are used to process the service data, so that the compatibility of the service data processing method is low.
In a first aspect, an embodiment of the present application provides a method for processing service data, including:
acquiring service data, wherein the service data comprises a service data type;
determining a target data processing flow according to the service data type and the corresponding relation between the service data type and the data processing flow; if the service data type is normal, the target data processing flow includes: screening flow, rescreening flow, pool entering flow, packaging flow and delivery flow; if the service data type is abnormal, the target data processing flow comprises the following steps: a screening process, a pool entering process and a delivery process;
and processing the service data according to the target data processing flow.
In a specific embodiment, if the type of the service data is normal, the processing the service data according to the target data processing flow includes:
generating a process state, wherein the process state is a state to be screened;
when the process state is monitored to be the to-be-screened state, entering the screening process, screening the service data according to a preset screening rule to obtain primary screening data, and updating the process state to be the to-be-rescreened state;
when the process state is monitored to be the re-screening state, entering the re-screening process, adding the acquired newly added service data to the preliminary screening data, re-screening the preliminary screening data added with the newly added service data according to a preset legality screening rule to obtain target screening data, and updating the process state to be a to-be-pooled state;
entering the pool entering process when the process state is monitored to be the pool waiting state, and updating the process state to be a packet waiting state when a pool entering confirmation instruction is obtained;
when the process state is monitored to be the to-be-packaged state, entering the packaging process, and when the packaging date data is acquired, updating the process state to be the to-be-delivered state;
and when the process state is monitored to be the delivery state, entering the delivery process, sending the target screening data to a delivery system, and updating the process state to be the delivery state when the delivery date data is acquired.
In a specific embodiment, if the type of the service data is abnormal, the processing the service data according to the target data processing flow includes:
generating a process state, wherein the process state is a state to be screened;
when the process state is monitored to be the state to be screened, entering the screening process, screening the service data according to a preset screening rule to obtain primary screening data, and updating the process state to be the state to be pooled;
entering the pool entering process when the process state is monitored to be the pool entering state, and updating the process state to be the to-be-delivered state when a pool entering confirmation instruction is obtained;
and when the process state is monitored to be the delivery state, entering the delivery process, sending the preliminary screening data to a delivery system, and updating the process state to be the delivered state when the delivery date data is obtained.
In a specific embodiment, the preset screening rules include a preset legality screening rule and a preset securitization screening rule;
correspondingly, the screening the service data according to the preset screening rule to obtain preliminary screening data, including:
screening the service data according to the preset legality screening rule to obtain legal screening data, and updating the flow state to be a screening state to be securitized;
and when the process state is monitored to be the screening state to be securitized, screening the legal screening data according to the preset securitization screening rule to obtain the preliminary screening data.
In a specific embodiment, before the obtaining the service data, the method further includes:
acquiring operation data of an original data processing system and a service data type corresponding to the original data processing system;
generating a data processing flow according to the operation data;
and establishing a corresponding relation between the data processing flow and the service type of the service data and then storing the data processing flow and the service type of the service data.
In one embodiment, the method further comprises:
acquiring a parameter setting request, wherein the parameter setting request comprises a service data type, a process identification and a target parameter;
acquiring a data processing flow to be modified corresponding to the service data type according to the service data type;
and modifying the original parameters in the flow corresponding to the flow identification in the data processing flow to be modified into the target parameters.
In a second aspect, an embodiment of the present application provides a service data processing apparatus, including:
the acquisition module is used for acquiring service data, and the service data comprises a service data type;
a processing module to:
determining a target data processing flow according to the service data type and the corresponding relation between the service data type and the data processing flow; wherein, if the service data type is normal, the target data processing flow includes: a screening process, a re-screening process, a pool entering process, a packaging process and a delivery process; if the service data type is abnormal, the target data processing flow comprises: a screening process, a pool entering process and a delivery process;
and processing the service data according to the target data processing flow.
In a third aspect, an embodiment of the present application provides an electronic device, including:
a processor, a memory, a communication interface;
the memory is used for storing executable instructions of the processor;
wherein the processor is configured to perform the business data processing method of any one of the first aspect via execution of the executable instructions.
In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the business data processing method described in any one of the first aspects.
In a fifth aspect, an embodiment of the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program is used to implement the business data processing method of any one of the first aspect.
According to the business data processing method, the business data processing device, the business data processing equipment and the business data processing medium, after the business data are obtained, the corresponding target data processing flow is determined according to the business data type, and then the business data are processed according to the target data processing flow. According to the scheme, the data processing flow is determined according to the service data type, and the compatibility of the service data processing method is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and those skilled in the art can obtain other drawings without inventive labor.
Fig. 1 is a schematic flowchart of a first embodiment of a service data processing method provided in the present application;
fig. 2a is a schematic flowchart of a second embodiment of a service data processing method provided in the present application;
fig. 2b is a diagram illustrating a correspondence relationship between a business process and a target data processing process provided by the present application;
FIG. 2c is a flow state transition diagram provided herein;
fig. 3 is a schematic flowchart of a third embodiment of a service data processing method provided in the present application;
fig. 4a is a schematic flowchart of a fourth embodiment of a service data processing method provided in the present application;
fig. 4b is a schematic diagram of an execution manner corresponding to the screening process provided in the present application;
fig. 4c is a schematic flowchart of a service data processing method provided in the present application;
fig. 5 is a schematic structural diagram of an embodiment of a service data processing apparatus provided in the present application;
fig. 6 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments that can be made by one skilled in the art based on the embodiments in the present application in light of the present disclosure are within the scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and claims of this application and in the preceding drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
With the development of technology, in order to solve the problems of low capital abundance and low asset liquidity of financial institutions, assets can be securitized. In the securitization process, a data processing system is required for processing. Because the processing flows corresponding to different types of service data are different, when the types of the service data which need to be processed are more, different data processing systems need to be developed to process the service data.
Because different service data are to be processed, different data processing systems need to be developed, and different data processing methods are used for processing the service data, which results in a problem of low compatibility of the service data processing method.
In order to improve the compatibility of the business data processing method, the inventor finds that a data processing flow can be generated according to the running data of the original data processing system, and then establishes a corresponding relation between the data processing flow and the business data type corresponding to the original data processing system for storage. After the service data is obtained, the corresponding target data processing flow can be obtained according to the service data type, and then the service data can be processed according to the target data processing flow. Based on the inventive concept, the service data processing scheme in the application is designed.
The main execution body of the service data processing method in the present application may be a server, and may also be a device such as a computer and a terminal device that can deploy a data processing system, which is not limited in the present application, and the following description takes the server as an example.
It should be noted that the method, the apparatus, the device and the medium for processing the business data in the present application may be used in the financial field. But also in any field other than the financial field. The application fields of the service data processing method, the device, the equipment and the medium in the application are not limited.
An application scenario of the service data processing method provided by the present application is described below as an example.
For example, in the application scenario, a user wants to securitize a service, and service data corresponding to the service is sent to a server where a data processing system is located through a terminal device.
After receiving the service data, the server can acquire the service data type therein, and further determine a corresponding target data processing flow according to the service data type. And then processing the service data according to the target data processing flow.
It should be noted that the foregoing scenario is only an example of an application scenario provided in the embodiment of the present application, and the embodiment of the present application does not limit actual forms of various devices included in the scenario, nor limits an interaction manner between the devices, and in a specific application of the solution, the scenario may be set according to actual requirements.
The technical solution of the present application will be described in detail below with reference to specific examples. It should be noted that the following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 1 is a schematic flow chart of a first embodiment of a service data processing method provided by the present application, which illustrates a case where a server processes service data according to a determined target data processing flow after acquiring the service data. The method in this embodiment may be implemented by software, hardware, or a combination of software and hardware. As shown in fig. 1, the method for processing service data specifically includes the following steps:
s101: and acquiring service data.
When the user needs to carry out securitization, the service data can be uploaded to the server.
In this step, the server first obtains the service data to perform subsequent processing of the service data, where the service data includes a service data type.
It should be noted that the business data may be asset data, such as: the data processing method comprises the steps of credit card data, loan asset data, physical asset data, security asset data, cash asset data and the like.
S102: and determining a target data processing flow according to the service data type and the corresponding relation between the service data type and the data processing flow.
In this step, after the server acquires the service data, since the corresponding relationship between the data processing flow and the service data type is obtained according to the operation data of the original data processing system before the service data is acquired, the target data processing flow can be determined according to the corresponding relationship between the service data type and the data processing flow.
The data processing flows corresponding to different service data types are different, for example, the data processing flow corresponding to the normal asset type includes: screening process, re-screening process, pool entering process, packaging process and delivery process. The data processing flow corresponding to the abnormal asset type comprises the following steps: screening process, pool entering process and delivery process. The embodiment of the application does not limit the service data type and the data processing flow and can determine the service data type and the data processing flow according to actual conditions.
S103: and processing the service data according to the target data processing flow.
In this step, after the server determines the target data processing flow, the server can process the service data according to the target data processing flow.
The method comprises the steps of firstly generating a flow state, determining the flow to be entered according to the current state, updating the flow state when the flow is completed, determining the flow to be entered again according to the updated flow state until all the flows are completed, and completing the processing of service data.
In the service data processing method provided by this embodiment, after the service data is obtained, a target data processing flow is determined according to the type of the service data; and then processing the service data according to the target data processing flow. Compared with the prior art that a data processing system is developed for each service data type and a corresponding data processing method is used for processing service data, the scheme only uses one data processing system and one service data processing method, determines the target data processing flow through the service data type and processes the service data according to the target data processing flow, can realize that one service data processing method processes the service data of multiple service data types, effectively improves the compatibility of the service data processing method, does not need to deploy different data processing systems, and reduces the occupied space of a memory.
Fig. 2a is a schematic flow diagram of a second embodiment of a service data processing method provided by the present application, and on the basis of the foregoing embodiment, the present application describes a situation that a server processes service data according to a target data processing flow when a service type is a normal type. As shown in fig. 2a, the service data processing method specifically includes the following steps:
s201: and generating a flow state.
In this step, since the server determines the flow that needs to be entered according to the flow state, an initial flow state needs to be generated first, and the flow state is a state to be screened.
S202: and when the process state is monitored to be a to-be-screened state, entering a screening process, screening the service data according to a preset screening rule to obtain primary screening data, and updating the process state to be a to-be-rescreened state.
In this step, since the server monitors the process state, when the process state is monitored to be screened, the server enters the screening process, screens the service data according to the preset screening rule to obtain preliminary screening data, and updates the process state to be a re-screening state.
Specifically, the preset screening rules include a preset legality screening rule and a preset securitization screening rule. Firstly, screening the service data according to a preset legality screening rule, removing data which do not accord with the preset legality screening rule in the service data to obtain legal screening data, and updating the flow state to be a to-be-securitized screening state.
It should be noted that the preset validity screening rule includes: the account number digit is for predetermineeing the digit, the currency is for predetermineeing currency, the principal numerical value is greater than zero etc. this application embodiment does not prescribe a limit to predetermineeing legality screening rule, can set up according to actual conditions.
It should be noted that, the server may also send the service data to the terminal device of the staff, and the staff performs the screening. And after the screening of the staff is completed, the obtained legal screening data is sent to the server through the terminal equipment. And when the server receives legal screening data, updating the flow state into a to-be-securitized screening state.
When the process state is monitored to be the to-be-securitized screening state, screening legal screening data according to a preset securitized screening rule, removing data which do not accord with the preset securitized screening rule in the legal screening data to obtain primary screening data, and updating the process state to be the to-be-rescreened state.
It should be noted that the preset securitization screening rule includes: the account opening information belongs to a preset account opening information set, the number of items exceeding the term is smaller than the preset number of items, the time exceeding the term is smaller than the preset duration and the like.
It should be noted that the server may also send the preliminary screening data to a terminal device of the worker, and the worker performs the screening. And after receiving the screened data sent by one worker through the terminal equipment, the server sends the data to the terminal equipment of other workers for screening again until the last worker finishes screening, and sends the primarily screened data to the server. And when the server receives the preliminary screening data, updating the flow state into a to-be-rescreened state.
It should be noted that, if the preliminary screening data is empty, the flow state is updated to the end flow state.
S203: and when the process state is monitored to be in a re-screening state, entering a re-screening process, adding the acquired newly added service data to the primary screening data, re-screening the primary screening data added with the newly added service data according to a preset legality screening rule to obtain target screening data, and updating the process state to be in a pool state.
In this step, after the server updates the flow state to the to-be-pooled state, it can be monitored that the flow state is the to-be-rescreened state, and then the restatement screening flow is entered, the acquired newly added service data is added to the preliminary screening data, and the preliminary screening data after the newly added service data is added is rescreened according to a preset legality screening rule, so as to obtain target screening data, and the flow state is updated to the to-be-pooled state.
In the screening process and the re-screening process, some data which do not accord with the preset screening rule but can still be securitized are removed, so that the staff can send the data and other data which can be securitized, namely newly added service data, to the server through the terminal equipment. And after receiving the newly added service data, the server adds the newly added service data into the primary screening data, re-screens the primary screening data after the newly added service data are added according to a preset legality screening rule, avoids the data sent by the staff being illegal, obtains target screening data, and updates the flow state to be a to-be-pooled state.
S204: and when the process state is monitored to be the state of waiting to enter the pool, entering the pool entering process, and updating the process state to be the state of waiting to be packaged when the pool entering confirmation instruction is obtained.
In this step, after the server updates the flow state to the to-be-pooled state, it can be monitored that the flow state is the to-be-pooled state, and the pool-entering flow can be entered. When the staff determines that the next step needs to be carried out, namely the flow state needs to be updated, a sending pool confirmation instruction is sent to the server through the terminal equipment. And when the server receives the pool entering confirmation instruction, updating the flow state into a to-be-packaged state.
S205: and when the process state is monitored to be the to-be-packaged state, entering a packaging process, and when the packaging date data is acquired, updating the process state to be the to-be-delivered state.
In this step, after the server updates the flow state to the to-be-packaged state, it can monitor that the flow state is the to-be-packaged state, and then the server can enter the packaging flow. When the staff determines that the next step needs to be carried out, namely the flow state needs to be updated, the packing date data are sent to the server through the terminal equipment. And when the server receives the data of the package date, updating the flow state into a to-be-delivered state.
S206: and when the process state is monitored to be delivered, entering a delivery process, sending the target screening data to a delivery system, and updating the process state to be the delivered state when the delivery date data is acquired.
In this step, after the server updates the flow state to the delivery state, it can monitor that the flow state is the delivery state, and then enter the delivery flow. The target screening data is sent to a delivery system, delivery is completed by the delivery system, and the delivery system sends delivery date data to a server. And when the server receives the delivery date data, updating the flow state into the delivered state.
The server may also calculate delivery amount data, statistical repayment data, and the like.
Exemplarily, fig. 2b is a corresponding relationship diagram between a business process and a target data processing process provided by the present application; as shown in fig. 2b, the business process includes three processes, namely asset pooling, packaging and delivery. And the target data processing flow corresponding to the assets entering the pool comprises a screening flow, a re-screening flow and a pool entering flow. And the processing flow of the target data corresponding to the package is a package flow. The delivery target data processing flow is a delivery flow.
It should be noted that the server may use a state machine to perform state control between different process states. The state machine includes interface functions to fetch the next state, change the state of the data, invoke the next operation, return, etc. Exemplarily, fig. 2c is a flow state transition diagram provided by the present application, and as shown in fig. 2c, when the flow state is the to-be-screened state, the screening flow is performed, and then the flow state is updated to be the to-be-rescreened state; performing a re-screening process, and updating the process state into a to-be-pooled state; performing a pool entering process, and updating the process state into a to-be-packaged state; performing a packaging process, and updating the process state into a to-be-delivered state; and carrying out the delivery process, and updating the process state into the delivered state.
In the service data processing method provided by this embodiment, when the process state is the to-be-screened state, a screening process is entered, and the process state is updated to be the to-be-rescreened state; entering a restatement screening process, and updating the process state into a to-be-pooled state; entering a pool entering process, and updating the process state into a to-be-packaged state; entering a packaging process, and updating the process state into a to-be-delivered state; and finally, entering a delivery process, and updating the process state into a delivered state. According to different process states, the process needing to enter is determined, the order of the process is guaranteed, and the error rate of the data processing method is reduced.
Fig. 3 is a schematic flow chart of a third embodiment of the service data processing method provided by the present application, and on the basis of the foregoing embodiments, the present application describes a situation in which a server processes service data according to a target data processing flow when a service type is an abnormal type. As shown in fig. 3, the service data processing method specifically includes the following steps:
s301: and generating a flow state.
In this step, since the server determines the flow that needs to be entered according to the flow state, an initial flow state needs to be generated first, and the flow state is a state to be screened.
S302: and when the process state is monitored to be a state to be screened, entering a screening process, screening the service data according to a preset screening rule to obtain preliminary screening data, and updating the process state to be a state to be entered into the pool.
In this step, since the server monitors the process state, when the process state is monitored to be screened, the screening process is entered, the service data is screened according to the preset screening rule to obtain the preliminary screening data, and the process state is updated to be the re-screening state.
Specifically, the preset screening rules include preset legality screening rules and preset securitization screening rules. Screening the business data according to a preset legality screening rule, removing data which do not accord with the preset legality screening rule from the business data to obtain legal screening data, and updating the flow state to be a screening state to be securitized.
It should be noted that the preset validity screening rule includes: the account number digit is for predetermineeing the digit, the currency is for predetermineeing currency, the principal numerical value is greater than zero etc. this application embodiment does not prescribe a limit to predetermineeing legality screening rule, can set up according to actual conditions.
It should be noted that, the server may also send the service data to the terminal device of the worker, and the worker performs the screening. And after the screening of the staff is completed, the obtained legal screening data is sent to the server through the terminal equipment. And when the server receives legal screening data, updating the flow state into a to-be-securitized screening state.
When the process state is monitored to be the securitized screening state, screening legal screening data according to a preset securitized screening rule, removing data which do not accord with the preset securitized screening rule in the legal screening data to obtain primary screening data, and updating the process state to be the pool entering state.
It should be noted that the preset securitization screening rule includes: the account opening information belongs to a preset account opening information set, the number of items exceeding the term is smaller than the preset number of items, the time exceeding the term is smaller than the preset duration and the like.
It should be noted that the server may also send the preliminary screening data to a terminal device of the worker, and the worker performs the screening. After the screening of the staff is completed, the obtained preliminary screening data are sent to the server through the terminal equipment. The server can also receive the screened data sent by one worker through the terminal equipment, then send the data to the terminal equipment of other workers for screening, and send the preliminary screening data to the server until the last worker finishes screening. And when the server receives the preliminary screening data, updating the flow state into a to-be-pooled state.
It should be noted that, if the preliminary screening data is empty, the flow state is updated to the end flow state.
S303: and when the process state is monitored to be the state of waiting to enter the pool, entering the pool entering process, and updating the process state to be the state of waiting to be delivered when the pool entering confirmation instruction is obtained.
In this step, after the server updates the process state to the standby state, it can be monitored that the process state is the standby state, and the pool entering process can be entered. When the staff determines that the next step needs to be carried out, namely the flow state needs to be updated, a sending pool confirmation instruction is sent to the server through the terminal equipment. And when the server receives the pool entering confirmation instruction, updating the flow state into a to-be-delivered state.
S304: and when the process state is monitored to be the delivery state, entering the delivery process, sending the preliminary screening data to a delivery system, and updating the process state to be the delivered state when the delivery date data is acquired.
In this step, after the server updates the flow state to the delivery state, it can monitor that the flow state is the delivery state, and then enter the delivery flow. The preliminary screening data are sent to a delivery system, delivery is completed by the delivery system, and the delivery system sends delivery date data to a server. And when the server receives the delivery date data, updating the flow state into a delivered state.
It should be noted that the server may also count payment data and the like.
In the service data processing method provided by this embodiment, when the process state is the to-be-screened state, a screening process is entered, and the process state is updated to be the to-be-pooled state; entering a pool entering process, and updating the process state into a to-be-delivered state; then entering the delivery process, and updating the process state into the to-be-delivered state. According to different process states, the process needing to enter is determined, the order of the process is guaranteed, and the error rate of the data processing method is reduced.
Fig. 4a is a schematic flow chart of a fourth embodiment of the service data processing method provided by the present application, and on the basis of the foregoing embodiments, the present application describes a situation that a server generates a data processing flow, and establishes a corresponding relationship with a service data type and stores the data processing flow. As shown in fig. 4a, the service data processing method specifically includes the following steps:
s401: and acquiring the operating data of the original data processing system and the service data type corresponding to the original data processing system.
In this step, in order to obtain the corresponding data processing flow when processing the service data, the data processing flow needs to be generated first for storage, which requires that the operation data of the original data processing system and the service data type corresponding to the original data processing system be obtained first.
S402: and generating a data processing flow according to the operation data.
In this step, after the server obtains the operation data of the original data processing system, a data processing flow may be generated according to the operation data.
The operation data comprises the flow data, so the operation data can be extracted to generate a data processing flow.
S403: and establishing a corresponding relation between the data processing flow and the service data type and then storing the data processing flow and the service data type.
In this step, after the server generates the data processing flow, the server may establish a corresponding relationship between the data processing flow and the service data type and store the corresponding relationship, so as to obtain the corresponding data processing flow according to the service data type in the following step.
It should be noted that, the staff may also set parameters in the data processing flow through the terminal device, and the terminal device sends a parameter setting request to the server, where the parameter setting request includes a service data type, a flow identifier, and a target parameter. After receiving the request, the server searches the corresponding data processing flow according to the service data type, further obtains the corresponding target flow according to the flow identification, and modifies the original parameters in the target flow into the target parameters.
It should be noted that, the staff may also set an execution mode in the data processing flow through the terminal device, and the terminal device sends an execution mode setting request to the server, where the execution mode setting request includes a service data type, a flow identifier, and a target execution mode. After receiving the request, the server finds the corresponding data processing flow according to the service data type, further obtains the corresponding target flow according to the flow identification, and sets an execution mode.
Exemplarily, fig. 4b is a schematic diagram of an execution manner corresponding to the screening process provided by the present application; as shown in fig. 4B, the operator may set the execution mode of the screening process, set the execution mode of the screening process a as automatic screening, set the execution mode of the screening process B as manual screening, set the execution mode of the screening process C as automatic screening, and set the execution mode of the screening process C as manual screening.
For example, fig. 4c is a schematic flow chart of the service data processing method provided in the present application; as shown in fig. 4c, the server obtains the operation data and the service data type from the multiple source data processing systems, generates the data processing flow, and stores the data processing flow and the service data type after establishing the corresponding relationship. And further, the corresponding data processing flow can be found according to the service data type.
According to the business data processing method provided by the embodiment, the operation data and the business data type of the original data processing system are obtained, the data processing flow is generated and is stored after the corresponding relation with the business data type is established, the data processing flow does not need to be established manually, and the efficiency of establishing the data processing flow is effectively improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 5 is a schematic structural diagram of an embodiment of a service data processing apparatus provided in the present application. As shown in fig. 5, the service data processing apparatus 50 includes:
an obtaining module 51, configured to obtain service data, where the service data includes a service data type;
a processing module 52 configured to:
determining a target data processing flow according to the service data type and the corresponding relation between the service data type and the data processing flow; wherein, if the service data type is normal, the target data processing flow includes: a screening process, a re-screening process, a pool entering process, a packaging process and a delivery process; if the service data type is abnormal, the target data processing flow comprises: a screening process, a pool entering process and a delivery process;
and processing the service data according to the target data processing flow.
Further, if the service data type is a normal type, the processing module 52 is specifically configured to:
generating a process state, wherein the process state is a state to be screened;
when the process state is monitored to be the to-be-screened state, entering the screening process, screening the service data according to a preset screening rule to obtain primary screening data, and updating the process state to be the to-be-rescreened state;
when the process state is monitored to be the to-be-rescreened state, entering the rescreening process, adding the acquired newly-added service data to the primary screening data, rescreening the primary screening data added with the newly-added service data according to a preset legality screening rule to obtain target screening data, and updating the process state to be the to-be-pooled state;
when the monitored flow state is the to-be-pooled state, entering the pooled flow, and when a pooled confirmation instruction is obtained, updating the flow state to be a to-be-packaged state;
when the process state is monitored to be the to-be-packaged state, entering the packaging process, and when the packaging date data is acquired, updating the process state to be the to-be-delivered state;
and when the process state is monitored to be the delivery state, entering the delivery process, sending the target screening data to a delivery system, and updating the process state to be the delivery state when the delivery date data is acquired.
Further, if the service data type is an abnormal type, the processing module 52 is further configured to:
generating a process state, wherein the process state is a state to be screened;
when the process state is monitored to be the state to be screened, entering the screening process, screening the service data according to a preset screening rule to obtain primary screening data, and updating the process state to be the state to be pooled;
entering the pool entering process when the process state is monitored to be the pool entering state, and updating the process state to be the to-be-delivered state when a pool entering confirmation instruction is obtained;
and when the process state is monitored to be the delivery state, entering the delivery process, sending the preliminary screening data to a delivery system, and updating the process state to be the delivered state when the delivery date data is obtained.
Further, the preset screening rules include a preset legality screening rule and a preset securitization screening rule, and the processing module 52 is further configured to:
screening the service data according to the preset legality screening rule to obtain legal screening data, and updating the flow state to be a to-be-securitized screening state;
and when the process state is monitored to be the screening state to be securitized, screening the legal screening data according to the preset securitization screening rule to obtain the preliminary screening data.
Further, the obtaining module 51 is further configured to obtain operation data of an original data processing system and a service data type corresponding to the original data processing system;
further, the processing module 52 is further configured to:
generating a data processing flow according to the operation data;
and establishing a corresponding relation between the data processing flow and the service data type and then storing the data processing flow and the service data type.
Further, the obtaining module 51 is further configured to obtain:
setting a parameter request, wherein the parameter request comprises a service data type, a process identification and a target parameter;
acquiring a data processing flow to be modified corresponding to the service data type according to the service data type;
further, the processing module 52 is further configured to modify, in the data processing flow to be modified, an original parameter in the flow corresponding to the flow identifier to the target parameter.
The service data processing apparatus provided in this embodiment is configured to execute the technical solution in any one of the foregoing method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of an electronic device provided in the present application. As shown in fig. 6, the electronic device 60 includes:
a processor 61, a memory 62, and a communication interface 63;
the memory 62 is used for storing executable instructions of the processor 61;
wherein the processor 61 is configured to perform the technical solution in any of the method embodiments described above via executing the executable instructions.
Alternatively, the memory 62 may be separate or integrated with the processor 61.
Optionally, when the memory 62 is a device independent of the processor 61, the electronic device 60 may further include:
the bus 64, the memory 62 and the communication interface 63 are connected with the processor 61 through the bus 64 and communicate with each other, and the communication interface 63 is used for communicating with other devices.
Alternatively, the communication interface 63 may be implemented by a transceiver. The communication interface is used for realizing communication between the database access device and other equipment (such as a client, a read-write library and a read-only library). The memory may comprise Random Access Memory (RAM) and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The bus 64 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The processor may be a general-purpose processor, including a central processing unit CPU, a Network Processor (NP), and the like; but also a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, discrete gate or transistor logic, discrete hardware components.
The electronic device is configured to execute the technical solution in any one of the foregoing method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiments of the present application further provide a readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the technical solutions provided by any of the foregoing method embodiments.
An embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program is configured to implement the technical solution provided in any one of the foregoing method embodiments.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.
Claims (10)
1. A method for processing service data, comprising:
acquiring service data, wherein the service data comprises a service data type;
determining a target data processing flow according to the service data type and the corresponding relation between the service data type and the data processing flow; wherein, if the service data type is normal, the target data processing flow includes: screening flow, rescreening flow, pool entering flow, packaging flow and delivery flow; if the service data type is abnormal, the target data processing flow comprises: a screening process, a pool entering process and a delivery process;
and processing the service data according to the target data processing flow.
2. The method of claim 1, wherein if the service data type is normal, the processing the service data according to the target data processing flow includes:
generating a process state, wherein the process state is a state to be screened;
when the process state is monitored to be the state to be screened, entering the screening process, screening the service data according to a preset screening rule to obtain primary screening data, and updating the process state to be the state to be rescreened;
when the process state is monitored to be the to-be-rescreened state, entering the rescreening process, adding the acquired newly-added service data to the primary screening data, rescreening the primary screening data added with the newly-added service data according to a preset legality screening rule to obtain target screening data, and updating the process state to be the to-be-pooled state;
when the monitored flow state is the to-be-pooled state, entering the pooled flow, and when a pooled confirmation instruction is obtained, updating the flow state to be a to-be-packaged state;
when the process state is monitored to be the to-be-packaged state, entering the packaging process, and when the packaging date data is obtained, updating the process state to be the to-be-delivered state;
and when the process state is monitored to be the delivery state, entering the delivery process, sending the target screening data to a delivery system, and updating the process state to be the delivery state when the delivery date data is acquired.
3. The method according to claim 1, wherein if the type of the service data is abnormal, the processing the service data according to the target data processing flow includes:
generating a process state, wherein the process state is a state to be screened;
when the process state is monitored to be the state to be screened, entering the screening process, screening the service data according to a preset screening rule to obtain primary screening data, and updating the process state to be the state to be pooled;
entering the pool entering process when the process state is monitored to be the pool entering state, and updating the process state to be the to-be-delivered state when a pool entering confirmation instruction is obtained;
and when the process state is monitored to be the delivery state, entering the delivery process, sending the preliminary screening data to a delivery system, and updating the process state to be the delivery state when the delivery date data is obtained.
4. The method according to claim 2 or 3, wherein the preset screening rules include a preset legality screening rule and a preset securitization screening rule;
correspondingly, the screening the service data according to the preset screening rule to obtain preliminary screening data, including:
screening the service data according to the preset legality screening rule to obtain legal screening data, and updating the flow state to be a screening state to be securitized;
and when the process state is monitored to be the screening state to be securitized, screening the legal screening data according to the preset securitization screening rule to obtain the preliminary screening data.
5. The method of claim 1, wherein prior to obtaining the traffic data, the method further comprises:
acquiring operation data of an original data processing system and a service data type corresponding to the original data processing system;
generating a data processing flow according to the operation data;
and establishing a corresponding relation between the data processing flow and the service data type and then storing the corresponding relation.
6. The method of claim 5, further comprising:
acquiring a parameter setting request, wherein the parameter setting request comprises a service data type, a process identification and a target parameter;
acquiring a data processing flow to be modified corresponding to the service data type according to the service data type;
and modifying the original parameters in the flow corresponding to the flow identification in the data processing flow to be modified into the target parameters.
7. A service data processing apparatus, comprising:
the acquisition module is used for acquiring service data, and the service data comprises a service data type;
a processing module to:
determining a target data processing flow according to the service data type and the corresponding relation between the service data type and the data processing flow; wherein, if the service data type is normal, the target data processing flow includes: a screening process, a re-screening process, a pool entering process, a packaging process and a delivery process; if the service data type is abnormal, the target data processing flow comprises the following steps: a screening process, a pool entering process and a delivery process;
and processing the service data according to the target data processing flow.
8. An electronic device, comprising:
a processor, a memory, a communication interface;
the memory is used for storing executable instructions of the processor;
wherein the processor is configured to perform the business data processing method of any one of claims 1 to 6 via execution of the executable instructions.
9. A readable storage medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements the service data processing method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program for implementing the business data processing method of any one of claims 1 to 6 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310006865.8A CN115981743A (en) | 2023-01-04 | 2023-01-04 | Service data processing method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310006865.8A CN115981743A (en) | 2023-01-04 | 2023-01-04 | Service data processing method, device, equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115981743A true CN115981743A (en) | 2023-04-18 |
Family
ID=85962856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310006865.8A Pending CN115981743A (en) | 2023-01-04 | 2023-01-04 | Service data processing method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115981743A (en) |
-
2023
- 2023-01-04 CN CN202310006865.8A patent/CN115981743A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106020948B (en) | A kind of process dispatch method and device | |
CN111163129B (en) | Resource processing method and device based on cross-link network | |
CN108595157B (en) | Block chain data processing method, device, equipment and storage medium | |
CN110601880A (en) | Cloud platform, service processing method, command interface and computer equipment | |
CN110780870A (en) | Service execution method, device, equipment and storage medium | |
CN110851207B (en) | State transition management method and device, electronic equipment and storage medium | |
CN111897542A (en) | Method and device for gray scale release | |
CN111367694B (en) | Event processing method, server and computer storage medium | |
CN110276605B (en) | Rule generation method and device, electronic equipment and readable storage medium | |
CN108924185A (en) | Interface creation method and device | |
CN115981743A (en) | Service data processing method, device, equipment and medium | |
CN109002355B (en) | Distribution method, device and equipment for processing requests | |
CN111801696A (en) | Payment page management method, payment page management device, payment system and storage medium | |
CN114244776A (en) | Message sending method, system, device, equipment and medium | |
CN110648219B (en) | Method and device for standardizing input area of bank transaction system | |
CN111506784B (en) | Asset creditor matching method, device, computer equipment and storage medium | |
CN114913006A (en) | Bank loan approval data processing method and system and electronic equipment | |
CN112988339A (en) | Data management method and device | |
CN108170407B (en) | Method and device for acquiring target data | |
CN113011986B (en) | Insurance calculation abstract method and system | |
CN110349025B (en) | Method and device for preventing loss of contract assets based on non-cost transaction output | |
CN111107037B (en) | Service triggering method and device | |
CN114490044A (en) | Component sharing method, device, equipment and medium | |
CN115834492A (en) | Method, device, equipment and medium for processing credit service data | |
CN116647603A (en) | Distribution method, device, equipment and storage medium for distributed application |
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 |