CN110022351B - Service request processing method and device - Google Patents

Service request processing method and device Download PDF

Info

Publication number
CN110022351B
CN110022351B CN201910125543.9A CN201910125543A CN110022351B CN 110022351 B CN110022351 B CN 110022351B CN 201910125543 A CN201910125543 A CN 201910125543A CN 110022351 B CN110022351 B CN 110022351B
Authority
CN
China
Prior art keywords
service request
single number
service
external single
routing
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.)
Active
Application number
CN201910125543.9A
Other languages
Chinese (zh)
Other versions
CN110022351A (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.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201910125543.9A priority Critical patent/CN110022351B/en
Publication of CN110022351A publication Critical patent/CN110022351A/en
Application granted granted Critical
Publication of CN110022351B publication Critical patent/CN110022351B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method and a device for processing a service request, wherein the method comprises the following steps: receiving a service request, wherein the service request comprises: type identification, current external single number; determining the type of the service request according to the type identifier; and when the service request is a creating-type service request, determining whether the current external single number exists in the corresponding relation between the stored external single number and the stored internal single number, if not, routing the service request to a new service system, generating a current internal single number, and storing the corresponding relation between the current external single number and the current internal single number.

Description

Service request processing method and device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for processing a service request.
Background
In an actual application scenario, one service system often receives a service request sent by another service system, and provides corresponding services according to an external single number carried in the service request.
With the upgrade of services and technologies, service systems often face larger reconstruction and reconstruction. For example, after a service is upgraded, an old service system cannot meet the service requirement after the upgrade, and the old service system needs to be modified into a new service system. An update of a business system means that a business originally handled by an old business system is migrated into a new business system. And the stable migration of services is crucial for service systems to provide high quality of service.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for processing a service request, which can implement smooth migration of a service.
In a first aspect, an embodiment of the present invention provides a method for processing a service request, including:
receiving a service request, wherein the service request comprises: type identification, current external single number;
determining the type of the service request according to the type identifier;
when the service request is a creating type service request, determining whether the current external single number exists in the corresponding relation between the stored external single number and the internal single number, if not,
and routing the service request to a new service system, generating a current internal single number, and storing the corresponding relation between the current external single number and the current internal single number.
In a second aspect, an embodiment of the present invention provides a device for processing a service request, including:
a traffic ingress unit, configured to receive a service request, where the service request includes: type identification, current external single number;
the service distribution unit is used for determining the type of the service request according to the type identifier;
and the flow switching unit is used for determining whether the current external single number exists in the corresponding relation between the stored external single number and the stored internal single number when the service request is a creating-type service request, routing the service request to a new service system if the current external single number does not exist in the corresponding relation between the stored external single number and the stored internal single number, generating a current internal single number, and storing the corresponding relation between the current external single number and the current internal single number.
The embodiment of the invention adopts at least one technical scheme which can achieve the following beneficial effects: the method stores the corresponding relation between the external single number and the internal single number, and switches the created service request to a new service system under the condition of not stopping the work of the service system, thereby ensuring the availability of the service and improving the experience of users. Meanwhile, the method can ensure that the repeatedly sent establishment type service requests are processed consistently, and the quality of service is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a method for processing a service request according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for processing a service request according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a service request processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for processing a service request, where the method may include the following steps:
step 101: receiving a service request, wherein the service request comprises: type identification, current external single number.
The type identifier, the current external single number and the service information can be included in the created service request. For example, the user orders and purchases the commodity B in the service system a, and the order number provided by the service system a to the user is the current external order number. The create-type service request may be a payment request, a registration request, etc.
Any one or more of type identification, current external single number, current internal single number and service information can be included in the dependent service request. The current internal single number corresponds to the current external single number. The dependent service request may be a refund request.
For example, the user purchases a product B at a business system a (e-commerce platform), and the business system a generates an order number 001. The method receives a creating type service request which is sent by a service system A and comprises an order number 001, and determines that a payment order number is 002.
At this time, the order number 001 is the above-mentioned current external order number.
When the user returns the commodity B, the method receives a dependent service request which is sent by the service system A and comprises an order number 001 and a payment order number 002.
In this case, the order number 001 is the current external ticket number, and the payment ticket number 002 is the current internal ticket number.
It should be noted that the create-type service request refers to a service request generated without depending on a previous service, and the dependent-type service request is generated based on a previous service.
Step 102: and determining the type of the service request according to the type identifier.
The types of service requests include: a create service request, and/or a dependent service request.
Step 103: when the service request is a creating type service request, and the stored corresponding relation between the external single number and the internal single number does not have the current external single number, the service request is routed to a new service system, the current internal single number is generated, and the corresponding relation between the current external single number and the current internal single number is stored.
The phrase "no current external single number exists in the corresponding relationship between the external single number and the internal single number" means that no corresponding relationship including the current external single number exists in the corresponding relationship between the external single number and the internal single number.
When the type of the service request is a creation type, it is indicated that the service corresponding to the service request is new, and the service can be switched to a new service system without depending on other services. In the embodiment of the invention, the current internal single number corresponds to the new service system. For a create-type service request, the payment order number 002 is the current internal order number.
The current internal account can identify a service system for processing a service request corresponding to the current external account.
The method stores the corresponding relation between the external single number and the internal single number, and switches the created service request to a new service system under the condition of not stopping the work of the service system, thereby ensuring the availability of the service and improving the experience of users. Meanwhile, the method can ensure that the repeatedly sent establishment type service requests are processed consistently, and the quality of service is ensured.
In one embodiment of the present invention, in order to ensure consistent processing of repeatedly transmitted create-type service requests, the method further comprises:
a1: and when the service request is a created service request and the current external single number exists in the corresponding relation between the external single number and the internal single number, determining a first service system corresponding to the service request according to the internal single number corresponding to the current external single number.
For the creating type service request, when the current external single number exists in the corresponding relation between the external single number and the internal single number, it indicates that the creating type service request has been processed once, the creating type service request is repeatedly sent, and the service system executing the request should be consistent with the previously determined service system. Of course, for the repeatedly transmitted create-type service request or the repeatedly transmitted dependent-type service request, the execution may also be rejected, and the create-type service request or the repeatedly transmitted dependent-type service request is prompted.
A2: routing the service request to a first service system; the first service system is a new service system or an old service system.
In one embodiment of the invention, the method further comprises: and when the service request is a dependent service request, determining whether the current external single number exists in the corresponding relation between the external single number and the internal single number, and if not, routing the service request to the old service system.
For a dependent service request, when there is no current external account in the corresponding relationship between the external single number and the internal single number, it is indicated that the internal service that the dependent service request depends on should be processed earlier, that is, the current internal account is generated earlier, and it can be considered that there is no new service system at that time.
In one embodiment of the present invention, in order to ensure consistent processing of the repeatedly transmitted dependent service requests, the method further includes:
b1: and when the service request is a dependent service request, determining whether the current external single number exists in the corresponding relation between the external single number and the internal single number, and if so, determining a second service system corresponding to the service request according to the internal single number corresponding to the current external single number.
For the dependent service request, when the current external single number exists in the corresponding relationship between the external single number and the internal single number, it indicates that the dependent service request has been processed, the dependent service request is repeatedly sent, and the service system executing the request should be consistent with the previously determined service system.
B2: routing the service request to a second service system; wherein, the second service system is a new service system or an old service system.
It should be noted that, for the dependent service request, the second service system may also be directly determined according to the current internal single number carried by the dependent service request, without the need of the corresponding relationship between the stored external single number and the stored internal single number.
In an embodiment of the present invention, in order to ensure that a new service system and an old service system realize smooth flow switching and prevent unstable new service system caused by excessive switched flow, routing a service request to the new service system includes:
routing a first number of service requests of the service requests to a new service system, and routing a second number of service requests of the service requests to an old service system; wherein the first number and the second number meet a preset tangential flow proportion.
In an actual application scenario, the traffic proportion can be dynamically adjusted according to the operating conditions of the new service system and the old service system. And determining whether to route the service request to a new service system according to the flow cutting proportion.
In one embodiment of the present invention, in order to realize smooth interfacing with a new service system and an old service system, routing a service request to the new service system includes:
routing the service request to a new service system according to a preset access mode; wherein, the access mode includes: any one or more of RPC (Remote Procedure Call), HTTP (Hypertext Transfer Protocol), and HTTPs (Hypertext Transfer Protocol Secure).
Preferably, the service request is routed to the new service system using RPC. The service request is routed into the old service system using HTTP or HTTPs.
As shown in fig. 2, an embodiment of the present invention will describe in detail a method for processing a service request, where the method includes:
step 201: receiving a service request, wherein the service request comprises: type identification, current external single number.
Step 202: and determining the type of the service request according to the type identifier, executing step 203 when the service request is a creation type service request, and executing step 206 when the service request is a dependent type service request.
In an actual application scenario, different types of service requests correspond to different processing logics, and therefore, the service requests are processed separately. Namely, the creating service request enters the creating service entrance, and the dependent service request enters the dependent service entrance.
Step 203: and determining whether the stored corresponding relation between the external single number and the internal single number has the current external single number, if so, executing the step 204, otherwise, executing the step 205.
Step 204: determining a first service system corresponding to the service request according to the internal single number corresponding to the current external single number, and routing the service request to the first service system; the first service system is a new service system or an old service system.
Step 205: and routing the service request to a new service system, generating a current internal single number, and storing the corresponding relation between the current external single number and the current internal single number.
Step 206: and (4) determining whether the corresponding relation between the external single number and the internal single number has the current external single number, if so, executing the step 207, otherwise, executing the step 208.
Step 207: determining a second service system corresponding to the service request according to the internal single number corresponding to the current external single number; routing the service request to a second service system; wherein, the second service system is a new service system or an old service system.
Step 208: the service request is routed to the old service system.
In an actual application scenario, as the flow switching process proceeds, the created service request realizes 100% flow switching, that is, all the received created service requests are routed to the new service system. At this time, because the dependent service is generally an asynchronous service, a short pause processing can be performed on the dependent service request. When the processing of the dependent service request is suspended, all data in the old service system can be converted into the data format of the new service system according to the mapping rule, and the data is imported into the database of the new service system.
When the order creation class service switching reaches 100%, all requests are requested to the new system, and the dependent class service needs to be stopped. Typically, the dependency service is an asynchronous service, such as a refund. Since the service result is not immediately available, a short stop can be made. At this time, the dependent service is stopped, all data of the old system are converted into the data format of the new system according to a certain mapping rule, and the data format is imported into the database of the new system. Thereafter, processing of dependent service requests can resume, and all service requests will be routed to the new service system.
As shown in fig. 3, the present invention provides a service request processing apparatus, including:
a traffic ingress unit 301, configured to receive a service request, where the service request includes: type identification, current external single number;
a service splitting unit 302, configured to determine the type of the service request according to the type identifier;
and a flow switching unit 303, configured to determine whether a current external single number exists in a corresponding relationship between the stored external single number and the stored internal single number when the service request is a create-type service request, route the service request to a new service system if the current external single number does not exist in the corresponding relationship between the stored external single number and the stored internal single number, generate a current internal single number, and store a corresponding relationship between the current external single number and the current internal single number.
In an embodiment of the present invention, the flow switching unit 303 is further configured to determine, when the service request is a create-type service request, and a current external single number exists in a corresponding relationship between the external single number and the internal single number, a first service system corresponding to the service request according to the internal single number corresponding to the current external single number; routing the service request to a first service system; the first service system is a new service system or an old service system.
In an embodiment of the present invention, the flow switching unit 303 is further configured to determine whether a current external single number exists in a corresponding relationship between the external single number and the internal single number when the service request is a dependent service request, and if not, route the service request to the old service system.
In an embodiment of the present invention, the flow switching unit 303 is further configured to determine, when the service request is a dependent service request and a current external single number exists in a corresponding relationship between the external single number and the internal single number, a second service system corresponding to the service request according to the internal single number corresponding to the current external single number; routing the service request to a second service system; wherein, the second service system is a new service system or an old service system.
In an embodiment of the present invention, the flow switching unit 303 is configured to route a first number of service requests of the service requests to a new service system, and route a second number of service requests of the service requests to an old service system; wherein the first number and the second number meet a preset tangential flow proportion.
In an embodiment of the present invention, the flow switching unit 303 is configured to route the service request to a new service system according to a preset access manner; wherein, the access mode includes: any one or more of RPC, HTTP and HTTPs.
An embodiment of the present invention provides a device for processing a service request, including: a processor and a memory;
the memory is used for storing execution instructions, and the processor is used for executing the execution instructions stored by the memory to realize the method of any one of the above embodiments.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that 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. The use of the phrase "including a" does not exclude the presence of other, identical elements in the process, method, article, or apparatus that comprises the same element, whether or not the same element is present in all of the same element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (12)

1. A method for processing service request includes:
receiving a service request, wherein the service request comprises: type identification, current external single number;
determining the type of the service request according to the type identifier;
when the service request is a creating type service request, determining whether the current external single number exists in the corresponding relation between the stored external single number and the internal single number, if not,
and routing the service request to a new service system, generating a current internal single number, and storing the corresponding relation between the current external single number and the current internal single number.
2. The method for processing service request according to claim 1, further comprising:
when the service request is a creating type service request and the current external single number exists in the corresponding relation between the external single number and the internal single number,
determining a first service system corresponding to the service request according to the internal single number corresponding to the current external single number;
routing the service request to the first service system.
3. The method for processing service request according to claim 1, further comprising:
when the service request is a dependent service request, determining whether the current external single number exists in the corresponding relation between the external single number and the internal single number, if so,
determining a second service system corresponding to the service request according to the internal single number corresponding to the current external single number;
routing the service request to the second service system.
4. The method for processing service request according to claim 1, further comprising:
and when the service request is a dependent service request, determining whether the current external single number exists in the corresponding relation between the external single number and the internal single number, and if not, routing the service request to an old service system.
5. The method of processing a service request according to claim 1,
said routing said service request to a new service system comprises:
routing a first number of service requests of the service requests to the new service system, and routing a second number of service requests of the service requests to the old service system; wherein the first number and the second number satisfy a preset tangential flow ratio.
6. The method of processing a service request according to any of claims 1-5,
said routing said service request to a new service system comprises:
routing the service request to the new service system according to a preset access mode; wherein, the access mode comprises: the remote procedure calls any one or more of RPC, hypertext transfer protocol (HTTP) and hypertext transfer security protocol (HTTPS).
7. A service request processing apparatus, comprising:
a traffic ingress unit, configured to receive a service request, where the service request includes: type identification, current external single number;
the service distribution unit is used for determining the type of the service request according to the type identifier;
and the flow switching unit is used for determining whether the current external single number exists in the corresponding relation between the stored external single number and the stored internal single number when the service request is a creating-type service request, routing the service request to a new service system if the current external single number does not exist in the corresponding relation between the stored external single number and the stored internal single number, generating a current internal single number, and storing the corresponding relation between the current external single number and the current internal single number.
8. The service request processing apparatus of claim 7,
the flow switching unit is further configured to determine, when the service request is a create-type service request and the current external single number exists in the correspondence between the external single number and the internal single number, a first service system corresponding to the service request according to the internal single number corresponding to the current external single number; routing the service request to the first service system.
9. The service request processing apparatus of claim 7,
the flow switching unit is further configured to determine whether the current external single number exists in a corresponding relationship between the external single number and the internal single number when the service request is a dependent service request, and if so, determine a second service system corresponding to the service request according to the internal single number corresponding to the current external single number; routing the service request to the second service system.
10. The service request processing apparatus of claim 7,
the flow switching unit is further configured to determine whether the current external single number exists in a corresponding relationship between the external single number and the internal single number when the service request is a dependent service request, and route the service request to an old service system if the current external single number does not exist in the corresponding relationship between the external single number and the internal single number.
11. The service request processing apparatus of claim 7,
the flow switching unit is used for routing a first number of service requests in a plurality of service requests to the new service system and routing a second number of service requests in the plurality of service requests to the old service system; wherein the first number and the second number satisfy a preset tangential flow ratio.
12. The service request processing apparatus according to any of claims 7-11,
the flow switching unit is used for routing the service request to the new service system according to a preset access mode; wherein, the access mode comprises: the remote procedure calls any one or more of RPC, hypertext transfer protocol (HTTP) and hypertext transfer security protocol (HTTPS).
CN201910125543.9A 2019-02-20 2019-02-20 Service request processing method and device Active CN110022351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910125543.9A CN110022351B (en) 2019-02-20 2019-02-20 Service request processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910125543.9A CN110022351B (en) 2019-02-20 2019-02-20 Service request processing method and device

Publications (2)

Publication Number Publication Date
CN110022351A CN110022351A (en) 2019-07-16
CN110022351B true CN110022351B (en) 2021-07-06

Family

ID=67189022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910125543.9A Active CN110022351B (en) 2019-02-20 2019-02-20 Service request processing method and device

Country Status (1)

Country Link
CN (1) CN110022351B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111404979B (en) * 2019-09-29 2023-04-07 杭州海康威视系统技术有限公司 Method and device for processing service request and computer readable storage medium
CN111782423B (en) * 2020-07-03 2023-08-08 中国工商银行股份有限公司 Service processing method, device and equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544057A (en) * 2012-07-09 2014-01-29 腾讯科技(深圳)有限公司 Switching method and switching system for data service systems
CN106294115A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 The method of testing of a kind of application system animal migration and device
CN106549878A (en) * 2016-10-26 2017-03-29 中国银联股份有限公司 A kind of service shunting method and device
CN106899666A (en) * 2017-02-21 2017-06-27 阿里巴巴集团控股有限公司 A kind of data processing method and device for service identification
CN106909597A (en) * 2016-06-30 2017-06-30 阿里巴巴集团控股有限公司 A kind of database migration method and apparatus
CN107015972A (en) * 2016-01-27 2017-08-04 五八同城信息技术有限公司 A kind of computer room business migration methods, devices and systems
CN107133788A (en) * 2017-05-02 2017-09-05 深圳乐信软件技术有限公司 A kind of reimbursement processing method and processing device
CN107592343A (en) * 2017-08-25 2018-01-16 泰康保险集团股份有限公司 Data processing method, device, computer-readable recording medium and electronic equipment
CN107688899A (en) * 2017-08-22 2018-02-13 北京潘达互娱科技有限公司 Business process monitoring method and device
CN108667938A (en) * 2018-05-18 2018-10-16 阿里巴巴集团控股有限公司 Switch the method, apparatus and server of flow

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8943086B2 (en) * 2012-06-29 2015-01-27 Sap Se Model-based backend service adaptation of business objects

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544057A (en) * 2012-07-09 2014-01-29 腾讯科技(深圳)有限公司 Switching method and switching system for data service systems
CN106294115A (en) * 2015-06-11 2017-01-04 阿里巴巴集团控股有限公司 The method of testing of a kind of application system animal migration and device
CN107015972A (en) * 2016-01-27 2017-08-04 五八同城信息技术有限公司 A kind of computer room business migration methods, devices and systems
CN106909597A (en) * 2016-06-30 2017-06-30 阿里巴巴集团控股有限公司 A kind of database migration method and apparatus
CN106549878A (en) * 2016-10-26 2017-03-29 中国银联股份有限公司 A kind of service shunting method and device
CN106899666A (en) * 2017-02-21 2017-06-27 阿里巴巴集团控股有限公司 A kind of data processing method and device for service identification
CN107133788A (en) * 2017-05-02 2017-09-05 深圳乐信软件技术有限公司 A kind of reimbursement processing method and processing device
CN107688899A (en) * 2017-08-22 2018-02-13 北京潘达互娱科技有限公司 Business process monitoring method and device
CN107592343A (en) * 2017-08-25 2018-01-16 泰康保险集团股份有限公司 Data processing method, device, computer-readable recording medium and electronic equipment
CN108667938A (en) * 2018-05-18 2018-10-16 阿里巴巴集团控股有限公司 Switch the method, apparatus and server of flow

Also Published As

Publication number Publication date
CN110022351A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN107038042B (en) Service execution method and device
CN111756550B (en) Block chain consensus method and device
CN106899666B (en) Data processing method and device for service identification
CN107070858B (en) Service processing method and device
CN107038041B (en) Data processing method, error code dynamic compatibility method, device and system
CN107578338B (en) Service publishing method, device and equipment
CN107479868B (en) Interface loading method, device and equipment
CN107528885B (en) Service request processing method and device
CN113495797B (en) Message queue and consumer dynamic creation method and system
CN112597013A (en) Online development and debugging method and device
CN110022351B (en) Service request processing method and device
CN111552945B (en) Resource processing method, device and equipment
CN114547024A (en) SQL statement risk detection method, device, equipment and medium
CN112163150A (en) Information pushing method and device
CN110046052B (en) Service calling method and device
CN114500421B (en) Message processing method and system
CN111459573B (en) Method and device for starting intelligent contract execution environment
CN109597695B (en) Data processing method, device and equipment
CN108769152B (en) Service refresh policy registration method, service refresh request method, device and equipment
CN106548331B (en) Method and device for determining release sequence
CN114625410A (en) Request message processing method, device and equipment
CN112306710A (en) Service processing system, interface calling method and device
CN110008358B (en) Resource information display method and system, client and server
CN111796864A (en) Data verification method and device
CN112596781A (en) Service execution and service configuration 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
TA01 Transfer of patent application right

Effective date of registration: 20200928

Address after: 27 Hospital Road, George Town, Grand Cayman ky1-9008

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: 27 Hospital Road, George Town, Grand Cayman ky1-9008

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200928

Address after: 27 Hospital Road, George Town, Grand Cayman ky1-9008

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240228

Address after: 128 Meizhi Road, Guohao Times City # 20-01, Singapore 189773

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: 27 Hospital Road, George Town, Grand Cayman ky1-9008

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands

TR01 Transfer of patent right