CN112486640A - Service processing method and device, electronic equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN112486640A
CN112486640A CN202011290805.6A CN202011290805A CN112486640A CN 112486640 A CN112486640 A CN 112486640A CN 202011290805 A CN202011290805 A CN 202011290805A CN 112486640 A CN112486640 A CN 112486640A
Authority
CN
China
Prior art keywords
service
target
business
component
components
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.)
Granted
Application number
CN202011290805.6A
Other languages
Chinese (zh)
Other versions
CN112486640B (en
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 Citic Bank Corp Ltd
Original Assignee
China Citic Bank Corp 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 Citic Bank Corp Ltd filed Critical China Citic Bank Corp Ltd
Priority to CN202011290805.6A priority Critical patent/CN112486640B/en
Publication of CN112486640A publication Critical patent/CN112486640A/en
Application granted granted Critical
Publication of CN112486640B publication Critical patent/CN112486640B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5055Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering software capabilities, i.e. software resources associated or available to the machine
    • 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/48Indexing scheme relating to G06F9/48
    • G06F2209/482Application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5011Pool

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Debugging And Monitoring (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the application relates to the field of software development and discloses a service processing method, a device, electronic equipment and a computer readable storage medium, wherein the service processing method comprises the following steps: analyzing the service requirement of the target service, and splitting the target service into a plurality of target service components according to the analysis result; then, acquiring a plurality of target service components from a component pool, and constructing a service chain of the target service according to the acquired target service components, wherein the component pool stores a plurality of service components which are independent and independent from each other; and then, by scheduling the service chain, the transaction operation of the transaction request aiming at the target service is realized, and whether the transaction operation is abnormal or not is monitored in real time. According to the method, the corresponding service chain can be simply, conveniently and quickly established through the service components in the component pool, real-time monitoring of online transaction of the target service can be achieved, and abnormality can be found in time.

Description

Service processing method and device, electronic equipment and computer readable storage medium
Technical Field
The embodiment of the application relates to the technical field of software development, in particular to a business processing method and device, electronic equipment and a computer readable storage medium.
Background
With the vigorous development of bank bill business in China, various business product requirements and rapidly changing market requirements all put higher requirements on the development of a background business system. On one hand, new products are required to be delivered to the market quickly, and on the other hand, the existing products are required to optimize and iterate the business process along with the market change.
At present, the development of the bill service mainly faces the following two situations: 1. when a new product business requirement exists, a developer develops a set of business codes completely or reuses part of the existing business codes according to a business process; 2. when the business process of the existing business needs to be adjusted, developers need to modify a large amount of codes of the original business logic. However, the inventors of the embodiments of the present application found in the concrete implementation process that: the development period of a brand-new development set of service codes is long, time and labor are wasted, new products cannot fall to the ground quickly, original logic needs to be combed and a large number of codes are modified when the original service codes are reused, workload and time cost are greatly increased, strong coupling of the codes is easily caused, and later maintenance and robustness of the system are not facilitated.
Disclosure of Invention
The purpose of the embodiments of the present application is to solve at least one of the above technical drawbacks, and to provide the following technical solutions:
in one aspect, a method for processing a service is provided, including:
analyzing the service requirement of the target service, and splitting the target service into a plurality of target service components according to the analysis result;
acquiring a plurality of target service components from a component pool, and constructing a service chain of a target service according to the acquired target service components, wherein the component pool stores the plurality of service components which are independent and independent from each other;
and by scheduling the service chain, the transaction operation of the transaction request aiming at the target service is realized, and whether the transaction operation is abnormal or not is monitored in real time.
In one possible implementation, obtaining a plurality of target business components from a component pool includes:
step A, analyzing and determining whether the component pool comprises a plurality of target business components;
step B, when the component pool comprises a plurality of target service components, directly acquiring the plurality of target service components from the component pool; when determining that the component pool does not comprise any target business component in the plurality of target business components, generating any target business component, and updating any target business component into the component pool;
and repeating the step A and the step B until the component pool comprises a plurality of target business components.
In one possible implementation, generating any target business component includes:
determining whether brand new development of any target business component is required according to business requirement analysis;
when brand-new development of any target business component needs to be carried out, brand-new development processing is carried out on any target business component;
when the brand-new development of any target business component is not needed, the business component associated with any target business component is searched from all the business components in the component pool, and the business component is processed to generate any target business component.
In a possible implementation manner, constructing a service chain of a target service according to a plurality of acquired target service components includes:
through a dispatching platform, according to a plurality of target service components and the connection relation among the plurality of target service components, constructing a service chain of the target service, and distributing corresponding first identification information for the target service, wherein the connection relation among the plurality of target service components is generated according to a data structure of a graph;
the method for realizing the transaction operation of the transaction request aiming at the target service by scheduling the service chain comprises the following steps:
and acquiring a service chain through the scheduling platform according to the first identification information, and scheduling a plurality of target service components through the service chain to realize transaction operation of a transaction request aiming at the target service.
In a possible implementation manner, in the process of implementing the transaction operation of the transaction request for the target service by scheduling the service chain, the method further includes:
generating transaction identification information for transaction operation;
wherein, whether the real-time monitoring transaction operation has the anomaly includes:
inquiring the running states of a plurality of target service components in a service chain and data information among the plurality of target service components according to the transaction identification information;
and determining whether the transaction operation is abnormal or not according to the running states of the target service components and the data information among the target service components.
In one possible implementation, determining whether there is an anomaly in the transaction operation includes:
determining whether business abnormal blocking exists in the transaction operation through a monitoring platform;
when the business abnormal blocking exists in the transaction operation, the target business component with the business abnormal blocking is positioned, the business abnormal information and the business transaction data corresponding to the business abnormal blocking are obtained, and corresponding abnormal processing is carried out on the target business component with the business abnormal blocking according to the business abnormal information and the business transaction data.
In one possible implementation, the exception handling includes a service retry handling or a service revocation handling; according to the service exception information and the service transaction data, corresponding exception handling is carried out on the target service component which is blocked by the service exception, and the exception handling method comprises the following steps:
when the exception handling is service retry handling, continuing to perform subsequent transaction operation from a target service component which is interrupted by service exception according to the service exception information and the service transaction data by the scheduling platform;
when the exception handling is the service cancelling handling, the scheduling platform starts the reverse order from the target service assembly which is interrupted by the service exception to carry out the service cancelling operation of each target service assembly according to the service exception information and the service transaction data, wherein the reverse order is the order opposite to the order of executing the transaction operation by the plurality of target service assemblies in the service chain.
In one aspect, a service processing apparatus is provided, including:
the first processing module is used for analyzing the service requirements of the target service and splitting the target service into a plurality of target service components according to the analysis result;
the second processing module is used for acquiring a plurality of target service components from the component pool and constructing a service chain of the target service according to the acquired target service components, wherein the component pool stores a plurality of service components which are independent and independent from each other;
and the third processing module is used for realizing the transaction operation of the transaction request aiming at the target service by scheduling the service chain and monitoring whether the transaction operation is abnormal or not in real time.
In one possible implementation, the second processing module, when obtaining the plurality of target business components from the component pool, is configured to:
step A, analyzing and determining whether the component pool comprises a plurality of target business components;
step B, when the component pool comprises a plurality of target service components, directly acquiring the plurality of target service components from the component pool; when determining that the component pool does not comprise any target business component in the plurality of target business components, generating any target business component, and updating any target business component into the component pool;
and repeating the step A and the step B until the component pool comprises a plurality of target business components.
In one possible implementation manner, the second processing module, when generating any target business component, is configured to:
determining whether brand new development of any target business component is required according to business requirement analysis;
when brand-new development of any target business component needs to be carried out, brand-new development processing is carried out on any target business component;
when the brand-new development of any target business component is not needed, the business component associated with any target business component is searched from all the business components in the component pool, and the business component is processed to generate any target business component.
In a possible implementation manner, when constructing a service chain of a target service according to the obtained multiple target service components, the second processing module is configured to:
through a dispatching platform, according to a plurality of target service components and the connection relation among the plurality of target service components, constructing a service chain of the target service, and distributing corresponding first identification information for the target service, wherein the connection relation among the plurality of target service components is generated according to a data structure of a graph;
the third processing module is used for acquiring the service chain through the scheduling platform according to the first identification information, and scheduling a plurality of target service components through the service chain to realize the transaction operation of the transaction request aiming at the target service.
In a possible implementation manner, the third processing module is further configured to generate transaction identification information for the transaction operation when the transaction operation of the transaction request for the target service is implemented through the scheduling service chain;
wherein, the third processing module is used for monitoring whether the transaction operation is abnormal or not in real time:
inquiring the running states of a plurality of target service components in a service chain and data information among the plurality of target service components according to the transaction identification information;
and determining whether the transaction operation is abnormal or not according to the running states of the target service components and the data information among the target service components.
In one possible implementation, the third processing module, when determining whether there is an anomaly in the transaction operation, is configured to:
determining whether business abnormal blocking exists in the transaction operation through a monitoring platform;
when the business abnormal blocking exists in the transaction operation, the target business component with the business abnormal blocking is positioned, the business abnormal information and the business transaction data corresponding to the business abnormal blocking are obtained, and corresponding abnormal processing is carried out on the target business component with the business abnormal blocking according to the business abnormal information and the business transaction data.
In one possible implementation, the exception handling includes a service retry handling or a service revocation handling; the third processing module is used for performing corresponding exception handling on the target service component which is blocked by the service exception according to the service exception information and the service transaction data:
when the exception handling is service retry handling, continuing to perform subsequent transaction operation from a target service component which is interrupted by service exception according to the service exception information and the service transaction data by the scheduling platform;
when the exception handling is the service cancelling handling, the scheduling platform starts the reverse order from the target service assembly which is interrupted by the service exception to carry out the service cancelling operation of each target service assembly according to the service exception information and the service transaction data, wherein the reverse order is the order opposite to the order of executing the transaction operation by the plurality of target service assemblies in the service chain.
In one aspect, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the business processing method is implemented.
In one aspect, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the service processing method described above.
According to the service processing method provided by the embodiment of the application, the plurality of target service components are obtained from the component pool, and the service chain of the target service is constructed according to the plurality of obtained target service components, so that the plurality of independent and independent service components in the component pool can effectively improve the development efficiency of the target service, realize the reuse of the existing resources to the maximum extent, keep codes separated and facilitate later maintenance; by scheduling the service chain, the transaction operation of the transaction request aiming at the target service is realized, and whether the transaction operation is abnormal or not is monitored in real time, so that the abnormal transaction can be determined in real time in the transaction process of the target service, and the subsequent online troubleshooting of the abnormal problem is facilitated.
Additional aspects and advantages of embodiments of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of embodiments of the present application will become apparent and more readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic flow chart of a service processing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram illustrating the assembly of a plurality of business components in a business chain according to an embodiment of the present application;
FIG. 3 is a schematic view of monitoring an abnormally blocked transaction according to an embodiment of the present application;
fig. 4 is a schematic diagram of an overall process of service processing according to an embodiment of the present application;
fig. 5 is a schematic diagram of a basic structure of a service processing apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application will be further described in detail with reference to the accompanying drawings.
The following describes in detail the technical solutions of the embodiments of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
One embodiment of the present application provides a service processing method, which is executed by a computer device, where the computer device may be a terminal or a server. The terminal may be a desktop device or a mobile terminal. The servers may be individual physical servers, clusters of physical servers, or virtual servers. As shown in fig. 1, the method includes:
step S110, analyzing the service requirement of the target service, and splitting the target service into a plurality of target service components according to the analysis result; step S120, a plurality of target service components are obtained from a component pool, and a service chain of the target service is constructed according to the obtained target service components, wherein the component pool stores a plurality of service components which are independent and independent from each other; step S130, the transaction operation of the transaction request aiming at the target service is realized by scheduling the service chain, and whether the transaction operation is abnormal or not is monitored in real time.
The target service may be various services in the banking industry, such as a deposit service, a withdrawal service, an inquiry service, a transfer service, a payment service, a billing service, a bank acceptance automatic payment service, a credit service, and the like, or may be various services in other industries, such as a browsing service of a browser, and a software development service on a software platform, and the like.
In the process of constructing a target service (e.g., a ticket service), a service requirement of the target service may be determined first, then the service requirement of the target service is analyzed to obtain an analysis result of the service requirement, and then the target service is split into a plurality of basic service components (i.e., a plurality of target service components) with a sufficiently small granularity according to the obtained analysis result, that is, the target service is split into a plurality of target service components. For example, the target service may be split into a target service component a1 (also referred to as a basic service component a1), a target service component a2 (also referred to as a basic service component a2), a target service component A3 (also referred to as a basic service component A3), …, and a target service component a10 (also referred to as a basic service component a10), that is, the development of the target service is split into the development of a plurality of basic service components included therein; for another example, the target service may be split into a target service component B1 (also referred to as base service component B1), a target service component B2 (also referred to as base service component B2), a target service component B3 (also referred to as base service component B3), …, and a target service component B15 (also referred to as base service component B15).
After the target service is split into a plurality of target service components, matched basic service components can be searched from the existing component pool, for example, the plurality of target service components are searched from the existing component pool, so that the existing basic service components can be reused, then, a service chain of the target service is constructed according to the searched plurality of target service components, namely, the service chain of the target service is quickly and conveniently constructed through the plurality of target service components stored in the component pool, so that the service chain of the target service can be quickly and conveniently constructed, the development work of service codes of the target service is effectively reduced, a large amount of manpower and time are not needed for brand new development of the target service, and the workload and the time cost are greatly reduced. A large number of service components (namely basic service components) are prestored in the component pool, and the basic service components are independent and independent from each other, so that code separation between the basic service components and service code separation of the target service can be realized to the greatest extent, the coupling between the codes of the target service is reduced, and the later maintenance and the robustness of the target service are greatly facilitated.
After the business chain of the target business is constructed and received, the business chain of the target business can be scheduled to realize the transaction operation of the transaction request of the target business, wherein the transaction operation can be monitored in real time in the process of realizing the transaction operation of the target business on line to determine whether the transaction operation is abnormal or not, so that the abnormal investigation can be timely carried out on line when the transaction operation is determined to be abnormal, and the follow-up can accurately adopt corresponding follow-up processing operation globally.
According to the service processing method provided by the embodiment of the application, the plurality of target service components are obtained from the component pool, and the service chain of the target service is constructed according to the plurality of obtained target service components, so that the plurality of independent and independent service components in the component pool can effectively improve the development efficiency of the target service, realize the reuse of the existing resources to the maximum extent, keep codes separated and facilitate later maintenance; by scheduling the service chain, the transaction operation of the transaction request aiming at the target service is realized, and whether the transaction operation is abnormal or not is monitored in real time, so that the abnormal transaction can be determined in real time in the transaction process of the target service, and the subsequent online troubleshooting of the abnormal problem is facilitated.
The following specifically describes embodiments of the present application:
in one possible implementation manner, in the process of obtaining a plurality of target service components of a target service from a component pool, the following processing may be performed: step A, analyzing and determining whether the component pool comprises a plurality of target business components; step B, when the component pool comprises a plurality of target service components, directly acquiring the plurality of target service components from the component pool; when determining that the component pool does not comprise any target business component in the plurality of target business components, generating any target business component, and updating any target business component into the component pool; and repeating the step A and the step B until the component pool comprises a plurality of target business components.
In one example, the following is performed in the process of obtaining a plurality of target business components of a target business from a component pool:
first, an analysis is needed to determine whether the plurality of target business components are included in the component pool.
Secondly, if the plurality of target business components are determined to be included in the component pool, the development of the business components is involved in the previous development of other businesses, and the business components can meet the development requirement of the current target businesses, so that the existing business components can be directly reused, the plurality of target business components in the component pool can be directly reused without spending additional time and effort to develop the same business components, and a business chain of the target businesses can be directly constructed by utilizing the plurality of target business components. If it is determined that any of the target service components is not included in the component pool, for example, the target service components are respectively target service component a1, target service component a2, target service components A3, …, and target service component a10, if the component pool does not include target service component a4 of the 10 target service components, it is indicated that all previously developed services do not relate to the development of the target service component a4, and therefore cannot be directly reused, at this time, it takes a certain time and effort to generate the target service component a4, that is, it is necessary to generate the target service component a 4; after the target service component A4 is generated, the generated target service component A4 is updated to a component pool so as to be reused when other target services are constructed subsequently.
After the target service component a4 is updated to the component pool, the target service component a4 may be found in the component pool, and at this time, a service chain of the target service may be constructed according to the original existing target service component a1, target service component a2, target service component A3, target service components a5 and …, target service component a10, and target service component a4 that is newly updated to the component pool.
It should be noted that, for the first service development, the component pool does not have any service component, at this time, the first service development needs to be split into the development of a plurality of corresponding basic service components, and each time the development of one basic service component is completed, the developed basic service component is updated into the component pool to be used in the subsequent development of similar services, that is, the developed basic service component is multiplexed. And updating each basic service component included in a service into the component pool after the development of each basic service component of the service is completed, and so on, wherein the number of the basic service components in the component pool is increased after a period of accumulation, so that the subsequent development work is more and more efficient and convenient along with the enrichment of the component library.
In one possible implementation manner, in the process of generating any target business component, the following processing may be performed: firstly, analyzing and determining whether brand new development of any target business component is needed or not according to business requirements; secondly, when brand-new development of any target business component needs to be carried out, brand-new development processing is carried out on any target business component; when the brand-new development of any target business component is not needed, the business component associated with any target business component is searched from all the business components in the component pool, and the business component is processed to generate any target business component.
Specifically, when any one of a plurality of target business components (for example, target business component a4) of the target business is not found in the component pool, any one of the target business components (for example, target business component a4) needs to be generated to meet the business requirements of the target business, so as to construct a business chain of the target business.
In one example, assuming that any one of the target business components is the target business component a4, when generating the target business component a4, firstly, it needs to analyze and determine whether a brand-new development of the target business component a4 needs to be performed according to the business requirements of the target business; then, when it is determined that brand-new development of the target service component a4 needs to be performed, that is, on the basis of not depending on any existing service component in the component pool, development of a brand-new target service component a4 is performed, so as to realize the design and development of the target service component a4 from scratch, at this time, brand-new development processing needs to be performed on the target service component a4, and the target service component a4 is developed and generated; when it is determined that the brand-new development of the target business component a4 is not required, it is explained that the target business component a4 can be generated on the basis of the existing business components in the component pool, for example, the target business component a4 is generated by performing secondary processing on the existing business components in the component pool.
During the secondary processing of the existing business components in the component pool, firstly, a business component associated with the target business component a4 is selected (or searched) from the component pool, for example, a business component with a correlation degree greater than a predetermined threshold value with the target business component a4 is selected from the existing business components in the component pool; then, the selected business module is processed, for example, pre-processed or post-processed, to generate a target business module a 4. The selected business components can be processed in a decoration mode, namely, on the basis of not changing the original business components, brand-new target business components A4 (which can be called as customized business components A4) are customized, so that the coupling among the business components is reduced.
It should be noted that each business component includes a forward business processing part (i.e. a part executed when the transaction operation is normal) and a reverse business rollback operation part (i.e. a part executed when the rollback is undone when the transaction operation is abnormal).
In a possible implementation manner, in the process of constructing a service chain of a target service according to a plurality of acquired target service components, a service chain of the target service can be constructed according to the plurality of target service components and a connection relationship between the plurality of target service components through a scheduling platform, and corresponding first identification information is allocated to the target service, wherein the connection relationship between the plurality of target service components is generated according to a data structure of a graph.
In the process of realizing the transaction operation of the transaction request aiming at the target service through the scheduling service chain, the service chain can be obtained through the scheduling platform according to the first identification information, and the plurality of target service components are scheduled through the service chain, so that the transaction operation of the transaction request aiming at the target service is realized.
Specifically, according to the service flow of the target service, a plurality of target service components required by the target service may be assembled through the scheduling platform to form a complete service chain, and meanwhile, corresponding first identification information is allocated to the target service, for example, a unique service ID is allocated to the target service, so as to distinguish different target services. Equivalently, a business chain is made up of multiple target business components. In the process of forming a complete service chain, a data structure of a graph can be adopted to construct a connection relation among a plurality of target service components, each target service component is a node in the graph in the data structure of the graph, and equivalently, a directed graph among the plurality of target service components is established on the basis of the data structure of the graph according to a service flow, namely the connection relation among the plurality of target service components is generated; and then, constructing a complete business chain according to the plurality of target business components and the connection relation among the plurality of target business components.
The data structure of the graph can flexibly support various combination modes such as series connection, parallel connection and the like among a plurality of target service components, as shown in fig. 2. In fig. 2, the component pool includes a plurality of basic service components and customized service components, and the customized service components are new service components generated by performing customized secondary processing on the basis of existing service components in the component pool.
Specifically, after the corresponding first identification information is allocated to the target service, in the process of scheduling the target service, a service chain of the target service may be acquired according to the first identification information through the scheduling platform (for example, the corresponding service chain is called according to an ID of the target service), and a plurality of corresponding target service components are scheduled through the service chain (for example, the corresponding target service components are called according to an ID of the target service components), so as to implement a transaction operation of a transaction request for the target service.
In a possible implementation manner, in the process of implementing the transaction operation of the transaction request for the target service by scheduling the service chain, transaction identification information for the transaction operation may also be generated. In the process of monitoring whether the transaction operation is abnormal in real time, the following processing can be executed: firstly, according to transaction identification information, inquiring the running states of a plurality of target service components in a service chain and data information among the plurality of target service components; and then, determining whether the transaction operation is abnormal or not according to the running states of the target business components and the data information among the target business components.
Specifically, when a transaction request for a target service (equivalent to a trigger request for receiving a transaction of the target service) is received, a scheduling platform first acquires a corresponding service chain according to first identification information (such as an ID of the target service) of the target service, and generates transaction identification information for a transaction operation of the target service, such as a unique transaction flow for generating the transaction operation of the target service, so that a subsequent monitoring platform queries a transaction running state; and then, scheduling the target service components corresponding to the service chain one by one to perform corresponding transaction operation (namely service operation). At this time, the ID of the target service component and the corresponding method name may be persisted in a database, and based on the reflection technology, the corresponding method processing is invoked according to the class name.
Specifically, in the process of monitoring whether the transaction operation of the target service is abnormal in real time, the service transaction state of the target service can be monitored in real time through the monitoring platform. The operation states of a plurality of target service components and data information among the plurality of target service components in a service chain of the target service can be searched according to the transaction identification information (such as the unique transaction flow), and whether the transaction operation is abnormal or not is determined according to the operation states of the plurality of target service components and the data information among the plurality of target service components, namely, the failed service transaction operation is searched, so that online abnormal handling is facilitated.
In a possible implementation manner, in the process of determining whether the transaction operation is abnormal, whether the transaction operation is blocked due to abnormal service can be determined through the monitoring platform; when the business abnormal blocking exists in the transaction operation, the target business component with the business abnormal blocking is positioned, the business abnormal information and the business transaction data corresponding to the business abnormal blocking are obtained, and corresponding abnormal processing is carried out on the target business component with the business abnormal blocking according to the business abnormal information and the business transaction data.
In particular, in the process of determining whether the transaction operation is abnormal through the monitoring platform, whether the transaction operation is blocked due to abnormal service can be determined through the monitoring platform, wherein, the schematic diagram of determining whether the transaction operation has abnormal service blocking through the monitoring platform is shown in fig. 3, in fig. 3, when it is determined that there is a traffic abnormal blocking in the transaction operation of the target traffic, first, a target traffic component where the traffic abnormal blocking occurs, for example, the target traffic component n in fig. 3, then, acquiring the service exception information (such as error information in FIG. 3) and the service transaction data (such as transaction data in FIG. 3) corresponding to the service exception blocking, and according to the acquired service abnormal information and the service transaction data, performing corresponding abnormal processing on the target service component which is blocked by the service abnormality.
Specifically, during the corresponding exception processing of the target service component in which the service exception blocking occurs, it may be determined whether the exception processing is service retry processing or service withdrawal processing, that is, the exception processing includes service retry processing or service withdrawal processing. When the exception handling is determined to be service retry handling, continuing to perform subsequent transaction operation from a target service component which is interrupted by service exception according to service exception information and service transaction data through a scheduling platform; and when the abnormal processing is determined to be the service cancelling processing, carrying out the service cancelling operation of each target service component in a reverse sequence from the target service component which is subjected to the service abnormal blocking according to the service abnormal information and the service transaction data by the scheduling platform, wherein the reverse sequence is the sequence opposite to the sequence of executing the transaction operation by the plurality of target service components in the service chain.
In one example, when the exception handling is a service retry handling, the scheduling platform tries to continue to execute subsequent transaction operations from a target service component with an exception based on transaction data and service exception information stored in the target service component with the exception, if the transaction operations are executed successfully, the scheduling platform turns to the monitoring platform to continue to perform real-time monitoring, and if the transaction operations fail at this time, which indicates that the transaction operations are blocked due to the service exception, the following processing is repeatedly executed: when the business abnormal blocking exists in the transaction operation, the target business component with the business abnormal blocking is positioned through the monitoring platform, the business abnormal information and the business transaction data corresponding to the business abnormal blocking are obtained, and corresponding abnormal processing is carried out on the target business component with the business abnormal blocking according to the business abnormal information and the business transaction data.
In one example, when the exception handling is the service revocation handling, the scheduling platform performs corresponding rollback operations (i.e. service revocation operations) on the target service components one by one in a reverse order (i.e. an order opposite to a normal service handling flow order) from the abnormal target service component on the basis of transaction data and service exception information saved until the abnormal target service component is executed, namely deleting the transaction data of the transaction operation and restoring the state of the related data; if the revocation is successful, the transaction operation is ended, otherwise, offline manual treatment is carried out.
Specifically, the service processing method according to the embodiment of the present application is described below by using a specific example, where fig. 4 shows an overall process schematic diagram of service processing according to the embodiment of the present application, and in fig. 4, the service processing method mainly includes four parts: 1. the component development platform comprises basic business component development or customized processing based on the existing business components; 2. the dispatching platform is used for carrying out combined assembly on corresponding service components based on the dispatching platform to form a complete service chain; 3. the monitoring platform is used for monitoring the execution condition of the transaction operation in real time based on the monitoring platform and performing online treatment on the abnormal blocked business operation; 4. and the online exception handling platform selects a service retry operation or a service cancellation operation for the transaction operation blocked by the exception according to the related data analysis. The detailed steps are as follows:
and step S1, analyzing the whole service requirement of the target service in detail, and performing granularity disassembly of basic service component level on the target service so as to facilitate subsequent expansion and reuse to the maximum extent.
And step S2, analyzing whether the service requirement of the target service can be met or not based on the existing component pool.
And step S3, if the existing component pool can completely meet the development of the service requirement of the target service, directly sending the component pool to a dispatching platform to assemble basic service components.
Step S4, otherwise, analyzing whether new basic service component development is needed or existing basic service components are processed, wherein each basic service component has a unique service component ID, and the scheduling platform calls the corresponding service component for processing;
s4.1, if a new basic service component needs to be developed, newly adding the newly developed basic service component into the component pool;
and S4.2, if the existing basic service components are only required to be processed, preprocessing or postprocessing is carried out on the basic service components, and at the moment, a decoration mode can be adopted, so that brand new basic service components are customized on the basis of not changing the original basic service components, and the coupling between the basic service components is reduced.
It should be noted that each basic service component includes a forward service processing part (which is executed when the transaction is normal) and a reverse service rollback operation part (which is executed when the transaction is abnormally blocked and rollback is cancelled).
Step S5, updating the component pool, analyzing again, if the existing component pool can meet the service requirement of the target service, if yes, entering the equipment stage of the basic service component through the dispatching platform; otherwise, the component pool is continuously perfected by repeatedly executing the steps S2-S4 until the service requirement of the target service can be met.
Step S6, assembling required basic service components through the scheduling platform according to the service flow of the target service to form a complete service chain, where each target service may be assigned a unique service ID to distinguish different target services, that is, a service chain is composed of a plurality of basic service components, and can call up a corresponding service chain according to the service ID and then call up a corresponding service component according to the service component ID.
In order to support all current service combination modes, in the embodiment of the present application, a data structure of a graph is used to construct a relationship between basic service components, that is, each basic service component is a node in the graph, a directed graph of a basic energy component is established according to a service flow, and multiple basic service components are flexibly supported to perform various combination modes such as serial connection, parallel connection and the like (as shown in fig. 2). When a trigger request of a transaction is received, a corresponding service chain is obtained through a scheduling platform according to the service ID of the transaction, a unique transaction flow (used for a monitoring platform to inquire the transaction running state) of the transaction is generated at the same time, and then basic service components corresponding to the service chain are called one by one to carry out corresponding service operation. In the embodiment of the application, the service component ID and the corresponding method name are persisted in a database, and corresponding method processing is called according to the class name based on the reflection technology.
Step S7, monitoring the transaction state of each service in real time through the monitoring platform, and inquiring the running state of each basic service component and the data information among the components in the service chain according to the unique transaction flow; meanwhile, the business transaction with transaction failure can be arranged, which is convenient for online exception handling (as shown in fig. 3).
Step S8, when abnormal blocking of business occurs, firstly, positioning basic business components with abnormal transaction through the monitoring platform, integrating the abnormal business information and transaction data, and analyzing whether the subsequent treatment is business retry or business cancel, wherein:
step S8.1, when the operation of business retry is selected, the scheduling platform tries to continue executing programs from the basic business component with the abnormal business block on the basis of the transaction data stored in the basic business component with the abnormal business block: if the program is successfully executed at the moment, the service switching monitoring platform continues to monitor in real time; if the transaction fails, repeatedly executing the step 8;
s8.2, when the operation of canceling the service is selected, starting from the basic service component which is abnormally blocked by the service through the scheduling system, carrying out corresponding service backspacing operation on the basic service components one by one in a reverse order (namely, the sequence is opposite to the sequence of the service flow), namely deleting the transaction data and restoring the state of the related data; if the transaction is cancelled successfully, the transaction is ended, otherwise, offline manual handling is performed.
And step S9, updating all states to a monitoring platform, and monitoring uniformly.
According to the method, a certain service is subdivided into basic service components with small enough granularity, the development of the certain service is disassembled into the development of the basic service components, and meanwhile, based on non-common customization requirements, pre-treatment and post-treatment are added to the basic service components to achieve a customization effect; and then assembling the required basic service components according to the requirements based on a scheduling platform to form a final service chain. When a similar new product is developed, basic service components can be searched from the existing component pool and reused, and new parts can be further decomposed into basic service components and added into the component pool; when a certain business process is changed, the basic business components are recombined through the scheduling platform as required. The business is divided into basic business components, so that the execution condition and the running information of a specific transaction can be clearly seen through the monitoring platform, and further, conditional transaction retry or transaction cancellation can be carried out on abnormal transaction operations based on the scheduling platform.
Fig. 5 is a schematic structural diagram of a service processing apparatus according to another embodiment of the present application, and as shown in fig. 5, the apparatus 500 may include a first processing module 501, a second processing module 502, and a third processing module 503; wherein:
the first processing module 501 is configured to analyze a service requirement of a target service, and split the target service into a plurality of target service components according to an analysis result;
a second processing module 502, configured to obtain multiple target service components from a component pool, and construct a service chain of a target service according to the obtained multiple target service components, where the component pool stores multiple service components, and each service component is independent and independent of each other;
the third processing module 503 is configured to implement a transaction operation of the transaction request for the target service by scheduling the service chain, and monitor whether the transaction operation is abnormal in real time.
In one possible implementation, the second processing module, when obtaining the plurality of target business components from the component pool, is configured to:
step A, analyzing and determining whether the component pool comprises a plurality of target business components;
step B, when the component pool comprises a plurality of target service components, directly acquiring the plurality of target service components from the component pool; when determining that the component pool does not comprise any target business component in the plurality of target business components, generating any target business component, and updating any target business component into the component pool;
and repeating the step A and the step B until the component pool comprises a plurality of target business components.
In one possible implementation manner, the second processing module, when generating any target business component, is configured to:
determining whether brand new development of any target business component is required according to business requirement analysis;
when brand-new development of any target business component needs to be carried out, brand-new development processing is carried out on any target business component;
when the brand-new development of any target business component is not needed, the business component associated with any target business component is searched from all the business components in the component pool, and the business component is processed to generate any target business component.
In a possible implementation manner, when constructing a service chain of a target service according to the obtained multiple target service components, the second processing module is configured to:
through a dispatching platform, according to a plurality of target service components and the connection relation among the plurality of target service components, constructing a service chain of the target service, and distributing corresponding first identification information for the target service, wherein the connection relation among the plurality of target service components is generated according to a data structure of a graph;
the third processing module is used for acquiring the service chain through the scheduling platform according to the first identification information, and scheduling a plurality of target service components through the service chain to realize the transaction operation of the transaction request aiming at the target service.
In a possible implementation manner, the third processing module is further configured to generate transaction identification information for the transaction operation when the transaction operation of the transaction request for the target service is implemented through the scheduling service chain;
wherein, the third processing module is used for monitoring whether the transaction operation is abnormal or not in real time:
inquiring the running states of a plurality of target service components in a service chain and data information among the plurality of target service components according to the transaction identification information;
and determining whether the transaction operation is abnormal or not according to the running states of the target service components and the data information among the target service components.
In one possible implementation, the third processing module, when determining whether there is an anomaly in the transaction operation, is configured to:
determining whether business abnormal blocking exists in the transaction operation through a monitoring platform;
when the business abnormal blocking exists in the transaction operation, the target business component with the business abnormal blocking is positioned, the business abnormal information and the business transaction data corresponding to the business abnormal blocking are obtained, and corresponding abnormal processing is carried out on the target business component with the business abnormal blocking according to the business abnormal information and the business transaction data.
In one possible implementation, the exception handling includes a service retry handling or a service revocation handling; the third processing module is used for performing corresponding exception handling on the target service component which is blocked by the service exception according to the service exception information and the service transaction data:
when the exception handling is service retry handling, continuing to perform subsequent transaction operation from a target service component which is interrupted by service exception according to the service exception information and the service transaction data by the scheduling platform;
when the exception handling is the service cancelling handling, the scheduling platform starts the reverse order from the target service assembly which is interrupted by the service exception to carry out the service cancelling operation of each target service assembly according to the service exception information and the service transaction data, wherein the reverse order is the order opposite to the order of executing the transaction operation by the plurality of target service assemblies in the service chain.
According to the device provided by the embodiment of the application, the plurality of target service components are obtained from the component pool, and the service chain of the target service is constructed according to the plurality of obtained target service components, so that the plurality of independent and independent service components in the component pool can effectively improve the development efficiency of the target service, realize the reuse of the existing resources to the maximum extent, keep the codes separated and facilitate the later maintenance; by scheduling the service chain, the transaction operation of the transaction request aiming at the target service is realized, and whether the transaction operation is abnormal or not is monitored in real time, so that the abnormal transaction can be determined in real time in the transaction process of the target service, and the subsequent online troubleshooting of the abnormal problem is facilitated.
It should be noted that the present embodiment is an apparatus embodiment corresponding to the method embodiment described above, and the present embodiment can be implemented in cooperation with the method embodiment described above. The related technical details mentioned in the above method embodiments are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the above-described method item embodiments.
Another embodiment of the present application provides an electronic device, as shown in fig. 6, an electronic device 600 shown in fig. 6 includes: a processor 601 and a memory 603. The processor 601 is coupled to the memory 603, such as via a bus 602. Further, the electronic device 600 may also include a transceiver 604. It should be noted that the transceiver 604 is not limited to one in practical applications, and the structure of the electronic device 600 is not limited to the embodiment of the present application.
The processor 601 is applied to the embodiment of the present application, and is used to implement the functions of the first processing module, the second processing module, and the third processing module shown in fig. 5. The transceiver 604 includes a receiver and a transmitter.
The processor 601 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 601 may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs and microprocessors, and the like.
Bus 602 may include a path that transfers information between the above components. The bus 602 may be a PCI bus or an EISA bus, etc. The bus 602 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
Memory 603 may be, but is not limited to, ROM or other types of static storage devices that can store static information and instructions, RAM or other types of dynamic storage devices that can store information and instructions, EEPROM, CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 603 is used for storing application program codes for executing the scheme of the application, and the processor 601 controls the execution. The processor 601 is configured to execute the application program codes stored in the memory 603 to implement the actions of the service processing apparatus provided by the embodiment shown in fig. 5.
The electronic device provided by the embodiment of the application comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the electronic device can realize that: analyzing the service requirement of the target service, and splitting the target service into a plurality of target service components according to the analysis result; then, acquiring a plurality of target service components from a component pool, and constructing a service chain of the target service according to the acquired target service components, wherein the component pool stores a plurality of service components which are independent and independent from each other; and then, by scheduling the service chain, the transaction operation of the transaction request aiming at the target service is realized, and whether the transaction operation is abnormal or not is monitored in real time.
The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the method shown in the above embodiment. The method comprises the steps that a plurality of target business components are obtained from a component pool, and a business chain of the target business is constructed according to the obtained target business components, so that the development efficiency of the target business can be effectively improved, the multiplexing of existing resources can be realized to the maximum extent, code separation can be kept, and later maintenance is facilitated; by scheduling the service chain, the transaction operation of the transaction request aiming at the target service is realized, and whether the transaction operation is abnormal or not is monitored in real time, so that the abnormal transaction can be determined in real time in the transaction process of the target service, and the subsequent online troubleshooting of the abnormal problem is facilitated.
The computer-readable storage medium provided by the embodiment of the application is suitable for any embodiment of the method.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.

Claims (10)

1. A method for processing a service, comprising:
analyzing the service requirement of a target service, and splitting the target service into a plurality of target service components according to the analysis result;
acquiring the target service components from a component pool, and constructing a service chain of the target service according to the acquired target service components, wherein the component pool stores a plurality of service components which are independent and independent from each other;
and by scheduling the service chain, the transaction operation of the transaction request aiming at the target service is realized, and whether the transaction operation is abnormal or not is monitored in real time.
2. The method of claim 1, wherein the obtaining the plurality of target business components from a component pool comprises:
step A, analyzing and determining whether the component pool comprises the plurality of target business components;
step B, when the component pool is determined to comprise the plurality of target business components, directly obtaining the plurality of target business components from the component pool; when determining that any target business component in the plurality of target business components is not included in the component pool, generating any target business component, and updating any target business component into the component pool;
and repeating the step A and the step B until the component pool comprises the target business components.
3. The method of claim 2, wherein the generating the any target business component comprises:
determining whether brand new development of any target business component is required according to the business requirement analysis;
when brand-new development of any target business component needs to be carried out, brand-new development processing is carried out on any target business component;
when the brand-new development of any target business component is not needed, searching the business component associated with any target business component from all the business components in the component pool, and processing the business component to generate any target business component.
4. The method according to claim 1, wherein the constructing the service chain of the target service according to the obtained target service components comprises:
through a dispatching platform, according to the target service components and the connection relations among the target service components, constructing a service chain of the target service, and distributing corresponding first identification information for the target service, wherein the connection relations among the target service components are generated according to a data structure of a graph;
wherein the scheduling the service chain to realize the transaction operation of the transaction request for the target service includes:
and acquiring the service chain according to the first identification information through the scheduling platform, and scheduling the plurality of target service components through the service chain to realize the transaction operation of the transaction request aiming at the target service.
5. The method according to claim 1 or 4, wherein in the process of implementing the transaction operation of the transaction request for the target service by scheduling the service chain, the method further comprises:
generating transaction identification information for the transaction operation;
wherein the real-time monitoring whether the transaction operation is abnormal includes:
inquiring the running states of the target service components and the data information among the target service components in the service chain according to the transaction identification information;
and determining whether the transaction operation is abnormal or not according to the running states of the target service components and the data information among the target service components.
6. The method of claim 1 or 5, wherein the determining whether the transaction operation is abnormal comprises:
determining whether business abnormal blocking exists in the transaction operation through a monitoring platform;
when the business abnormal blocking exists in the transaction operation, positioning a target business component with the business abnormal blocking, acquiring business abnormal information and business transaction data corresponding to the business abnormal blocking, and performing corresponding abnormal processing on the target business component with the business abnormal blocking according to the business abnormal information and the business transaction data.
7. The method of claim 6, wherein the exception handling comprises a traffic retry handling or a traffic withdrawal handling; the corresponding exception handling is performed on the target service component which is blocked by the service exception according to the service exception information and the service transaction data, and the corresponding exception handling comprises the following steps:
when the exception processing is service retry processing, continuing to perform subsequent transaction operation from the target service component with the service exception blocking according to the service exception information and the service transaction data by a scheduling platform;
and when the exception processing is service cancelling processing, performing service cancelling operation of each target service component in a reverse order from the target service component with the service exception blocking according to the service exception information and the service transaction data by using a scheduling platform, wherein the reverse order is an order opposite to an order of executing transaction operation by a plurality of target service components in the service chain.
8. A traffic processing apparatus, comprising:
the first processing module is used for analyzing the service requirements of the target service and splitting the target service into a plurality of target service components according to the analysis result;
the second processing module is used for acquiring the plurality of target service components from a component pool and constructing a service chain of the target service according to the plurality of acquired target service components, wherein the component pool stores a plurality of service components which are independent and independent from each other;
and the third processing module is used for realizing the transaction operation of the transaction request aiming at the target service by scheduling the service chain and monitoring whether the transaction operation is abnormal or not in real time.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1-7 when executing the program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the method of any one of claims 1 to 7.
CN202011290805.6A 2020-11-18 2020-11-18 Service processing method, device, electronic equipment and computer readable storage medium Active CN112486640B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011290805.6A CN112486640B (en) 2020-11-18 2020-11-18 Service processing method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011290805.6A CN112486640B (en) 2020-11-18 2020-11-18 Service processing method, device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112486640A true CN112486640A (en) 2021-03-12
CN112486640B CN112486640B (en) 2024-06-25

Family

ID=74931420

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011290805.6A Active CN112486640B (en) 2020-11-18 2020-11-18 Service processing method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112486640B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112991064A (en) * 2021-04-20 2021-06-18 深圳华锐金融技术股份有限公司 Service processing method, device, computer equipment and storage medium
CN113157397A (en) * 2021-04-27 2021-07-23 全球能源互联网研究院有限公司 Virtual resource allocation and service function chain construction method and device
CN113220540A (en) * 2021-06-07 2021-08-06 深圳华锐金融技术股份有限公司 Service management method, device, computer equipment and storage medium
CN113377350A (en) * 2021-06-29 2021-09-10 中国平安财产保险股份有限公司 Access request processing method, device, equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610594A (en) * 2014-11-19 2016-05-25 华为技术有限公司 Service chain fault diagnosis method and service chain fault diagnosis device
WO2019149019A1 (en) * 2018-01-30 2019-08-08 深圳壹账通智能科技有限公司 Data interaction method and apparatus, computer device, and storage medium
CN111768546A (en) * 2020-06-30 2020-10-13 新奥(中国)燃气投资有限公司 Method, device and system for automatically early warning abnormal enterprise invoices

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105610594A (en) * 2014-11-19 2016-05-25 华为技术有限公司 Service chain fault diagnosis method and service chain fault diagnosis device
WO2019149019A1 (en) * 2018-01-30 2019-08-08 深圳壹账通智能科技有限公司 Data interaction method and apparatus, computer device, and storage medium
CN111768546A (en) * 2020-06-30 2020-10-13 新奥(中国)燃气投资有限公司 Method, device and system for automatically early warning abnormal enterprise invoices

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112991064A (en) * 2021-04-20 2021-06-18 深圳华锐金融技术股份有限公司 Service processing method, device, computer equipment and storage medium
CN112991064B (en) * 2021-04-20 2021-11-19 深圳华锐金融技术股份有限公司 Service processing method, device, computer equipment and storage medium
CN113157397A (en) * 2021-04-27 2021-07-23 全球能源互联网研究院有限公司 Virtual resource allocation and service function chain construction method and device
CN113220540A (en) * 2021-06-07 2021-08-06 深圳华锐金融技术股份有限公司 Service management method, device, computer equipment and storage medium
CN113377350A (en) * 2021-06-29 2021-09-10 中国平安财产保险股份有限公司 Access request processing method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN112486640B (en) 2024-06-25

Similar Documents

Publication Publication Date Title
CN112486640B (en) Service processing method, device, electronic equipment and computer readable storage medium
US9311064B1 (en) Systems and methods for automated centralized build/merge management
US8423950B2 (en) Method and apparatus for optimizing performance and network traffic in distributed workflow processing
CN110780870B (en) Service execution method, device, equipment and storage medium
CN110580155A (en) Implementation method and device of state machine engine, computer equipment and storage medium
CN112132530B (en) Visual dynamic flow arranging method and system
CN114549068A (en) Short link generation method, equipment, device and computer readable storage medium
CN114527974B (en) Method and device for realizing business function of software product and computer equipment
CN111913824A (en) Method for determining data link fault reason and related equipment
CN116523457A (en) Workflow processing method, device, equipment and storage medium based on business process
CN113961332A (en) Method and device for realizing workflow engine, electronic equipment and storage medium
US20070124185A1 (en) State engine for business process execution
CN114489676A (en) Source code processing method, system, storage medium and electronic equipment
CN113721950A (en) Resource loss prevention and control processing method and device
CN116954754A (en) Business process arranging method, device, equipment and readable storage medium
CN110740178A (en) application service processing system and application service processing method
US8869122B2 (en) Extensible executable modeling
CN114756224A (en) Activity execution method and device
CN113742302A (en) Service request processing method and device
CN113127359A (en) Method and device for obtaining test data
CN112596783A (en) Code automatic merging method and device, computer equipment and storage medium
US9286112B2 (en) Determining and dispatching processing agent for transaction processing
CN112181825A (en) Test case library construction method and device, electronic equipment and medium
CN110597216A (en) Transaction arrangement method and device for manufacturing execution system and readable storage medium
CN113094589B (en) Intelligent service recommendation method and device

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
GR01 Patent grant
GR01 Patent grant