Background technique
Under classic network, the IP address of the service as provided by service provider be it is globally unique, in reality
When existing service adapter, service call side directly can be directly connected to the adaptation that service is completed in service using the IP address of service, into
And initiate the far call of service.Fig. 1 is shown under classic network, and each equipment 110 for providing service is deployed in computer room,
The IP address of each equipment 110 is globally unique, and the APP (Application, application program) in client device 120 needs to adjust
When with some service, some can be directly connected to based on IP address by component system MGS 130 and the equipment of service is provided, in turn
Service call is initiated to the equipment.
But under VPC (Virtual Private Cloud, virtual private cloud) network architecture, provide the equipment of service
IP address it is only unique inside single VPC, and will no longer be globally unique in each VPC.Such as two DC (Data
Center, data center) respectively correspond two VPC, IP address be all in independent DC1 or DC2 it is unique, but DC1 and
It is possible that duplicate IP address may if the mode that MGS still uses IP address direct-connected carries out service adapter between DC2
It can be fitted to the service of mistake, cause service call to malfunction, the APP in client device cannot achieve correlation function.
Apply for content
The purpose of the application is to provide a kind of scheme of service adapter, to solve in existing scheme can not just really
The problem of existing service adapter.
A kind of service adapter method of channel management equipment is provided in the embodiment of the present application, this method comprises:
Channel management equipment and service provider equipment establish the first long connection, and store the service provider equipment institute
The address of service information of offer, the address of service information are used to determine service provider equipment when service call;
The channel management equipment and service call method, apparatus are established second and long are connected, wherein the described first long connection and
Second long connection is used for transmission interaction data when service call method, apparatus carries out service call to service provider equipment.
The embodiment of the present application also provides a kind of service adapter methods of service call method, apparatus, this method comprises:
Service call method, apparatus and channel management equipment are established second and long are connected, wherein the channel management equipment with
The service provider equipment for providing service establishes the first long connection, and is stored with the service in the channel management equipment and provides
Address of service information provided by method, apparatus, the address of service information is for determining that service provider when service call is set
Standby, the described first long connection and the second long connection are used for transmission service call method, apparatus and carry out service tune to service provider equipment
The interaction data of used time.
The embodiment of the present application also provides a kind of service adapter methods of service provider equipment, wherein this method comprises:
Service provider equipment and channel management equipment establish the first long connection, and provide institute to the channel management equipment
State address of service information provided by service provider equipment, wherein the address of service information is for when determining service call
Service provider equipment, the channel management equipment also establishes the second long connection with service call method, apparatus, and described first is long
Connection and the second long connection are used for transmission interaction number when service call method, apparatus carries out service call to service provider equipment
According to.
Another aspect based on the application, additionally provides a kind of channel management equipment, which includes:
Provider's processing unit for establishing the first long connection with service provider equipment, and stores the service and provides
Address of service information provided by method, apparatus, the address of service information is for determining that service provider when service call is set
It is standby;
Called side processing unit, for establishing the second long connection with service call method, apparatus, wherein the described first long connection
Interaction data when service call method, apparatus carries out service call to service provider equipment is used for transmission with the second long connection.
The embodiment of the present application also provides a kind of service provider equipment, wherein the equipment includes:
Processing unit is connected, for establishing the first long connection with channel management equipment, and is mentioned to the channel management equipment
For address of service information provided by the service provider equipment, wherein the address of service information is for determining that service is adjusted
The service provider equipment of used time, the channel management equipment also establish the second long connection with service call method, apparatus, and described the
One long connection and the second long connection are used for transmission friendship when service call method, apparatus carries out service call to service provider equipment
Mutual data.
The embodiment of the present application also provides a kind of service adapter systems, wherein the system includes:
Service provider equipment, for channel management equipment establish first it is long connect, and to the channel management equipment
Address of service information provided by the service provider equipment is provided, the address of service information is for when determining service call
Service provider equipment;
Channel management equipment establishes the first long connection for channel management equipment and service provider equipment, and stores institute
State address of service information provided by service provider equipment;And the second long connection is established with service call method, apparatus;
Service call method, apparatus long is connected for establishing second with channel management equipment, wherein the described first long connection and
Second long connection is used for transmission interaction data when service call method, apparatus carries out service call to service provider equipment.
In addition, the embodiment of the present application also provides a kind of calculating equipment, wherein the equipment includes for storing computer journey
The memory that sequence instructs and the processor for executing computer program instructions, wherein when the computer program instructions are by this
When managing device execution, triggers the equipment and execute the service adapter method.
The embodiment of the present application also provides a kind of computer-readable mediums, are stored thereon with computer program instructions, described
Computer-readable instruction can be executed by processor to realize the service adapter method.
In the embodiment of the present application offer scheme, service call method, apparatus is not set in such a way that IP is direct-connected with service provider
The standby service provided is adapted to, but is increased channel management between service provider equipment and service provider equipment and set
Standby, the channel management equipment and service provider equipment establish the first long connection, and store the service provider equipment and mentioned
The information on services of confession, while the second long connection can be established with service call method, apparatus, wherein information on services is for determining that service is adjusted
The service provider equipment of used time, and the described first long connection and the second long connection are used for transmission service call method, apparatus to service
Interaction data when method, apparatus carries out service call is provided.By channel management equipment can management service provide method, apparatus mentioned
The information on services of confession, when service call method, apparatus needs to call some service, without paying close attention to the specific address of service, it is only necessary to
It interacts with channel management equipment, the service that can be called as needed by channel management equipment, is provided to specific service
Method, apparatus forwards data, and the calling of service can be completed.
Specific embodiment
The application is described in further detail with reference to the accompanying drawing.
In a typical configuration of this application, terminal, the equipment of service network include one or more processors
(CPU), input/output interface, 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 side
Method or technology realize that information stores.Information can be the device or other numbers of computer readable instructions, data structure, program
According to.The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory
(SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory techniques, CD-ROM (CD-
ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storages
Equipment or any other non-transmission medium, can be used for storage can be accessed by a computing device information.
The embodiment of the present application provides a kind of service adapter method, and service call method, apparatus does not use IP direct-connected in this method
Mode be adapted to the service that service provider equipment provides, but in service provider equipment and service provider equipment
Between increase channel management equipment, as channel management equipment can management service provide method, apparatus provided by service letter
Breath, and all foundation has long connection between service call method, apparatus and service provider equipment, when service call method, apparatus needs
When calling some service, without paying close attention to the specific address of service, it is only necessary to be interacted with channel management equipment, by tube channel
The tune of service can be completed to specific service provider device forwards data in the service that reason equipment can be called as needed
With.
Fig. 2 shows the schematic diagram of the system using service adapter method provided by the embodiments of the present application, in the system
Including service call method, apparatus 210, service provider equipment 220 and channel management equipment 230.Wherein, service provider is set
Standby 210 for establishing the first long connection with channel management equipment, and provides the service provider to the channel management equipment
Information on services provided by equipment, the information on services are used to determine service provider equipment when service call.Channel management
Equipment 220 establishes the first long connection for channel management equipment and service provider equipment, and stores the service provider and set
Standby provided information on services;And the second long connection is established with service call method, apparatus.Service call method, apparatus 230 be used for
Channel management equipment establishes the second long connection, wherein the described first long connection and the second long connection are used for transmission service call side
Interaction data when equipment carries out from service call to service provider equipment.
In actual scene, the specific implementation of aforementioned device can be the entities such as server, network host, user terminal and set
It is standby, it is also possible to run on the virtual unit on cloud computing platform, wherein cloud computing platform is by being based on cloud computing (Cloud
Computing a large amount of hosts or network server) are constituted.The service call method, apparatus 210, which refers to, needs to call service
Equipment, such as can be the equipment for running the component system in need for calling service, such as realize MGS (mobile gateway service), MPS
The equipment of component systems such as (message push services).Service provider equipment 220, which refers to, is capable of providing setting for called service
It is standby, such as can be ECS (Elastic Compute Service, the bullet for the issuing service that tenant is supplied in cloud computing platform
Property calculate service) host etc., under VPC network architecture, these ECS hosts can be divided in different VPC, and publication is corresponding
Service is for calling.The IP address of ECS host at single VPC is unique, but may not be unique under the overall situation, such as is scheming
In scene shown in 3, there are identical IP1~8 at each VPC.Channel management equipment 230 is used to construct the adaptation of service
Channel, so that service call is gone on smoothly in the case where realizing VPC scene.
Fig. 4 shows interaction process process when carrying out service adapter in the embodiment of the present application between each equipment, service
There is provided the first long interaction when connecting is established between method, apparatus 210 and channel management equipment 230 the following steps are included:
Step S401, service provider equipment 210 initiate the connection foundation request, the connection to channel management equipment 230
Establishing in request may include verification information.In actual scene, the service call method, apparatus 210 and service provider equipment
It may include the SDK (Software Development Kit, software tool pack) for realizing corresponding function in 220, to realize
Respective handling when service adapter.
For example, during service provider equipment 210 establishes connection to channel management equipment 230, it can be by servicing
Provider SDK obtains the channel address of one group token and one group corresponding channel management equipment first.Token is one kind
Verification information can be specified access key configured in advance etc., and channel address can be previously provided to service provider, with
It is called convenient for its issuing service for other users.After obtaining these information, service provider SDK can be sent out to channel address
The request for establishing long connection is acted, while corresponding token being provided.
Step S402, channel management equipment according to the verification information carry out safety verification, and by verifying after with institute
It states service provider equipment and establishes the first long connection.
In actual service adapter scene, channel management equipment 230 can have it is multiple, service provider can by appoint
It anticipates a channel management equipment issuing service, i.e., initiates the connection foundation request with arbitrary channel management equipment, it is long to establish first
Connection.For example, in the present embodiment, each channel management equipment can be understood as the channel that can be realized service adapter,
It is denoted as a mPaaSChannel.For a mPaaSChannel, after receiving connection and establishing request, according to passing over
Token verified.It is provided in a kind of verification mode in the embodiment of the present application, can will distribute to service provider SDK
The token used is stored in preset database, when mPaaSChannel obtain token after, can using token as
Key can be inquired in the database with the presence or absence of the token, if inquiring, then it represents that be proved to be successful, carried out subsequent processing.When
Token can delete the token in database after being queried to, so that token not reusable, to improve authentication mechanism
Safety.Conversely, if not inquiring, then it represents that authentication failed, without subsequent processing.
When establishing connection, mPaaSChannel can obtain the information on services provided by service provider SDK, institute
Stating information on services includes the information such as type, the computer room information of service.Wherein, the type of service indicates service can be by which kind of component
System is called which kind of function realized, such as can be MGS, MPS etc..The computer room information of service indicates VPC belonging to service, example
It is respectively such as DC1 and DC2 in aforementioned two VPC shown in Fig. 3, the computer room information of corresponding service can be workspaceId1
And workspaceId2, indicate which VPC provides service is specifically deployed in.Fig. 5 shows this in a mPaaSChannel
A kind of schematic diagram of data structure of ground web services registry, the data structure use tree, are followed successively by service type step by step
The nodes such as (such as MGS, MPS), computer room information (such as workspaceId1, workspaceId2).
Information on services can be registered in local service registration table by mPaaSChannel, and when later service call uses.?
When realizing calling, if specified service types serviceType and service computer room information workspaceId, mPaaSChannel are
The first long connection that some service of one group of offer can be known in local service registration table, selects to create after one of them
The transport stream provided between method, apparatus with corresponding with service is provided and carries out data interaction.
Step S403, the information in the local service registration table of channel management equipment are to pass through channel management equipment hair
The relevant information of the service of cloth, these relevant informations can be supplied to service call method, apparatus in a manner of agreement.Wherein, service
In relevant information can comprising for interface channel management equipment channel address, when the channel management equipment will be used to connect it is logical
The channel address of road management equipment is supplied to after service call method, apparatus, and the service call method, apparatus can be made according to logical
Track address initiates the connection foundation request to the channel management equipment, thus between channel management equipment and service call method, apparatus
Request, which is established, according to the connection establishes the second long connection.
In some embodiments of the present application, the correlation for coordinating equipment to the notice service of service call method, apparatus can use
Information.Firstly, the relevant information for the service issued by the channel management equipment can be synchronized to coordination by channel management equipment
Equipment, so that coordinating the relevant information for preserving service in equipment.These relevant informations have included at least the information on services of service
With the channel address for interface channel management equipment, service call method, apparatus is at least known from coordination equipment:
Which service is channel management equipment can provide and provide the channel address of the channel management equipment of these services.For example, right
In a mPaaSChannel, long connection can be established with the service provider equipment for being capable of providing MGS, then should
MPaaSChannel can assist to complete the calling of MGS, the channel address mPaaSChannel IP of corresponding channel management equipment
For 192.168.1.3.
At this point, if service call method, apparatus has subscribed service to equipment is coordinated, when aforementioned synchronizing process causes information to be sent out
When changing, the information on services that can be called can be notified to the service call method, apparatus for subscribing to the service by coordinating equipment, and be provided
Channel address for interface channel management equipment.Service call method, apparatus can be according to the channel address to described as a result,
Channel management equipment initiates the connection foundation request, and the second length between channel management equipment and service call method, apparatus is established with this
Connection.
In some embodiments of the present application, the coordination equipment can use zookeeper, when any one
MPaaSChannel, can be by the content synchronization of local service registration table in local service registration table after registration service information
In zookeeper.Fig. 6 shows the data structure that relevant information is stored in zookeeper, which can also be using tree
Shape structure, relevant information can carry under mPaaSChannel node, under step by step be service type (such as MGS, MPS)
And the nodes such as channel address mPaaSChannel IP (such as 192.168.1.2,192.168.1.3).
Fig. 7 shows channel management equipment in a kind of embodiment of the application and adjusts respectively at service provider equipment and service
Long connection is established with method, apparatus to realize the interaction flow of service adapter.In the present embodiment, service provider equipment and and
Service call method, apparatus passes through SDK respectively and realizes corresponding processing function, and process flow when establishing the first long connection includes:
Step S701, service provider SDK obtain the channel address of one group of token and one group of mPaaSChannel
Then mPaaSChannel IP initiates the connection foundation request to these mPaaSChannel IP, and sends corresponding token.
For example, service provider SDK corresponds to the DC1 that computer room information is workspaceId1, there are two corresponding mPaaSChannel,
Its channel address mPaaSChannel IP is respectively 192.168.1.2 and 192.168.1.3, and service provider SDK respectively can
Foundation request is initiated the connection to mPaaSChannel IP, while carrying corresponding token.
Step S702, mPaaSChannel receive connection establish request after, using the token passed over as
Key is inquired in OCS (Open Cache Service, open buffer service) equipment, is tested using OCS equipment as safety
The database of card.If inquiry is less than refusal establishes connection in OCS equipment.If inquiring the token, by the clothes of service
Information registering of being engaged in arrives local service registration table, establishes the first long connection between service provider SDK, while by OCS equipment
On the corresponding information deletion of the token, be reused to avoid token.It is 192.168.1.2's with address
For mPaaSChannel, long connection can be established with service provider SDK above-mentioned, and obtain the information on services of service, example
If service type is MGS, thus computer room information workspaceId1 is registered to local service registration table, local service note
Volume table can use data structure as shown in Figure 5.
Step S703, mPaaSChannel by the synchronizing information in local service registration table into Zookeeper,
Also the information being synchronized to can be saved with specific data structure in Zookeeper, such as Fig. 6 shows a kind of data structure.?
In actual scene, the first long connection between each mPaaSChannel and different service provider SDK can persistently change,
Therefore the information in the local service registration table of mPaaSChannel can also change therewith, while mPaaSChannel can continue together
The relevant information of variation is walked to zookeeper.
In the present embodiment, process flow when establishing the second long connection includes following processing step:
Step S711, service call side SDK are to Zookeeper subscription service.Subscription procedure is as follows: firstly, service call
Square SDK and Zookeeper establish connection, and the service type that needs are paid close attention to by watch mechanism corresponds to child node, such as services
Called side SDK needs to call MGS, then can " watch "/mPaaSChannel/MGS node, thus the information hair under the MGS node
When changing, Zookeeper is notified that service call side SDK.
Step S712, Zookeeper after the relevant information in the synchronous local service registration table of mPaaSChannel,
If notifying service call side SDK it was found that the junction associated for the service for having service call side SDK to subscribe to has update.For example, working as
It, then can be by mPaaSChannel when information under MGS node changes, such as when increasing new mPaaSChannel IP
IP list is sent to service call side SDK.
Step S713, service call side SDK can get the information of subscription from Zookeeper, new when obtaining
When mPaaSChannel IP, service call side SDK can be initiated the connection to it foundation request, with establish service call side SDK with
The second long connection between mPaaSChannel.For example, Zookeeper notifies that service call side SDK is new there are one about MGS
MPaaSChannel IP be 192.168.1.2, then service call side SDK can be sent out to the mPaaSChannel of 192.168.1.2
It plays connection and establishes request, with the establish between service call side SDK and the mPaaSChannel second long connection.
In some embodiments of the present application, in channel management equipment respectively at service provider equipment and service call
Method, apparatus is established after long connection, and the first length connection and the second long connection can be used in transmission service call method, apparatus and mention to service
Interaction data when service call is carried out for method, apparatus, the process of interaction process is as follows:
Service call method, apparatus is based on the described second long connection and sends service invocation request to the channel management equipment.Its
In, service call method, apparatus needs the service type called to be specified by specific business, for example, required for MGS component system
Service type is MGS.The service call method, apparatus can be based on the second long connection creation data flow, be used for transmission service call
The data packet of request.
Channel management equipment, according to service invocation request, determines address of service information after receiving service invocation request.
For example, at least carrying the information such as the service type of needs, computer room information, such as service request in service invocation request
ServiceType is MGS, computer room information workspaceId1, then it is possible thereby to which find in local service registration table can
To provide the address of service information of the service.
The channel management equipment determines the service provider equipment of the service of offer according to the address of service information, and
Based on the first long connection between the service provider equipment, Xiang Suoshu service provider equipment sends pending data.
After getting the address of service information that service can be provided, one of address of service information can be selected, the service
Location information is directed toward a service provider equipment, if the computer room information in aforementioned service information is workspaceId1, the clothes
It is the equipment in DC1 corresponding to workspaceId1 that business, which provides method, apparatus,.
Then, transport stream can be created based on the first long connection between the service provider equipment, is called with forwarding
The pending data for including in request.At this point it is possible to by based on the second long transport stream for connecting creation and based on the first long connection
The transport stream of creation associates, and forms data transmission channel when service call.
The service provider equipment is based on the described first long connection and obtains number to be processed from the service provider equipment
According to, and service is called to handle the pending data, processing result is obtained, is then based on the described first long connection for institute
It states processing result and is sent to channel management equipment.Channel management equipment is after obtaining processing result, based on the described second long company
It connects to the service call method, apparatus and sends the processing result.By taking service type is the service of MGS as an example, related service is called
After being handled, processing result is written back to the transport stream established based on the second long connection, is transmitted to its processing result
MPaaSChannel, then mPaaSChannel will continue to find the associated transport stream established based on the first long connection, directly
Forward process completes service call as a result, service call method, apparatus is enabled finally to obtain the processing result of service call.
Fig. 8 shows the interaction flow of service call in a kind of embodiment of the application.In the present embodiment, service provider
Equipment and and service call method, apparatus pass through SDK respectively and realize corresponding processing function, with service call by groups such as MGS/MPS
Part system is initiated, and calling process includes the following steps:
Step S801, component system initiate service call.The component systems such as MGS/MPS can refer to when initiating service call
Fixed relevant parameter, such as the component systems such as MGS/MPS can specify < workspaceId in the embodiment of the present application,
ServiceExtType, request, callbackhandler >.
Step S802, service call side SDK by request sequence be melted into byte array, while can according to <
WorkspaceId, serviceExtType > in determination can provide one group of mPaaSChannel IP of service.In actual scene
In, it can be based on the service ability of the corresponding mPaaSChannel of mPaaSChannel IP, and load-balancing algorithm is combined, choosing
One of mPaaSChannel IP out creates transport stream based on the second long connection established with the mPaaSChannel IP,
It is denoted as the second transport stream, general<serviceType, workspaceId, serviceExtType, data>packing are adjusted as service
It is sent with the data packet of request, and the transport stream is associated with callbackhandler.
Step S803, mPaaSChannel after receiving the data packet of service invocation request, according to <
ServiceType, workspaceId, serviceExtType > find out in local service routing table can provide the one of service
Group address of service information, each address of service information have corresponded to one first long connection.MPaaSChannel is equal according to load
It accounts method and selects one of them first long connection wherein, create transport stream on it, be denoted as the first transport stream,<data>is straight
Switch through hair, thus service provider SDK can receive<data>.Meanwhile mPaaSChannel is by the first transport stream and second
Transport stream associates, if can not select the first long connection, then it represents that service call can not be correctly completed, in the second transport stream
The corresponding error message of write-back, and close the second transport stream.
After step S804, service provider SDK receive pending data<data>, service is called to realize data processing,
It obtains processing result<response>.
<response>sequence is turned to<data>direct write-back corresponding second afterwards by step S805, service provider SDK
Transport stream.After mPaaSChannel receives<data>from service provider SDK write-back, looked for according to transport stream incidence relation
To the first transport stream, it is transmitted to the first transport stream;Then it is received<data>, is adjusted back by service call side SDK
Processing result is supplied to component system by callbackhandler.
Based on the same inventive concept, the equipment of service adapter is additionally provided in the embodiment of the present application, the equipment is corresponding
Method is the clothes realized on the channel management equipment, service provider equipment, service call method, apparatus in previous embodiment
Business adaptation method, and its principle solved the problems, such as is similar to this method.
A kind of channel management equipment that the application implements to provide includes provider's processing unit and called side processing unit,
Wherein, provider's processing unit is used to establish the first long connection with service provider equipment, and stores the service and provide
Address of service information provided by method, apparatus, the address of service information is for determining that service provider when service call is set
It is standby.
The called side processing unit is used to establish the second long connection with service call method, apparatus, wherein described first is long
Connection and the second long connection are used for transmission interaction number when service call method, apparatus carries out service call to service provider equipment
According to.
In some embodiments of the present application, provider's processing unit is also used to be determined according to service invocation request and take
Be engaged in address information, according to the address of service information determine provide service service provider equipment, and be based on and the service
The first long connection between method, apparatus is provided, Xiang Suoshu service provider equipment sends pending data;And based on described the
One long connection obtains the processing result of the processing data of service treatment described in service provider equipment;
The called side processing unit is also used to be obtained based on the described second long connection from the service call method, apparatus and be taken
Business call request, and the processing result is sent to the service call method, apparatus based on the described second long connection.
A kind of service call method, apparatus that the application implements to provide includes connection processing unit, which uses
It is connected in establishing the second length with channel management equipment, wherein the service provider that the channel management equipment has been serviced with offer
Equipment establishes the first long connection, and service ground provided by the service provider equipment is stored in the channel management equipment
Location information, the address of service information are used for service provider equipment when determining service call, the described first long connection and the
Two long connections are used for transmission interaction data when service call method, apparatus carries out service call to service provider equipment.
In some embodiments of the present application, the connection processing unit is also used to connect based on second length to institute
It states channel management equipment and sends service invocation request, so that the channel management equipment determines service according to service invocation request
Address information determines the service provider equipment of the service of offer according to the address of service information, and is based on mentioning with the service
For the first long connection between method, apparatus, Xiang Suoshu service provider equipment sends pending data, obtains service provider and set
The processing result of the processing data of service treatment described in standby;And it is obtained based on the described second long connection from the channel management equipment
Take the processing result.
A kind of service provider equipment that the application implements to provide includes connection processing unit.Service provider equipment
Connection processing unit is used to establish the first long connection with channel management equipment, and provides the service to the channel management equipment
There is provided address of service information provided by method, apparatus, wherein the address of service information is used to determine service when service call
Method, apparatus is provided, the channel management equipment also establishes the second long connection with service call method, apparatus, the described first long connection and
Second long connection is used for transmission interaction data when service call method, apparatus carries out service call to service provider equipment.
In some embodiments of the present application, the connection processing unit of service provider equipment is also used to based on described the
One long connection obtains pending data from the service provider equipment, wherein the pending data is by the channel management
Equipment is based on the described second long connection and sends after obtaining service invocation request from the service call method, apparatus;Call service pair
The pending data is handled, and processing result is obtained;The processing result is sent to based on the described first long connection logical
Road management equipment, so that the channel management equipment is based on the described second long connection to described in service call method, apparatus transmission
Processing result.
In addition, a part of the application can be applied to computer program product, such as computer program instructions, when its quilt
When computer executes, by the operation of the computer, it can call or provide according to the present processes and/or technical solution.
And the program instruction of the present processes is called, it is possibly stored in fixed or moveable recording medium, and/or pass through
Broadcast or the data flow in other signal-bearing mediums and transmitted, and/or be stored according to program instruction run calculating
In the working storage of machine equipment.Here, include a calculating equipment as shown in Figure 9 according to some embodiments of the present application,
The equipment includes being stored with one or more memories 910 of computer-readable instruction and for executing computer-readable instruction
Processor 920, wherein when the computer-readable instruction is executed by the processor, so that the equipment, which executes, is based on aforementioned
The method and/or technology scheme of multiple embodiments of application.
In addition, some embodiments of the present application additionally provide a kind of computer-readable medium, it is stored thereon with computer journey
Sequence instruction, the computer-readable instruction can be executed by processor with the method for realizing multiple embodiments of aforementioned the application and/
Or technical solution.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt
With specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In some embodiments
In, the software program of the application can be executed by processor to realize above step or function.Similarly, the software of the application
Program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory, magnetic or
CD-ROM driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, for example,
As the circuit cooperated with processor thereby executing each step or function.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie
In the case where without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in device claim is multiple
Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table
Show title, and does not indicate any particular order.