CN115471087A - Business data processing method, device, equipment and medium - Google Patents

Business data processing method, device, equipment and medium Download PDF

Info

Publication number
CN115471087A
CN115471087A CN202211148159.9A CN202211148159A CN115471087A CN 115471087 A CN115471087 A CN 115471087A CN 202211148159 A CN202211148159 A CN 202211148159A CN 115471087 A CN115471087 A CN 115471087A
Authority
CN
China
Prior art keywords
service
business
service data
rule
data
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
CN202211148159.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.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech 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 China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202211148159.9A priority Critical patent/CN115471087A/en
Publication of CN115471087A publication Critical patent/CN115471087A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Strategic Management (AREA)
  • Quality & Reliability (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Operations Research (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Stored Programmes (AREA)

Abstract

The application relates to the technical field of data analysis, in particular to a service data processing method, a device, equipment and a medium, which are used for improving the efficiency of batch service data processing. In the application, a business logic is generated based on a target business function and a target business rule selected by a user; the service logic comprises a processing flow of the service data; receiving a plurality of to-be-processed service data input by a user; and respectively processing a plurality of service data to be processed based on the service logic. In the application, the service logic is generated according to the service function and the service rule selected by the user, and the batch service data input by the user is processed based on the service logic, so that the function and the rule of each service data do not need to be manually configured by the user, and the processing efficiency of the batch service data is improved.

Description

Business data processing method, device, equipment and medium
Technical Field
The present application relates to the field of data analysis technologies, and in particular, to a method, an apparatus, a device, and a medium for processing service data.
Background
Along with the complexity of batch services, the dependency relationship of different internal services and the dependency relationship of external systems are more and more, for some modification analysis, the current situation needs to be analyzed continuously for influence, the internal and external dependency relationships are comprehensively known, and for batch scenes realized by attention technologies, relevant data is not available for auxiliary analysis, and analysis can be performed only according to the technical version. For batch service processing, in the related art, technical implementation is generally performed on an actually-operated technical platform according to service processing requirements, and the service flow batch technology corresponding to the service is set to achieve high requirements on technical skills of personnel and low efficiency.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a medium for processing service data, which are used for improving the efficiency of batch service data processing.
In a first aspect, an embodiment of the present application provides a method for processing service data, where the method includes:
generating a business logic based on the target business function and the target business rule selected by the user; the business logic comprises a processing flow of business data;
receiving a plurality of to-be-processed service data input by a user;
and respectively processing the plurality of service data to be processed based on the service logic.
In the application, the service logic is generated according to the service function and the service rule selected by the user, and the batch service data input by the user is processed based on the service logic, so that the function and the rule of each service data do not need to be manually configured by the user, and the processing efficiency of the batch service data is improved.
In some possible embodiments, before generating the business logic based on the target business function and the target business rule selected by the user, the method further includes:
responding to the selection operation of a user on the service functions in the preset service function set, and determining a target service function;
and responding to the selection operation of the user on the business rules in the preset business rule set, and determining the target business rule.
The preset function set and the preset service rule set are set in the application, and a user can select the target service function and the target service rule according to requirements, so that the application is more universal, and when the functions and rules are added later, the functions and the rules are only added in the preset function set and the preset service rule set, the user does not need to maintain each service data, and only the preset function set and the preset service rule set need to be maintained.
In some possible embodiments, the preset set of business rules includes one or a combination of the following rules: the system comprises a service dependence rule, a service arrangement rule, a service operation and maintenance rule and a service constraint rule, wherein:
the business dependency rules are used for specifying the execution steps of each business datum;
the business arrangement rule is used for defining the execution sequence of a plurality of business data;
the business operation and maintenance rule is used for sending an alarm indication when the execution of the business data fails;
the business constraint rule is used for filtering business data in a preset abnormal list.
In the application, four business rules are set in the business-based processing process, and a user can select a target business rule from the business rules according to the requirement on business data processing.
In some possible embodiments, after receiving the plurality of service data input by the user, the method further includes:
determining the execution sequence of the plurality of service data to be processed according to the execution sequence of each service data specified by the service arrangement rule in the target service logic;
and based on the service logic, sequentially processing the plurality of service data to be processed according to the execution sequence of the plurality of service data to be processed.
In the present application, after receiving a batch of service data, in order to ensure that the service data can be processed in sequence, an execution sequence of the service data is set by setting a service arrangement rule.
In some possible embodiments, before the respectively processing the plurality of to-be-processed service data based on the service logic, the method further includes:
acquiring a preset exception list corresponding to the business constraint rule;
and eliminating the service data in the preset abnormal list from the plurality of service data to be processed.
In the application, in order to ensure normal operation of the service data processing process and avoid resource waste caused by participation of abnormal service data in the processing flow, before the service data is processed, the service data needs to be filtered by presetting an abnormal list.
In some possible embodiments, after the removing the service data in the preset exception list, the method further includes:
and sending an error prompt to a platform corresponding to the removed service data, wherein the error prompt is used for indicating that the removed service data has errors.
In the application, the service prompt is set, so that the user can timely process abnormal service data.
In a second aspect, the present application provides a service data processing apparatus, where the apparatus includes:
the service logic generation module is used for generating service logic based on the target service function and the target service rule selected by the user; the business logic comprises a processing flow of business data;
the receiving module is used for receiving a plurality of pieces of to-be-processed business data input by a user;
and the service processing module is used for respectively processing the plurality of service data to be processed based on the service logic.
In some possible embodiments, the business logic generation module, before executing the target business function and the target business rule selected by the user, is further configured to:
responding to the selection operation of a user on the service functions in the preset service function set, and determining a target service function;
and responding to the selection operation of the user on the business rules in the preset business rule set, and determining the target business rule.
In some possible embodiments, the preset set of business rules includes one or a combination of the following rules: the system comprises a service dependence rule, a service arrangement rule, a service operation and maintenance rule and a service constraint rule, wherein:
the business dependency rules are used for specifying the execution steps of each business datum;
the business arrangement rule is used for specifying the execution sequence of a plurality of business data;
the business operation and maintenance rule is used for sending an alarm indication when the execution of the business data fails;
the business constraint rule is used for filtering business data in a preset abnormal list.
In some possible embodiments, after the receiving module performs receiving the plurality of service data input by the user, the receiving module is further configured to:
determining the execution sequence of the plurality of service data to be processed according to the execution sequence of each service data specified by the service arrangement rule in the target service logic;
and based on the service logic, sequentially processing the plurality of service data to be processed according to the execution sequence of the plurality of service data to be processed.
In some possible embodiments, before the business processing module performs processing on the plurality of pieces of business data to be processed respectively based on the business logic, the business processing module is further configured to:
acquiring a preset exception list corresponding to the business constraint rule;
and eliminating the service data in the preset abnormal list from the plurality of service data to be processed.
In some possible embodiments, after the service processing module performs the elimination of the service data in the preset exception list, the service processing module is further configured to:
and sending an error prompt to a platform corresponding to the removed service data, wherein the error prompt is used for indicating that the removed service data has errors.
In a third aspect, the present application provides an electronic device, comprising:
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing the steps comprised in the method of any one of the first aspect according to the obtained program instructions.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon a computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method of any one of the first aspects.
In a fifth aspect, the present application provides a computer program product comprising: computer program code which, when run on a computer, causes the computer to perform the method of any of the first aspects.
Drawings
Fig. 1 is a schematic view of an application scenario of a service data processing method according to an embodiment of the present application;
fig. 2 is an overall flowchart of a service data processing method according to an embodiment of the present application;
fig. 3 is a schematic diagram of an alarm indication of a service data processing method according to an embodiment of the present application;
fig. 4 is a schematic diagram of an error prompt of a service data processing method according to an embodiment of the present application;
fig. 5 is a schematic device diagram of a service data processing method according to an embodiment of the present application;
fig. 6 is a schematic view of an electronic device of a service data processing method according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The terms "first" and "second" in the description and claims of the present application and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the term "comprises" and any variations thereof are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The "plurality" in the present application may mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
In the technical scheme, the data acquisition, transmission, use and the like all meet the requirements of relevant national laws and regulations.
Before describing the service data processing method provided in the embodiment of the present application, for convenience of understanding, the following technical background of the embodiment of the present application is first described in detail.
As the technology is rapidly developed, the data volume of service processing is larger and larger, the requirement on the processing efficiency is higher and higher, and the technology platform can be changed at any time due to the advantages brought by the new technology and the problems encountered by the current technology along with the development of the technology. Along with the complexity of batch services, the dependency relationship of different internal services and the dependency relationship of external systems are more and more, for some modification analysis, the current situation needs to be analyzed continuously for influence, the internal and external dependency relationships are comprehensively known, and for batch scenes realized by attention technologies, relevant data is not available for auxiliary analysis, and analysis can be performed only according to the technical version. For batch service processing, in the related art, technical implementation is generally performed on an actually-operated technical platform according to service processing requirements, and the service flow batch technical implementation corresponding to the service is set to have higher requirements on technical skills of personnel and have lower efficiency.
In view of this, the present application provides a service data processing method, an apparatus, an electronic device, and a storage medium, which are used to solve the above problems. The inventive concept of the present application can be summarized as follows: generating a business logic based on the target business function and the target business rule selected by the user; the service logic comprises a processing flow of the service data; receiving a plurality of to-be-processed service data input by a user; and respectively processing a plurality of service data to be processed based on the service logic.
For convenience of understanding, a service data processing method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings:
fig. 1 is a diagram of an application scenario of a service data processing method in the embodiment of the present application. The drawing comprises the following steps: server 10, memory 20, terminal device 30; wherein:
the server 10 generates a service logic based on the target service function and the target service rule selected by the user in the terminal device 30; the business logic comprises a processing flow of business data; wherein the business functions and business rules are stored in the memory 20; receiving a plurality of to-be-processed service data input by a user in a terminal device 30; and respectively processing the plurality of service data to be processed based on the service logic.
Only a single server 10, memory 20, terminal device 30 will be described in detail in the description of the present application, but it will be understood by those skilled in the art that the illustrated server 10, memory 20, terminal device 30 are intended to represent the operations of the server 10, memory 20, terminal device 30 to which the technical aspects of the present application relate. And is not meant to imply a limitation on the number, type, or location of the servers 10, the memory 20, the terminal devices 30, and so forth. It should be noted that the underlying concepts of the example embodiments of the present application may not be altered if additional modules are added or removed from the illustrated environments. In addition, although fig. 1 shows a bidirectional arrow from the storage to the server for convenience of explanation, it is understood by those skilled in the art that the above-described data transmission and reception also need to be implemented through a network.
It should be noted that the storage in the embodiment of the present application may be, for example, a cache system, or a hard disk storage, a memory storage, and the like. In addition, the service data processing method provided by the application is not only suitable for the application scenario shown in fig. 1, but also suitable for any device with service data processing requirements.
As shown in fig. 2, an overall flow diagram of a service data processing method provided in the embodiment of the present application is shown, where:
in step 201: generating a business logic based on the target business function and the target business rule selected by the user; the service logic comprises a processing flow of the service data;
in step 202: receiving a plurality of to-be-processed service data input by a user;
in step 203: and respectively processing a plurality of service data to be processed based on the service logic.
In the application, the service logic is generated according to the service function and the service rule selected by the user, and the batch service data input by the user is processed based on the service logic, so that the function and the rule of each service data do not need to be manually configured by the user, and the processing efficiency of the batch service data is improved.
For ease of understanding, the steps in fig. 2 are described in detail below:
in some possible embodiments, before generating the business logic based on the target business function and the target business rule selected by the user, the following steps need to be implemented: responding to the selection operation of a user on the service functions in the preset service function set, and determining a target service function; and responding to the selection operation of the user on the business rules in the preset business rule set, and determining the target business rule.
In the present application, the preset set of functions includes any one or a combination of the following: data reorganization, file downloading, file cleaning, file uploading and the like.
In the present application, the preset service rule set includes one or a combination of the following rules: the system comprises a service dependence rule, a service arrangement rule, a service operation and maintenance rule and a service constraint rule, wherein:
the business dependency rules are used for specifying the execution steps of each business datum;
for example: the business dependency rule sets that step 1 and step 2 are executed for class A business, and step 4 and step 3 are executed for class B business.
The business arrangement rule is used for defining the execution sequence of a plurality of business data;
for example: the server receives 3 service data input by a user in batch, wherein the service data are respectively 1 type A service data and two type B service data, and the service arrangement rule specifies that the type A service data is executed firstly, and the type B service data is executed after the type A service data is executed; the server executes the class a service data in the service data input by the user first, and then executes the class B service data, and since there are two class B service data, the class B service data needs to be randomly ordered before executing the class B service data, and finally, the ordering is performed sequentially.
The service operation and maintenance rule is used for sending out an alarm indication when the execution of the service data fails;
for example: and aiming at the service data input by the user, determining that the execution of the service data fails, and generating an alarm indication, wherein the alarm indication can be displayed in a terminal device in a form of a prompt box as shown in fig. 3, and a technician can set the display form of the alarm indication according to the requirement.
The business constraint rule is used for filtering the business data in the preset abnormal list.
In the embodiment of the present application, in order to make the service logic provided by the present application applicable to each platform and reduce the coupling degree between the service flow and each platform, before receiving a plurality of to-be-processed service data input by a user, the following steps are also performed: converting the business logic into a target business logic applicable to a specified platform; and processing the service data to be processed according to the target service logic.
For example: a user uploads 3 service data in the terminal device 1, wherein the service data A needs to be sent to the data processing platform 1 after being processed, the service data B needs to be sent to the service processing platform 2 after being processed, the service data C needs to be sent to the service processing platform 3 after being processed, and corresponding service logic in the current terminal device 1 is generated based on C language; the service processing platform 1 only can process the service data generated based on Java, and then the service logic generated based on C language needs to be converted into the service logic generated based on Java, the service logic generated based on Java is adopted to process the service data A, and the processed service data A is sent to the service processing platform 1, so that the service processing platform 1 continues to process the service data A correspondingly; if the service processing platform 2 can only process the service data generated based on C + +, the service logic generated based on C language needs to be converted into the service logic generated based on C + +, the service logic generated based on C + + is adopted to process the service data B, and the processed service data B is sent to the service processing platform 2, so that the service processing platform 2 continues to perform corresponding processing on the service data B; the service processing platform 3 may only process service data generated based on a VB programming language (Visual Basic), and then the service logic generated based on the C language needs to be converted into a service logic generated based on the VB programming language, and the service logic generated based on the VB programming language is adopted to perform corresponding processing on the service data C, and the processed service data C is sent to the service processing platform 3 to perform corresponding processing.
In the application, only the business logic needs to be correspondingly converted based on the business processing platform, and the corresponding business logic does not need to be edited for each business data, so that the requirement on the skills of technicians is reduced, and the coupling degree of the business process and each data processing platform is improved.
In this application, in order to ensure that the process of processing the service data can be performed in sequence, after receiving a plurality of service data input by a user, the following steps can be performed: determining the execution sequence of a plurality of service data to be processed according to the execution sequence of each service data specified by a service arrangement rule in the target service logic; and based on the service logic, sequentially processing the plurality of service data to be processed according to the execution sequence of the plurality of service data to be processed.
For example: the execution sequence of each service data is specified in the service arrangement rule, and the execution sequence sequentially comprises: executing the A-type data, executing the B-type data and executing the C-type data; if the received service data output by the user is A-type service data, B-type service data and C-type service data; firstly, the class A service data is processed, then the class B service data is processed, and finally the class C service data is processed.
In the embodiment of the present application, in order to avoid resource waste caused by the fact that abnormal service data participates in the whole process of service processing, before a plurality of service data to be processed are respectively processed based on service logic, the following steps need to be implemented: acquiring a preset exception list corresponding to a business constraint rule; and eliminating the service data in the preset abnormal list from the plurality of service data to be processed.
For example: the preset exception list comprises: service data 1, service data 4, service data 15, service data 6; the service data uploaded by the user comprises the following steps: firstly, a business constraint rule is adopted to filter the business data 1, the business data 2, the business data 3, the business data 4 and the business data 5 uploaded by a user based on a preset exception list, the business data 1 and the business data 4 in the preset exception list are removed, and the follow-up operation is executed on the business data 2, the business data 3 and the business data 5.
According to the method and the device, the abnormal business data are filtered by setting the preset abnormal list, and therefore resource waste caused by the fact that the abnormal data participate in business data processing is avoided.
In some possible embodiments, in order to facilitate a user to know in time which service data have errors as abnormal data, in the present application, after service data in a preset abnormal list are rejected, an error prompt needs to be sent to a platform corresponding to the rejected service data, where the error prompt is used to indicate that the rejected service data have errors.
For example: as shown in fig. 4, the preset exception list includes: service data 1, service data 4, service data 15, service data 6; the service data uploaded by the user comprises: firstly, filtering the service data 1, the service data 2, the service data 3, the service data 4 and the service data 5 uploaded by a user based on a preset abnormal list by adopting a service constraint rule, removing the service data 1 and the service data 4 in the preset abnormal list, and outputting an error prompt in a terminal device for informing the user that the service data 1 and the service data 4 have errors and are abnormal service data.
In summary, in the embodiment of the present application, the service logic is generated according to the service function and the service rule selected by the user, and the batch service data input by the user is processed based on the service logic, so that it is not necessary for the user to manually configure the function and the rule of each service data, and the efficiency of processing the batch service data is improved. Meanwhile, the preset function set and the preset service rule set are set in the application, and a user can select the target service function and the target service rule according to requirements, so that the application is more universal, and when new functions and rules are added subsequently, the functions and the rules only need to be added in the preset function set and the preset service rule set, the user does not need to maintain each service data, and only the preset function set and the preset service rule set need to be maintained. In addition, in the present application, in order to avoid resource waste caused by participation of abnormal service data in a processing flow, before processing the service data, the service data needs to be filtered through a preset abnormal list.
As shown in fig. 5, based on the same inventive concept, a service data processing apparatus 500 is proposed, which includes:
a service logic generation module 5001 configured to generate a service logic based on a target service function and a target service rule selected by a user; the business logic comprises a processing flow of business data;
a receiving module 5002, configured to receive multiple to-be-processed service data input by a user;
a service processing module 5003, configured to respectively process the multiple pieces of service data to be processed based on the service logic.
In some possible embodiments, the business logic generation module 5001, before generating the business logic, executes the target business function and the target business rule based on the user selection, is further configured to:
responding to the selection operation of a user on the service functions in the preset service function set, and determining a target service function;
and responding to the selection operation of the user on the business rules in the preset business rule set, and determining the target business rule.
In some possible embodiments, the preset set of business rules includes one or a combination of the following rules: the system comprises a service dependence rule, a service arrangement rule, a service operation and maintenance rule and a service constraint rule, wherein:
the business dependency rules are used for specifying the execution steps of each business datum;
the business arrangement rule is used for specifying the execution sequence of a plurality of business data;
the business operation and maintenance rule is used for sending an alarm indication when the execution of the business data fails;
the business constraint rule is used for filtering the business data in the preset abnormal list.
In some possible embodiments, after the receiving module 5002 performs the receiving of the plurality of service data input by the user, it is further configured to:
determining the execution sequence of the plurality of service data to be processed according to the execution sequence of each service data specified by the service arrangement rule in the target service logic;
and based on the service logic, sequentially processing the plurality of service data to be processed according to the execution sequence of the plurality of service data to be processed.
In some possible embodiments, before the business processing module 5003 performs the processing on the plurality of to-be-processed business data based on the business logic, the business processing module is further configured to:
acquiring a preset exception list corresponding to the business constraint rule;
and eliminating the service data in the preset abnormal list from the plurality of service data to be processed.
In some possible embodiments, after the traffic processing module 5003 performs the removing of the traffic data in the preset exception list, it is further configured to:
and sending an error prompt to a platform corresponding to the removed service data, wherein the error prompt is used for indicating that the removed service data has errors.
After introducing the business data processing method and apparatus according to the exemplary embodiment of the present application, an electronic device according to another exemplary embodiment of the present application is introduced next.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible embodiments, an electronic device according to the present application may include at least one processor, and at least one memory. Wherein the memory stores program code which, when executed by the processor, causes the processor to perform the steps of the business data processing method according to various exemplary embodiments of the present application described above in the present specification.
The electronic device 130 according to this embodiment of the present application is described below with reference to fig. 6. The electronic device 130 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the application range of the embodiments of the present application.
As shown in fig. 6, the electronic device 130 is represented in the form of a general electronic device. The components of the electronic device 130 may include, but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 that connects the various system components (including the memory 132 and the processor 131).
Bus 133 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
The memory 132 may include readable media in the form of volatile memory, such as Random Access Memory (RAM) 1321 and/or cache memory 1322, and may further include Read Only Memory (ROM) 1323.
Memory 132 may also include programs/utilities 1325 having a set (at least one) of program modules 1324, such program modules 1324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The electronic device 130 may also communicate with one or more external devices 134 (e.g., keyboard, pointing device, etc.), with one or more devices that enable a user to interact with the electronic device 130, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 130 to communicate with one or more other electronic devices. Such communication may occur via input/output (I/O) interfaces 135. Also, the electronic device 130 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 136. As shown, network adapter 136 communicates with other modules for electronic device 130 over bus 133. It should be understood that although not shown in FIG. 6, other hardware and/or software modules may be used in conjunction with electronic device 130, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
In some possible embodiments, various aspects of a business data processing method provided by the present application may also be implemented in the form of a program product including program code for causing a computer device to perform the steps of a business data processing method according to various exemplary embodiments of the present application described above in this specification when the program product is run on the computer device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for business data processing of the embodiments of the present application may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on an electronic device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the consumer electronic device, partly on the consumer device, as a stand-alone software package, partly on the consumer electronic device and partly on a remote electronic device, or entirely on the remote electronic device or server. In the case of remote electronic devices, the remote electronic devices may be connected to the consumer electronic device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external electronic device (e.g., through the internet using an internet service provider).
It should be noted that although in the above detailed description several units or sub-units of the apparatus are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the units described above may be embodied in one unit, according to embodiments of the application. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (15)

1. A method for processing service data, the method comprising:
generating a business logic based on a target business function and a target business rule selected by a user; the business logic comprises a processing flow of business data;
receiving a plurality of to-be-processed service data input by a user;
and respectively processing the plurality of service data to be processed based on the service logic.
2. The method of claim 1, wherein before generating the business logic based on the user-selected target business function and the target business rule, the method further comprises:
responding to the selection operation of a user on the service functions in the preset service function set, and determining a target service function;
and responding to the selection operation of the user on the business rules in the preset business rule set, and determining the target business rule.
3. The method of claim 2, wherein the preset set of business rules comprises one or a combination of the following rules: the system comprises a service dependence rule, a service arrangement rule, a service operation and maintenance rule and a service constraint rule, wherein:
the business dependency rules are used for specifying the execution steps of each business datum;
the business arrangement rule is used for specifying the execution sequence of a plurality of business data;
the business operation and maintenance rule is used for sending out an alarm indication when the execution of the business data fails;
the business constraint rule is used for filtering business data in a preset abnormal list.
4. The method according to claim 1, wherein the processing the plurality of to-be-processed service data based on the service logic respectively comprises:
determining the execution sequence of the plurality of service data to be processed according to the execution sequence of each service data specified by the service arrangement rule in the target service logic;
and based on the service logic, sequentially processing the plurality of service data to be processed according to the execution sequence of the plurality of service data to be processed.
5. The method according to claim 3, wherein before the respectively processing the plurality of to-be-processed service data based on the service logic, the method further comprises:
acquiring a preset exception list corresponding to the business constraint rule;
and eliminating the service data in the preset abnormal list from the plurality of service data to be processed.
6. The method according to claim 5, wherein after the removing the service data in the preset exception list from the plurality of service data to be processed, the method further comprises:
and sending an error prompt to a platform corresponding to the removed service data, wherein the error prompt is used for indicating that the removed service data has errors.
7. A service data processing apparatus, characterized in that the apparatus comprises:
the service logic generation module is used for generating service logic based on the target service function and the target service rule selected by the user; the business logic comprises a processing flow of business data;
the receiving module is used for receiving a plurality of to-be-processed service data input by a user;
and the service processing module is used for respectively processing the plurality of service data to be processed based on the service logic.
8. The apparatus of claim 7, wherein the business logic generation module, prior to executing the target business function and the target business rule based on the user selection, is further configured to:
responding to the selection operation of a user on the service functions in the preset service function set, and determining a target service function;
and responding to the selection operation of the user on the business rules in the preset business rule set, and determining the target business rule.
9. The apparatus of claim 8, wherein the preset set of business rules comprises one or a combination of the following rules: the system comprises a service dependence rule, a service arrangement rule, a service operation and maintenance rule and a service constraint rule, wherein:
the business dependency rules are used for specifying the execution steps of each business datum;
the business arrangement rule is used for specifying the execution sequence of a plurality of business data;
the business operation and maintenance rule is used for sending out an alarm indication when the execution of the business data fails;
the business constraint rule is used for filtering the business data in the preset abnormal list.
10. The apparatus of claim 9, wherein the receiving module, after performing receiving the plurality of service data input by the user, is further configured to:
determining the execution sequence of the plurality of service data to be processed according to the execution sequence of each service data specified by the service arrangement rule in the target service logic;
and based on the service logic, processing the plurality of service data to be processed in sequence according to the execution sequence of the plurality of service data to be processed.
11. The apparatus of claim 9, wherein before the service processing module performs processing on the plurality of service data to be processed respectively based on the service logic, the apparatus is further configured to:
acquiring a preset exception list corresponding to the business constraint rule;
and eliminating the service data in the preset abnormal list from the plurality of service data to be processed.
12. The apparatus of claim 11, wherein after the service processing module performs the elimination of the service data in the preset exception list, the service processing module is further configured to:
and sending an error prompt to a platform corresponding to the removed service data, wherein the error prompt is used for indicating that the removed service data has errors.
13. An electronic device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory and for executing the steps comprised by the method of any one of claims 1 to 6 in accordance with the obtained program instructions.
14. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method according to any one of claims 1-6.
15. A computer program product, the computer program product comprising: computer program code which, when run on a computer, causes the computer to perform the method of any of the preceding claims 1-6.
CN202211148159.9A 2022-09-19 2022-09-19 Business data processing method, device, equipment and medium Pending CN115471087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211148159.9A CN115471087A (en) 2022-09-19 2022-09-19 Business data processing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211148159.9A CN115471087A (en) 2022-09-19 2022-09-19 Business data processing method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN115471087A true CN115471087A (en) 2022-12-13

Family

ID=84334054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211148159.9A Pending CN115471087A (en) 2022-09-19 2022-09-19 Business data processing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115471087A (en)

Similar Documents

Publication Publication Date Title
CN110688828A (en) File processing method and device, file processing system and computer equipment
CN113361838A (en) Business wind control method and device, electronic equipment and storage medium
CN111127181A (en) Voucher bookkeeping method and device
CN115640285B (en) Power abnormality information transmission method, device, electronic equipment and medium
CN111522617B (en) Method and device for maintaining system and electronic equipment
CN112596920A (en) Message processing method and device, electronic equipment and storage medium
CN110648126A (en) Payment type configuration method, device, server and storage medium
CN112884376A (en) Work order processing method and device, electronic equipment and computer readable storage medium
CN113032281A (en) Method and device for acquiring code coverage rate in real time
CN115471087A (en) Business data processing method, device, equipment and medium
CN116028243A (en) Message processing method and device
CN111162938A (en) Data processing system and method
CN114971204A (en) Budget control method, budget control system, storage medium and electronic equipment
CN115562859A (en) Data processing method and device, electronic equipment and computer storage medium
CN111176718B (en) Script online method and device, storage medium and electronic equipment
CN112799797A (en) Task management method and device
CN113704228B (en) Method, device, electronic equipment and storage medium for field self-addition
CN115774706A (en) Database creation method and device, electronic equipment and storage medium
CN112783753B (en) Testing method and device for stream data processing system
CN115936623A (en) Method, device, equipment and medium for processing resource transfer event
CN116521721A (en) Data processing method, device, medium and computing equipment
CN113918859A (en) Metadata processing method, system, equipment and readable medium of online education platform
CN115718728A (en) Data checking method, device, equipment and medium of distributed system
CN114461656A (en) Event processing method and device
CN113204497A (en) Test case generation method and device, electronic equipment and computer storage medium

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