CN115630836A - Service processing method and device, electronic equipment and storage medium - Google Patents
Service processing method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115630836A CN115630836A CN202211202547.0A CN202211202547A CN115630836A CN 115630836 A CN115630836 A CN 115630836A CN 202211202547 A CN202211202547 A CN 202211202547A CN 115630836 A CN115630836 A CN 115630836A
- Authority
- CN
- China
- Prior art keywords
- information
- service
- processing
- dynamic information
- calling
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0633—Workflow analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Human Resources & Organizations (AREA)
- Economics (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- Development Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Theoretical Computer Science (AREA)
- Marketing (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Educational Administration (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Game Theory and Decision Science (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Technology Law (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method and a device for processing a service, electronic equipment and a storage medium, and relates to the technical field of computers. One embodiment of the method comprises: responding to the service atomization instruction, acquiring a corresponding service type to inquire an information set required by service processing and determine static information and dynamic information; acquiring a service processing flow of a service type, and segmenting the service processing flow based on static information and dynamic information to obtain an atom processing program corresponding to the dynamic information; receiving a service processing request, acquiring a corresponding service object, inquiring target dynamic information associated with the service object, acquiring a corresponding atom processing program, calling a preset combination model, and combining the acquired atom processing programs to obtain a processing program of the service object. The implementation method can solve the problem that the service processing development takes longer time and further causes lower service processing efficiency due to the mode of independently developing the corresponding processing codes for each service.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for service processing, an electronic device, and a storage medium.
Background
In the financial field, each business can be processed based on a corresponding file processing mechanism, but with the development of the business, the business processing is gradually complicated and diversified, so that corresponding processing codes need to be separately developed for each differentiated business to meet the requirement of the business processing. However, such a method of individually developing corresponding processing codes for each service makes the development of service processing take a long time, which in turn leads to low efficiency of service processing.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for service processing, an electronic device, and a storage medium, which can solve the problem that a mode of individually developing a corresponding processing code for each service results in long service processing development time and thus low service processing efficiency.
To achieve the above object, according to an aspect of the embodiments of the present invention, a method for service processing is provided.
The method for processing the service of the embodiment of the invention comprises the following steps: responding to the service atomization instruction, acquiring a corresponding service type to inquire an information set required by service processing, and determining static information and dynamic information based on an information state;
acquiring a service processing flow of the service type, and calling a preset segmentation component to segment the service processing flow based on the static information and the dynamic information to obtain an atom processing program corresponding to the dynamic information;
receiving a service processing request, acquiring a corresponding service object, inquiring target dynamic information associated with the service object, acquiring a corresponding atom processing program, calling a preset combination model, and combining the acquired atom processing programs to obtain a processing program of the service object.
In one embodiment, invoking a preset combination model, and combining the obtained atomic processing programs to obtain a processing program of the business object includes:
calling a preset combination model to obtain the execution sequence and the execution conditions of the target dynamic information;
determining a calling sequence of an atomic processing program corresponding to the target dynamic information based on the execution sequence, and generating a calling logic of the atomic processing program corresponding to the target dynamic information based on the execution condition;
and combining the calling sequence and the calling logic to obtain an atomic processing program corresponding to the target dynamic information to obtain the processing program of the service object.
In another embodiment, generating the call logic of the atomic handler corresponding to the target dynamic information based on the execution condition comprises:
and inquiring a corresponding calling logic template based on the execution condition, and acquiring the target dynamic information and attribute parameters of an atomic processing program corresponding to the target dynamic information so as to generate calling logic by combining the calling logic template.
In yet another embodiment, querying the set of information needed for business processing, determining static information and dynamic information based on the information state, comprises:
and querying an information table of the service processing corresponding to the service type to determine an information set required by the service processing, and identifying the state identifier of each information from the information table to determine static information and dynamic information.
In another embodiment, the invoking a preset splitting component to split the business process flow based on the static information and the dynamic information includes:
calling a preset segmentation component to add display marks to the corresponding dynamic information and the static information in the business processing flow so as to display the business processing flow after the marks are added;
and receiving a segmentation instruction, acquiring segmentation nodes, and segmenting the business processing flow based on the segmentation nodes.
In another embodiment, querying the target dynamic information associated with the business object includes:
inquiring a processing program of the business object to obtain an inquiry result;
determining the query result as the handler in response to the query result being a query success; or, in response to the query result being a query failure, querying the target dynamic information associated with the business object.
In yet another embodiment, the determining static information and dynamic information based on the information state includes:
acquiring a historical information set corresponding to the service type;
in response to the set of historical information differing from the set of information, determining static information and dynamic information based on an information state;
and responding to the historical information set and the information set which are the same, and inquiring the atomic processing program of the dynamic information corresponding to the service type.
In order to achieve the above object, according to another aspect of the embodiments of the present invention, an apparatus for service processing is provided.
The device for processing the service of the embodiment of the invention comprises: the determining unit is used for responding to the service atomization instruction, acquiring a corresponding service type, inquiring an information set required by service processing, and determining static information and dynamic information based on an information state;
the segmentation unit is used for acquiring a service processing flow of the service type, calling a preset segmentation component, and segmenting the service processing flow based on the static information and the dynamic information to obtain an atom processing program corresponding to the dynamic information;
and the processing unit is used for receiving the service processing request, acquiring the corresponding service object, inquiring the target dynamic information associated with the service object, acquiring the corresponding atom processing program, calling a preset combination model, and combining the acquired atom processing programs to obtain the processing program of the service object.
In an embodiment, the processing unit is specifically configured to:
calling a preset combination model to obtain the execution sequence and the execution conditions of the target dynamic information;
determining a calling sequence of an atomic processing program corresponding to the target dynamic information based on the execution sequence, and generating a calling logic of the atomic processing program corresponding to the target dynamic information based on the execution condition;
and combining the calling sequence and the calling logic to obtain an atomic processing program corresponding to the target dynamic information to obtain the processing program of the service object.
In another embodiment, the processing unit is specifically configured to:
and inquiring a corresponding calling logic template based on the execution condition, and acquiring the target dynamic information and attribute parameters of an atomic processing program corresponding to the target dynamic information so as to generate calling logic by combining the calling logic template.
In another embodiment, the determining unit is specifically configured to:
and inquiring an information table of the service processing corresponding to the service type to determine an information set required by the service processing, and identifying the state identifier of each information from the information table to determine static information and dynamic information.
In another embodiment, the slicing unit is specifically configured to:
calling a preset segmentation component to add display marks to the corresponding dynamic information and the static information in the business processing flow so as to display the business processing flow after the marks are added;
and receiving a segmentation instruction, acquiring segmentation nodes, and segmenting the service processing flow based on the segmentation nodes.
In another embodiment, the processing unit is specifically configured to:
inquiring a processing program of the business object to obtain an inquiry result;
determining the query result as the handler in response to the query result being a query success; or, in response to the query result being a query failure, querying the target dynamic information associated with the business object.
In another embodiment, the determining unit is specifically configured to:
acquiring a historical information set corresponding to the service type;
in response to the set of historical information differing from the set of information, determining static information and dynamic information based on an information state;
and responding to the historical information set and the information set which are the same, and inquiring the atomic processing program of the dynamic information corresponding to the service type.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided an electronic apparatus.
An electronic device of an embodiment of the present invention includes: one or more processors; the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the service processing method provided by the embodiment of the invention.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided a computer-readable medium.
A computer-readable medium of an embodiment of the present invention stores thereon a computer program, and the computer program, when executed by a processor, implements a method for service processing provided by an embodiment of the present invention.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided a computer program product.
A computer program product according to an embodiment of the present invention includes a computer program, and when the computer program is executed by a processor, the computer program implements the service processing method according to the embodiment of the present invention.
One embodiment of the above invention has the following advantages or benefits: in the embodiment of the invention, for the business processing of each business type, the information set required in the business processing can be inquired to determine the static information and the dynamic information, the business processing flow can be cut to determine the atom processing program corresponding to each dynamic information; thus, for each differentiated service processing request, the associated information required for the service processing can be determined based on the corresponding service object, that is, the target atomic processing program required for processing the service can be determined, so that the processing programs of the service objects can be obtained after combination. Therefore, in the embodiment of the invention, the processing programs of all service types are atomically split based on the dynamic information, so that the processing programs can be obtained by differential combination without independently developing the service processing programs, thereby reducing the development cost of service processing and improving the service processing efficiency.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a service processing system according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a main flow of a method of business processing according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a transaction processing program implementation principle of real-time credit card posting according to an embodiment of the invention;
FIG. 4 is a schematic diagram of another main flow of a method of business processing according to an embodiment of the invention;
fig. 5 is a schematic diagram of the main elements of a traffic handling apparatus according to an embodiment of the present invention;
FIG. 6 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
FIG. 7 is a schematic block diagram of a computer system suitable for use in implementing embodiments of the present invention.
Detailed Description
Exemplary embodiments of the invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict. According to the technical scheme, the data acquisition, storage, use, processing and the like meet relevant regulations of national laws and regulations.
The embodiment of the invention provides a business processing system which can be used for carrying out an atomization processing scene on a business processing flow.
In the embodiment of the invention, the business processing system can perform memorability segmentation on each business processing flow similar to the business processing flow to obtain the corresponding atomization processing flow, and further can combine the atomization processing flows based on the business processing requirements for specific business processing balls to obtain the flow for business processing so as to adapt to the business processing. Fig. 1 is a schematic diagram of a business processing system, in which atomic processes represent each divided atomic processing program, and are combined for business processing.
An embodiment of the present invention provides a method for service processing, where the method may be executed by a service processing system, and as shown in fig. 2, the method includes:
s201: and responding to the service atomization instruction, acquiring a corresponding service type to inquire an information set required by service processing, and determining static information and dynamic information based on the information state.
The business atomization instruction represents an instruction for atomizing a process of business processing, and the process atomization represents a process flow which is relatively simple in logic and cannot be subdivided. The service atomization instruction may be specifically triggered inside the service processing system, or may be sent by an external system. For example, a trigger condition may be set for the service processing system, so as to automatically trigger the service atomization instruction through the trigger condition, where the trigger condition may be restart of the service processing system, or the like; the external system may send the service atomization instruction to the service processing system when a service demand occurs, such as a service update occurs.
After the service processing system responds to the service atomization instruction, the corresponding service type, that is, the service type of the service needing atomization can be obtained, and then the information set required by the service type in the service processing can be inquired. Because some information is fixed and the other information changes along with the service processing, the information state can be set for each information, and the information can be further divided into static information and dynamic information.
The service type is used as the real-time account entering service of the credit card, and the corresponding information set can comprise basic information, contact information, address information, contract information, limit information, balance information, interest information, bill information, transaction information and the like of the user. In the information, the basic information, the contact information, the address information and the contract information are not changed usually, so that the information state of the information can be set to be static, and the balance information, the interest information, the bill information, the transaction information and the like are changed along with the transaction posting after the consumption of the user, so that the information state of the information can be set to be dynamic, and the static information and the dynamic information corresponding to the real-time credit card posting service can be determined in the step.
In some embodiments, an information table corresponding to service processing for each service type, that is, information required for service processing, may be set in the service processing system, and the information table may include an information state identifier of each information to indicate an information state of each information. Therefore, in this step, the corresponding information table for service processing may be queried based on the service type, so as to determine the information set required for service processing, and further identify the state identifier of each information from the information table, so as to determine the static information and the dynamic information.
It should be noted that after querying the information set required by the service processing, the historical information set corresponding to the service type may be queried first to determine whether the historical information set is the same as the information set. If the information sets are the same, it indicates that the information set corresponding to the service type has not changed, so that the atomic processing program of the dynamic information corresponding to the service type can be used for application without executing the subsequent step S202; if not, the information set corresponding to the service type is changed, the information set required by service processing needs to be inquired to determine the static information and the dynamic information, and the subsequent steps are executed.
S202: and acquiring a service processing flow of the service type, and calling a preset segmentation component to segment the service processing flow based on the static information and the dynamic information to obtain an atom processing program corresponding to the dynamic information.
For each service type, a service processing flow may be preset, and the service processing flow may include nodes for each service processing and information corresponding to more processing nodes. In this step, the service processing flow of the service type can be obtained and then the preset segmentation component is called to perform segmentation. Because the static information does not need to be processed, the business processing flow can be segmented based on the static information and the dynamic information in the step, and an atom processing program corresponding to the dynamic information is obtained.
Specifically, the segmentation step in the embodiment of the present invention may be specifically implemented as: calling a preset segmentation component to add display marks to corresponding dynamic information and static information in the business processing flow so as to display the business processing flow after the marks are added; and receiving a segmentation instruction, acquiring segmentation nodes, and segmenting a business processing flow based on the segmentation nodes.
It should be noted that, in order to distinguish between static information and dynamic information, different display marks may be added in the embodiment of the present invention, and after receiving a segmentation instruction, a processing node in a business processing flow may be segmented to obtain an atomic processing program corresponding to the dynamic information.
S203: receiving a service processing request, acquiring a corresponding service object, inquiring target dynamic information associated with the service object, acquiring a corresponding atom processing program, calling a preset combination model, and combining the acquired atom processing programs to obtain a processing program of the service object.
The service processing request may be a corresponding specific service processing request, and the corresponding service object may be obtained after receiving the service processing request. The business object may be a specific business in the business type, for example, in the business field of real-time credit card entry, the business object may include account entry determination, account hanging processing (such as cardholder blocking code processing, account blocking code processing, card blocking code processing, etc.), authorization matching, balance updating (repayment allocation, interest calculation/back calculation, delayed payment processing), fee processing, etc., and the processing of each business object may include a lot of information, i.e., associated information.
Specifically, the processing procedure for obtaining the service object in this step may be executed as: calling a preset combination model to obtain an execution sequence and an execution condition of the target dynamic information; determining a calling sequence of the atomic processing program corresponding to the target dynamic information based on the execution sequence, and generating a calling logic of the atomic processing program corresponding to the target dynamic information based on the execution condition; and combining the calling sequence and the calling logic to obtain the dynamic information of the target corresponding to the atomic processing program to obtain the processing program of the service object.
In the embodiment of the invention, the execution sequence and the execution condition of the dynamic information corresponding to each service object can be configured in advance to clarify the service processing flow of the service object, so that the execution sequence and the execution condition of the target dynamic information can be obtained by calling the preset combination model in the step, and the calling sequence and the calling logic of the atomic processing program corresponding to the target dynamic information can be further determined to obtain the processing program of the service object.
In the embodiment of the present invention, call logic templates of various execution logics may be preset, and the execution logics may include sequential execution, conditional execution, parallel execution, and the like, so that after the call logic template corresponding to the execution condition is queried, the target dynamic information and the attribute parameters of the atomic processing program corresponding to the target dynamic information are brought into the call logic template, and then the call logic may be generated. The target dynamic information may include a parameter name or a parameter identifier, and the attribute parameter of the atomic processing program may include a program function, a program name, and the like.
In still other embodiments, for some business objects, corresponding processing programs may already exist, and at this time, the processing programs may be used directly, that is, before querying target dynamic information associated with the business objects, the processing programs of the business objects may be queried first to obtain query results; if the query result is that the query is successful, namely the processing program of the business object is queried, determining the query result as the processing program; if the query result is a query failure, that is, the processing program of the business object is not queried, the query of the target dynamic information associated with the business object can be executed.
Specifically, in the embodiment of the present invention, the method may be applied to business processing for real-time credit card entry, wherein a processing program of each business object may be determined by the southern embodiment, and the processing object may include account entry determination, cardholder blocking code processing, account blocking code processing, card blocking code processing, posting processing, authorization matching, balance update processing, and cost processing, and further may be combined again to obtain a business processing program for real-time credit card entry, as shown in fig. 3, which is a schematic diagram of a realization principle of the business processing program for real-time credit card entry.
In the embodiment of the invention, for the service processing of each service type, the information set required in the service processing can be inquired to determine the static information and the dynamic information, the service processing flow can be cut, and the atom processing program corresponding to each dynamic information can be determined; thus, for each differentiated service processing request, the associated information required for the service processing can be determined based on the corresponding service object, that is, the target atomic processing program required for processing the service can be determined, and the processing programs of the service objects can be obtained after combination. Therefore, in the embodiment of the invention, the processing programs of all service types are atomically split based on the dynamic information, so that the processing programs can be obtained by differential combination without independently developing the service processing programs, thereby reducing the development cost of service processing and improving the service processing efficiency.
The following describes a method for service processing in the embodiment of the present invention in detail with reference to the embodiment shown in fig. 1, and as shown in fig. 4, the method includes:
s401: and responding to the service atomization instruction, acquiring a corresponding service type to inquire an information set required by service processing, and determining static information and dynamic information based on the information state.
S402: and acquiring a service processing flow of the service type, and calling a preset segmentation component to add display marks to corresponding dynamic information and static information in the service processing flow so as to display the service processing flow after the marks are added.
S403: and receiving a segmentation instruction, acquiring segmentation nodes, and segmenting a business processing flow based on the segmentation nodes.
S404: and receiving a service processing request, acquiring a corresponding service object, calling a preset combination model, and acquiring an execution sequence and an execution condition of the target dynamic information.
S405: and determining the calling sequence of the atomic processing program corresponding to the target dynamic information based on the execution sequence, and generating the calling logic of the atomic processing program corresponding to the target dynamic information based on the execution condition.
S406: and combining the calling sequence and the calling logic to obtain the dynamic information of the target corresponding to the atomic processing program to obtain the processing program of the service object.
It should be noted that the data processing principle of the embodiment of the present invention is the same as the corresponding data processing principle shown in fig. 1, and is not described herein again.
In order to solve the problems in the prior art, an embodiment of the present invention provides an apparatus 500 for processing a service, and as shown in fig. 5, the apparatus 500 includes:
a determining unit 501, configured to, in response to a service atomization instruction, obtain a corresponding service type to query an information set required for service processing, and determine static information and dynamic information based on an information state;
a segmentation unit 502, configured to obtain a service processing flow of the service type, and call a preset segmentation component to segment the service processing flow based on the static information and the dynamic information, so as to obtain an atomic processing program corresponding to the dynamic information;
the processing unit 503 is configured to receive a service processing request, obtain a corresponding service object, query target dynamic information associated with the service object, obtain a corresponding atom processing program, call a preset combination model, and combine the obtained atom processing programs to obtain a processing program of the service object.
It should be understood that the manner of implementing the embodiment of the present invention is the same as the manner of implementing the embodiment shown in fig. 2, and the description thereof is omitted.
In an embodiment, the processing unit 503 is specifically configured to:
calling a preset combination model to obtain the execution sequence and the execution conditions of the target dynamic information;
determining a calling sequence of an atomic processing program corresponding to the target dynamic information based on the execution sequence, and generating a calling logic of the atomic processing program corresponding to the target dynamic information based on the execution condition;
and combining the calling sequence and the calling logic to obtain an atomic processing program corresponding to the target dynamic information, thereby obtaining the processing program of the service object.
In another embodiment, the processing unit 503 is specifically configured to:
and inquiring a corresponding calling logic template based on the execution condition, and acquiring the target dynamic information and attribute parameters of an atomic processing program corresponding to the target dynamic information so as to generate calling logic by combining the calling logic template.
In another embodiment, the determining unit 501 is specifically configured to:
and inquiring an information table of the service processing corresponding to the service type to determine an information set required by the service processing, and identifying the state identifier of each information from the information table to determine static information and dynamic information.
In another embodiment, the segmentation unit 502 is specifically configured to:
calling a preset segmentation component to add display marks to the corresponding dynamic information and the static information in the business processing flow so as to display the business processing flow added with the marks;
and receiving a segmentation instruction, acquiring segmentation nodes, and segmenting the service processing flow based on the segmentation nodes.
In another embodiment, the processing unit 503 is specifically configured to:
inquiring a processing program of the business object to obtain an inquiry result;
in response to the query result being a query success, determining the query result as the handler; or, in response to the query result being a query failure, querying the target dynamic information associated with the business object.
In another embodiment, the determining unit 501 is specifically configured to:
acquiring a historical information set corresponding to the service type;
in response to the set of historical information differing from the set of information, determining static information and dynamic information based on an information state;
and responding to the fact that the historical information set is the same as the information set, and inquiring an atom processing program of the dynamic information corresponding to the service type.
It should be understood that the embodiment of the present invention is implemented in the same manner as the embodiment shown in fig. 2 or fig. 4, and is not repeated herein.
In the embodiment of the invention, for the business processing of each business type, the information set required in the business processing can be inquired to determine the static information and the dynamic information, the business processing flow can be cut to determine the atom processing program corresponding to each dynamic information; thus, for each differentiated service processing request, the associated information required for the service processing can be determined based on the corresponding service object, that is, the target atomic processing program required for processing the service can be determined, and the processing programs of the service objects can be obtained after combination. Therefore, in the embodiment of the invention, the processing programs of all the service types are subjected to the atomic splitting based on the dynamic information, so that the processing programs can be obtained by differential combination without independently developing the service processing programs, the development cost of service processing is reduced, and the service processing efficiency is improved.
According to an embodiment of the present invention, an electronic device and a readable storage medium are also provided.
The electronic device of the embodiment of the invention comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the processor, and the instructions are executed by the at least one processor to cause the at least one processor to perform the method for service processing provided by the embodiment of the invention.
Fig. 6 shows an exemplary system architecture 600 of a method of business processing or an apparatus of business processing to which embodiments of the invention may be applied.
As shown in fig. 6, the system architecture 600 may include terminal devices 601, 602, 603, a network 604, and a server 605. The network 604 serves to provide a medium for communication links between the terminal devices 601, 602, 603 and the server 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 601, 602, 603 to interact with the server 605 via the network 604 to receive or send messages or the like. Various client applications may be installed on the terminal devices 601, 602, 603.
The terminal devices 601, 602, 603 may be, but are not limited to, smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 605 may be a server that provides various services, and the server may analyze and perform other processes on data such as a received product information query request, and feed back a processing result (for example, product information — just an example) to the terminal device.
It should be noted that the method for service processing provided by the embodiment of the present invention is generally executed by the server 605, and accordingly, the device for service processing is generally disposed in the server 605.
It should be understood that the number of terminal devices, networks, and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for an implementation.
Referring now to FIG. 7, a block diagram of a computer system 700 suitable for use in implementing embodiments of the present invention is shown. The computer system illustrated in FIG. 7 is only an example and should not impose any limitations on the scope of use or functionality of embodiments of the invention.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU) 701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that the computer program read out therefrom is mounted in the storage section 708 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 701.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer 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 of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer 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. In the present invention, a computer 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. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer 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 computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a unit, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a determination unit, a slicing unit, and a processing unit. Here, the names of these units do not constitute a limitation of the unit itself in some cases, and for example, the determination unit may also be described as a unit of "information determination function".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not assembled into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to perform the method for service processing provided by the present invention.
As another aspect, the present invention further provides a computer program product, which includes a computer program, and when the program is executed by a processor, the computer program implements the method for service processing provided by the embodiment of the present invention.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (15)
1. A method for processing services, comprising:
responding to the service atomization instruction, acquiring a corresponding service type to inquire an information set required by service processing, and determining static information and dynamic information based on an information state;
acquiring a service processing flow of the service type, and calling a preset segmentation component to segment the service processing flow based on the static information and the dynamic information to obtain an atom processing program corresponding to the dynamic information;
receiving a service processing request, acquiring a corresponding service object, inquiring target dynamic information associated with the service object, acquiring a corresponding atom processing program, calling a preset combination model, and combining the acquired atom processing programs to obtain a processing program of the service object.
2. The method of claim 1, wherein invoking a preset composition model to combine the obtained atomic handlers to obtain a handler for the business object comprises:
calling a preset combination model to obtain the execution sequence and the execution conditions of the target dynamic information;
determining a calling sequence of an atomic processing program corresponding to the target dynamic information based on the execution sequence, and generating a calling logic of the atomic processing program corresponding to the target dynamic information based on the execution condition;
and combining the calling sequence and the calling logic to obtain an atomic processing program corresponding to the target dynamic information, thereby obtaining the processing program of the service object.
3. The method of claim 2, wherein generating the call logic of the atomic handler corresponding to the target dynamic information based on the execution condition comprises:
and inquiring a corresponding calling logic template based on the execution condition, and acquiring the target dynamic information and attribute parameters of an atomic processing program corresponding to the target dynamic information so as to generate calling logic by combining the calling logic template.
4. The method of claim 1, wherein querying the set of information needed for business processing and determining static information and dynamic information based on the information state comprises:
and querying an information table of the service processing corresponding to the service type to determine an information set required by the service processing, and identifying the state identifier of each information from the information table to determine static information and dynamic information.
5. The method of claim 1, wherein the invoking a preset splitting component to split the business process flow based on the static information and the dynamic information comprises:
calling a preset segmentation component to add display marks to the corresponding dynamic information and the static information in the business processing flow so as to display the business processing flow after the marks are added;
and receiving a segmentation instruction, acquiring segmentation nodes, and segmenting the service processing flow based on the segmentation nodes.
6. The method of claim 1, wherein querying the target dynamic information associated with the business object comprises:
inquiring a processing program of the business object to obtain an inquiry result;
determining the query result as the handler in response to the query result being a query success; or, in response to the query result being a query failure, querying the target dynamic information associated with the business object.
7. The method of claim 1, wherein determining static information and dynamic information based on the information state comprises:
acquiring a historical information set corresponding to the service type;
in response to the set of historical information differing from the set of information, determining static information and dynamic information based on an information state;
and responding to the fact that the historical information set is the same as the information set, and inquiring an atom processing program of the dynamic information corresponding to the service type.
8. An apparatus for traffic processing, comprising:
the determining unit is used for responding to the service atomization instruction, acquiring a corresponding service type, inquiring an information set required by service processing, and determining static information and dynamic information based on an information state;
the segmentation unit is used for acquiring a service processing flow of the service type, calling a preset segmentation component, and segmenting the service processing flow based on the static information and the dynamic information to obtain an atom processing program corresponding to the dynamic information;
and the processing unit is used for receiving the service processing request, acquiring the corresponding service object, inquiring the target dynamic information associated with the service object, acquiring the corresponding atom processing program, calling a preset combination model, and combining the acquired atom processing programs to obtain the processing program of the service object.
9. The apparatus according to claim 8, wherein the processing unit is specifically configured to:
calling a preset combination model to obtain the execution sequence and the execution conditions of the target dynamic information;
determining a calling sequence of an atomic processing program corresponding to the target dynamic information based on the execution sequence, and generating a calling logic of the atomic processing program corresponding to the target dynamic information based on the execution condition;
and combining the calling sequence and the calling logic to obtain an atomic processing program corresponding to the target dynamic information, thereby obtaining the processing program of the service object.
10. The apparatus according to claim 9, wherein the processing unit is specifically configured to:
and inquiring a corresponding calling logic template based on the execution condition, and acquiring the target dynamic information and attribute parameters of an atomic processing program corresponding to the target dynamic information so as to generate calling logic by combining the calling logic template.
11. The apparatus according to claim 8, wherein the determining unit is specifically configured to:
and inquiring an information table of the service processing corresponding to the service type to determine an information set required by the service processing, and identifying the state identifier of each information from the information table to determine static information and dynamic information.
12. The apparatus according to claim 8, wherein the segmentation unit is specifically configured to:
calling a preset segmentation component to add display marks to the corresponding dynamic information and the static information in the business processing flow so as to display the business processing flow added with the marks;
and receiving a segmentation instruction, acquiring segmentation nodes, and segmenting the service processing flow based on the segmentation nodes.
13. An electronic device, comprising:
one or more processors;
a storage device to store one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-7.
14. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-7.
15. A computer program product comprising a computer program, characterized in that the program, when executed by a processor, implements the method according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211202547.0A CN115630836A (en) | 2022-09-29 | 2022-09-29 | Service processing method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211202547.0A CN115630836A (en) | 2022-09-29 | 2022-09-29 | Service processing method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115630836A true CN115630836A (en) | 2023-01-20 |
Family
ID=84905250
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211202547.0A Pending CN115630836A (en) | 2022-09-29 | 2022-09-29 | Service processing method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115630836A (en) |
-
2022
- 2022-09-29 CN CN202211202547.0A patent/CN115630836A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110706093A (en) | Accounting processing method and device | |
CN111038906B (en) | Order sorting method and device | |
CN112148711A (en) | Processing method and device for batch processing tasks | |
CN109766148B (en) | Method and apparatus for processing interface method calls | |
CN111881329A (en) | Account balance management method and system | |
CN111125106A (en) | Batch running task execution method, device, server and storage medium | |
CN111881392A (en) | Page display method and device | |
CN111831461A (en) | Method and device for processing business process | |
CN113076153A (en) | Interface calling method and device | |
CN111984234A (en) | Method and device for processing work order | |
CN110389976B (en) | Multi-interface data scheduling method and device | |
CN112990991B (en) | Method and device for combined invoicing | |
CN112559646A (en) | Report downloading method and device | |
CN114722108A (en) | Customer service data processing method and device, electronic equipment and storage medium | |
CN114625458A (en) | Page data processing method and device, electronic equipment and storage medium | |
CN115630836A (en) | Service processing method and device, electronic equipment and storage medium | |
CN114817347A (en) | Business approval method and device, electronic equipment and storage medium | |
CN111526184B (en) | Business auditing method and device | |
CN113516523A (en) | Order data processing method and order receiving system | |
CN113779018A (en) | Data processing method and device | |
CN112261072A (en) | Service calling method, device, equipment and storage medium | |
CN111210349A (en) | Virtual asset transfer hosting method and device, electronic equipment and storage medium | |
CN113448960A (en) | Method and device for importing form file | |
CN113468053B (en) | Application system testing method and device | |
CN115619337A (en) | Method and device for processing signed report data, electronic equipment and 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 |