Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method, terminal and the system that realize business datum and shunt, realizes the shunting of business datum in heterogeneous networks access in terminal under the prerequisite not changing mobile core planar network architecture.
For solving the problems of the technologies described above, a kind of method realizing business datum shunting of the present invention, comprising:
At network side Provisioning Policy server, the information of the current available network access that this strategic server record terminal is issued;
Terminal originating service, for the network insertion of this service selection this locality, and from the information that the current available network of strategic server subscribing service opposite end accesses, the information configuration service connection accessed according to the information of the network insertion of this locality and the current available network of business opposite end, carries out service interaction.
Further, the method also comprises:
Terminal is after the network insertion of service selection this locality, also by the Information issued of the network insertion of this this locality to strategic server, as the information of the current available network access of this terminal.
Further, the information that the current available network that the terminal of strategic server record is issued accesses comprises: the IP address of available network access.
Further, preserve service configuration information in terminal, this service configuration information comprises: the port and protocol title that business takies.
Further, comprise according to the information configuration service connection of the information of the network insertion of this locality and the current available network access of business opposite end:
Terminal is service connection configuration source IP address, source port, object IP address, destination interface and transport layer protocol, wherein, source IP address is the IP address of local network insertion, object IP address is the IP address of the available network access of business opposite end, source port and destination interface are the port that in service configuration information corresponding to business, business takies, and transport layer protocol is the protocol name in service configuration information.
Further, terminal is when the network insertion for service selection this locality, and the data traffic according to the network insertion priority of business and the network insertion of this terminal is selected.
Further, carry out selection according to the network insertion priority of business with the data traffic of the network insertion of this terminal to comprise:
Default flow is comprised in service configuration information, terminal selects network insertion according to the network insertion priority of business, judge whether the default flow sum in the data traffic that selected network accesses and service configuration information is greater than the upper load limit of this network insertion, if be greater than, then from network insertion priority, select the network insertion of next stage; Otherwise, select this network insertion as the network insertion of this locality.
Further, a kind of terminal realizing business datum shunting, comprising: interface selects module, wherein:
Interface selects module, for when terminal originating service, for the network insertion of this service selection this locality, and from the information that the current available network of the strategic server subscribing service opposite end of network side accesses, according to the information configuration service connection that the information of the network insertion of this locality and the current available network of business opposite end access, to carry out service interaction.
Further, interface selects module, also for after the network insertion for service selection this locality, by the Information issued of the network insertion of this this locality to strategic server, as the information of the current available network access of this terminal.
Further, interface selects module, and also for preserving service configuration information, this service configuration information comprises the port and protocol title that business takies;
During the information configuration service connection that interface selection module accesses according to the information of the network insertion of this locality and the current available network of business opposite end, for this service connection configuration source IP address, source port, object IP address, destination interface with and transport layer protocol, wherein, source IP address is the IP address of local network insertion, object IP address is the IP address of the available network access of business opposite end, source port and destination interface are the port that in service configuration information corresponding to business, business takies, and transport layer protocol is the protocol name in service configuration information.
Further, this terminal also comprises interface monitor module, wherein:
Interface monitor module, for monitoring and recording the data traffic of the network insertion of this terminal, selects module polls for interface;
Interface selects module when the network insertion for service selection this locality, according to the network insertion priority of business with select from the data traffic of the network insertion of this terminal of interface monitor module polls.
Further, a kind of system realizing business datum shunting, comprising: strategic server and terminal, wherein:
Strategic server, for recording the information of the current available network access that terminal is issued;
Terminal, for initiating business, for the network insertion of this service selection this locality, and from the information that the current available network of strategic server subscribing service opposite end accesses, according to the information configuration service connection that the information of the network insertion of this locality and the current available network of business opposite end access, carry out service interaction.
Further, terminal, also for after the network insertion for service selection this locality, by the Information issued of the network insertion of this this locality to strategic server, as the information of the current available network access of this terminal.
Further, terminal, also for preserving service configuration information, this service configuration information comprises the port and protocol title that business takies; The information of the current available network access of the terminal issue of strategic server record comprises the IP address of available network access;
During the information configuration service connection that terminal accesses according to the information of the network insertion of this locality and the current available network of business opposite end, for service connection configuration source IP address, source port, object IP address, destination interface and transport layer protocol, wherein, source IP address is the IP address of local network insertion, object IP address is the IP address of the available network access of business opposite end, source port and destination interface are the port that in service configuration information corresponding to business, business takies, and transport layer protocol is the protocol name in service configuration information.
Further, terminal is when the network insertion for service selection this locality, and the data traffic according to the network insertion priority of business and the network insertion of this terminal is selected.
In sum, application different in terminal of the present invention can according to business datum load in each network insertion current, and each business of dynamic assignment uses different network insertions.
Embodiment
Hereinafter will be described in detail to embodiments of the invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Terminal is herein a kind of fixed estropia (Fix-Mobile Convergence, FMC) terminal, this Terminal Type is accessible WLAN (wireless local area network) both, also can access in the mobile network such as CDMA 1x, CDMA evdo, GSM/GPRS, WCDMA and TD-SCDMA, herein by this Terminal Type referred to as terminal.
In present embodiment, after terminal sets up multiple network insertion, a network insertion can be selected to access as current available network according to network insertion priority, such as wireless local area network link, and be distributed to strategic server by SIP signaling, so that when other-end initiates the service interaction to local terminal, the available network access of current selection and corresponding IP address can be inquired.The network insertion that when being equivalent in start or not starting any application, configuration one is default.
Terminal is by the monitoring to heterogeneous networks access data flow and service operation state, when initiation of services, according to the network insertion priority of business in strategy preset in terminal, for service dynamic selects network insertion, and mutual by with strategic server, issue the network insertion of current selection, the selection situation of the current available network access of business opposite end can be known simultaneously from strategic server.When certain network insertion of terminal occurs congested, terminal can select the network insertion of a relative free, when local terminal initiates a new business or receive a new service request from opposite end, carried by the network insertion of current selection, avoid the unbalanced problem of data payload of multi-channel network access in terminal.
The precondition realizing the method for present embodiment is the terminal possessing at least two network accessibilities, and gets the IP address of each network allocation.Terminal shunts the data of every business by a five-tuple, five-tuple content comprises: source IP address, source port, object IP address, destination interface and transport layer protocol, respectively the IP address of the IP address of the terminal of corresponding initiation business and port, business opposite end and port and transport layer protocol title.Source IP address is the IP address that the terminal of initiation business obtains in network insertion.
Present embodiment increases interface in the terminal and selects module, and in order to carry out network insertion selection, the decision condition that network insertion is selected is the strategy that loading condition in each network insertion and terminal configure.When terminal start certain service concurrence play network data transmission time, the network insertion priority that interface selects module corresponding according to business in strategy, first investigate wireless local area network link, on wireless local area network link, data traffic meets or exceeds threshold value, and data traffic does not reach threshold value on cellular network packet domain link, and meeting service interfacing when entering the requirement of network, terminal selects cellular network packet domain link as the network insertion of current business.Terminal is when for traffic assignments five-tuple, source IP address in five-tuple is set to the IP address in cellular network, grouped link obtained, the requirement of business itself is depended in the selection of source port and destination interface, the usual only transceiving data on 80 ports of such as browser application.By said process, the terminal as transmit leg completes the selection to network insertion.
Between terminal and strategic server, signaling adopts Session Initiation Protocol, each header field field of SIP signaling adopts standard definition, User Identity in SIP signaling, adopt SIP URI form, based on the domain-name extension of user No. MSISDN with configuration, such as user No. MSISDN is 13313333133, and domain-name extension is cmobile.com, then user SIP identify label is sip:13313333133@cmobile.com.The transmitting-receiving of SIP signaling selects module to complete with parsing by the interface in terminal.
Strategic server is for receiving and issue the information of the current available network access of terminal issue.For completing Signalling exchange between terminal and strategic server, terminal is when meeting the addressable condition of strategic server, and namely when the interface of terminal selects the Message routing between module and server unimpeded, interface selects module to initiate registration process.Judge that whether server route unimpeded to be undertaken by the mode of server domain name analysis, or determine a certain class network insertion can Deterministic service device route unimpeded, such as could visited policy server by WCDMA grouped link.When terminal initiates registration, adopt Register message in SIP signaling, identify label adopts the above-described SIP URI based on No. MSISDN expansion.The IP address of terminal related in each header field field in signaling is all set to meet the IP address that the unimpeded network insertion of strategic server route obtains.Register adopts the reference format of RFC3261 normalized definition.
Terminal is after have selected the access of current available network, and notify selection result by SIP Publish message to strategic server, message body adopts self-defined XML coded format, and form is as follows:
<access_preference>
<id>sip:13313333133@cmobile.com</id>
<name>WLAN</name>
<address>10.11.12.13</address>
</access_preference>
In above message body, <access_preference> and </access_preference> is respectively the starting and ending mark of access parameter; <id>sip:13313333133@cmobile.com</id> represents terminal iidentification; <name>WLAN</name > represents the title of network insertion; <address>10.11.12.13LEssT.LTs sT.LT/address> represents IP address.
Terminal, before initiation business, also needs understanding business opposite end to the selection of network insertion.Terminal initiates the subscribe request for business opposite end to strategic server, and subscribe request is the Subscribe message of SIP signaling.Terminal sends the subscribe request selected the network insertion of business opposite end to strategic server, the i.e. Subscribe signaling of SIP, terminal is after receiving the notification message that strategic server returns, i.e. the Notify signaling of SIP, obtains the current available network access of business opposite end.Notify adopts the reference format of RFC3261 definition, and message body adopts self-defined XML coded format, and form adopts above-described Publish message body form.
Below in conjunction with accompanying drawing, technical scheme of the present invention is described in detail.
Composition graphs 1 illustrates the modules and the interface that realize the terminal of present embodiment.Terminal increases interface newly and selects module and interface monitor module, interface selects module to be used for management service configuration information, every bar configuration information corresponds to each Media Stream (comprising video, audio frequency, image and character text etc.) in business, and service configuration information comprises: the port taken, default flow, protocol name and reserved extension.Configuration information selects Module registers by interface 2 in Fig. 1 to interface by business, also completes the registration of each service configuration information by independently arranging interface.
The Socket interface that business uses the ICP/IP protocol of standard to provide, completes application data transmitting-receiving, see Fig. 1 interface 1.
Interface selects module after determining network insertion, by interface 4, route option in TCP/UDP protocol module is set, the equipment interface of specifying current network to access correspondence is the native device interface in default route, part terminal operating system supports that routing table is arranged, and the routing table control interface that interface 4 can be provided by operating system completes route and arranges.
Interface selects module when the network insertion of the service selection this locality of initiating for terminal, according to the network insertion priority of business with select from the data traffic of the network insertion of interface monitor module polls, first a network insertion is picked out from according to the network insertion priority of business, judge whether the default flow sum in the data traffic of this network insertion and service configuration information is greater than the upper load limit of this network insertion, if be greater than, from network insertion priority, then select the network insertion of next stage, judge again otherwise judge whether the default flow sum in the data traffic of this network insertion and service configuration information is greater than the upper load limit of this network insertion, if be not more than, select this network insertion as the network insertion of this locality.
Interface selects module after the information of the current available network access of strategic server subscribing service opposite end, according to the information configuration service connection that the information of the network insertion of this locality and the current available network of business opposite end access, comprise: be this service connection configuration source IP address, source port, object IP address, destination interface with and transport layer protocol, wherein, source IP address is the IP address of local network insertion, object IP address is the IP address of the available network access of described business opposite end, source port and destination interface are the port that in service configuration information corresponding to business, business takies, transport layer protocol is the protocol name in described service configuration information.
TCP/UDP protocol module obtains sending data equipment needed thereby interface and source IP address by interface 3 when sending data, and equipment interface and source IP are all obtained by route option.
Interface selects module by interface 7 to the real-time traffic statistics in each network insertion of interface monitor module polls.
TCP/UDP protocol module receives and dispatches IP datagram literary composition by interface 5 and interface 6, and interface 6 is the open interface between data link layer and IP layer, the same with interface 1, is general realization.Interface 5 is the different of connected device from the difference of interface 6, and " equipment " shown in Fig. 1 is a conceptual module, actual referred to comprise radio frequency, radio protocol stack, relevant device drive wireless device module." equipment one " has referred to the equipment providing IP link at wireless packet domain link, as WCDMA or TD-SCDMA or LTE terminal etc., and " equipment two " has referred to the wireless device as classes such as WLAN (wireless local area network) 802.11a/g, both differences are that the level being supplied to upper-layer protocol is different, " equipment one " directly provides IP functional interface, and " equipment two " provides the functional interface of data link layer.Interface 5 is identical with the actual functional capability of interface 6, is IP packet sending and receiving interface.
Interface monitor module to complete on each interface data traffic monitoring by interface 8, and registered callbacks function in transceiver interface can be adopted in IP agreement to realize.
IP acquisition module is only for " equipment two " place link." equipment one ", in packet domain link establishment process, completes IP by network side and applies for and assigning process.After wireless local area network link is successfully established, usual terminal adopts DynamicHost to arrange agreement (Dynamic Host Configuration Protocol, DHCP) and obtains legitimate ip address, and IP protocol module knows IP address by interface 9.Equipment one obtain IP address and can be obtained by interface 5 by TCP/UDP protocol module.
The interface 10 of IP protocol module calling data link layer completes data transmit-receive.The driving interface that interface 11 provides for equipment.Two parts are open interface, and specific implementation is determined according to hardware vendors definition or data link layer protocol.
Fig. 3 is schematic network structure, and in figure, strategic server connects mobile network's packet domain gateway, and default definition is that terminal can only by the packet domain visited policy server of mobile cellular network herein.
Composition graphs 3 illustrates the flow process of terminal determination business datum network insertion used.Suppose that terminal possesses the ability of accessing WLAN and WCDMA network simultaneously and accesses two networks simultaneously.
Step 301, when user initiates video call service on interface, first triggers the selection function that interface selects network insertion in module;
Step 302, interface selects the network insertion priority policy that module polls video call service is corresponding; Assuming that WCDMA Network Priority;
Step 303, interface selects module to loading condition in the current WCDMA grouped link of interface monitor module polls, if the default flow sum of real-time data flow and video call service is greater than the upper loading limit that network insertion can be born on current WCDMA network packet domain link, namely preset threshold value is exceeded, and in priority policy time one-level wireless local area network link on data traffic situation meet video call service demand, and wireless local area network link meets the requirement of video call service to access network, then interface selects module to be that video call service selectes wireless local area network link as business datum network insertion used,
Step 304, after interface selects module to determine the network insertion of business use, more last network insertion selection result, if changed, utilizes SIP Publish to issue new network insertion and selects.
Composition graphs 4 illustrates that terminal completes tactful five-tuple and arranges and the flow process starting service data interaction, comprising:
Step 401, interface selects module management service configuration information, port numbers as corresponding in business default flow, Media Stream and protocol name;
Step 402, interface selects module after accessing for business selected network, is the source IP address in business configuration five-tuple, source port number and protocol name;
It is mutual that video call service relates to Voice & Video two class Media Stream, interface selects module after accessing for business selected network, for two class Media Streams of business, configure a five-tuple respectively, the IP address that the wireless local area network link exchange of call module obtained distributed is as the source IP address of five-tuple, port numbers is set to the port record in service configuration information respectively, protocol name field is also arranged according to record in service configuration information, and this routine sound intermediate frequency stream and video flowing all adopt udp protocol.
Step 403, interface selects module to utilize SIP Subscribe to initiate once for the subscribe request that the current available network access of business opposite end is selected to strategic server;
The network insertion that object IP address in five-tuple represents service conversation opposite end is selected.When the user place terminal of business opposite end also issues up-to-date available network access selection in time by SIP Publish, after can thinking that terminal initiates subscription to strategic server, the network insertion obtained selects notice to reflect the current up-to-date available network access in business opposite end.For simplifying the processing logic of server, subscribe to and do not have effective time limit, only single is effective.
Step 404, terminal, after the available network access obtaining issuing business opposite end is selected, namely sets object IP address in the five-tuple of video session business association, and arranges destination slogan according to service configuration information.
So far, the communication two ends of video session, all according to respective network insertion situation, are assigned with suitable network insertion in real time to carry out service interaction.Route test option is set, starts business datum transmitting-receiving.
The all or part of step that one of ordinary skill in the art will appreciate that in said method is carried out instruction related hardware by program and is completed, and program can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuit to realize.Correspondingly, each module in above-described embodiment can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Certainly; the present invention also can have numerous embodiments; do not deviating from the situation of the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change or change according to the present invention; in every case done within the spirit and principles in the present invention any amendment, equivalent replacement, improvement, all should be included within protection scope of the present invention.