Summary of the invention
The technical problem to be solved in the present invention provides a kind of method, terminal and system that realizes the business datum shunting, is realizing the shunting of business datum on heterogeneous networks inserts on the terminal under the prerequisite that does not change the mobile core planar network architecture.
For solving the problems of the technologies described above, a kind of method that realizes the business datum shunting of the present invention comprises:
At network side Provisioning Policy server, the information that the current available network of this strategic server record terminal issue inserts;
Terminal originating service, network insertion for this service selection this locality, and the information that inserts from the current available network of strategic server subscribing service opposite end, according to professional connection of information configuration that the current available network of the information of the network insertion of this locality and professional opposite end inserts, carry out service interaction.
Further, this method also comprises:
After terminal was the network insertion of service selection this locality, the information of network insertion that also should this locality was published to strategic server, the information that inserts as the current available network of this terminal.
Further, the information of the current available network access of the terminal issue of strategic server record comprises: the IP address that available network inserts.
Further, preserve service configuration information in the terminal, this service configuration information comprises: the port and protocol title that business takies.
Further, according to comprising professional connection of information configuration that the current available network of the information of the network insertion of this locality and professional opposite end inserts:
Terminal is professional configuration source IP address, source port, purpose IP address, destination interface and the transport layer protocol of connecting, wherein, source IP address is the IP address of the network insertion of this locality, purpose IP address is the IP address that the available network of professional opposite end inserts, source port and destination interface are the professional port that takies in the professional corresponding service configuration information, and transport layer protocol is the protocol name in the service configuration information.
Further, terminal is selected according to the data traffic of the network insertion of the network insertion priority of business and this terminal when being the network insertion of service selection this locality.
Further, select to comprise according to the data traffic of the network insertion of the network insertion priority of business and this terminal:
Comprise default flow in the service configuration information, terminal is selected network insertion according to the network insertion priority of business, judge that data traffic that selected network inserts and the default flow sum in the service configuration information are whether greater than the upper load limit of this network insertion, if greater than, then from network insertion priority, select the network insertion of next stage; Otherwise, select the network insertion of this network insertion as this locality.
Further, a kind of terminal that realizes the business datum shunting comprises: interface is selected module, wherein:
Interface is selected module, be used for when terminal originating service, network insertion for this service selection this locality, and the information that inserts from the current available network of the strategic server subscribing service opposite end of network side, the professional connection of inserting according to the current available network of the information of the network insertion of this locality and professional opposite end of information configuration is to carry out service interaction.
Further, interface is selected module, also be used to the network insertion of service selection this locality after, the information of the network insertion that this is local is published to strategic server, the information that inserts as the current available network of this terminal.
Further, interface is selected module, also is used to preserve service configuration information, and this service configuration information comprises the port and protocol title that business takies;
The information configuration that the module of selecting interface inserts according to the current available network of the information of the network insertion of this locality and professional opposite end is during professional the connection, for this business connect configuration source IP address, source port, purpose IP address, destination interface with and transport layer protocol, wherein, source IP address is the IP address of the network insertion of this locality, purpose IP address is the IP address that the available network of professional opposite end inserts, source port and destination interface are the professional port that takies in the professional corresponding service configuration information, and transport layer protocol is the protocol name in the service configuration information.
Further, this terminal also comprises the interface monitoring modular, wherein:
The interface monitoring modular is used to monitor and write down the data traffic of the network insertion of this terminal, selects the module inquiry for interface;
Interface selects module when be the network insertion of service selection this locality, and the data traffic of the network insertion of this terminal of inquiring about according to the network insertion priority of business with from the interface monitoring modular is selected.
Further, a kind of system that realizes the business datum shunting comprises: strategic server and terminal, wherein:
Strategic server is used to write down the information that the current available network of terminal issue inserts;
Terminal, be used for initiating professional, network insertion for this service selection this locality, and the information that inserts from the current available network of strategic server subscribing service opposite end, according to professional connection of information configuration that the current available network of the information of the network insertion of this locality and professional opposite end inserts, carry out service interaction.
Further, terminal, also be used to the network insertion of service selection this locality after, the information of the network insertion that this is local is published to strategic server, the information that inserts as the current available network of this terminal.
Further, terminal also is used to preserve service configuration information, and this service configuration information comprises the port and protocol title that business takies; The information that the current available network of the terminal issue of strategic server record inserts comprises the IP address that available network inserts;
The information configuration that terminal inserts according to the current available network of the information of the network insertion of this locality and professional opposite end is during professional the connection, for business connects configuration source IP address, source port, purpose IP address, destination interface and transport layer protocol, wherein, source IP address is the IP address of the network insertion of this locality, purpose IP address is the IP address that the available network of professional opposite end inserts, source port and destination interface are the professional port that takies in the professional corresponding service configuration information, and transport layer protocol is the protocol name in the service configuration information.
Further, terminal is selected according to the data traffic of the network insertion of the network insertion priority of business and this terminal when being the network insertion of service selection this locality.
In sum, application different on the terminal of the present invention can be according to business datum load in current each network insertion, the different network insertion of each professional use of dynamic assignment.
Embodiment
Hereinafter will be elaborated to embodiments of the invention in conjunction with the accompanying drawings.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Terminal herein is that a kind of fixing moving merged (Fix-Mobile Convergence, FMC) terminal, this Terminal Type both can insert WLAN (wireless local area network), also can insert among the mobile networks such as CDMA 1x, CDMA evdo, GSM/GPRS, WCDMA and TD-SCDMA, abbreviate this Terminal Type as terminal herein.
In the present embodiment, after terminal is set up a plurality of network insertions, can select a network insertion to insert according to network insertion priority as current available network, such as the WLAN (wireless local area network) link, and be distributed to strategic server by the SIP signaling, so that when other-end was initiated service interaction to local terminal, the available network that can inquire current selection inserted and corresponding IP address.Be equivalent in start or do not start default network insertion of configuration under the situation of any application.
Terminal is by the monitoring to heterogeneous networks incoming data stream amount and service operation state, when initiation of services, according to presetting network insertion priority professional in the strategy on the terminal, for service dynamic is selected network insertion, and mutual by with strategic server, issue the network insertion of current selection, can know the selection situation that the current available network of professional opposite end inserts from strategic server simultaneously.When certain network insertion of terminal occurs when congested, terminal can be selected an idle relatively network insertion, when local terminal initiate one new professional or when receiving a new service request from the opposite end, network insertion by current selection is carried, and has avoided the unbalanced problem of data payload that multi-channel network inserts on the terminal.
The precondition that realizes the method for present embodiment is the terminal that possesses at least two network accessibilities, and gets access to the IP address of each network allocation.Terminal is shunted the data of every business by a five-tuple, the five-tuple content comprises: source IP address, source port, purpose IP address, destination interface and transport layer protocol, IP address and the port and the transport layer protocol title of the IP address of the terminal that corresponding respectively initiation is professional and port, professional opposite end.Source IP address is for initiating the IP address that professional terminal is obtained in network insertion.
Present embodiment increases interface and selects module in terminal, select in order to carry out network insertion, and the decision condition that network insertion is selected is a configured strategy on loading condition in each network insertion and the terminal.When certain service concurrence of starting terminal plays the network transfer of data, interface selects module according to professional corresponding network insertion priority in the strategy, investigate the WLAN (wireless local area network) link earlier, data traffic has has met or exceeded threshold value on the WLAN (wireless local area network) link, and data traffic does not reach threshold value on the cellular network packet domain link, and when satisfying service interfacing and going into requiring of network, terminal is selected the network insertion of cellular network packet domain link as current business.Terminal is when being the traffic assignments five-tuple, the IP address that source IP address is set to obtain on the grouped link in the cellular network in the five-tuple, professional requirement own is depended in the selection of source port and destination interface, such as the common only transceive data on 80 ports of browser application.By said process, finish selection to network insertion as the terminal of transmit leg.
Signaling adopts Session Initiation Protocol between terminal and strategic server, each header field field of SIP signaling adopts standard definition, User Identity in the SIP signaling, adopt SIP URI form, based on user MSISDN number domain name expansion with configuration, for example user MSISDN number is 13313333133, and domain name expands to cmobile.com, and then user SIP identify label is sip:13313333133@cmobile.com.The transmitting-receiving of SIP signaling selects module to finish with parsing by the interface on the terminal.
Strategic server is used to receive and issue the information that the current available network of terminal issue inserts.For finishing Signalling exchange between terminal and the strategic server, terminal is when satisfying the addressable condition of strategic server, and promptly when the interface of terminal selected message route between module and the server unimpeded, interface selected module to initiate registration process.Judge whether unimpeded can being undertaken of server route, determine that perhaps a certain class network insertion can guarantee that the server route is unimpeded by the mode of server domain name analysis, for example could visited policy server by the WCDMA grouped link.When terminal is initiated registration, adopt Register message in the SIP signaling, above-described SIP URI based on MSISDN number expansion is adopted in identify label.The IP address of terminal that relates in each header field field in the signaling all is set to satisfy the IP address that obtains in the unimpeded network insertion of strategic server route.Register adopts the reference format of RFC3261 normalized definition.
Terminal is notified selection result by SIP Publish message to strategic server after having selected current available network to insert, message body is adopted 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 the above message body,<access_preference〉and</access_preference〉be respectively the starting and ending sign of access parameter;<id〉sip:13313333133@cmobile.com</id〉the expression terminal iidentification;<name〉WLAN</name the expression network insertion title;<address〉10.11.12.13</address〉expression IP address.
Terminal also need be understood the selection of professional opposite end to network insertion before the initiation business.Terminal is to the subscribe request of strategic server initiation at professional opposite end, and subscribe request is the Subscribe message of SIP signaling.Terminal is sent the subscribe request that the network insertion of professional opposite end is selected to strategic server, it is the Subscribe signaling of SIP, terminal is after receiving the notification message that strategic server returns, and promptly the Notify signaling of SIP obtains the current available network access of professional opposite end.Notify adopts the reference format of RFC3261 definition, and message body is adopted 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.
Each module and the interface of the terminal that realizes present embodiment are described in conjunction with Fig. 1.The newly-increased interface of terminal is selected module and interface monitoring modular, interface selects module to be used for the management service configuration information, every configuration information is corresponding to each Media Stream in the business (comprising video, audio frequency, image and character text etc.), and service configuration information comprises: the port that takies, default flow, protocol name and reservation expansion item.Configuration information is selected module registration by interface 2 among Fig. 1 to interface by business, also can finish the registration of each service configuration information by the independent setting interface.
The Socket interface that the ICP/IP protocol of professional use standard provides is finished the application data transmitting-receiving, referring to Fig. 1 interface 1.
Interface selects module after having determined network insertion, by interface 4, route option in the TCP/UDP protocol module is set, appointment current network access corresponding equipment interface is the native device interface in the default route, the part terminal operating system is supported the routing table setting, and interface 4 can be finished the route setting by the routing table control interface that operating system provides.
Interface selects module when the network insertion of the service selection this locality of initiating for terminal, select according to the network insertion priority of business with from the data traffic of the network insertion of interface monitoring modular inquiry, at first from picking out a network insertion according to the network insertion priority of business, judge that the data traffic of this network insertion and the default flow sum in the service configuration information are whether greater than the upper load limit of this network insertion, if greater than, then from network insertion priority, select the network insertion of next stage, judge again otherwise judge that the data traffic of this network insertion and the default flow sum in the service configuration information are whether greater than the upper load limit of this network insertion; If be not more than, select the network insertion of this network insertion as this locality.
Interface selects module after the information of the current available network access of strategic server subscribing service opposite end, the professional connection of inserting according to the current available network of the information of the network insertion of this locality and professional opposite end of information configuration, comprise: for this business connects the configuration source IP address, source port, purpose IP address, destination interface with and transport layer protocol, wherein, source IP address is the IP address of the network insertion of this locality, purpose IP address is the IP address that the available network of described professional opposite end inserts, source port and destination interface are the professional port that takies in the professional corresponding service configuration information, and transport layer protocol is the protocol name in the described service configuration information.
The TCP/UDP protocol module obtains sending data equipment needed thereby interface and source IP address by interface 3 when sending data, equipment interface and source IP all obtain by route option.
The real-time traffic that interface selects module to inquire about in each network insertion to the interface monitoring modular by interface 7 is added up.
The TCP/UDP protocol module is by interface 5 and interface 6 transmitting-receiving IP datagram literary compositions, and interface 6 is the open interface between data link layer and the IP layer, and is the same with interface 1, is general realization.Interface 5 is the different of institute's connection device with the difference of interface 6, and " equipment " shown in Fig. 1 is a notion module, and actual having referred to comprises radio frequency, radio protocol stack, relevant device and drive in interior wireless device module." equipment one " has referred to the equipment that the IP link is provided at the 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 to offer the level difference of upper-layer protocol, " equipment one " directly provides the 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.
The interface monitoring modular is finished on each interface the data traffic monitoring by interface 8, can adopt in the IP agreement in the transmitting-receiving interface registered callbacks function to realize.
The IP acquisition module only is used for " equipment two " place link." equipment one " finishes IP application and assigning process by network side in packet domain link establishment process.After WLAN (wireless local area network) link establishment success, common terminal employing DynamicHost is provided with agreement, and (Dynamic Host Configuration Protocol DHCP) obtains legitimate ip address, and the IP protocol module is known the IP address by interface 9.The equipment one IP address of obtaining can be obtained by interface 5 by the TCP/UDP protocol module.
The IP protocol module calls the interface 10 of data link layer and finishes data transmit-receive.The driving interface that interface 11 provides for equipment.Two parts are open interface, and specific implementation is decided according to definition of hardware producer or data link layer protocol.
Fig. 3 is a schematic network structure, and strategic server connects mobile network's packet domain gateway among the figure, and acquiescence is defined as the packet domain visited policy server that terminal can only be passed through mobile cellular network herein.
Illustrate that in conjunction with Fig. 3 terminal determines the flow process of the used network insertion of business datum.Suppose that terminal possesses the ability that inserts WLAN (wireless local area network) and WCDMA network simultaneously and inserted two networks simultaneously.
Step 301 when the user initiates video call service on the interface, has at first triggered the selection function of network insertion in the interface selection module;
Step 302, interface are selected the network insertion priority policy of module inquiry video call service correspondence; Suppose that the WCDMA network is preferential;
Step 303, interface selects module to inquire about loading condition on the current WCDMA grouped link to the interface monitoring modular, if the load upper limit that the default flow sum of real time data flow and video call service can be born greater than network insertion on the link of current WCDMA network packet territory, promptly surpass the threshold value that presets, and the data traffic situation on the WLAN (wireless local area network) link of time one-level satisfies the video call service demand in the priority policy, and the WLAN (wireless local area network) link satisfies the requirement of video call service to access network, and then interface selection module is that the selected WLAN (wireless local area network) link of video call service is as the used network insertion of business datum;
After step 304, interface selected module to determine the network insertion of professional use, relatively more last network insertion selection result was if change then utilize the new network insertion of SIP Publish issue to select.
Illustrate that in conjunction with Fig. 4 terminal finishes tactful five-tuple setting and start the flow process of service data interaction, comprising:
Step 401, interface are selected the module management service configuration information, as professional default flow, Media Stream corresponding port number and protocol name;
It is being after professional selected network inserts, to be the source IP address in the business configuration five-tuple, source port number and protocol name that step 402, interface are selected module;
It is mutual that video call service relates to Voice ﹠ Video two class Media Streams, it is being after professional selected network inserts that interface is selected module, two class Media Streams for business, dispose a five-tuple respectively, IP address allocated is as the source IP address of five-tuple on the WLAN (wireless local area network) link that conversation module exchange is obtained, port numbers is set to the port record in the service configuration information respectively, the protocol name field is also done setting according to record in the service configuration information, and this routine sound intermediate frequency stream and video flowing all adopt udp protocol.
Step 403, interface select module to utilize SIP Subscribe to initiate once to insert for the current available network of professional opposite end the subscribe request of selection to strategic server;
On behalf of the network insertion of service conversation opposite end, the purpose IP address in the five-tuple select.When the user place of professional opposite end terminal also inserts selection by the up-to-date available network of SIP Publish issue in time, can think terminal after strategic server initiates to subscribe to, the network insertion that obtains selects notice to reflect that the current up-to-date available network in professional opposite end inserts.Do not have effective time limit for simplifying the processing logic of server, subscribing to, only single is effective.
Step 404, terminal the available network that obtains the issue of professional opposite end insert select after, promptly set purpose IP address in the five-tuple of video session business association, and the destination slogan be set according to service configuration information.
So far, the communication two ends of video session have been distributed suitable network to insert in real time and have been carried out service interaction all according to network insertion situation separately.Route control option is set, the transmitting-receiving of beginning business datum.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, program can be stored in the computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each module in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module 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; in the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art are when making various corresponding changes or variation according to the present invention; in every case any modification of being done within the spirit and principles in the present invention, be equal to replacements, improvement, all should be included within protection scope of the present invention.