CN110233865A - Trans-regional service calling method, device and system - Google Patents
Trans-regional service calling method, device and system Download PDFInfo
- Publication number
- CN110233865A CN110233865A CN201810182385.6A CN201810182385A CN110233865A CN 110233865 A CN110233865 A CN 110233865A CN 201810182385 A CN201810182385 A CN 201810182385A CN 110233865 A CN110233865 A CN 110233865A
- Authority
- CN
- China
- Prior art keywords
- service
- target area
- information
- bus
- service provider
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling 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/63—Routing a service request depending on the request content or context
Abstract
This application discloses a kind of trans-regional service calling methods, device and system.Wherein, this method comprises: obtaining the service request information that client uploads by cloud service bus;The service provider information of the corresponding target area of service request information is obtained by cloud service bus;Service request information is sent by service provider of the cloud service bus into target area according to service provider information.Present application addresses lack the scheduling and routing of the service between Different Logic region when the increase of number of machines magnitude, the areal increase that provide service due to prior art mid span area.
Description
Technical field
This application involves Internet technology application fields, in particular to a kind of trans-regional service calling method, device
And system.
Background technique
Based on system globalization deployment, be deployed between the machine between the computer room of country variant need to establish connection into
Row communication, the service provided using other side's machine.The registration center of different zones needs to be mutually in step service metadata, guarantees clothes
The metadata of business supplier is visible to the service consumer of current region.
Wherein, service metadata refers to the information of ISP, title, parameter, IP address comprising service etc..And
Registration center is used for storage service metadata, and the consumer of service can obtain the metadata of service by registration center.Such as Fig. 1
Shown, Fig. 1 is the structural schematic diagram of globalization system deployment in the prior art, and each country includes: registration center, clothes
Be engaged in device consumer and ISP, the service metadata of registration center's storage service provider, while synchronous each region
Service metadata, as shown in Figure 1, the registration center of Asia Asia also needs together outside the metadata for saving own services supplier
The service metadata of U.S. US and Europe EU are walked, similarly, the registration center of US and EU also store the service unit number in other regions
According to for example, the registration center of US is stored with the service metadata of Asia and EU, the registration center of EU is stored with the clothes of US and Asia
Business metadata, in the environment of global businesses, as the service consumer of Asia needs the ISP of US to provide corresponding clothes
Business, needs to obtain the service metadata of the ISP of the US by registration center, and then according to the service metadata and US
ISP do online trading, similarly, US and EU carry out trans-regional service through the above way between EU and Asia
It calls.
But above-mentioned existing scheme when provide service number of machines magnitude increase, areal increase when, will be present as
Lower problem:
First, when trans-regional connection number is doubled and redoubled according to areal, the service consumer between different zones and
ISP is required to establish connection when communicating, and trans-regional connection sum is consumed number * service for areal * and provided
Person's number, when inter-regional networks condition is bad, a large amount of connection number will affect the quality of service call;Second, it needs to register
The metadata of central synchronous service, synchronous logic complexity increases with the number in region and is increased, when the network item between region
When part difference, the synchronization delay between registration center is big, and real-time is poor;Third, single area registration center need to save all
The service metadata in region, storage pressure are big;4th, unified control scheduling can not be done to trans-regional service call.
When for the above-mentioned increase of number of machines magnitude, the areal increase for providing service due to prior art mid span area,
The problem of lacking the scheduling and routing of the service between Different Logic region, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the present application provides a kind of trans-regional service calling method, device and system, at least to solve due to existing
When thering is technology mid span area to provide the number of machines magnitude increase of service, areal increase, lack between Different Logic region
The technical issues of scheduling and routing of service.
According to the one aspect of the embodiment of the present application, a kind of trans-regional service calling method is provided, comprising: take by cloud
Bus of being engaged in obtains the service request information that client uploads;The corresponding target area of service request information is obtained by cloud service bus
The service provider information in domain;Service provider hair according to service provider information by from cloud service bus to target area
Send service request information.
Optionally, before obtaining the service request information that client uploads by cloud service bus, this method further include:
The service provider information of at least one target area is obtained by cloud service bus.
Further, optionally, in the service provider information for obtaining at least one target area by cloud service bus
Later, this method further include: store the service provider information of at least one target area to be called.
Optionally, the service provider information packet of the corresponding target area of service request information is obtained by cloud service bus
Include: analysis service request message judges whether region that service request information to be accessed is service provider in one's respective area;
In the case where judging result is the service provider that the region that service request information to be accessed is other regions, service is determined
The request message region to be accessed is target area;Obtain the service provider information of target area.
Further, optionally, this method further include: in judging result be that the region that service request information to be accessed is
In the case where service provider in one's respective area, according to the service provider information got, sends and service to service provider
Request message.
Optionally, clothes are sent by service provider of the cloud service bus into target area according to service provider information
Business request message includes: to be sent out service request information by cloud service bus in the case where the number of target area is one
Send the service provider into target area;In the case where the number of target area is multiple, will be taken by cloud service bus
Business request message is respectively sent to the service provider in target area.
Optionally, this method further include: the service provider information of local cloud service bus is stored by registration center.
Optionally, this method further include: pass through the trans-regional bulk flow of cloud service bus marco.
Optionally, this method further include: the service provider information in region to be called is synchronized by presetting calling module.
According to the other side of the embodiment of the present application, a kind of trans-regional service call device is provided, comprising: receive mould
Block, for obtaining the service request information that client uploads by cloud service bus;Module is obtained, for passing through cloud service bus
Obtain the service provider information of the corresponding target area of service request information;Sending module, for believing according to service provider
Breath sends service request information by service provider of the cloud service bus into target area.
Optionally, the device further include: data obtaining module, for obtaining what client uploaded by cloud service bus
Before service request information, the service provider information of at least one target area is obtained by cloud service bus.
Optionally, obtaining module includes: resolution unit, is used for analysis service request message, judges service request information institute
Whether the region to be accessed is service provider in one's respective area;Area determination unit, for being service request in judging result
In the case that the message region to be accessed is the service provider in other regions, the service request information area to be accessed is determined
Domain is target area;Acquiring unit, for obtaining the service provider information of target area.
Optionally, sending module includes: the first transmission unit, for the number of target area be one in the case where,
The service provider being sent to service request information by cloud service bus in target area;Second transmission unit is used for
In the case that the number of target area is multiple, service request information is respectively sent in target area by cloud service bus
Service provider.
According to the another aspect of the embodiment of the present application, a kind of trans-regional service calling system is provided, comprising: cloud service
Bus, for obtaining the service provider information of at least one target area;Registration center, it is administrative for storing cloud service bus
Service provider information in region;Wherein, any client upload service request disappears in region belonging to the cloud service bus
When breath, the service provider information of the corresponding target area of service request information is obtained by cloud service bus;And according to service
Provider's information sends service request information by service provider of the cloud service bus into target area.
Optionally, cloud service bus, is also used to obtain the service provider information of at least one target area, and store to
The service provider information at least one target area called.
Optionally, cloud service bus is also used to control trans-regional bulk flow.
According to another aspect of the embodiment of the present application, a kind of storage medium is provided, storage medium includes the journey of storage
Sequence, wherein equipment where control storage medium, which is executed, in program operation obtains the clothes that client uploads by cloud service bus
Business request message;The service provider information of the corresponding target area of service request information is obtained by cloud service bus;Foundation
Service provider information sends service request information by service provider of the cloud service bus into target area.
According to another aspect of the embodiment of the present application, a kind of processor is provided, processor is used to run program,
In, it is executed when program is run and the service request information that client uploads is obtained by cloud service bus;It is obtained by cloud service bus
Take the service provider information of the corresponding target area of service request information;Pass through cloud service bus according to service provider information
Service provider into target area sends service request information.
In the embodiment of the present application, the service request information that client uploads is obtained by cloud service bus;It is taken by cloud
Bus of being engaged in obtains the service provider information of the corresponding target area of service request information;Pass through cloud according to service provider information
Service provider of the service bus into target area sends service request information, has reached the resource for saving registration center, has subtracted
The purpose of few trans-regional connection number, so that the technology of the scheduling and routing that realize the service between Different Logic region is imitated
Fruit, and then solve due to lacking when the number of machines magnitude that prior art mid span area provides service increases, areal increases
The technical issues of scheduling and routing of service between Different Logic region.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen
Illustrative embodiments and their description please are not constituted an undue limitation on the present application for explaining the application.In the accompanying drawings:
Fig. 1 is the structural schematic diagram of globalization system deployment in the prior art;
Fig. 2 is a kind of hardware block diagram of the server of trans-regional service calling method of the embodiment of the present application;
Fig. 3 is the flow chart according to the trans-regional service calling method of the embodiment of the present application one;
Fig. 4 is service call schematic diagram in the trans-regional service calling method according to the embodiment of the present application one;
Fig. 5 is the structural schematic diagram of according to embodiments of the present invention two trans-regional service call device.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application
Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only
The embodiment of the application a part, instead of all the embodiments.Based on the embodiment in the application, ordinary skill people
Member's every other embodiment obtained without making creative work, all should belong to the model of the application protection
It encloses.
It should be noted that the description and claims of this application and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to embodiments herein described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
This application involves technical term:
CSB: cloud service bus, full name Cloud Service Bus.The ability of bus between different zones is provided, so that
Service can trans-regional offer service.
Registration center: service metadata storage center, the consumer of service can obtain the member of service by registration center
Data.
Service metadata: the information of ISP, title, parameter, IP address comprising service etc..
Embodiment 1
According to the embodiment of the present application, a kind of trans-regional service calling method embodiment is additionally provided, it should be noted that
The step of process of attached drawing illustrates can execute in a computer system such as a set of computer executable instructions, also,
It, in some cases, can be to be different from shown in sequence execution herein although logical order is shown in flow charts
The step of out or describing.
Embodiment of the method provided by the embodiment of the present application one can be filled in mobile terminal, server or similar operation
Set middle execution.For running on the server, Fig. 2 is a kind of service of trans-regional service calling method of the embodiment of the present application
The hardware block diagram of device.As shown in Fig. 2, server 20 may include one or more (only showing one in figure) processors
202 (processing units that processor 202 can include but is not limited to Micro-processor MCV or programmable logic device FPGA etc.) are used
Memory 204 in storing data and the transmission module 206 for communication function.Those of ordinary skill in the art can manage
Solution, structure shown in Fig. 2 are only to illustrate, and do not cause to limit to the structure of above-mentioned electronic device.For example, server 20 may be used also
Including component more perhaps more less than shown in Fig. 2 or with the configuration different from shown in Fig. 2.
Memory 204 can be used for storing the software program and module of application software, as transregional in the embodiment of the present application
Corresponding program instruction/the module of domain service calling method, the software journey that processor 202 is stored in memory 204 by operation
Sequence and module realize the trans-regional service of above-mentioned application program thereby executing various function application and data processing
Call method.Memory 204 may include high speed random access memory, may also include nonvolatile memory, such as one or more
Magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory 204 can be wrapped further
The memory remotely located relative to processor 202 is included, these remote memories can pass through network connection to server 20.On
The example for stating network includes but is not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Transmission module 206 is used to that data to be received or sent via a network.Above-mentioned network specific example may include
The wireless network that the communication providers of server 20 provide.In an example, transmission module 206 includes a network adapter
(Network Interface Controller, NIC), can be connected by base station with other network equipments so as to interconnection
Net is communicated.In an example, transmission module 206 can be radio frequency (Radio Frequency, RF) module, be used for
Wirelessly communicated with internet.
Under above-mentioned running environment, this application provides trans-regional service calling methods as shown in Figure 3.Fig. 3 is basis
The flow chart of the trans-regional service calling method of the embodiment of the present application one.The trans-regional service calling method includes the following steps:
Step S302 obtains the service request information that client uploads by cloud service bus;
In the application above-mentioned steps S302, trans-regional service calling method provided by the present application can be used for Online e-business,
Particularly, trans-regional service calling method provided by the present application can be adapted for global Online e-business, be different from the prior art, this
Apply for the addition cloud service bus (Cloud Service Bus, abbreviation CSB) in each region, by CSB by region
The service request of consumer is dispatched to the service provider in another region.
Step S304 is believed by the service provider that cloud service bus obtains the corresponding target area of service request information
Breath;
In the application above-mentioned steps S304, disappeared based on above-mentioned steps S302 by the service request that cloud service bus obtains
Breath, obtains the service provider information that the service request information corresponds to target area.
Step S306 is sent according to service provider information by service provider of the cloud service bus into target area
Service request information.
In the application above-mentioned steps S306, based on the service provider information that step S304 is obtained, consumer is passed through into visitor
The service request information that family end uploads sends the service request information by service provider of the CSB into target area.
External Egress node is added in trans-regional service calling method provided by the present application in the zone, between region
Service call is completed by Egress node CSB, meanwhile, the service of trans-regional calling is needed by CSB configuration, passes through this side
Formula saves the resource of registration center, reduces trans-regional connection number.Solve the scheduling of the service between Different Logic region with
The problem of routing.
In the embodiment of the present application, the service request information that client uploads is obtained by cloud service bus;It is taken by cloud
Bus of being engaged in obtains the service provider information of the corresponding target area of service request information;Pass through cloud according to service provider information
Service provider of the service bus into target area sends service request information, has reached the resource for saving registration center, has subtracted
The purpose of few trans-regional connection number, so that the technology of the scheduling and routing that realize the service between Different Logic region is imitated
Fruit, and then solve due to lacking when the number of machines magnitude that prior art mid span area provides service increases, areal increases
The technical issues of scheduling and routing of service between Different Logic region.
Optionally, before obtaining the service request information that client uploads by cloud service bus in step s 302, this
The trans-regional service calling method provided is provided further include:
Step S300 obtains the service provider information of at least one target area by cloud service bus.
Further, optionally, the clothes that at least one target area is obtained by cloud service bus in step S300
After provider's information of being engaged in, trans-regional service calling method provided by the present application further include:
Step S301 stores the service provider information of at least one target area to be called.
Optionally, it is mentioned in step S304 by the service that cloud service bus obtains the corresponding target area of service request information
Supplier's information includes:
Step1, analysis service request message judge whether the region that service request information to be accessed is in one's respective area
Service provider;
Step2 is the service provider that the region that service request information to be accessed is other regions in judging result
In the case of, determine that the region that service request information to be accessed is target area;
Step3 obtains the service provider information of target area.
Further, optionally, trans-regional service calling method provided by the present application further include:
It is service provider in one's respective area that Step2 ', which is the region that service request information to be accessed in judging result,
In the case of, according to the service provider information got, service request information is sent to service provider.
Optionally, it is mentioned according to service provider information by service of the cloud service bus into target area in step S306
Supplier sends service request information
Step1 is sent service request information by cloud service bus in the case where the number of target area is one
Service provider into target area;
Step2 is distinguished service request information by cloud service bus in the case where the number of target area is multiple
The service provider being sent in target area.
Optionally, trans-regional service calling method provided by the present application further include:
Step S305 stores the service provider information of local cloud service bus by registration center.
Optionally, trans-regional service calling method provided by the present application further include:
Step S307 passes through the trans-regional bulk flow of cloud service bus marco.
Optionally, trans-regional service calling method provided by the present application further include:
Step S309 synchronizes the service provider information in region to be called by presetting calling module.
To sum up, Fig. 4 is service call schematic diagram in the trans-regional service calling method according to the embodiment of the present application one;Such as figure
Shown in 4, trans-regional service calling method provided by the present application is specific as follows:
It is assumed that having Asia (ASIA), the U.S. (US), European three regions (EU), needed between trizonal computer room
The service for mutually calling other regions to provide.Other example regions are only called with the region US herein.
1, the CSB of US will need the Metadata registry of the service of trans-regional calling in registration center, while the metadata
In IP information be CSB itself IP information;
2, the CSB of US reads the metadata letter for the corresponding service among memory that is stored in from the registration center of ASIA, EU
Breath;
3, the service consumer of US gets the service metadata information comprising CSB IP information from the registration center of US,
The service consumer of US initiates to call according to the IP information of CSB in service metadata to corresponding CSB machine;
4, the information CSB of US incoming according to the service consumer for initiating to call, is forwarded to ASIA's or EU for calling
On ISP.
Based on foregoing description, primary trans-regional calling is initiated by one's respective area service consumer, passes through CSB points of one's respective area
It is sent on the ISP of ASIA or EU.Based on this structure, first, trans-regional connection sum is that each region service mentions
The sum of donor number;Second, trans-regional registration center is not required to the metadata of synchronous each region;Third, registration center only need
The service metadata information of reservation local CSB, rather than the metadata information of the trans-regional ISP of each region;The
Four, trans-regional bulk flow control can be done on CSB.
Similarly, US and EU is called for ASIA, alternatively, EU calls US and ASIA for example above-mentioned, which is not described herein again.
In addition to above scheme, trans-regional service calling method provided by the present application further include: increase in registration center only
Vertical control centre, configuration need the service of trans-regional calling, and the metadata of the service of trans-regional calling will be needed synchronous.
Trans-regional service calling method provided by the present application is under the scene of service cluster globalization deployment, trans-regional clothes
Business calls and dispatches the technology of control between zones by way of configuring with Egress node, to be lifted at globalization service
The efficiency and stability of service call in the case of clustered deploy(ment).
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because
According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application
It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The trans-regional service calling method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to logical
Hardware is crossed, but the former is more preferably embodiment in many cases.Based on this understanding, the technical solution of the application is substantially
The part that contributes to existing technology can be embodied in the form of software products in other words, which deposits
Storage in a storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (can be with
It is mobile phone, computer, server or the network equipment etc.) execute method described in each embodiment of the application.
Embodiment 2
According to the embodiment of the present application, additionally provide a kind of for implementing the device of above-mentioned trans-regional service calling method, Fig. 5
It is the structural schematic diagram of according to embodiments of the present invention two trans-regional service call device.
As shown in figure 5, the trans-regional service call device includes: receiving module 52, obtains module 54 and sending module 56.
Wherein, receiving module 52, for obtaining the service request information that client uploads by cloud service bus;Obtain mould
Block 54, for obtaining the service provider information of the corresponding target area of service request information by cloud service bus;Send mould
Block 56, for sending service request by service provider of the cloud service bus into target area according to service provider information
Message.
In the embodiment of the present application, the service request information that client uploads is obtained by cloud service bus;It is taken by cloud
Bus of being engaged in obtains the service provider information of the corresponding target area of service request information;Pass through cloud according to service provider information
Service provider of the service bus into target area sends service request information, has reached the resource for saving registration center, has subtracted
The purpose of few trans-regional connection number, so that the technology of the scheduling and routing that realize the service between Different Logic region is imitated
Fruit, and then solve due to lacking when the number of machines magnitude that prior art mid span area provides service increases, areal increases
The technical issues of scheduling and routing of service between Different Logic region.
Herein it should be noted that above-mentioned receiving module 52, acquisition module 54 and sending module 56 correspond to embodiment one
In step S302 to step S306, the example and application scenarios that three modules and corresponding step are realized be identical but unlimited
In one disclosure of that of above-described embodiment.It should be noted that above-mentioned module may operate in reality as a part of device
In the trans-regional service calling method that the offer of example one is provided, hardware realization can also be passed through by software realization.
Optionally, trans-regional service call device provided by the present application further include: data obtaining module, for passing through cloud
Before service bus obtains the service request information that client uploads, at least one target area is obtained by cloud service bus
Service provider information.
Herein it should be noted that above- mentioned information obtain module correspond to embodiment one in step S300, the module with
The example that corresponding step is realized is identical with application scenarios, but is not limited to the above embodiments a disclosure of that.It needs
Bright, above-mentioned module is may operate in as a part of device in the trans-regional service calling method of the offer of embodiment one,
It can also pass through hardware realization by software realization.
Optionally, obtaining module 54 includes: resolution unit, is used for analysis service request message, judges service request information
Whether the region to be accessed is service provider in one's respective area;Area determination unit, for being that service is asked in judging result
In the case that the region for asking message to be accessed is the service provider in other regions, determine what service request information to be accessed
Region is target area;Acquiring unit, for obtaining the service provider information of target area.
Herein it should be noted that above-mentioned resolution unit, area determination unit and acquiring unit correspond in embodiment one
Step S304 in Step1 to Step3, three modules are identical as example and application scenarios that corresponding step is realized, but
It is not limited to the above embodiments a disclosure of that.It should be noted that above-mentioned module can be run as a part of of device
In the trans-regional service calling method that embodiment one provides, hardware realization can also be passed through by software realization.
Optionally, sending module 56 includes: the first transmission unit, the situation for being one for the number in target area
Under, the service provider that is sent to service request information by cloud service bus in target area;Second transmission unit, is used for
In the case where the number of target area is multiple, service request information is respectively sent to by target area by cloud service bus
In service provider.
Herein it should be noted that above-mentioned first transmission unit and the second transmission unit correspond to the step in embodiment one
Step1 and Step2 in S306, two modules are identical as example and application scenarios that corresponding step is realized, but are not limited to
One disclosure of that of above-described embodiment.It should be noted that above-mentioned module may operate in implementation as a part of device
In the trans-regional service calling method that example one provides, hardware realization can also be passed through by software realization.
Embodiment 3
According to the another aspect of the embodiment of the present application, a kind of trans-regional service calling system is provided, comprising: cloud service
Bus, for obtaining the service provider information of at least one target area;Registration center, it is administrative for storing cloud service bus
Service provider information in region;Wherein, any client upload service request disappears in region belonging to the cloud service bus
When breath, the service provider information of the corresponding target area of service request information is obtained by cloud service bus;And according to service
Provider's information sends service request information by service provider of the cloud service bus into target area.
Optionally, cloud service bus, is also used to obtain the service provider information of at least one target area, and store to
The service provider information at least one target area called.
Optionally, cloud service bus is also used to control trans-regional bulk flow.
Embodiment 4
According to another aspect of the embodiment of the present application, a kind of storage medium is provided, storage medium includes the journey of storage
Sequence, wherein equipment where control storage medium, which is executed, in program operation obtains the clothes that client uploads by cloud service bus
Business request message;The service provider information of the corresponding target area of service request information is obtained by cloud service bus;Foundation
Service provider information sends service request information by service provider of the cloud service bus into target area.
Embodiment 5
According to another aspect of the embodiment of the present application, a kind of processor is provided, processor is used to run program,
In, it is executed when program is run and the service request information that client uploads is obtained by cloud service bus;It is obtained by cloud service bus
Take the service provider information of the corresponding target area of service request information;Pass through cloud service bus according to service provider information
Service provider into target area sends service request information.
Embodiment 6
Embodiments herein additionally provides a kind of storage medium.Optionally, in the present embodiment, above-mentioned storage medium can
For saving program code performed by trans-regional service calling method provided by above-described embodiment one.
Optionally, in the present embodiment, above-mentioned storage medium can be located at any in server zone in computer network
In one server, or in any one mobile terminal in mobile terminal group.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps: logical
It crosses cloud service bus and obtains the service request information that client uploads;It is corresponding that service request information is obtained by cloud service bus
The service provider information of target area;It is mentioned according to service provider information by service of the cloud service bus into target area
Supplier sends service request information.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
Before obtaining the service request information that client uploads by cloud service bus, at least one target is obtained by cloud service bus
The service provider information in region.
Further, optionally, in the present embodiment, storage medium is arranged to store the journey for executing following steps
Sequence code: after obtaining the service provider information of at least one target area by cloud service bus, this method further include:
Store the service provider information of at least one target area.
Optionally, the service provider information packet of the corresponding target area of service request information is obtained by cloud service bus
Include: analysis service request message judges whether region that service request information to be accessed is service provider in one's respective area;
In the case where judging result is the service provider that the region that service request information to be accessed is other regions, service is determined
The request message region to be accessed is target area;Obtain the service provider information of target area.
Optionally, clothes are sent by service provider of the cloud service bus into target area according to service provider information
Business request message includes: to be sent out service request information by cloud service bus in the case where the number of target area is one
Send the service provider into target area;In the case where the number of target area is multiple, will be taken by cloud service bus
Business request message is respectively sent to the service provider in target area.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
In above-described embodiment of the application, all emphasizes particularly on different fields to the description of each embodiment, do not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the application whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only the preferred embodiment of the application, it is noted that for the ordinary skill people of the art
For member, under the premise of not departing from the application principle, several improvements and modifications can also be made, these improvements and modifications are also answered
It is considered as the protection scope of the application.
Claims (15)
1. a kind of trans-regional service calling method characterized by comprising
The service request information that client uploads is obtained by cloud service bus;
The service provider information of the corresponding target area of the service request information is obtained by the cloud service bus;
It is sent according to the service provider information by service provider of the cloud service bus into the target area
The service request information.
2. trans-regional service calling method according to claim 1, which is characterized in that obtained described by cloud service bus
Before the service request information for taking client to upload, the method also includes:
The service provider information of at least one target area is obtained by cloud service bus.
3. trans-regional service calling method according to claim 2, which is characterized in that obtained described by cloud service bus
After taking the service provider information of at least one target area, the method also includes:
Store the service provider information of at least one target area to be called.
4. trans-regional service calling method as claimed in any of claims 1 to 3, which is characterized in that described to pass through
The service provider information that the cloud service bus obtains the corresponding target area of the service request information includes:
The service request information is parsed, judges whether region that the service request information to be accessed is clothes in one's respective area
Be engaged in provider;
In the case where judging result is the service provider that the region that the service request information to be accessed is other regions,
Determine that the region that the service request information to be accessed is the target area;
Obtain the service provider information of the target area.
5. trans-regional service calling method according to claim 4, which is characterized in that the method also includes:
In the case where it is the service provider in one's respective area that judging result, which is the region that the service request information to be accessed,
According to the service provider information got, Xiang Suoshu service provider sends the service request information.
6. trans-regional service calling method according to claim 1, which is characterized in that described according to the service provider
Information sends the service request information by service provider of the cloud service bus into the target area
In the case where the number of the target area is one, the service request information is sent out by the cloud service bus
Send the service provider into the target area;
In the case where the number of the target area is multiple, the service request information is divided by the cloud service bus
The service provider not being sent in the target area.
7. trans-regional service calling method according to claim 1, which is characterized in that the method also includes:
Pass through the service provider information of the local cloud service bus of registration center's storage.
8. trans-regional service calling method according to claim 1, which is characterized in that the method also includes:
Pass through the trans-regional bulk flow of the cloud service bus marco.
9. trans-regional service calling method according to claim 1, which is characterized in that the method also includes:
The service provider information in region to be called is synchronized by presetting calling module.
10. a kind of trans-regional service call device characterized by comprising
Receiving module, for obtaining the service request information that client uploads by cloud service bus;
Module is obtained, the service for obtaining the corresponding target area of the service request information by the cloud service bus mentions
Supplier's information;
Sending module, for the clothes according to the service provider information by the cloud service bus into the target area
Business provider sends the service request information.
11. a kind of trans-regional service calling system characterized by comprising
Cloud service bus, for obtaining the service provider information of at least one target area;
Registration center, for storing the service provider information in cloud service bus region within the jurisdiction;
Wherein, belonging to the cloud service bus in region when any client upload service request message, pass through the cloud
Service bus obtains the service provider information of the corresponding target area of the service request information;And it is provided according to the service
Square information sends the service request information by service provider of the cloud service bus into the target area.
12. trans-regional service calling system according to claim 11, which is characterized in that
The cloud service bus, is also used to obtain the service provider information of at least one target area, and stores to be called
The service provider information of at least one target area.
13. trans-regional service calling system according to claim 11, which is characterized in that
The cloud service bus, is also used to control trans-regional bulk flow.
14. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment execute the service request information that client uploads obtained by cloud service bus;Pass through
The cloud service bus obtains the service provider information of the corresponding target area of the service request information;According to the service
Provider's information sends the service request information by service provider of the cloud service bus into the target area.
15. a kind of processor, which is characterized in that the processor is for running program, wherein executed when described program is run logical
It crosses cloud service bus and obtains the service request information that client uploads;The service request is obtained by the cloud service bus to disappear
Cease the service provider information of corresponding target area;According to the service provider information by the cloud service bus to institute
The service provider stated in target area sends the service request information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810182385.6A CN110233865A (en) | 2018-03-06 | 2018-03-06 | Trans-regional service calling method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810182385.6A CN110233865A (en) | 2018-03-06 | 2018-03-06 | Trans-regional service calling method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110233865A true CN110233865A (en) | 2019-09-13 |
Family
ID=67861782
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810182385.6A Pending CN110233865A (en) | 2018-03-06 | 2018-03-06 | Trans-regional service calling method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110233865A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110247944A (en) * | 2018-03-09 | 2019-09-17 | 阿里巴巴集团控股有限公司 | Trans-regional service calling method, device, system and electronic equipment |
CN111598430A (en) * | 2020-05-13 | 2020-08-28 | 国网山东省电力公司平邑县供电公司 | Cross-region coordination information processing method and device for smart power grid |
CN113364622A (en) * | 2021-06-04 | 2021-09-07 | 中国工商银行股份有限公司 | Method, device, equipment and storage medium for cross-region flow control |
CN113452600A (en) * | 2021-06-10 | 2021-09-28 | 绿盟科技集团股份有限公司 | Cross-region message communication method and device, electronic equipment and storage medium |
CN113645251A (en) * | 2021-08-24 | 2021-11-12 | 北京英创思信息技术有限公司 | Data transmission method and device suitable for cross-regional service |
WO2024021470A1 (en) * | 2022-07-28 | 2024-02-01 | 天翼云科技有限公司 | Cross-region data scheduling method and apparatus, device, and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102497419A (en) * | 2011-12-09 | 2012-06-13 | 电子科技大学 | ESB (Enterprise Service Bus) task scheduling method orienting to large-scale requests and scheduling system |
CN103166934A (en) * | 2011-12-15 | 2013-06-19 | 方正国际软件(北京)有限公司 | Cooperative service system and cooperative service method |
CN103168451A (en) * | 2010-09-21 | 2013-06-19 | 瑞典爱立信有限公司 | Relayed cspf computation for multiple areas and multiple autonomous systems |
CN104767812A (en) * | 2014-10-10 | 2015-07-08 | 北京金创智博科技有限公司 | Data transmitting method, device and system based on cloud service |
US20150281078A1 (en) * | 2012-12-06 | 2015-10-01 | Huawei Technologies Co., Ltd. | Method and Apparatus for Cross-Service-Zone Communication, and Data Center Network |
US20170206148A1 (en) * | 2016-01-20 | 2017-07-20 | Facebook, Inc. | Cross-region failover of application services |
CN107294828A (en) * | 2017-06-15 | 2017-10-24 | 广州天源信息科技有限公司 | Trans-regional distributed site interaction and method of data synchronization |
-
2018
- 2018-03-06 CN CN201810182385.6A patent/CN110233865A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103168451A (en) * | 2010-09-21 | 2013-06-19 | 瑞典爱立信有限公司 | Relayed cspf computation for multiple areas and multiple autonomous systems |
CN102497419A (en) * | 2011-12-09 | 2012-06-13 | 电子科技大学 | ESB (Enterprise Service Bus) task scheduling method orienting to large-scale requests and scheduling system |
CN103166934A (en) * | 2011-12-15 | 2013-06-19 | 方正国际软件(北京)有限公司 | Cooperative service system and cooperative service method |
US20150281078A1 (en) * | 2012-12-06 | 2015-10-01 | Huawei Technologies Co., Ltd. | Method and Apparatus for Cross-Service-Zone Communication, and Data Center Network |
CN104767812A (en) * | 2014-10-10 | 2015-07-08 | 北京金创智博科技有限公司 | Data transmitting method, device and system based on cloud service |
US20170206148A1 (en) * | 2016-01-20 | 2017-07-20 | Facebook, Inc. | Cross-region failover of application services |
CN107294828A (en) * | 2017-06-15 | 2017-10-24 | 广州天源信息科技有限公司 | Trans-regional distributed site interaction and method of data synchronization |
Non-Patent Citations (1)
Title |
---|
李晓晶等: "跨域容灾调度一体化支持系统设计与实现", 《电力信息化》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110247944A (en) * | 2018-03-09 | 2019-09-17 | 阿里巴巴集团控股有限公司 | Trans-regional service calling method, device, system and electronic equipment |
CN110247944B (en) * | 2018-03-09 | 2022-06-24 | 阿里巴巴集团控股有限公司 | Cross-regional service calling method, device and system and electronic equipment |
CN111598430A (en) * | 2020-05-13 | 2020-08-28 | 国网山东省电力公司平邑县供电公司 | Cross-region coordination information processing method and device for smart power grid |
CN113364622A (en) * | 2021-06-04 | 2021-09-07 | 中国工商银行股份有限公司 | Method, device, equipment and storage medium for cross-region flow control |
CN113452600A (en) * | 2021-06-10 | 2021-09-28 | 绿盟科技集团股份有限公司 | Cross-region message communication method and device, electronic equipment and storage medium |
CN113645251A (en) * | 2021-08-24 | 2021-11-12 | 北京英创思信息技术有限公司 | Data transmission method and device suitable for cross-regional service |
CN113645251B (en) * | 2021-08-24 | 2023-05-23 | 北京英创思信息技术有限公司 | Data transmission method and device suitable for cross-regional service |
WO2024021470A1 (en) * | 2022-07-28 | 2024-02-01 | 天翼云科技有限公司 | Cross-region data scheduling method and apparatus, device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110233865A (en) | Trans-regional service calling method, device and system | |
CN109600246B (en) | Network slice management method and device | |
US20200162345A1 (en) | Method, system and options for multi-operator service life cycle management | |
CN113300877B (en) | Network slice management method and equipment | |
CN105978781A (en) | Method and system for establishing network connection of Docker container, and client side | |
CN109617731A (en) | Adaptive gateway role configuration method and device under a kind of multi-gateway environment | |
CN103561356B (en) | The method and apparatus that multiple terminals is synchronously played | |
CN109600768A (en) | Management method, equipment and the system of network slice | |
Akribopoulos et al. | A web services-oriented architecture for integrating small programmable objects in the web of things | |
CN109906585A (en) | Management method, administrative unit and the system of network slice | |
CN114039858B (en) | Computing network resource fusion method, device, equipment and storage medium | |
CN104796302A (en) | Method and system for testing network element simulators | |
CN107493191A (en) | A kind of clustered node and self scheduling container group system | |
US11637761B2 (en) | Systems and methods to deploy cloud-native microservices for communication services on scale | |
CN109391502A (en) | A kind of information configuring methods and administrative unit | |
CN105848168B (en) | A kind of method and device managing wireless access point AP | |
CN106131235A (en) | A kind of IP address configuration method | |
CN112187958A (en) | Method and device for registering, discovering and forwarding microservice | |
CN105592502B (en) | A kind of load-balancing method and device | |
CN112203261A (en) | Charging pile management method and device, electronic equipment and readable storage medium | |
CN110198229A (en) | Network collocating method and device, storage medium and electronic device | |
CN110198332A (en) | Dispatching method, device and the storage medium of content delivery network node | |
Wiranata et al. | Automation of virtualized 5g infrastructure using mosaic 5g operator over kubernetes supporting network slicing | |
CN101809971A (en) | Method, system and apparatus for protocol negotiation used in a telecommunication network | |
CN110022580A (en) | Establish bearing 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190913 |