CN115421823A - Service request processing method, device, equipment and computer storage medium - Google Patents

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

Info

Publication number
CN115421823A
CN115421823A CN202211202751.2A CN202211202751A CN115421823A CN 115421823 A CN115421823 A CN 115421823A CN 202211202751 A CN202211202751 A CN 202211202751A CN 115421823 A CN115421823 A CN 115421823A
Authority
CN
China
Prior art keywords
service
flow
service request
request
component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211202751.2A
Other languages
Chinese (zh)
Inventor
柯思强
郑伟强
蔡荣河
林福炎
蔡征弘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202211202751.2A priority Critical patent/CN115421823A/en
Publication of CN115421823A publication Critical patent/CN115421823A/en
Pending legal-status Critical Current

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a service request processing method, a device, equipment and a computer storage medium, which can receive a service request, respond to the service request, call a code according to a preset service flow, call a flow module corresponding to the service request, acquire the service flow, and process the service request according to the service flow. Therefore, the embodiment provided by the application can call the flow module through the preset service flow calling code, so that the processing efficiency of the service request is improved, and each flow module can be called through the service flow calling code, so that the coupling degree is reduced, and the maintenance cost is reduced.

Description

Service request processing method, device, equipment and computer storage medium
Technical Field
The present application belongs to the field of information technology, and in particular, to a method, an apparatus, a device, and a computer storage medium for processing a service request.
Background
With the development of computer technology, more and more users are accustomed to transacting business over a network. Service providers typically establish business systems that facilitate users handling business over the network. After receiving the service request of the user, the service system can process the service request. Also, to improve the efficiency of business processing, service providers typically divide a business system into several microservice components, each for processing several types of business requests.
In general, a service request needs to be processed according to a certain flow in a processing process, and different services often need to be processed according to different flows, so that a service provider generally configures a flow module for each micro service component in a service system in order to improve processing efficiency of the service request, so that each micro service component processes the service request according to preset steps through the flow module.
However, different microservice components generally use different methods to call the flow module to obtain the step of processing the service request due to different structures, frames, codes, and the like of the different microservice components, and the microservice components and the flow module have excessively high coupling and high maintenance cost.
Disclosure of Invention
The embodiment of the application provides a service request processing method, a service request processing device and a computer storage medium, which can improve the processing efficiency of a service request by calling a code and calling a flow module through a preset service flow, and reduce the coupling degree and the maintenance cost because each flow module can be called by calling the code through the service flow.
In one aspect, an embodiment of the present application provides a method for processing a service request, where the method includes:
receiving a service request;
responding to the service request, calling a flow module corresponding to the service request according to a preset service flow calling code to acquire a service flow, and processing the service request according to the service flow, wherein the service flow calling code is suitable for the flow module corresponding to the first service assembly or any second service assembly.
Optionally, the method includes calling a flow module corresponding to the service request according to a preset service flow calling code, acquiring a service flow, and processing the service request according to the service flow, and specifically includes:
calling a flow module corresponding to the service request according to a preset service flow calling code to acquire a service flow;
executing the business corresponding to the business process according to the business process;
and returning the calling code according to the preset service flow, calling the flow module corresponding to the service request, and acquiring the service flow until the acquired service flow is a service completion prompt.
Optionally, processing the service request according to the service flow specifically includes:
determining a first service component and a plurality of second service components according to the service flow;
respectively sending service information to the plurality of second service components through the first service component;
and receiving feedback data respectively returned by the plurality of second service components.
Optionally, the sending, by the first service component, service information to the plurality of second service components respectively includes:
for each second service component, determining service information corresponding to the second service component according to the request;
and sending the service information to the second service component.
Optionally, the method further includes:
determining an execution result according to the received feedback data;
and responding to the service request, and returning the execution result.
Optionally, the method further includes:
receiving the service information sent by the first service component through any second service component;
inquiring feedback data corresponding to the service information from a pre-associated database;
returning the feedback data to the first business component.
On the other hand, an embodiment of the present application provides a service request processing apparatus, where the service request processing apparatus includes:
a receiving unit which receives a service request;
and the processing unit is used for responding to the service request, calling a flow module corresponding to the service request according to a preset service flow calling code to acquire the service flow, and processing the service request according to the service flow, wherein the service flow calling code is suitable for the flow module corresponding to the first service assembly or any second service assembly.
In another aspect, an embodiment of the present application provides a service request processing device, where the service request processing device includes:
a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the method of processing a service request as claimed in any of the preceding claims. .
In yet another aspect, an embodiment of the present application provides a computer storage medium, where computer program instructions are stored on the computer storage medium, and when executed by a processor, the computer program instructions implement the service request processing method according to any one of the preceding claims.
The service request processing method, the service request processing device, the service request processing equipment and the computer storage medium can preferentially respond to the operation of a user, and adopt the unified standard to determine the calling interface of the flow module corresponding to each service request, so that the steps of calling the code through the preset service flow, calling the flow module and acquiring and processing the service request are realized, the service request processing efficiency is improved, and in addition, because each flow module can be called through the service flow calling code, the coupling degree is reduced, and the maintenance cost is reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a service request processing method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating a service request processing method according to another embodiment of the present application;
fig. 3 is a schematic structural diagram of a service request processing apparatus according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a service request processing device according to yet another embodiment of the present application.
Detailed Description
Features of various aspects and exemplary embodiments of the present application will be described in detail below, and in order to make objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are intended to be illustrative only and are not intended to be limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
With the development of computer technology, more and more users are accustomed to transacting business over a network. Service providers typically establish business systems that facilitate users handling business over the network. In order to improve efficiency and reduce maintenance cost, part of service providers adopt a micro-service architecture, namely, a large application is divided into a plurality of independent application components, and after a service system receives a service request of a user, the service system responds to the service request through the micro-service components to process the service request.
In general, a service needs to be executed according to a certain flow in an execution process. For example, when a deposit transaction is handled by an unmanned teller machine, a first step of placing a deposit card in a card slot, a second step of inputting a password, a third step of placing a banknote in a designated position, and a fourth step of determining the deposit amount and an account number to complete the deposit. Moreover, different services often need to be executed according to different procedures. For example, the deposit transaction is performed differently than the transaction performed on a savings card.
Thus, to improve the efficiency of business execution, service providers typically configure flow modules for each microservice component in a business system. After receiving the service request, the micro service component can process the service request according to the service flow sequence in the pre-configured flow module. However, different micro service components are generally used for implementing different services, and the flow modules are substantially equivalent to Java Archive (JAR file), so that different codes for calling the flow modules by the micro service components are different, the coupling degree between the codes for calling the flow modules and the flow modules is high, and the maintenance cost is high.
In order to solve the problem of the prior art, embodiments of the present application provide a method, an apparatus, a device, and a computer storage medium for processing a service request. First, a service request processing method provided in the embodiment of the present application is described below.
Fig. 1 shows a flowchart of a service request processing method according to an embodiment of the present application. As shown in fig. 1, a service request processing method provided in the embodiment of the present application includes the following steps:
s101: a service request is received.
Generally, a service request sent by a user is processed by a server of a service provider to execute a relevant service, and thus, in one or more embodiments of the present specification, the service request processing method may be executed by the server. Of course, the server is specifically a single server or a server group composed of multiple servers, and this specification is not limited thereto, and may be set as needed.
Specifically, in one or more embodiments of the present description, the server may receive a service request sent by a user.
By adopting the mode, the server can receive the service request sent by the user so as to process the service request.
S102: responding to the service request, calling a flow module corresponding to the service request according to a preset service flow calling code to obtain a service flow, and processing the service request according to the service flow, wherein the service flow calling code is suitable for the flow module corresponding to the first service assembly or any second service assembly.
In general, because the frames, structures and codes of the service components executing different services are different, the codes of the different service components calling the flow modules are also different. The calling codes of all the service components are different, the coupling between the service components and the flow module is high, and the maintenance cost is high. The server may then normalize the invocation interface of the flow module in response to the user's operation, and process the user's service request in the following manner.
In one or more embodiments of the present description, the server includes a first business component and a number of second business components. The first service component is used for executing query service, and the second service component is used for executing service which can adjust data in the database, such as modification service, deletion service and the like. In order to improve the service execution efficiency, the service request processing method can be executed by the first service component or any second service component.
Specifically, the server may determine service data according to the service request, determine a flow module including a service flow to be followed for processing the service request according to the service data, and use the flow module as a flow module corresponding to the service request.
Because different process modules need to be called through different calling codes, the maintenance cost is too high, and therefore the server can respond to the operation of a user and standardize the calling interfaces of the process modules, so that the first service assembly or any second service assembly in the server can call the corresponding process modules through the unified process calling codes.
Secondly, the server can call a flow module corresponding to the service request according to a preset flow calling code to obtain a service flow, and then process the service request according to the service flow.
However, in a normal situation, when the flow module is called, only one operation step is returned, so that when a plurality of steps need to be executed successively to process the service request, the server needs to call the flow module for many times until all the steps needed for executing the service are completely acquired.
Therefore, after executing the service corresponding to the service flow according to the service flow, the server may return to calling the flow module corresponding to the service request according to the flow calling code to obtain the service flow, and then process the service request according to the service flow, and repeat the step until the obtained service flow is a service completion prompt after calling the flow module corresponding to the service request.
By adopting the above mode, the server can call the flow module corresponding to the service request through the preset flow code so as to execute the service. And because the flow codes are unified, the coupling of the service and the flow modules is reduced, and the maintenance cost is reduced.
The foregoing is a specific implementation manner of the service request processing method provided in this embodiment of the present application. According to the method, the server can call the code and call the flow modules through the preset service flow, the processing efficiency of the service request is improved, and each flow module can be called through the service flow call code, so that the coupling degree is reduced, and the maintenance cost is reduced.
In addition, in order to improve the processing efficiency of the service request, as another implementation manner of the present application, the present application further provides another implementation manner of the service request processing method, and specifically refer to the following embodiments.
Referring to fig. 2, another implementation manner of the service request processing method provided by the present application includes the following steps:
s201: a service request is received.
S202: and determining a service type according to the service request, and forwarding the service request to a first service component or a second service component corresponding to the service type.
Generally, in order to improve the processing efficiency of service requests, a service provider may divide a service system into several micro service components, and each user of the micro service components executes several services.
Thus, in one or more embodiments of the present description, to improve the efficiency of processing service requests, the server may include a first service component and several second service components. The first service component is used for executing query service, and the second service component is used for executing service which can adjust data in the database, such as modification service, deletion service and the like. In order to improve the service execution efficiency, the service request processing method can be executed by the first service component or the second service component.
Specifically, the server may determine the service type corresponding to the service request according to the information carried in the service request. And determining a first service component or a second service component corresponding to the service type according to the service type, and forwarding the service request to the first service component or the second service component corresponding to the service type.
S203: responding to the service request, calling a flow module corresponding to the service request according to a preset service flow calling code to obtain a service flow, and processing the service request according to the service flow, wherein the service flow calling code is suitable for the flow module corresponding to the first service assembly or any second service assembly.
In one or more embodiments of the present specification, the first service component or the second service component of the server may receive the service request, respond to the service request, call a flow module corresponding to the service request according to a preset service flow call code, acquire a service flow, and process the service request according to the service flow. The specific process may refer to the content of step S102, and for brevity, will not be described in detail here.
S201 is the same as S101 in the above embodiment, and for the sake of brevity, will not be described in detail here.
By adopting the mode, the service request can be forwarded to the first service component or the second service component corresponding to the service request, and the first service component or the second service component processes the service request, so that the processing efficiency of the service request is improved.
In addition, in order to improve the processing efficiency of the service request, as another implementation manner of the present application, the present application further provides another implementation manner of the service request processing method, and specifically refer to the following embodiments.
Another implementation manner of the service request processing method provided by the present application includes the following steps:
s301: a service request is received.
S302: responding to the service request, calling a flow module corresponding to the service request according to a preset service flow calling code to acquire a service flow, and processing the service request according to the service flow, wherein the service flow calling code is suitable for the flow module corresponding to the first service assembly or any second service assembly.
Generally, in order to improve the processing efficiency of service requests, a service provider may divide a service system into several micro service components, and each micro service component user executes several services. After receiving a query service request sent by a user, a service system needs to determine a plurality of micro-service components corresponding to the query service request, and respectively obtains data from the plurality of query micro-service components and returns the data to the user. However, because the frames, structures, codes and the like of different microservice components are different, when the business system queries data from different microservice components, different query codes are required to be used for querying, and the efficiency is low.
Thus, in one or more embodiments of the present description, to improve the efficiency of processing service requests, the server may include a first service component and several second service components. The first service component is used for executing query service, and the second service component is used for executing service which can adjust data in the database, such as modification service, deletion service and the like.
Specifically, in one or more embodiments of the present specification, the server may determine service data according to the service request, determine a flow module including a service flow to be followed for processing the service request according to the service data, and use the flow module as a flow module corresponding to the service request.
Secondly, the server can call a flow module corresponding to the service request according to a preset flow calling code to obtain a service flow, and then determines the service to be a query service according to the service flow. Then, the server may determine a first service component for executing the query service, and then determine a plurality of second service components corresponding to the service request according to the service request, that is, determine a plurality of second service components that need to be queried for processing the service request.
Third, the server can determine service information for querying the data of the second service component according to the service request aiming at each second service component. And sending the service information to the second service component.
Finally, the server can determine an execution result according to a plurality of feedback data returned by a plurality of second service components, respond to the service request, return the execution result, and complete the processing of the query service.
S301 is the same as S101 in the above embodiment, and for the sake of brevity, will not be described in detail here.
By adopting the mode, the server can process the query service through the first service component for processing the query service when the service is determined to be the query service, so that the service processing efficiency is improved.
In addition, in order to improve the processing efficiency of the service request, as another implementation manner of the present application, the present application further provides another implementation manner of the service request processing method, and specifically refer to the following embodiments.
Another implementation manner of the service request processing method provided by the present application includes the following steps:
s401: a service request is received.
S402: responding to the service request, calling a flow module corresponding to the service request according to a preset service flow calling code to acquire a service flow, and processing the service request according to the service flow, wherein the service flow calling code is suitable for the flow module corresponding to the first service assembly or any second service assembly.
S403: and receiving the service information sent by the first service component through any second service component, inquiring feedback data corresponding to the service information from a pre-associated database, and returning the feedback data to the first service component.
Specifically, in one or more embodiments of the present specification, after determining that the service request is an inquiry service, the server may receive, by using any second service component corresponding to the determined service request, service information sent by the first service component. And then, inquiring feedback data corresponding to the service information from a database pre-associated with the second service component, and returning the feedback data to the first service component.
S401 and S402 are the same as S301 and S302 in the above embodiments, and for the sake of brevity, will not be described in detail here.
By adopting the mode, the server can process the query service through the first service component for processing the query service when the service is determined to be the query service, so that the service processing efficiency is improved.
In addition, the data acquisition, storage, use, processing and the like in the technical scheme of the application all conform to relevant regulations of national laws and regulations.
Based on the service request processing method provided by the above embodiment, correspondingly, the present application also provides a specific implementation manner of the service request processing apparatus. Please see the examples below.
Referring to fig. 3 first, a service request processing apparatus provided in an embodiment of the present application includes the following units:
a receiving unit 501, receiving a service request;
the processing unit 502, in response to the service request, calls a flow module corresponding to the service request according to a preset service flow call code to obtain a service flow, and processes the service request according to the service flow, where the service flow call code is applicable to the flow module corresponding to the first service component or any second service component.
As can be seen, the processing unit 502 can call the flow modules through the preset service flow call codes, so as to improve the processing efficiency of the service request, and each flow module can be called through the service flow call codes, so as to reduce the coupling degree and reduce the maintenance cost
As an implementation manner of the present application, in order to improve efficiency of processing a service request, the apparatus may further include:
the processing unit 502 calls the flow module corresponding to the service request according to a preset service flow calling code to obtain a service flow, executes the service corresponding to the service flow according to the service flow, returns to the preset service flow calling code, calls the flow module corresponding to the service request to obtain the service flow until the obtained service flow is a service completion prompt.
As an implementation manner of the present application, in order to improve efficiency of processing a service request, the apparatus may further include:
the processing unit 502 determines a first service component and a plurality of second service components according to the service flow, respectively sends service information to the plurality of second service components through the first service component, and receives feedback data respectively returned by the plurality of second service components.
As an implementation manner of the present application, in order to improve efficiency of processing a service request, the apparatus may further include:
the processing unit 502 determines, for each second service component, service information corresponding to the second service component according to the request, and sends the service information to the second service component.
As an implementation manner of the present application, in order to improve efficiency of processing a service request, the apparatus may further include:
the processing unit 502 determines an execution result according to the received feedback data, and returns the execution result in response to the service request.
As an implementation manner of the present application, in order to improve efficiency of processing a service request, the apparatus may further include:
the processing unit 502 receives the service information sent by the first service component through any one of the second service components, queries feedback data corresponding to the service information from a pre-associated database, and returns the feedback data to the first service component.
Fig. 4 shows a hardware structure diagram of a service request processing device according to an embodiment of the present application.
The service request processing device may comprise a processor 601 and a memory 602 in which computer program instructions are stored.
Specifically, the processor 601 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 602 may include mass storage for data or instructions. By way of example, and not limitation, memory 602 may include a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, tape, or Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 602 may include removable or non-removable (or fixed) media, where appropriate. The memory 602 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 602 is a non-volatile solid-state memory.
In certain embodiments, memory 602 comprises Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically Alterable ROM (EAROM), or flash memory, or a combination of two or more of these.
The memory may include Read Only Memory (ROM), random Access Memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical/tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors) it is operable to perform operations described with reference to the method according to an aspect of the disclosure.
The processor 601 may implement any one of the service request processing methods in the above embodiments by reading and executing the computer program instructions stored in the memory 602.
In one example, the service request processing device may also include a communication interface 603 and a bus 610. As shown in fig. 4, the processor 601, the memory 602, and the communication interface 603 are connected via a bus 610 to complete communication therebetween.
The communication interface 603 is mainly used for implementing communication between modules, apparatuses, units and/or devices in this embodiment.
The bus 610 includes hardware, software, or both to couple the components of the service request processing device to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 610 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
The service request processing device may execute the service request processing method in the embodiment of the present application based on the currently intercepted spam short messages and the short messages reported by the user, thereby implementing the service request processing method and apparatus described in conjunction with fig. 1 and 3.
In addition, in combination with the service request processing method in the foregoing embodiment, the embodiment of the present application may provide a computer storage medium to implement. The computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement any of the service request processing methods in the above embodiments.
It is to be understood that the present application is not limited to the particular arrangements and instrumentality described above and shown in the attached drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions or change the order between the steps after comprehending the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed at the same time.
Aspects of the present disclosure are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus and computer program products according to embodiments of the disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware for performing the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As described above, only the specific embodiments of the present application are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered within the scope of the present application.

Claims (10)

1. A service request processing method is applied to a first service component or any second service component of a server, and is characterized by comprising the following steps:
receiving a service request;
responding to the service request, calling a flow module corresponding to the service request according to a preset service flow calling code to acquire a service flow, and processing the service request according to the service flow, wherein the service flow calling code is suitable for the flow module corresponding to the first service assembly or any second service assembly.
2. The method according to claim 1, wherein a flow module corresponding to the service request is called according to a preset service flow calling code to obtain a service flow, and the service request is processed according to the service flow, specifically comprising:
calling a flow module corresponding to the service request according to a preset service flow calling code to acquire a service flow;
executing the service corresponding to the service flow according to the service flow;
and returning the calling code according to the preset service flow, calling the flow module corresponding to the service request, and acquiring the service flow until the acquired service flow is a service completion prompt.
3. The method of claim 1, wherein the processing the service request according to the service flow specifically includes:
determining a first service component and a plurality of second service components according to the service flow;
respectively sending service information to the plurality of second service components through the first service component;
and receiving feedback data respectively returned by the plurality of second service components.
4. The method according to claim 3, wherein the sending, by the first service component, the service information to the plurality of second service components respectively comprises:
for each second service component, determining service information corresponding to the second service component according to the request;
and sending the service information to the second service component.
5. The method of claim 3, further comprising:
determining an execution result according to the received feedback data;
and responding to the service request, and returning the execution result.
6. The method of claim 3, further comprising:
receiving the service information sent by the first service component through any second service component;
inquiring feedback data corresponding to the service information from a pre-associated database;
returning the feedback data to the first business component.
7. A service request processing apparatus, characterized in that the apparatus comprises:
a receiving unit which receives a service request;
and the processing unit responds to the service request, calls a flow module corresponding to the service request according to a preset service flow calling code to acquire the service flow, and processes the service request according to the service flow, wherein the service flow calling code is suitable for the flow module corresponding to the first service assembly or any second service assembly.
8. A service request processing device, characterized in that the device comprises: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the method of handling service requests according to any of claims 1-6.
9. A computer-readable storage medium, having stored thereon computer program instructions, which, when executed by a processor, implement the service request processing method according to any one of claims 1 to 6.
10. A computer program product, characterized in that instructions in the computer program product, when executed by a processor of an electronic device, cause the electronic device to perform a service request processing method according to any of claims 1-6.
CN202211202751.2A 2022-09-29 2022-09-29 Service request processing method, device, equipment and computer storage medium Pending CN115421823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211202751.2A CN115421823A (en) 2022-09-29 2022-09-29 Service request processing method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211202751.2A CN115421823A (en) 2022-09-29 2022-09-29 Service request processing method, device, equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN115421823A true CN115421823A (en) 2022-12-02

Family

ID=84205606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211202751.2A Pending CN115421823A (en) 2022-09-29 2022-09-29 Service request processing method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN115421823A (en)

Similar Documents

Publication Publication Date Title
EP3968607B1 (en) Service invocation methods
CN111143371A (en) Data query method, device, equipment, system and medium
CN108810116A (en) Message treatment method and Related product
CN109104701B (en) Information sending method based on equipment identification code and server
CN108429739B (en) Method, system and terminal equipment for identifying honeypots
CN111385256A (en) Method, device, equipment and medium for migrating batch applications
CN111328067A (en) User information checking method, device, system, equipment and medium
CN111371586B (en) Log data transmission method, device and equipment
CN115421823A (en) Service request processing method, device, equipment and computer storage medium
CN101867918B (en) Real-name system registration state acquiring method, device and terminal
CN110941805B (en) Identity authentication method and device
CN110493735B (en) Short message processing method and device
CN111147480B (en) File access control method, device, equipment and medium
CN112272211A (en) Service request processing method, device and system
CN103428280A (en) Mobile terminal based mobile service data acquisition method and system
CN1251534C (en) Message process
CN112000713A (en) Data processing method, device, equipment and medium
CN110072200B (en) Short message sending control processing method and device and computer equipment
CN116245516A (en) Processing method, device, equipment and storage medium for outbound transaction request
CN112637362B (en) Request result determining method, device and system, electronic equipment and storage medium
CN111833036B (en) Method, apparatus, device and computer readable medium for judging repeat transaction
CN116775538A (en) File transmission method, device, equipment, system, medium and product
CN114448720A (en) Account registration method and device
CN117172769A (en) Resource transfer method, device, equipment and storage medium
CN113032433A (en) Data query method and device, electronic equipment and computer readable 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