CN110022351A - A kind for the treatment of method and apparatus of service request - Google Patents

A kind for the treatment of method and apparatus of service request Download PDF

Info

Publication number
CN110022351A
CN110022351A CN201910125543.9A CN201910125543A CN110022351A CN 110022351 A CN110022351 A CN 110022351A CN 201910125543 A CN201910125543 A CN 201910125543A CN 110022351 A CN110022351 A CN 110022351A
Authority
CN
China
Prior art keywords
service request
odd numbers
routed
service
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910125543.9A
Other languages
Chinese (zh)
Other versions
CN110022351B (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
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding 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

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind for the treatment of method and apparatus of service request, wherein this method comprises: receiving service request, wherein include: type identification, current external odd numbers in the service request;According to the type identification, the type of the service request is determined;When the service request is creation type service request, determining in the external odd numbers of storage and the corresponding relationship of internal odd numbers whether there is the current external odd numbers, if not, the service request is routed in new business system, and current internal odd numbers is generated, store the corresponding relationship of the current external odd numbers Yu the current internal odd numbers.

Description

A kind for the treatment of method and apparatus of service request
Technical field
The present invention relates to field of computer technology, in particular to a kind for the treatment of method and apparatus of service request.
Background technique
In practical application scene, an operation system usually receives the service request of another operation system transmission, and According to the external odd numbers carried in service request, corresponding service is provided.
With business, technology upgrading, operation system often faces biggish reconstruct and transformation.For example, after upgrading service, it is old Operation system is no longer satisfied the business demand after upgrading, then needs the old service system reform into new business system.Business The business migration that the update of system means to handle script by old service system is into new business system.And the stabilization of business It is vital for migrating and providing the service of high quality for operation system.
Summary of the invention
In consideration of it, can be realized business the embodiment of the invention provides a kind for the treatment of method and apparatus of service request Graceful migration.
In a first aspect, the embodiment of the invention provides a kind of processing methods of service request, comprising:
Receive service request, wherein include: type identification, current external odd numbers in the service request;
According to the type identification, the type of the service request is determined;
When the service request is creation type service request, the external odd numbers of storage and the corresponding pass of internal odd numbers are determined It whether there is the current external odd numbers in system, if not,
The service request is routed in new business system, and generates current internal odd numbers, stores the current external The corresponding relationship of odd numbers and the current internal odd numbers.
Second aspect, the embodiment of the invention provides a kind of processing units of service request, comprising:
Traffic ingress unit, for receiving service request, wherein include: type identification in the service request, current outer Portion's odd numbers;
Service distributing unit, for determining the type of the service request according to the type identification;
Cut stream unit, for when the service request be creation type service request when, determine storage external odd numbers with it is interior It whether there is the current external odd numbers in the corresponding relationship of portion's odd numbers, if not, the service request is routed to new business In system, and current internal odd numbers is generated, stores the corresponding relationship of the current external odd numbers Yu the current internal odd numbers.
At least one above-mentioned technical solution used in the embodiment of the present invention can reach following the utility model has the advantages that this method passes through The corresponding relationship for storing external odd numbers and internal odd numbers, in the case where not stopping the work of operation system, by creation type business Request, which is cut, flow to new business system, can guarantee the availability of service, promote the experience of user.Meanwhile this method can guarantee The creation type service request that counterweight recurrence is sent carries out consistent processing, guarantees the quality of business service.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of the processing method of service request provided by one embodiment of the present invention;
Fig. 2 is a kind of flow chart of the processing method for service request that another embodiment of the present invention provides;
Fig. 3 is a kind of structural schematic diagram of the processing unit of service request provided by one embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
As shown in Figure 1, this method may include following the embodiment of the invention provides a kind of processing method of service request Step:
Step 101: receiving service request, wherein include: type identification, current external odd numbers in service request.
It may include type identification, current external odd numbers, any one in business information or more in creation type service request Kind.For example, user places an order in operation system A buys commodity B, the order number that operation system A is supplied to user is current external Odd numbers.Creation type service request can be payment request, registration request etc..
May include in dependent form service request type identification, current external odd numbers, current internal odd numbers, in business information Any one or more.Current internal odd numbers is corresponding with current external odd numbers.Dependent form service request can be refund request.
For example, user has purchased commodity B in operation system A (electric business platform), operation system A generates order number 001.The party What method received operation system A transmission includes the creation type service request of order number 001, and determines that payment odd numbers is 002.
At this point, order number 001 is above-mentioned current external odd numbers.
When user retracts commodity B, what this method received operation system A transmission includes order number 001 and payment odd numbers 002 Dependent form service request.
At this point, order number 001 is above-mentioned current external odd numbers, payment odd numbers 002 is above-mentioned current internal odd numbers.
It should be noted that creation type service request refer to needing not rely on before business and the service request that generates, And dependent form service request is generated based on existing business before.
Step 102: according to type identification, determining the type of service request.
The type of service request includes: creation type service request, and/or, dependent form service request.
Step 103: when the corresponding relationship that service request is creation type service request, the external odd numbers of storage and internal odd numbers In be not present current external odd numbers when, service request is routed in new business system, and generate current internal odd numbers, storage is worked as The corresponding relationship of preceding external odd numbers and current internal odd numbers.
" current external odd numbers is not present in the corresponding relationship of external odd numbers and internal odd numbers " refer to external odd numbers with it is interior The corresponding relationship comprising current external odd numbers is not present in the corresponding relationship of portion's odd numbers.
When the type of service request be creation type when, illustrate the corresponding business of the service request be it is new, independent of it His business can cut and flow in new business system.In embodiments of the present invention, current internal odd numbers is opposite with new business system It answers.For creation type service request, above-mentioned payment odd numbers 002 is current internal odd numbers.
Current internal account can be identified for that the operation system of the corresponding service request of processing current external account.
This method passes through the corresponding relationship for storing external odd numbers and internal odd numbers, in the feelings for the work for not stopping operation system Under condition, creation type service request is cut and flow to new business system, can guaranteed the availability of service, promote the experience of user.Together When, the creation type service request that this method can guarantee that counterweight recurrence is sent carries out consistent processing, guarantees the quality of business service.
In one embodiment of the invention, in order to which the creation type service request for guaranteeing that counterweight recurrence is sent carries out consistent place Reason, this method further include:
A1: current when existing in the corresponding relationship that service request is creation type service request, external odd numbers and internal odd numbers When external odd numbers, according to the corresponding internal odd numbers of current external odd numbers, corresponding first operation system of service request is determined.
For creation type service request, when there are current external odd numbers in the corresponding relationship of external odd numbers and internal odd numbers When, illustrate that the creation type service request has been processed once, creation type service request recurrence of attaching most importance to is sent, and the request is executed Operation system should be consistent with predetermined operation system.Certainly, the creation type service request for repeating to send Or dependent form service request, it can also refuse to execute, and prompt the creation type service request or dependent form service request is It repeats to send.
A2: service request is routed to the first operation system;Wherein, the first operation system is new business system, or, old trade Business system.
In one embodiment of the invention, this method further include: when service request is dependent form service request, determine It whether there is current external odd numbers in the corresponding relationship of external odd numbers and internal odd numbers, if not, service request is routed to old In operation system.
For dependent form service request, when there is no current external accounts in the corresponding relationship of external odd numbers and internal odd numbers When, illustrate that the interior business that the dependent form service request is relied on should be more early pre-treatment, that is to say, that current internal Account is relatively early generation before, it is believed that there is not yet new business system at that time.
In one embodiment of the invention, in order to which the dependent form service request for guaranteeing that counterweight recurrence is sent carries out consistent place Reason, this method further include:
B1: when service request is dependent form service request, the corresponding relationship of the external odd numbers and internal odd numbers is determined In whether there is the current external odd numbers, if so, determining service request according to the corresponding internal odd numbers of current external odd numbers Corresponding second operation system.
For dependent form service request, when there are current external odd numbers in the corresponding relationship of external odd numbers and internal odd numbers When, illustrate that the dependent form service request has been processed, dependent form service request recurrence of attaching most importance to is sent, and the industry of the request is executed Business system should be consistent with predetermined operation system.
B2: service request is routed to the second operation system;Wherein, the second operation system is new business system, or, old trade Business system.
It should be noted that the current internal odd numbers that can also be carried according to it is directly true for dependent form service request Fixed second operation system, without according to the external odd numbers of storage and the corresponding relationship of internal odd numbers.
In one embodiment of the invention, in order to guarantee that new business system and the realization of old service system smoothly cut stream, It prevents the flow of incision is excessive from causing new business system unstable, service request is routed in new business system, comprising:
The service request of first quantity in several service requests is routed in new business system, it will be in several service requests The service request of second quantity is routed in old service system;Wherein, the first quantity and the second quantity, which meet, preset cuts stream ratio Example.
It, can be according to the operating condition of new business system and old service system, to cutting stream ratio in practical application scene Dynamically adjusted.It can also be according to cutting stream ratio, it is determined whether route to service request in new business system.
In one embodiment of the invention, it is docked to realize with new business system, the smooth of old service system, by industry Business request is routed in new business system, comprising:
According to preset access way, service request is routed in new business system;Wherein, include: in access way (Hyper Text Transfer Protocol surpasses by RPC (Remote Procedure Call, remote procedure call), HTTP Text transfer protocol) and HTTPS (Hypertext Transfer Protocol Secure, Hyper text transfer security protocol) in Any one or more.
Preferably, using RPC, service request is routed in new business system.Using HTTP or HTTPS, business is asked It asks and is routed in old service system.
As shown in Fig. 2, the processing method of service request will be described in detail in the embodiment of the present invention, this method packet It includes:
Step 201: receiving service request, wherein include: type identification, current external odd numbers in service request.
Step 202: according to type identification, determine the type of service request, when service request is creation type service request, Step 203 is executed, when service request is dependent form service request, executes step 206.
In practical application scene, since different types of service request corresponds to different processing logics, to separate Processing.I.e. creation type service request enters creation type ingress for service, and dependent form service request enters dependent form ingress for service.
Step 203: determining in the external odd numbers of storage and the corresponding relationship of internal odd numbers whether there is current external odd numbers, If so, executing step 204, otherwise, step 205 is executed.
Step 204: according to the corresponding internal odd numbers of current external odd numbers, determining service request corresponding first business system System, is routed to the first operation system for service request;Wherein, the first operation system is new business system, or, old service system.
Step 205: service request being routed in new business system, and generates current internal odd numbers, stores current external The corresponding relationship of odd numbers and current internal odd numbers.
Step 206: determining in the corresponding relationship of external odd numbers and internal odd numbers whether there is current external odd numbers, if It is to execute step 207, otherwise, executes step 208.
Step 207: according to the corresponding internal odd numbers of current external odd numbers, determining service request corresponding second business system System;Service request is routed to the second operation system;Wherein, the second operation system is new business system, or, old service system.
Step 208: service request is routed in old service system.
In practical application scene, with the progress for cutting stream process, creation type service request realizes that 100% cuts stream, that is, connects The creation type service request received all routes in new business system.At this point, since dependent form business is generally asynchronous industry Business can do of short duration pause processing to dependent form service request.It, can be by old trade when pause handles dependent form service request All data in business system are converted into the data format of new business system according to mapping ruler, and imported into new business system In database.
Stream is cut when order creation class business and reaches 100%, and all requests request at this time needs to stop at this time into new system Only rely on class business.Relying on class business under normal circumstances is all a kind of asynchronous service, such as reimbursement.Since this business is not immediately Business result can be taken, it is possible to do short-term stopping.Class business will be relied at this time to stop, by all data roots of legacy system It is converted into the data format of new system according to certain mapping ruler, and imported into the database of new system.Hereafter, it can open again Begin processing dependent form service request, and all service requests will all route in new business system.
As shown in figure 3, the present invention provides a kind of processing units of service request, comprising:
Traffic ingress unit 301, for receiving service request, wherein include: type identification in service request, current outer Portion's odd numbers;
Service distributing unit 302, for determining the type of service request according to type identification;
Stream unit 303 is cut, is used to determine external odd numbers and the inside of storage when service request is creation type service request It whether there is current external odd numbers in the corresponding relationship of odd numbers, if not, service request is routed in new business system, and raw At current internal odd numbers, the corresponding relationship of current external odd numbers and current internal odd numbers is stored.
In one embodiment of the invention, stream unit 303 is cut, is further used for when service request being that creation type business is asked Ask, in the corresponding relationship of external odd numbers and internal odd numbers there are when current external odd numbers, according to current external odd numbers it is corresponding in Portion's odd numbers determines corresponding first operation system of service request;Service request is routed to the first operation system;Wherein, first Operation system is new business system, or, old service system.
In one embodiment of the invention, stream unit 303 is cut, is further used for when service request being that dependent form business is asked When asking, determining in the corresponding relationship of external odd numbers and internal odd numbers whether there is current external odd numbers, if not, by service request It is routed in old service system.
In one embodiment of the invention, stream unit 303 is cut, is further used for when service request being that dependent form business is asked Ask, in the corresponding relationship of external odd numbers and internal odd numbers there are when current external odd numbers, according to current external odd numbers it is corresponding in Portion's odd numbers determines corresponding second operation system of service request;Service request is routed to the second operation system;Wherein, second Operation system is new business system, or, old service system.
In one embodiment of the invention, stream unit 303 is cut, for by the business of the first quantity in several service requests Request is routed in new business system, and the service request of the second quantity in several service requests is routed in old service system; Wherein, the first quantity and the second quantity, which meet, preset cuts stream ratio.
In one embodiment of the invention, stream unit 303 is cut, is used for according to preset access way, by service request It is routed in new business system;It wherein, include: any one or more in RPC, HTTP and HTTPS in access way.
The embodiment of the invention provides a kind of processing equipments of service request, comprising: processor and memory;
Memory for store execute instruction, processor be used for execute memory storage execute instruction to realize above-mentioned The method of one embodiment.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example, Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit. Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device (Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development, And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language (Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL (Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL (Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present Integrated Circuit Hardware Description Language) and Verilog.Those skilled in the art also answer This understands, it is only necessary to method flow slightly programming in logic and is programmed into integrated circuit with above-mentioned several hardware description languages, The hardware circuit for realizing the logical method process can be readily available.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor or processing The computer for the computer readable program code (such as software or firmware) that device and storage can be executed by (micro-) processor can Read medium, logic gate, switch, specific integrated circuit (Application Specific Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and insertion microcontroller, the example of controller includes but is not limited to following microcontroller Device: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicone Labs C8051F320 are deposited Memory controller is also implemented as a part of the control logic of memory.It is also known in the art that in addition to Pure computer readable program code mode is realized other than controller, can be made completely by the way that method and step is carried out programming in logic Controller is obtained to come in fact in the form of logic gate, switch, specific integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc. Existing identical function.Therefore this controller is considered a kind of hardware component, and to including for realizing various in it The device of function can also be considered as the structure in hardware component.Or even, it can will be regarded for realizing the device of various functions For either the software module of implementation method can be the structure in hardware component again.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this The function of each unit can be realized in the same or multiple software and or hardware when application.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that including described There is also other identical elements in the process, method of element, commodity or equipment.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with In the local and remote computer storage media including storage equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.
The above description is only an example of the present application, is not intended to limit this application.For those skilled in the art For, various changes and changes are possible in this application.All any modifications made within the spirit and principles of the present application are equal Replacement, improvement etc., should be included within the scope of the claims of this application.

Claims (12)

1. a kind of processing method of service request, comprising:
Receive service request, wherein include: type identification, current external odd numbers in the service request;
According to the type identification, the type of the service request is determined;
When the service request is creation type service request, determine in the external odd numbers of storage and the corresponding relationship of internal odd numbers With the presence or absence of the current external odd numbers, if not,
The service request is routed in new business system, and generates current internal odd numbers, stores the current external odd numbers With the corresponding relationship of the current internal odd numbers.
2. the processing method of service request as described in claim 1, further comprises:
It is described when existing in the corresponding relationship that the service request is creation type service request, the external odd numbers and internal odd numbers When current external odd numbers,
According to the corresponding internal odd numbers of the current external odd numbers, corresponding first operation system of the service request is determined;
The service request is routed to first operation system.
3. the processing method of service request as described in claim 1, further comprises:
When the service request is dependent form service request, determining in the external odd numbers and the corresponding relationship of internal odd numbers is It is no that there are the current external odd numbers, if so,
According to the corresponding internal odd numbers of the current external odd numbers, corresponding second operation system of the service request is determined;
The service request is routed to second operation system.
4. the processing method of service request as described in claim 1, further comprises:
When the service request is dependent form service request, determining in the external odd numbers and the corresponding relationship of internal odd numbers is No there are the current external odd numbers, if not, the service request is routed in old service system.
5. the processing method of service request as described in claim 1,
It is described that the service request is routed in new business system, comprising:
The service request of first quantity in several service requests is routed in the new business system, several business are asked The service request of the second quantity is asked to be routed in old service system;Wherein, first quantity and second quantity meet It is preset to cut stream ratio.
6. such as the processing method of service request as claimed in any one of claims 1 to 5,
It is described that the service request is routed in new business system, comprising:
According to preset access way, the service request is routed in the new business system;Wherein, the access way In include: any one in remote procedure call, hypertext transfer protocol HTTP and Hyper text transfer security protocol HTTPS Or it is a variety of.
7. a kind of processing unit of service request, comprising:
Traffic ingress unit, for receiving service request, wherein include: type identification, current external list in the service request Number;
Service distributing unit, for determining the type of the service request according to the type identification;
Stream unit is cut, for when the service request is creation type service request, determining that the external odd numbers of storage and inside are single Number corresponding relationship in whether there is the current external odd numbers, if not, the service request is routed to new business system In, and current internal odd numbers is generated, store the corresponding relationship of the current external odd numbers Yu the current internal odd numbers.
8. the processing unit of service request as claimed in claim 7,
It is described to cut stream unit, it is further used for when the service request being creation type service request, the external odd numbers and inside There are when the current external odd numbers in the corresponding relationship of odd numbers, according to the corresponding internal odd numbers of the current external odd numbers, really Determine corresponding first operation system of the service request;The service request is routed to first operation system.
9. the processing unit of service request as claimed in claim 7,
It is described to cut stream unit, it is further used for when the service request is dependent form service request, determines the external odd numbers With in the corresponding relationship of internal odd numbers whether there is the current external odd numbers, if so, according to the current external odd numbers pair The inside odd numbers answered determines corresponding second operation system of the service request;The service request is routed to described second Operation system.
10. the processing unit of service request as claimed in claim 7,
It is described to cut stream unit, it is further used for when the service request is dependent form service request, determines the external odd numbers With in the corresponding relationship of internal odd numbers whether there is the current external odd numbers, if not, the service request is routed to old In operation system.
11. the processing unit of service request as claimed in claim 7,
It is described to cut stream unit, for the service request of the first quantity in several service requests to be routed to the new business system In, the service request of the second quantity in several service requests is routed in old service system;Wherein, first quantity Meet with second quantity and preset cuts stream ratio.
12. the processing unit of any service request as claim in claims 7-11,
It is described to cut stream unit, for according to preset access way, the service request to be routed in the new business system; It wherein, include: that remote procedure call, hypertext transfer protocol HTTP and Hyper text transfer are assisted safely in the access way Discuss any one or more in 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 true CN110022351A (en) 2019-07-16
CN110022351B 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)

Cited By (2)

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

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140006368A1 (en) * 2012-06-29 2014-01-02 Sap Ag Model-based Backend Service Adaptation of Business Objects
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

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140006368A1 (en) * 2012-06-29 2014-01-02 Sap Ag Model-based Backend Service Adaptation of Business Objects
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

Cited By (3)

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

Also Published As

Publication number Publication date
CN110022351B (en) 2021-07-06

Similar Documents

Publication Publication Date Title
CN109040152A (en) A kind of service request and providing method based on service orchestration, device and electronic equipment
CN109214632A (en) A kind of risk control method and equipment
CN108345977A (en) A kind of method for processing business and device
CN108764864A (en) A kind of method, apparatus and equipment for configuring payment flow, executing payment flow
CN108549562A (en) A kind of method and device of image load
CN109617829A (en) A kind of processing method of service request data, apparatus and system
CN108595234A (en) Five application page switching method, device and equipment
CN110020231A (en) Webpage capture method and device thereof
CN108566518A (en) A kind of video editing, playback method, equipment and computer-readable medium
CN110502415A (en) One kind burying a setting method, device and equipment
CN108268289A (en) Method for parameter configuration, the apparatus and system of web applications
CN108320071A (en) A kind of Operational Risk management method, apparatus and equipment
CN108427737A (en) A kind of data clearing method, equipment and computer-readable medium
CN109241026A (en) The method, apparatus and system of data management
CN110022351A (en) A kind for the treatment of method and apparatus of service request
CN108074024A (en) Risk Identification Method, apparatus and system
CN108304455A (en) A kind of method, apparatus and equipment of processing business request
CN109003071A (en) Method of payment, device and equipment
CN109710622A (en) A kind of data-updating method, device and system
CN108540524A (en) A kind of method, equipment and readable medium for establishing social networks
CN109361691A (en) The real name identification method and device of account
CN110427237A (en) A kind of method, apparatus and electronic equipment across application access target pages
CN110046052A (en) A kind of service calling method and device
CN109144600A (en) A kind of operation method of application program, equipment and computer-readable medium
CN113780847A (en) Intelligent community information processing method based on Internet of things and server

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