CN105451289A - Service processing method, system and device - Google Patents

Service processing method, system and device Download PDF

Info

Publication number
CN105451289A
CN105451289A CN201410438698.5A CN201410438698A CN105451289A CN 105451289 A CN105451289 A CN 105451289A CN 201410438698 A CN201410438698 A CN 201410438698A CN 105451289 A CN105451289 A CN 105451289A
Authority
CN
China
Prior art keywords
equipment
session
asp
network
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410438698.5A
Other languages
Chinese (zh)
Other versions
CN105451289B (en
Inventor
陈济
方平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Rongzhi Industry Guidance Fund Co ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410438698.5A priority Critical patent/CN105451289B/en
Priority to PCT/CN2015/087669 priority patent/WO2016029820A1/en
Publication of CN105451289A publication Critical patent/CN105451289A/en
Application granted granted Critical
Publication of CN105451289B publication Critical patent/CN105451289B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/18Performing reselection for specific purposes for allowing seamless reselection, e.g. soft reselection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/304Reselection being triggered by specific parameters by measured or perceived connection quality data due to measured or perceived resources with higher communication quality

Abstract

An embodiment of the invention discloses a service processing method, system and device for improving the service transmission quality and the resource utilization rate. In the invention, a first session based on a first network is established between a first device and a second device, and when a first device establishes a connection with the second device through a second network, the first device transmits a request message to the second device; the request message is used for requesting the establishment of a second session based on the second network and contains first cooperative information for indicating that the second session and the first session correspond to the same service; the first device receives a response message responded by the second device according to the request message, and the response message is used for indicating that the second device accepts to establish the second session with the first device; and the first device establishes the second session with the second device according to the response message.

Description

A kind of method for processing business and system, equipment
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method for processing business and system, equipment.
Background technology
Network is information transmission, reception and shared virtual platform, by it the informational linkage of each point, face, body to together, thus realize sharing of these resources.At equipment by after a certain network and another equipment connection, the session of a certain business based on this network between two equipment, can be set up, with the connection between the service module setting up two equipment with transmit data, thus realize this business and transmit in the business of equipment room.
Along with the fast development of network technology, multiple network access technology is emerged in large numbers in succession, equipment can pass through multiple network and another equipment connection, above-mentioned multiple network can be multiple dissimilar networks, such as, cable network, WI-FI (Wireless-Fidelity, Wireless Fidelity), bluetooth, NFC (NearFieldCommunication, the short distance wireless communication technology) and Powerline (power transmission line etc., also can be of the same type but possess the network of heterogeneous networks structure, such as based on the P2P network of WI-FI and the infrastructure network based on WI-FI.
But, communication between current equipment all only considered the situation of business at an Internet Transmission, when there is the situations such as signal quality is not good or be switched in this network, the business of equipment room can be affected, even interrupt, and other networks of device-dependent cannot fully utilize, waste the advantage of multiple network.
Summary of the invention
Embodiments provide a kind of method for processing business and equipment, can effectively improve service transmission quality and resource utilization.
The first aspect of the embodiment of the present invention provides a kind of method for processing business, and set up the first session based on first network between the first equipment and the second equipment, described method comprises: when described first equipment is by second network and described second equipment connection,
Described first equipment sends a request message to described second equipment; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Described first equipment receives the response message that described second equipment is responded according to described request message, and described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Described first equipment sets up described second session according to described response message and described second equipment.
In conjunction with the first aspect of the embodiment of the present invention, in the first implementation of the first aspect of the embodiment of the present invention,
Described first equipment sends a request message to described second equipment and is specially:
The ASP of described first equipment sends a request message to the ASP of described second equipment;
The response message that described second equipment of described first equipment reception is responded according to described request message is specially:
The response message that the ASP that the ASP of described first equipment receives described second equipment responds according to described request message;
Described first equipment is set up described second session according to described response message and described second equipment and is specifically comprised:
The ASP of described first equipment sets up described second session according to the ASP of described response message and described second equipment.
In conjunction with the first implementation of the first aspect of the embodiment of the present invention, in the second implementation of the first aspect of the embodiment of the present invention, also comprise after the ASP of described first equipment sets up described second session according to the ASP of described response message and described second equipment:
The ASP of the first equipment sends the first report message to the service module of the first equipment, and described first report message is used to indicate between described first equipment and described second equipment and has set up described second session.
In conjunction with the first or the second implementation of the first aspect of the embodiment of the present invention, in the third implementation of the first aspect of the embodiment of the present invention,
Also comprised before the ASP of described first equipment sends a request message to the ASP of described second equipment:
The ASP of described first equipment sends the second report message to the service module of described first equipment, described second report message is used for reporting described first equipment can set up the second session based on described second network with described second equipment to the service module of described first equipment, described second report message comprises the second cooperative information, and described second cooperative information is for representing that described second session and described first session correspond to same business;
The ASP of described first equipment receives the service module of described first equipment according to the first Indication message of described second report message transmission, and described first Indication message is used to indicate described first equipment and described second equipment sets up described second session;
The response message that the ASP of described second equipment of ASP reception of described first equipment responds according to described request message comprises:
The ASP of described first equipment receives the ASP of described second equipment according to the response message of described request message response after the second equipment carries out pre-treatment operation; Described pre-treatment is operating as: the ASP of described second equipment is according to service module transmission three report message of described request message to described second equipment, whether described 3rd report message is used for asking for instructions to the service module of described second equipment accepting to set up described second session with described first equipment, described 3rd report message comprises the 3rd cooperative information, and described 3rd cooperative information is for representing that described second session and described first session correspond to same business; The second Indication message that the service module that the ASP of described second equipment receives described second equipment sends according to described 3rd report message, the ASP that described second Indication message is used to indicate described second equipment responds described response message to the ASP of the first equipment.
In conjunction with the first aspect of the embodiment of the present invention, the first of the first aspect of the embodiment of the present invention is to any one in the third implementation, in the 4th kind of implementation of the first aspect of the embodiment of the present invention, described first cooperative information comprises the address information of described first equipment in described first network, one or more in the session identification of described first session and the first identification information, wherein, described first identification information is the information obtained after calculating according to the session identification of the address information of described first equipment in described first network and/or described first session.
In conjunction with the 4th kind of implementation of the first aspect of the embodiment of the present invention, in the 5th kind of implementation of the first aspect of the embodiment of the present invention, it is one or more that described second cooperative information comprises in the address information of described second equipment in described first network, the session identification of described first session and the second identification information, wherein, described second identification information is the information obtained after calculating according to the session identification of the address information of described second equipment in described first network and/or described first session; It is one or more that described 3rd cooperative information comprises in the address information of described first equipment in described first network, the session identification of described first session and the first identification information, wherein, described first identification information is the information obtained after calculating according to the session identification of the address information of described first equipment in described first network and/or described first session.
In conjunction with the first aspect of the embodiment of the present invention, the first aspect of the embodiment of the present invention the first to any one in the 5th kind of implementation, in the 6th kind of implementation of the first aspect of the embodiment of the present invention, described method also comprises:
When meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session by described first equipment, carries out business transmission to make the business corresponding to described first session according to described second session.
In conjunction with the 6th kind of implementation of the first aspect of the embodiment of the present invention, in the 7th kind of implementation of the first aspect of the embodiment of the present invention, described the first default switching condition comprises:
The signal quality that the signal quality of described first network does not meet preset requirement or described second network is better than the signal quality of described first network.
The second aspect of the embodiment of the present invention provides a kind of method for processing business, sets up the first session based on first network between the first equipment and the second equipment, and when described first equipment is also by second network and described second equipment connection, described method comprises:
Described second equipment receives the request message that described first equipment sends; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Described second equipment responds response message according to described request message to described first equipment, and described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Described second equipment and described first equipment set up described second session.
In conjunction with the second aspect of the embodiment of the present invention, in the first implementation of the second aspect of the embodiment of the present invention,
The request message that described second equipment receives described first equipment transmission is specially:
The ASP of described second equipment receives the request message of the ASP transmission of described first equipment;
Described second equipment is responded response message according to described request message to the first equipment and is specially:
The ASP of described second equipment is according to the ASP response response message of described request message to the first equipment;
Described second equipment is set up described second session according to described response message and described first equipment and is specifically comprised:
The ASP of described second equipment and the ASP of described first equipment sets up described second session.
In conjunction with the first implementation of the second aspect of the embodiment of the present invention, in the second implementation of the second aspect of the embodiment of the present invention, also comprise after the ASP of described second equipment and the ASP of described first equipment sets up described second session:
The ASP of the second equipment sends the first report message to the service module of the second equipment, and described first report message is used to indicate between described second equipment and described first equipment and has set up described second session.
In conjunction with the first or the second implementation of the second aspect of the embodiment of the present invention, in the third implementation of the second aspect of the embodiment of the present invention,
The request message that described second equipment receives described first equipment transmission is specially:
The request message that the ASP that the ASP of described second equipment receives described first equipment sends after the first equipment carries out pretreatment operation; Described pretreatment operation is: the ASP of described first equipment sends the second report message to the service module of described first equipment, described second report message is used for reporting described first equipment can set up the second session based on described second network with described second equipment to the service module of described first equipment, described second report message comprises the second cooperative information, and described second cooperative information is for representing that described second session and described first session correspond to same business; The ASP of described first equipment receives the service module of described first equipment according to the first Indication message of described second report message transmission, and described first Indication message is used to indicate described first equipment and described second equipment sets up described second session;
After the request message that the ASP receiving described first equipment at the ASP of described second equipment sends, the ASP of described second equipment also comprised before the ASP of the first equipment responds response message according to described request message:
The ASP of described second equipment is according to service module transmission three report message of described request message to described second equipment, whether described 3rd report message is used for asking for instructions to the service module of described second equipment accepting to set up described second session with described first equipment, described 3rd report message comprises the 3rd cooperative information, and described 3rd cooperative information is for representing that described second session and described first session correspond to same business;
The second Indication message that the service module that the ASP of described second equipment receives described second equipment sends according to described 3rd report message, the ASP that described second Indication message is used to indicate described second equipment responds described response message to the ASP of the first equipment.
In conjunction with the second aspect of the embodiment of the present invention, the first of the second aspect of the embodiment of the present invention is to any one in the third implementation, in the 4th kind of implementation of the second aspect of the embodiment of the present invention, described first cooperative information comprises the address information of described first equipment in described first network, one or more in the session identification of described first session and the first identification information, wherein, described identification information is the information obtained after calculating according to the session identification of the address information of described first equipment in described first network and/or described first session.
In conjunction with the 4th kind of implementation of the second aspect of the embodiment of the present invention, in the 5th kind of implementation of the second aspect of the embodiment of the present invention, it is one or more that described second cooperative information comprises in the address information of described second equipment in described first network, the session identification of described first session and the second identification information, wherein, described second identification information is the information obtained after calculating according to the session identification of the address information of described second equipment in described first network and/or described first session; It is one or more that described 3rd cooperative information comprises in the address information of described first equipment in described first network, the session identification of described first session and the first identification information, wherein, described first identification information is the information obtained after calculating according to the session identification of the address information of described first equipment in described first network and/or described first session.
In conjunction with the second aspect of the embodiment of the present invention, the second aspect of the embodiment of the present invention the first to any one in the 5th kind of implementation, in the 6th kind of implementation of the second aspect of the embodiment of the present invention, described method also comprises:
When meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session by described second equipment, carries out business transmission to make the business corresponding to described first session according to described second session.
In conjunction with the 6th kind of implementation of the second aspect of the embodiment of the present invention, in the 7th kind of implementation of the second aspect of the embodiment of the present invention, described the first default switching condition comprises:
The signal quality that the signal quality of described first network does not meet preset requirement or described second network is better than the signal quality of described first network.
The third aspect of the embodiment of the present invention provides a kind of equipment, and described equipment is the first equipment, and set up the first session based on first network between described first equipment and the second equipment, described first equipment comprises:
Transmitting element, for when described first equipment is by second network and described second equipment connection, sends a request message to described second equipment; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Receiving element, for receiving the response message that described second equipment is responded according to request message, described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Set up unit, for setting up described second session according to described response message and described second equipment.
In conjunction with the third aspect of the embodiment of the present invention, in the first implementation of the third aspect of the embodiment of the present invention, described first equipment also comprises:
First switch unit, for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
The fourth aspect of the embodiment of the present invention provides a kind of equipment, and described equipment is the first equipment, and set up the first session based on first network between described first equipment and the second equipment, described first equipment comprises an ASP;
A described ASP, for when described first equipment is by second network and described second equipment connection, send a request message to the 2nd ASP, described 2nd ASP is the ASP of described second equipment, described request message sets up the second session based on described second network for asking, described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Also for receiving the response message that described 2nd ASP responds according to described request message, described response message is for representing that described second equipment accepts to set up described second session with described first equipment; And for setting up described second session according to described response message and described 2nd ASP.
In conjunction with the fourth aspect of the embodiment of the present invention, in the first implementation of the fourth aspect of the embodiment of the present invention, described first equipment also comprises first service module;
First service module in described first equipment, for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
In conjunction with the first implementation of the fourth aspect of the embodiment of the present invention, in the second implementation of the fourth aspect of the embodiment of the present invention,
A described ASP, also for described set up described second session according to described response message and described 2nd ASP after, send the first report message to described first service module, described first report message is used to indicate between described first equipment and described second equipment and has set up described second session;
Described first service module, also for receiving described first report message that a described ASP sends.
In conjunction with first or the second implementation of the fourth aspect of the embodiment of the present invention, in the third implementation of the fourth aspect of the embodiment of the present invention,
A described ASP, also for before sending a request message to described 2nd ASP, the second report message is sent to described first service module, described second report message is used for reporting described first equipment can set up the second session based on described second network with described second equipment to described first service module, described second report message comprises the second cooperative information, and described second cooperative information is for representing that described second session and described first session correspond to same business;
Described first service module, also for after the second report message receiving a described ASP transmission, send the first Indication message according to described second report message to a described ASP, described first Indication message is used to indicate described first equipment and described second equipment sets up described second session;
A described ASP, also for receiving described first Indication message that described first service module sends;
The response message that a described ASP responds according to described request message for receiving described 2nd ASP, is specially: the response message that a described ASP responds according to described request message for receiving described 2nd ASP after described second equipment carries out pre-treatment operation; Described pre-treatment is operating as: described 2nd ASP sends the 3rd report message according to described request message to described second service module, described second service module is the service module of described second equipment, whether described 3rd report message is used for asking for instructions to described second service module accepting to set up described second session with described first equipment, described 3rd report message comprises the 3rd cooperative information, and described 3rd cooperative information is for representing that described second session and described first session correspond to same business; Described 2nd ASP receives the second Indication message that described first service module sends according to described 3rd report message, and described second Indication message is used to indicate described 2nd ASP and responds described response message to a described ASP.
5th aspect of the embodiment of the present invention provides a kind of equipment, and described equipment is the second equipment, and set up the first session based on first network between described second equipment and the first equipment, described second equipment comprises:
Receiving element, for when described second equipment is by second network and described first equipment connection, receives the request message that described first equipment sends; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Response unit, for responding response message according to described request message to described first equipment, described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Set up unit, for setting up described second session with described first equipment.
In conjunction with the 5th aspect of the embodiment of the present invention, in the first implementation in the 5th of the embodiment of the present invention the, described second equipment also comprises:
First switch unit, for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
6th aspect of the embodiment of the present invention provides a kind of equipment, and described equipment is the second equipment, and set up the first session based on first network between described second equipment and the first equipment, described second equipment comprises the 2nd ASP;
Described 2nd ASP, for when described second equipment is by second network and described first equipment connection, receive the request message that an ASP sends, a described ASP is the ASP of described first equipment, described request message sets up the second session based on described second network for asking, described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Also for responding response message according to described request message to a described ASP, described response message is for representing that described second equipment accepts to set up described second session with described first equipment; And for setting up described second session with a described ASP.
In conjunction with the 6th aspect of the embodiment of the present invention, in the first implementation in the 6th of the embodiment of the present invention the, described second equipment also comprises second service module;
Described second service module, for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
In conjunction with the first implementation of the 6th aspect of the embodiment of the present invention, in the second implementation in the 6th of the embodiment of the present invention the,
Described 2nd ASP, also for sending the first report message to described second service module, described first report message is used to indicate between described second equipment and described first equipment and has set up described second session;
Described second service module, also for receiving described first report message that described 2nd ASP sends.
In conjunction with first or the second implementation of the 6th aspect of the embodiment of the present invention, in the third implementation in the 6th of the embodiment of the present invention the,
The request message that described 2nd ASP sends for receiving an ASP, is specially: the request message that described 2nd ASP sends after the first equipment carries out pretreatment operation for receiving a described ASP; Described pretreatment operation is: a described ASP sends the second report message to first service module, described first service module is the service module of described first equipment, described second report message is used for reporting described first equipment can set up the second session based on described second network with described second equipment to described first service module, described second report message comprises the second cooperative information, and described second cooperative information is for representing that described second session and described first session correspond to same business; A described ASP receives the first Indication message that described first service module sends according to described second report message, and described first Indication message is used to indicate described first equipment and described second equipment sets up described second session;
Described 2nd ASP, also for receive at described 2nd ASP described one ASP send request message after, described 2nd ASP responds before response message to an ASP according to described request message, the 3rd report message is sent to described second service module according to described request message, whether described 3rd report message is used for asking for instructions to described second service module accepting to set up described second session with described first equipment, described 3rd report message comprises the 3rd cooperative information, described 3rd cooperative information is for representing that described second session and described first session correspond to same business,
Described second service module, also for after described 3rd report message receiving described 2nd ASP transmission, according to the second Indication message that described 3rd report message sends to described 2nd ASP, described second Indication message is used to indicate described 2nd ASP and responds described response message to an ASP;
Described 2nd ASP, also for receiving described second Indication message that described second service module sends.
7th aspect of the embodiment of the present invention provides a kind of transaction processing system, comprising:
First equipment and the second equipment; The first session based on first network is set up between described first equipment and described second equipment;
Described first equipment, for when described first equipment is by second network and described second equipment connection, sends a request message to described second equipment; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Also for receiving the response message that described second equipment is responded according to described request message, described response message is for representing that described second equipment accepts to set up described second session with described first equipment; And for setting up described second session according to described response message and described second equipment.
Described second equipment, for when described equipment is connected with described target device by second network, receives the request message that described target device sends; Also for responding described response message according to described request message to the first equipment; And for setting up described second session with described target device.
In conjunction with the 7th aspect of the embodiment of the present invention, in the first implementation in the 7th of the embodiment of the present invention the,
Described first equipment or described second equipment, also for the session that the business corresponding to described first session uses being switched to described second session by described first session when meeting the first switching condition preset, carry out business transmission to make the business corresponding to described first session according to described second session.
In the technical scheme that the embodiment of the present invention provides, when the first equipment is by second network and the second equipment connection, first equipment comprises the first cooperative information in the request message sent to the second equipment, this first cooperative information is for representing that described second session and the first session correspond to same business, and after the response message receiving the second equipment response, set up this second session with the second equipment, the first equipment and the second equipment room are set up based on second network and the second session of the business corresponding to the first session of corresponding to.Therefore relative to prior art, the embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Accompanying drawing explanation
Fig. 1 is method for processing business embodiment schematic diagram in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of method for processing business in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of method for processing business in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of method for processing business in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of method for processing business in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of method for processing business in the embodiment of the present invention;
Fig. 7 is the first equipment embodiment schematic diagram in the embodiment of the present invention;
Fig. 8 is another embodiment schematic diagram of the first equipment in the embodiment of the present invention;
Fig. 9 is another embodiment schematic diagram of the first equipment in the embodiment of the present invention;
Figure 10 is another embodiment schematic diagram of the first equipment in the embodiment of the present invention;
Figure 11 is another embodiment schematic diagram of the first equipment in the embodiment of the present invention;
Figure 12 is the second equipment embodiment schematic diagram in the embodiment of the present invention;
Figure 13 is another embodiment schematic diagram of the second equipment in the embodiment of the present invention;
Figure 14 is another embodiment schematic diagram of the second equipment in the embodiment of the present invention;
Figure 15 is another embodiment schematic diagram of the second equipment in the embodiment of the present invention;
Figure 16 is another embodiment schematic diagram of the second equipment in the embodiment of the present invention;
Figure 17 is transaction processing system embodiment schematic diagram in the embodiment of the present invention;
Figure 18 is another embodiment schematic diagram of transaction processing system in the embodiment of the present invention.
Embodiment
Embodiments provide a kind of method for processing business and system, equipment, for improving service transmission quality and resource utilization.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Term " first ", " second ", " the 3rd " " 4th " etc. (if existence) in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.The embodiments described herein should be appreciated that the data used like this can be exchanged in the appropriate case, so that can be implemented with the order except the content except here diagram or description.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
First, it should be explicitly made clear at this point, in each embodiment of following the present invention, between the first equipment and the second equipment, set up the first session based on first network.Be understandable that, when the first equipment and this second equipment have set up the connection based on first network, first equipment and this second equipment can use a set of address based on first network, i.e. the first address of this first equipment and the first address of this second equipment, and utilization sets up this first session based on a set of address of first network.After this first session establishment, the first equipment is undertaken being connected and transmitting data by this first session with the second equipment, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.Be understandable that, in the present invention, address can comprise IP address or MAC Address etc., and each embodiment can select according to actual conditions the address adopting which kind of type, does not specifically limit herein.It should be noted that, first network and second network can be two dissimilar networks, such as, cable network, WI-FI, bluetooth, NFC and Powerline etc., also can be of the same type but possess the network of heterogeneous networks structure, such as based on the P2P network of WI-FI and the infrastructure network based on WI-FI, wherein, based on the P2P network of Wi-Fi, can be based on WFA (Wi-FiAlliance, Wi-Fi Alliance) the network set up of Wi-FiDirect agreement, in this case, the first equipment can directly be connected with the second equipment; Based on the infrastructure network of Wi-Fi, can be the network set up based on 802.11 agreements of IEEE, in this case, the first equipment and the second equipment be all connected to AP (AccessPoint, access point), and the communication that can realize between the two by AP.Be understandable that, in actual applications, the quantity of second network can be one or more, is not construed as limiting herein.
It should be noted that, in each embodiment of following the present invention, first equipment and the second equipment can be the equipment possessing network connecting function, the mobile phone of such as network enabled linkage function, television set, server, wireless router, other various household electrical appliance or office equipment etc.Such as, first equipment can be mobile phone, second equipment can be television set, access point can be wireless router, now, mobile phone by the connection of wireless router foundation based on the infrastructure network of Wi-Fi, and can set up the first session based on this infrastructure network based on Wi-Fi with television set, by this first session, play content is transferred to television set to make mobile phone.It is emphasized that, for above-mentioned first equipment and the second equipment, each device interior has ASP (ApplicationServicePlatform, application service platform) and service module, these modules are all the logic entities of device interior, realize logic function by the software running on processor.In an equipment, can be communicated by the mode of inter-process between ASP and service module.At equipment room, can be communicated by other modules of system and hardware such as the modes such as antenna between the ASP of an equipment and the ASP of other equipment.
Refer to Fig. 1, in the embodiment of the present invention, method for processing business embodiment comprises:
101, when the first equipment is by second network and the second equipment connection, the first equipment sends a request message to the second equipment;
It should be noted that, when the first equipment can be the situation that the first equipment and the second equipment have just set up the connection based on second network by application scenarios when second network and the second equipment connection, such as, when the first equipment and the second equipment use carry out business transmission based on the first session of first network, both discoveries can also set up the connection based on second network, so both set up the connection based on second network, after above-mentioned connection of setting up second network completes, first equipment that can at once perform sends a request message to the second equipment; Also can be, set up the situation of the connection had based on second network between the first device and the second device already, can be now just perform the first equipment in the satisfied trigger condition preset to send a request message to the second equipment, such as, the connection based on second network is set up already between first equipment and the second equipment, carry out in the process of business transmission at the first equipment and the second equipment use based on the first session of first network, find the poor quality of the first session, so first equipment of triggering sends a request message to the second equipment.
Be understandable that, when the first equipment and this second equipment set up the connection based on second network, the first equipment and this second equipment can use a set of address based on second network, i.e. the second address of this first equipment and the second address of this second equipment.It should be noted that, in first network, first equipment and the second equipment use are based on a set of address of first network, in the second network, first equipment and the second equipment use based on a set of address of second network, and should be different from this set of address based on second network based on a set of address of first network.
It should be noted that, request message sets up the second session based on this second network for asking, and this request message comprises the first cooperative information, and this first cooperative information is for representing that this second session and this first session correspond to same business.
102, the first equipment receives the response message that the second equipment is responded according to request message;
After the first equipment sends a request message to the second equipment, the second equipment responds according to the request message received, and responds response message to the first equipment.In the present embodiment, response message is for representing that the second equipment accepts to set up this second session with the first equipment.
103, the first equipment sets up the second session according to response message and the second equipment;
Receive the response message of the second equipment response at the first equipment after, first equipment and the second equipment utilization set up this second session based on a set of address of second network, and namely the first equipment and the second equipment are set up based on second network and corresponded to the second session of the business corresponding to the first session.
After this second session establishment, first equipment can be undertaken being connected and transmitting data by this second session with the second equipment, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session, but before session is not switched to the second session from the first session, the session that business corresponding to first session uses remains the first session, and the second session can as the session for subsequent use for the business corresponding to this first session.
In the technical scheme that the embodiment of the present invention provides, when the first equipment is by second network and the second equipment connection, first equipment comprises the first cooperative information in the request message sent to the second equipment, this first cooperative information is for representing that described second session and the first session correspond to same business, and after the response message receiving the second equipment response, set up this second session with the second equipment, the first equipment and the second equipment room are set up based on second network and the second session of the business corresponding to the first session of corresponding to.Therefore relative to prior art, the embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Be understandable that, the process of establishing of above-mentioned second session can based on different signaling processes, be described in detail to the specific implementation setting up the second session based on the first signaling process below, refer to Fig. 2, in the embodiment of the present invention, another embodiment of method for processing business comprises:
201, when the first equipment is by second network and the second equipment connection, the ASP of the first equipment sends to the ASP of the second equipment and confirms version request message;
It should be noted that, when the first equipment can be the situation that the first equipment and the second equipment have just set up the connection based on second network by application scenarios when second network and the second equipment connection, such as, when the first equipment and the second equipment use carry out business transmission based on the first session of first network, both discoveries can also set up the connection based on second network, so both set up the connection based on second network, after above-mentioned connection of setting up second network completes, first equipment that can at once perform sends a request message to the second equipment; Also can be, set up the situation of the connection had based on second network between the first device and the second device already, can be now just perform the first equipment in the satisfied trigger condition preset to send a request message to the second equipment, such as, the connection based on second network is set up already between first equipment and the second equipment, carry out in the process of business transmission at the first equipment and the second equipment use based on the first session of first network, find the poor quality of the first session, so first equipment of triggering sends a request message to the second equipment.
Be understandable that, when the first equipment and this second equipment set up the connection based on second network, the first equipment and this second equipment can use a set of address based on second network, i.e. the second address of this first equipment and the second address of this second equipment.It should be noted that, in first network, first equipment and the second equipment use are based on a set of address of first network, in the second network, first equipment and the second equipment use based on a set of address of second network, and should be different from this set of address based on second network based on a set of address of first network.
In the present embodiment, confirm that version request message comprises the version information of the ASP of the first equipment, this confirmation version request message is used for confirming whether the protocol version that the ASP of this first equipment supports mates with the protocol version that the ASP of the second equipment supports to the ASP of the second equipment.It should be noted that, in the present embodiment, the situation when protocol version that the ASP of the first equipment supports mates with the protocol version that the ASP of the second equipment supports can be that the protocol version that both support is consistent, also can be the low protocol version that ASP that the ASP high protocol version that it is supported under backward compatible mechanism of the second equipment can mate the second equipment supports.In actual application, the version information of the ASP of the first equipment is specifically as follows the version information of the cooperation agreement (Coordinationprotocol) of ASP definition.202, the ASP of the first equipment receives the ASP of the second equipment according to confirming the confirmation version feedback message that version request message is responded;
After the ASP of the first equipment to send to the ASP of the second equipment and confirms version request message, whether the protocol version that the ASP of ASP to this first equipment of the second equipment supports mates with the protocol version that the ASP of the second equipment supports confirms, and when the protocol version that the ASP of the first equipment supports mates with the protocol version that the ASP of the second equipment supports, ASP to the first equipment responds and confirms version feedback message, and this confirmation version feedback message comprises the version information of the ASP of the second equipment.Correspondingly, in actual application, the version information of the ASP of the second equipment is specifically as follows the version information of the cooperation agreement (Coordinationprotocol) of ASP definition, and when the version information of the ASP of the first equipment is identical with the version information of the ASP of the second equipment, then confirm that the protocol version that the ASP of the first equipment supports mates with the protocol version that the ASP of the second equipment supports.
In the present embodiment, step 201 and step 202 for carrying out version confirmation to the ASP of the first equipment and the ASP of the second equipment, to ensure that the protocol version that the ASP of the first equipment supports mates with the protocol version that the ASP of the second equipment supports.Be understandable that, at some other application scenarios specific, also can not carry out version confirmation to the ASP of the ASP of the first equipment and the second equipment, such as, the protocol version that the protocol version that the ASP giving tacit consent to the first equipment supports is supported with the ASP of the second equipment mates; And, the present embodiment only to how carrying out version confirms to be described by way of example, in actual application, whether the ASP of the first equipment and the ASP of the second equipment can also adopt other modes to carry out version confirmation, herein to carrying out version confirmation and how to carry out version confirming to be not construed as limiting.
203, the ASP of the first equipment sends a request message to the ASP of the second equipment;
It should be noted that, request message sets up the second session based on this second network for asking, and this request message comprises the first cooperative information, and this first cooperative information is for representing that this second session and this first session correspond to same business.In the present embodiment, first cooperative information can comprise the address information of the first equipment in first network (the IP address of first equipment that is specifically as follows in first network or MAC Address), one or more in the session identification (session_id) of the first session and the first identification information, wherein, this first identification information can for the information obtained after calculating according to the session identification of the address information of the first equipment in first network and/or the first session, also can be the identification information that the first equipment generates according to preset rules, the number that such as the first equipment produces at random, or the device name etc. of the first equipment.Be not construed as limiting the first cooperative information design parameter form, this second session to be set up corresponds to the business corresponding to the first session the ASP of the second equipment to be allowed to identify as long as satisfied, does not limit herein herein.Be understandable that, the first cooperative information can also comprise multiple satisfied ASP of the second equipment that can allow simultaneously and identify the parameter of this second session to be set up corresponding to the business corresponding to the first session, is specifically not construed as limiting herein.
Be understandable that, the first cooperative information in the present embodiment is except comprising foregoing, can further include other parameter, such as, the service identification etc. of the identification information of the first equipment address information in the second network, the second session or the business corresponding to the first session, is specifically not construed as limiting herein.In the present embodiment, request message can be REQUEST_SESSION message, also can be the message of other titles with identical function, specifically not limit herein.
204, the response message response message that the ASP that the ASP of the first equipment receives the second equipment responds according to request message;
After the ASP of the first equipment sends a request message to the ASP of the second equipment, the ASP of the second equipment responds according to the request message received, and responds response message to the ASP of the first equipment.In the present embodiment, response message is for representing that the second equipment accepts to set up this second session with the first equipment.It should be noted that, the second equipment accepts to set up this second session to the first equipment and shows that the second equipment the business corresponding to this first session can open corresponding port, and by such as ALLOWED_PORT message informing first equipment.In the present embodiment, response message can be ADDED_SESSION message, also can be the message of other titles with identical function, specifically be not construed as limiting herein.
205, the ASP of the first equipment sets up the second session according to the ASP of response message and the second equipment;
Receive the response message of ASP response of the second equipment at the ASP of the first equipment after, the ASP of the first equipment and the ASP of the second equipment utilizes a set of address based on second network to set up this second session, and namely the ASP of the first equipment and the ASP foundation of the second equipment have based on second network and corresponds to the second session of the business corresponding to the first session.The detailed process setting up the second session can comprise the business of the first equipment corresponding to this first session and open corresponding port, and by such as ALLOWED_PORT message informing second equipment; Also can comprise the first equipment receives the ALLOWED_PORT message sent after the business of the second equipment corresponding to this first session opens corresponding port simultaneously.The concrete structure of this ALLOWED_PORT message with reference to the regulation in existing relevant criterion and follow-up relevant criterion, can not repeat in the present embodiment.
206, the ASP of the first equipment sends the first report message to the service module of the first equipment;
In the present embodiment, this first report message is used to indicate between the first equipment and the second equipment and has set up this second session.Be understandable that, the ASP of the second equipment also corresponding service module to the second equipment sends one and is used to indicate the report message having set up this second session between the first equipment and the second equipment.After the service module of the first equipment receives this first report message, service module this second session that just identifiable design existence can be for subsequent use of first equipment, and carry out being connected and transmitting data with the service module of the second equipment by this second session as required, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.
Be understandable that, in the present embodiment, the execution opportunity sending the first report message can be perform immediately after step 205, also can be just perform after determining to meet the first default switching condition, be not construed as limiting herein, only need ensure to complete post-processing operation when performing session and switching.
Alternatively, after step 206, the present embodiment also can comprise further:
207, when meeting the first switching condition preset, the session that the business corresponding to the first session uses is switched to the second session by the first session by the service module of the first equipment;
After transmission first report message, the session that the business corresponding to the first session uses remains the first session, and the second session is as the session for subsequent use for the business corresponding to this first session.When meeting the first switching condition preset, the session that the business corresponding to the first session uses is switched to the second session by the first session by the service module of the first equipment, carries out business transmission to make the business corresponding to the first session according to the second session.Be understandable that, in embody rule process, first can not perform step 206, but: when meeting the first switching condition preset, perform step 206, the session that business corresponding to first session uses is switched to the second session by the first session by the service module of the first equipment, carries out business transmission to make the business corresponding to the first session according to the second session.
In the present embodiment, the signal quality that the signal quality that above-mentioned the first default switching condition can comprise first network does not meet preset requirement or second network is better than the signal quality of first network, be understandable that, in actual applications, the first switching condition preset can also comprise various ways, such as the first equipment receives the triggering command of network side or user, is not construed as limiting the concrete mode of the first switching condition preset herein.
208, when meeting the second switching condition preset, the session that the business corresponding to the first session uses is switched to the first session by the second session by the service module of the first equipment;
After session business corresponding to first session used at the first equipment switches to the second session by the first session, when meeting the second switching condition preset, the session that business corresponding to first session uses is switched to the first session by the second session by the service module of the first equipment, carries out business transmission to make the business corresponding to the first session according to the first session.
In the present embodiment, the signal quality that the signal quality that above-mentioned the second default switching condition can comprise second network does not meet preset requirement or first network is better than the signal quality of second network, be understandable that, in actual applications, the second switching condition preset can also comprise various ways, such as the first equipment receives the triggering command of network side or user, is not construed as limiting the concrete mode of the first switching condition preset herein.
In the technical scheme that the embodiment of the present invention provides, when the first equipment is by second network and the second equipment connection, the ASP of the first equipment comprises the first cooperative information in the request message sent to the ASP of the second equipment, this first cooperative information is for representing that the second session and the first session correspond to same business, and after receiving the response message of ASP response of the second equipment, this the second session is set up with the ASP equipment of second network, make to set up based on second network between the ASP of the ASP of the first equipment and the second equipment and the second session of the business corresponding to the first session of corresponding to, just can carry out being connected and transmitting data with the service module of the second equipment by the second session as required after the first report message that the service module of the first equipment sends at the ASP of reception first equipment, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.Therefore relative to prior art, the embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Further, the embodiment of the present invention can according to the first switching condition preset and second switching condition of presetting, business corresponding to first session is switched in the first session based on first network and the second session based on second network, for business uses the selection of network to provide larger flexibility ratio, and the seamless switching of the business that ensures between heterogeneous networks, thus improve Consumer's Experience.
Be described in detail to the specific implementation setting up the second session based on the second signaling process below, refer to Fig. 3, in the embodiment of the present invention, another embodiment of method for processing business comprises:
301, when the first equipment is by second network and the second equipment connection, the first equipment performs pretreatment operation;
It should be noted that, when the first equipment can be the situation that the first equipment and the second equipment have just set up the connection based on second network by application scenarios when second network and the second equipment connection, such as, when the first equipment and the second equipment use carry out business transmission based on the first session of first network, both discoveries can also set up the connection based on second network, so both set up the connection based on second network, after above-mentioned connection of setting up second network completes, first equipment that can at once perform sends a request message to the second equipment; Also can be, set up the situation of the connection had based on second network between the first device and the second device already, can be now just perform the first equipment in the satisfied trigger condition preset to send a request message to the second equipment, such as, the connection based on second network is set up already between first equipment and the second equipment, carry out in the process of business transmission at the first equipment and the second equipment use based on the first session of first network, find the poor quality of the first session, so first equipment of triggering sends a request message to the second equipment.
Be understandable that, when the first equipment and this second equipment set up the connection based on second network, the first equipment and this second equipment can use a set of address based on second network, i.e. the second address of this first equipment and the second address of this second equipment.It should be noted that, in first network, first equipment and the second equipment use are based on a set of address of first network, in the second network, first equipment and the second equipment use based on a set of address of second network, and should be different from this set of address based on second network based on a set of address of first network.
In the present embodiment, pretreatment operation is: the ASP of the first equipment sends the second report message to the service module of the first equipment, this second report message is used for reporting the first equipment can set up the second session based on second network with the second equipment to the service module of the first equipment, and this second report message comprises this second cooperative information; The first Indication message that the service module that the ASP of the first equipment receives the first equipment sends according to the second report message, the first Indication message is used to indicate the first equipment and the second equipment sets up the second session.
In the present embodiment, this second cooperative information is for representing that this second session and this first session correspond to same business, second cooperative information comprises the address information of the second equipment in first network (the IP address of first equipment that is specifically as follows in first network or MAC Address), one or more in the session identification (session_id) of the first session and the second identification information, wherein, second identification information can for the information obtained after calculating according to the session identification of the address information of the second equipment in first network and/or the first session, also can be the identification information that the first equipment generates according to preset rules, the number that such as the first equipment produces at random, or the device name etc. of the first equipment.Second cooperative information design parameter form is not construed as limiting herein, as long as satisfied this second session that the service module identification of the first equipment can be allowed to be set up corresponds to the business corresponding to the first session, does not limit herein.It should be noted that, when the ASP of the first equipment detects this second network, the ASP of the first equipment can obtain the address information of the second equipment in first network, and concrete obtain manner is prior art, repeats no more herein.
In actual applications, this second report message can be SearchResult message, and this first Indication message can be ConnectSessions.
302, the ASP of the first equipment sends to the ASP of the second equipment and confirms version request message.
303, the ASP of the first equipment receives the ASP of the second equipment according to confirming the confirmation version feedback message that version request message is responded;
In the present embodiment, step 302 and step 303 are for carrying out version confirmation to the ASP of the first equipment and the ASP of the second equipment, and its step 201 shown in detailed process with Fig. 2 is identical with step 202 process, does not repeat them here.Be understandable that, at some other application scenarios specific, also can not carry out version confirmation to the ASP of the ASP of the first equipment and the second equipment, such as, the protocol version that the protocol version that the ASP giving tacit consent to the first equipment supports is supported with the ASP of the second equipment mates; And, the present embodiment only to how carrying out version confirms to be described by way of example, in actual application, whether the ASP of the first equipment and the ASP of the second equipment can also adopt other modes to carry out version confirmation, herein to carrying out version confirmation and how to carry out version confirming to be not construed as limiting.
304, the ASP of the first equipment sends a request message to the ASP of the second equipment;
It should be noted that, request message sets up the second session based on this second network for asking, and this request message comprises the first cooperative information, and this first cooperative information is for representing that this second session and this first session correspond to same business.In the present embodiment, first cooperative information can comprise the address information of the first equipment in first network (the IP address of first equipment that is specifically as follows in first network or MAC Address), one or more in the session identification (session_id) of the first session and the first identification information, wherein, this first identification information can for the information obtained after calculating according to the session identification of the address information of the first equipment in first network and/or the first session, also can be the identification information that the first equipment generates according to preset rules, the number that such as the first equipment produces at random, or the device name etc. of the first equipment.Be not construed as limiting the first cooperative information design parameter form, this second session to be set up corresponds to the business corresponding to the first session the ASP of the second equipment to be allowed to identify as long as satisfied, does not limit herein herein.Be understandable that, the first cooperative information can also comprise multiple satisfied ASP of the second equipment that can allow simultaneously and identify the parameter of this second session to be set up corresponding to the business corresponding to the first session, is specifically not construed as limiting herein.
Be understandable that, the first cooperative information in the present embodiment is except comprising foregoing, can further include other parameter, such as, the service identification etc. of the identification information of the first equipment address information in the second network, the second session or the business corresponding to the first session, is specifically not construed as limiting herein.In the present embodiment, request message can be REQUEST_SESSION message, also can be the message of other titles with identical function, specifically not limit herein.
305, the response message that the ASP that the ASP of the first equipment receives the second equipment responds after the second equipment carries out pre-treatment operation according to request message;
In the present embodiment, response message is for representing that the second equipment accepts to set up this second session with the first equipment.It should be noted that, the second equipment accepts to set up this second session to the first equipment and shows that the second equipment the business corresponding to this first session can open corresponding port, and by such as ALLOWED_PORT message informing first equipment.
It should be noted that, in the present embodiment, pre-treatment operation is specially: the ASP of the second equipment is according to service module transmission three report message of request message to the second equipment, whether the 3rd report message is used for asking for instructions to the service module of the second equipment accepting to set up the second session with the first equipment, 3rd report message comprises the 3rd cooperative information, and the 3rd cooperative information is for representing that the second session and the first session correspond to same business; The second Indication message that the service module that the ASP of the second equipment receives the second equipment sends according to the 3rd report message, the ASP that the second Indication message is used to indicate the second equipment responds response message to the ASP of the first equipment.
Be understandable that, above-mentioned 3rd cooperative information can comprise the address information of the first equipment in first network (the IP address of first equipment that is specifically as follows in first network or MAC Address), one or more in the session identification (session_id) of the first session and the first identification information, wherein, this first identification information can for the information obtained after calculating according to the session identification of the address information of the first equipment in first network and/or the first session, also can be the identification information that the first equipment generates according to preset rules, the number that such as the first equipment produces at random, or the device name etc. of the first equipment.In actual applications, the 3rd cooperative information can be the first cooperative information comprised in request message.
In actual applications, 3rd report message can be SessionRequest message, this second Indication message can be ConfirmSession message, this response message can be ADDED_SESSION message, also can be the message of other titles with identical function, specifically be not construed as limiting herein.
306, the ASP of the first equipment sets up the second session according to the ASP of response message and the second equipment;
After the response message that the service module receiving the second equipment by the ASP of the second equipment at the ASP of the first equipment is responded, the ASP of the first equipment and the ASP of the second equipment utilizes a set of address based on second network to set up this second session, and namely the ASP of the first equipment and the ASP foundation of the second equipment have based on second network and corresponds to the second session of the business corresponding to the first session.The detailed process setting up the second session can comprise the business of the first equipment corresponding to this first session and open corresponding port, and by such as ALLOWED_PORT message informing second equipment; Also can comprise the first equipment receives the ALLOWED_PORT message sent after the business of the second equipment corresponding to this first session opens corresponding port simultaneously.The concrete structure of this ALLOWED_PORT message asks for an interview prior art, does not repeat in the present embodiment.
It should be noted that, in the present embodiment, due in the pretreatment operation of step 301, the ASP of the first equipment sent the second report message (can set up the second session based on second network with the second equipment for reporting the first equipment to the service module of the first equipment) to the service module of the first equipment, and the ASP of the second equipment sent the 3rd report message (whether accepting to set up the second session with the first equipment for asking for instructions to the service module of the second equipment) to the service module of the second equipment in the pre-treatment of step 305 operation, therefore, after the ASP of the first equipment and the ASP of the second equipment sets up this second session, the ASP of the first equipment sends without the need to the service module again to the first equipment and is used to indicate the report message having set up this second session between the first equipment and the second equipment, in this application scene, this second session one is set up, service module this second session that just identifiable design existence can be for subsequent use of first equipment, and carry out being connected and transmitting data with the service module of the second equipment by this second session as required, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.
Alternatively, after step 306, the present embodiment also can comprise further:
307, when meeting the first switching condition preset, the session that the business corresponding to the first session uses is switched to the second session by the first session by the service module of the first equipment;
After the ASP of the first equipment and the ASP of the second equipment sets up this second session, the session that the business corresponding to the first session uses remains the first session, and the second session is as the session for subsequent use for the business corresponding to this first session.When meeting the first switching condition preset, the session that the business corresponding to the first session uses is switched to the second session by the first session by the service module of the first equipment, carries out business transmission to make the business corresponding to the first session according to the second session.
In the present embodiment, the signal quality that the signal quality that above-mentioned the first default switching condition can comprise first network does not meet preset requirement or second network is better than the signal quality of first network, be understandable that, in actual applications, the first switching condition preset can also comprise various ways, such as the second equipment receives the triggering command of network side or user, is not construed as limiting the concrete mode of the first switching condition preset herein.
308, when meeting the second switching condition preset, the session that the business corresponding to the first session uses is switched to the first session by the second session by the service module of the first equipment;
After session business corresponding to first session used at the first equipment switches to the second session by the first session, when meeting the second switching condition preset, the session that business corresponding to first session uses is switched to the first session by the second session by the service module of the first equipment, carries out business transmission to make the business corresponding to the first session according to the first session.
In the present embodiment, the signal quality that the signal quality that above-mentioned the second default switching condition can comprise second network does not meet preset requirement or first network is better than the signal quality of second network, be understandable that, in actual applications, the second switching condition preset can also comprise various ways, such as the first equipment receives the triggering command of network side or user, is not construed as limiting the concrete mode of the first switching condition preset herein.
In the technical scheme that the embodiment of the present invention provides, when the first equipment is by second network and the second equipment connection, the ASP of the first equipment first reports the first equipment can set up the second session based on second network with the second equipment by performing pretreatment operation to the service module of the first equipment, and just start to send a request message after the instruction of the service module of acquisition first equipment, and comprise the first cooperative information in the request message sent to the ASP of the second equipment, this first cooperative information is for representing that described second session and the first session correspond to same business, and after receiving the response message of ASP response after the second equipment carries out pre-treatment operation of the second equipment, this the second session is set up with the ASP equipment of second network, make to set up based on second network between the ASP of the ASP of the first equipment and the second equipment and the second session of the business corresponding to the first session of corresponding to, and this second session one is set up, service module this second session that just identifiable design existence can be for subsequent use of first equipment, and carry out being connected and transmitting data with the service module of the second equipment by this second session as required, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Further, the embodiment of the present invention can according to the first switching condition preset and second switching condition of presetting, business corresponding to first session is switched in the first session based on first network and the second session based on second network, for business uses the selection of network to provide larger flexibility ratio, and the seamless switching of the business that ensures between heterogeneous networks, thus improve Consumer's Experience.
Embodiment shown in Fig. 1 to Fig. 3 describes from the angle of the first equipment, and be described in detail to the embodiment of the present invention from the angle of the second equipment below, specifically refer to Fig. 4, in the embodiment of the present invention, another embodiment of method for processing business comprises:
401, when the first equipment is by second network and the second equipment connection, the second equipment receives the request message that the first equipment sends;
It should be noted that, when the first equipment can be the situation that the first equipment and the second equipment have just set up the connection based on second network by application scenarios when second network and the second equipment connection, such as, when the first equipment and the second equipment use carry out business transmission based on the first session of first network, both discoveries can also set up the connection based on second network, so both set up the connection based on second network, after above-mentioned connection of setting up second network completes, first equipment that can at once perform sends a request message to the second equipment; Also can be, set up the situation of the connection had based on second network between the first device and the second device already, can be now just perform the first equipment in the satisfied trigger condition preset to send a request message to the second equipment, such as, the connection based on second network is set up already between first equipment and the second equipment, carry out in the process of business transmission at the first equipment and the second equipment use based on the first session of first network, find the poor quality of the first session, so first equipment of triggering sends a request message to the second equipment.
Be understandable that, when the first equipment and this second equipment set up the connection based on second network, the first equipment and this second equipment can use a set of address based on second network, i.e. the second address of this first equipment and the second address of this second equipment.It should be noted that, in first network, first equipment and the second equipment use are based on a set of address of first network, in the second network, first equipment and the second equipment use based on a set of address of second network, and should be different from this set of address based on second network based on a set of address of first network.
It should be noted that, request message sets up the second session based on this second network for asking, and this request message comprises the first cooperative information, and this first cooperative information is for representing that this second session and this first session correspond to same business.
402, the second equipment responds response message according to request message to the first equipment;
Namely the second equipment responds according to the request message received, and responds response message to the first equipment.In the present embodiment, response message is for representing that the second equipment accepts to set up this second session with the first equipment.
403, the second equipment and the first equipment set up the second session;
Receive the response message of the second equipment response at the first equipment after, second equipment utilization sets up this second session based on a set of address of second network and the second equipment, and namely the first equipment and the second equipment are set up has based on second network and corresponds to the second session of the business corresponding to the first session.
After this second session establishment, first equipment can be undertaken being connected and transmitting data by this second session with the second equipment, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session, but before not switching, the session that business corresponding to first session uses remains the first session, and the second session is as the session for subsequent use for the business corresponding to this first session.
In the technical scheme that the embodiment of the present invention provides, when the first equipment is by second network and the second equipment connection, second equipment receives the request message that the first equipment sends, the first cooperative information is comprised in this request message, this first cooperative information is for representing that described second session and the first session correspond to same business, and after responding response message to the first equipment, set up this second session with the first equipment, the first equipment and the second equipment room are set up based on second network and the second session of the business corresponding to the first session of corresponding to.Therefore relative to prior art, the embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Below for the specific implementation setting up the second session based on the first signaling process, be described in detail, specifically refer to Fig. 5 from the angle of the second equipment to the embodiment of the present invention, in the embodiment of the present invention, another embodiment of method for processing business comprises:
501, when the first equipment is by second network and the second equipment connection, the ASP of the second equipment receives the confirmation version request message of the ASP transmission of the first equipment;
It should be noted that, when the first equipment can be the situation that the first equipment and the second equipment have just set up the connection based on second network by application scenarios when second network and the second equipment connection, such as, when the first equipment and the second equipment use carry out business transmission based on the first session of first network, both discoveries can also set up the connection based on second network, so both set up the connection based on second network, after above-mentioned connection of setting up second network completes, first equipment that can at once perform sends a request message to the second equipment; Also can be, set up the situation of the connection had based on second network between the first device and the second device already, can be now just perform the first equipment in the satisfied trigger condition preset to send a request message to the second equipment, such as, the connection based on second network is set up already between first equipment and the second equipment, carry out in the process of business transmission at the first equipment and the second equipment use based on the first session of first network, find the poor quality of the first session, so first equipment of triggering sends a request message to the second equipment.
Be understandable that, when the first equipment and this second equipment set up the connection based on second network, the first equipment and this second equipment can use a set of address based on second network, i.e. the second address of this first equipment and the second address of this second equipment.It should be noted that, in first network, first equipment and the second equipment use are based on a set of address of first network, in the second network, first equipment and the second equipment use based on a set of address of second network, and should be different from this set of address based on second network based on a set of address of first network.
In the present embodiment, confirm that version request message comprises the version information of the ASP of the first equipment, this confirmation version request message is used for confirming whether the protocol version that the ASP of this first equipment supports mates with the protocol version that the ASP of the second equipment supports to the ASP of the second equipment.It should be noted that, in the present embodiment, the situation when protocol version that the ASP of the first equipment supports mates with the protocol version that the ASP of the second equipment supports can be that the protocol version that both support is consistent, also can be the low protocol version that ASP that the ASP high protocol version that it is supported under backward compatible mechanism of the second equipment can mate the second equipment supports.In actual application, the version information of the ASP of the first equipment is specifically as follows the version information of the cooperation agreement (Coordinationprotocol) of ASP definition.
502, the ASP of the second equipment confirms version feedback message according to confirming that the ASP of version request message to the first equipment responds;
Receive the confirmation version request message of ASP transmission of the first equipment at the ASP of the second equipment after, whether the protocol version that the ASP of ASP to this first equipment of the second equipment supports mates with the protocol version that the ASP of the second equipment supports confirms, and when the protocol version that the ASP of the first equipment supports mates with the protocol version that the ASP of the second equipment supports, ASP to the first equipment responds and confirms version feedback message, and this confirmation version feedback message comprises the version information of the ASP of the second equipment.Correspondingly, in actual application, the version information of the ASP of the second equipment is specifically as follows the version information of the cooperation agreement (Coordinationprotocol) of ASP definition, and when the version information of the ASP of the first equipment is identical with the version information of the ASP of the second equipment, then confirm that the protocol version that the ASP of the first equipment supports mates with the protocol version that the ASP of the second equipment supports.
In the present embodiment, step 501 and step 502 for carrying out version confirmation to the ASP of the first equipment and the ASP of the second equipment, to ensure that the protocol version that the ASP of the first equipment supports mates with the protocol version that the ASP of the second equipment supports.Be understandable that, at some other application scenarios specific, also can not carry out version confirmation to the ASP of the ASP of the first equipment and the second equipment, such as, the protocol version that the protocol version that the ASP giving tacit consent to the first equipment supports is supported with the ASP of the second equipment mates; And, the present embodiment only to how carrying out version confirms to be described by way of example, in actual application, whether the ASP of the first equipment and the ASP of the second equipment can also adopt other modes to carry out version confirmation, herein to carrying out version confirmation and how to carry out version confirming to be not construed as limiting.
503, the request message that the ASP that the ASP of the second equipment receives the first equipment sends;
It should be noted that, request message sets up the second session based on this second network for asking, and this request message comprises the first cooperative information, and this first cooperative information is for representing that this second session and this first session correspond to same business.In the present embodiment, first cooperative information can comprise the address information of the first equipment in first network (the IP address of first equipment that is specifically as follows in first network or MAC Address), one or more in the session identification (session_id) of the first session and the first identification information, wherein, this first identification information can for the information obtained after calculating according to the session identification of the address information of the first equipment in first network and/or the first session, also can be the identification information that the first equipment generates according to preset rules, the number that such as the first equipment produces at random, or the device name etc. of the first equipment.Be not construed as limiting the first cooperative information design parameter form, this second session to be set up corresponds to the business corresponding to the first session the ASP of the second equipment to be allowed to identify as long as satisfied, does not limit herein herein.Be understandable that, the first cooperative information can also comprise multiple satisfied ASP of the second equipment that can allow simultaneously and identify the parameter of this second session to be set up corresponding to the business corresponding to the first session, is specifically not construed as limiting herein.
Be understandable that, the first cooperative information in the present embodiment is except comprising foregoing, can further include other parameter, such as, the service identification etc. of the identification information of the first equipment address information in the second network, the second session or the business corresponding to the first session, is specifically not construed as limiting herein.In the present embodiment, request message can be REQUEST_SESSION message, also can be the message of other titles with identical function, specifically be not construed as limiting herein.
504, the ASP of the second equipment is according to the ASP response response message of request message to the first equipment;
Receive the request message of ASP transmission of the first equipment at the ASP of the second equipment after, the ASP of the second equipment responds according to the request message received, and responds response message to the ASP of the first equipment.In the present embodiment, response message is for representing that the second equipment accepts to set up this second session with the first equipment.It should be noted that, the second equipment accepts to set up this second session to the first equipment and shows that the second equipment the business corresponding to this first session can open corresponding port, and by such as ALLOWED_PORT message informing first equipment.In the present embodiment, response message can be ADDED_SESSION message, also can be the message of other titles with identical function, specifically be not construed as limiting herein.
505, the ASP of the second equipment and the ASP of the first equipment sets up the second session;
Receive the response message of ASP response of the second equipment at the ASP of the first equipment after, the ASP of the second equipment and the ASP of the first equipment utilizes a set of address based on second network to set up this second session, and namely the ASP of the second equipment and the ASP foundation of the first equipment have based on second network and corresponds to the second session of the business corresponding to the first session.The detailed process setting up the second session can comprise the business of the first equipment corresponding to this first session and open corresponding port, and by such as ALLOWED_PORT message informing second equipment; Also can comprise the first equipment receives the ALLOWED_PORT message sent after the business of the second equipment corresponding to this first session opens corresponding port simultaneously.The concrete structure of this ALLOWED_PORT message can with reference to the regulation in existing relevant criterion and follow-up relevant criterion, do not repeat in the present embodiment.
506, the second equipment sends the first report message to the service module of the first equipment;
In the present embodiment, this first report message is used to indicate between the first equipment and the second equipment and has set up this second session.Be understandable that, the ASP of the first equipment also corresponding service module to the first equipment sends one and is used to indicate the report message having set up this second session between the first equipment and the second equipment.After the service module of the second equipment receives this first report message, service module this second session that just identifiable design existence can be for subsequent use of second equipment, and carry out being connected and transmitting data with the service module of the second equipment by this second session as required, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.
Be understandable that, in the present embodiment, the execution opportunity sending the first report message can be perform immediately after step 205, also can be just perform after determining to meet the first default switching condition, be not construed as limiting herein, only need ensure to complete post-processing operation when performing session and switching.
Alternatively, after procedure 506, the present embodiment also can comprise further:
507, when meeting the first switching condition preset, the session that the business corresponding to the first session uses is switched to the second session by the first session by the service module of the second equipment;
After transmission first report message, the session that the business corresponding to the first session uses remains the first session, and the second session is as the session for subsequent use for the business corresponding to this first session.When meeting the first switching condition preset, the session that the business corresponding to the first session uses is switched to the second session by the first session by the service module of the second equipment, carries out business transmission to make the business corresponding to the first session according to the second session.Be understandable that, in embody rule process, first can not perform step 206, but: when meeting the first switching condition preset, perform step 206, the session that business corresponding to first session uses is switched to the second session by the first session by the service module of the first equipment, carries out business transmission to make the business corresponding to the first session according to the second session.
In the present embodiment, the signal quality that the signal quality that above-mentioned the first default switching condition can comprise first network does not meet preset requirement or second network is better than the signal quality of first network, be understandable that, in actual applications, the first switching condition preset can also comprise various ways, such as the second equipment receives the triggering command of network side or user, is not construed as limiting the concrete mode of the first switching condition preset herein.
508, when meeting the second switching condition preset, the session that the business corresponding to the first session uses is switched to the first session by the second session by the service module of the second equipment;
After session business corresponding to first session used at the second equipment switches to the second session by the first session, when meeting the second switching condition preset, the session that business corresponding to first session uses is switched to the first session by the second session by the service module of the second equipment, carries out business transmission to make the business corresponding to the first session according to the first session.
In the present embodiment, the signal quality that the signal quality that above-mentioned the second default switching condition can comprise second network does not meet preset requirement or first network is better than the signal quality of second network, be understandable that, in actual applications, the second switching condition preset can also comprise various ways, such as the first equipment receives the triggering command of network side or user, is not construed as limiting the concrete mode of the first switching condition preset herein.
In the technical scheme that the embodiment of the present invention provides, when the first equipment is by second network and the second equipment connection, the ASP of the second equipment receives the request message of the ASP transmission of the first equipment, the first cooperative information is comprised in this request message, this first cooperative information is for representing that the second session and the first session correspond to same business, and after responding response message to the ASP of the first equipment, this the second session is set up with the ASP of the first equipment, make to set up based on second network between the ASP of the ASP of the second equipment and the first equipment and the second session of the business corresponding to the first session of corresponding to, just can carry out being connected and transmitting data with the service module of the first equipment by the second session as required after the first report message that the service module of the second equipment sends at the ASP of reception second equipment, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Further, the embodiment of the present invention can according to the first switching condition preset and second switching condition of presetting, business corresponding to first session is switched in the first session based on first network and the second session based on second network, for business uses the selection of network to provide larger flexibility ratio, and the seamless switching of the business that ensures between heterogeneous networks, thus improve Consumer's Experience.
Below for the specific implementation setting up the second session based on the second signaling process, be described in detail, specifically refer to Fig. 6 from the angle of the second equipment to the embodiment of the present invention, in the embodiment of the present invention, another embodiment of method for processing business comprises:
In the present embodiment, when the first equipment is by second network and the second equipment connection, the first equipment performs pretreatment operation;
It should be noted that, when the first equipment can be the situation that the first equipment and the second equipment have just set up the connection based on second network by application scenarios when second network and the second equipment connection, such as, when the first equipment and the second equipment use carry out business transmission based on the first session of first network, both discoveries can also set up the connection based on second network, so both set up the connection based on second network, after above-mentioned connection of setting up second network completes, first equipment that can at once perform sends a request message to the second equipment; Also can be, set up the situation of the connection had based on second network between the first device and the second device already, can be now just perform the first equipment in the satisfied trigger condition preset to send a request message to the second equipment, such as, the connection based on second network is set up already between first equipment and the second equipment, carry out in the process of business transmission at the first equipment and the second equipment use based on the first session of first network, find the poor quality of the first session, so first equipment of triggering sends a request message to the second equipment.
Be understandable that, when the first equipment and this second equipment set up the connection based on second network, the first equipment and this second equipment can use a set of address based on second network, i.e. the second address of this first equipment and the second address of this second equipment.It should be noted that, in first network, first equipment and the second equipment use are based on a set of address of first network, in the second network, first equipment and the second equipment use based on a set of address of second network, and should be different from this set of address based on second network based on a set of address of first network.
In the present embodiment, pretreatment operation is: the ASP of the first equipment sends the second report message to the service module of the first equipment, this second report message is used for reporting the first equipment can set up the second session based on second network with the second equipment to the service module of the first equipment, and this second report message comprises the second cooperative information; The first Indication message that the service module that the ASP of the first equipment receives the first equipment sends according to the second report message, the first Indication message is used to indicate the first equipment and the second equipment sets up the second session.In the present embodiment, this second cooperative information is for representing that this second session and this first session correspond to same business, second cooperative information comprises the address information of the second equipment in first network (the IP address of first equipment that is specifically as follows in first network or MAC Address), one or more in the session identification (session_id) of the first session and the second identification information, wherein, second identification information can for the information obtained after calculating according to the session identification of the address information of the second equipment in first network and/or the first session, also can be the identification information that the first equipment generates according to preset rules, the number that such as the first equipment produces at random, or the device name etc. of the first equipment.Second cooperative information design parameter form is not construed as limiting herein, as long as satisfied this second session that the service module identification of the first equipment can be allowed to be set up corresponds to the business corresponding to the first session, does not limit herein.It should be noted that, when the ASP of the first equipment detects this second network, the ASP of the first equipment can obtain the address information of the second equipment in first network, and concrete obtain manner is prior art, repeats no more herein.
In actual applications, this second report message can be SearchResult message, and this first Indication message can be ConnectSessions.
601, the confirmation version request message that the ASP that the ASP of the second equipment receives the first equipment sends.
602, the ASP of the second equipment confirms version feedback message according to confirming that the ASP of version request message to the first equipment responds;
In the present embodiment, step 601 and step 602 are for carrying out version confirmation to the ASP of the first equipment and the ASP of the second equipment, and its step 601 shown in detailed process with Fig. 5 is identical with step 602 process, does not repeat them here.Be understandable that, at some other application scenarios specific, also can not carry out version confirmation to the ASP of the ASP of the first equipment and the second equipment, such as, the protocol version that the protocol version that the ASP giving tacit consent to the first equipment supports is supported with the ASP of the second equipment mates; And, the present embodiment only to how carrying out version confirms to be described by way of example, in actual application, whether the ASP of the first equipment and the ASP of the second equipment can also adopt other modes to carry out version confirmation, herein to carrying out version confirmation and how to carry out version confirming to be not construed as limiting.
603, the request message that the ASP that the service module of the second equipment receives the first equipment sends after the first equipment carries out pretreatment operation;
It should be noted that, request message sets up the second session based on this second network for asking, and this request message comprises the first cooperative information, and this first cooperative information is for representing that this second session and this first session correspond to same business.In the present embodiment, first cooperative information can comprise the address information of the first equipment in first network (the IP address of first equipment that is specifically as follows in first network or MAC Address), one or more in the session identification (session_id) of the first session and the first identification information, wherein, this first identification information can for the information obtained after calculating according to the session identification of the address information of the first equipment in first network and/or the first session, also can be the identification information that the first equipment generates according to preset rules, the number that such as the first equipment produces at random, or the device name etc. of the first equipment.Be not construed as limiting the first cooperative information design parameter form, this second session to be set up corresponds to the business corresponding to the first session the ASP of the second equipment to be allowed to identify as long as satisfied, does not limit herein herein.Be understandable that, the first cooperative information can also comprise multiple satisfied ASP of the second equipment that can allow simultaneously and identify the parameter of this second session to be set up corresponding to the business corresponding to the first session, is specifically not construed as limiting herein.
Be understandable that, the first cooperative information in the present embodiment is except comprising foregoing, can further include other parameter, such as, the service identification etc. of the identification information of the first equipment address information in the second network, the second session or the business corresponding to the first session, is specifically not construed as limiting herein.In the present embodiment, request message can be REQUEST_SESSION message, also can be the message of other titles with identical function, specifically be not construed as limiting herein.
604, the second equipment performs pre-treatment operation;
It should be noted that, in the present embodiment, pre-treatment operation is specially: the ASP of the second equipment is according to service module transmission three report message of request message to the second equipment, whether the 3rd report message is used for asking for instructions to the service module of the second equipment accepting to set up the second session with the first equipment, 3rd report message comprises the 3rd cooperative information, and the 3rd cooperative information is for representing that the second session and the first session correspond to same business; The second Indication message that the service module that the ASP of the second equipment receives the second equipment sends according to the 3rd report message, the ASP that the second Indication message is used to indicate the second equipment responds response message to the ASP of the first equipment.
Be understandable that, above-mentioned 3rd cooperative information can comprise the address information of the first equipment in first network (the IP address of first equipment that is specifically as follows in first network or MAC Address), one or more in the session identification (session_id) of the first session and the first identification information, wherein, this first identification information can for the information obtained after calculating according to the session identification of the address information of the first equipment in first network and/or the first session, also can be the identification information that the first equipment generates according to preset rules, the number that such as the first equipment produces at random, or the device name etc. of the first equipment.In actual applications, the second cooperative information can be the first cooperative information comprised in request message.
In actual applications, the 3rd report message can be SessionRequest message, and this second Indication message can be ConfirmSession message.
605, the ASP of the second equipment is according to the ASP response response message of request message to the first equipment;
In the present embodiment, response message is for representing that the second equipment accepts to set up this second session with the first equipment.It should be noted that, the second equipment accepts to set up this second session to the first equipment and shows that the second equipment the business corresponding to this first session can open corresponding port, and by such as ALLOWED_PORT message informing first equipment.In the present embodiment, this response message can be ADDED_SESSION message, also can be the message of other titles with identical function, specifically be not construed as limiting herein.
606, the ASP of the second equipment and the ASP of the first equipment sets up the second session;
Receive the response message of service module response of the second equipment at the ASP of the first equipment after, the ASP of the second equipment and the ASP of the first equipment utilizes a set of address based on second network to set up this second session, and namely the ASP of the second equipment and the ASP foundation of the first equipment have based on second network and corresponds to the second session of the business corresponding to the first session.The detailed process setting up the second session can comprise the business of the first equipment corresponding to this first session and open corresponding port, and by such as ALLOWED_PORT message informing second equipment; Also can comprise the first equipment receives the ALLOWED_PORT message sent after the business of the second equipment corresponding to this first session opens corresponding port simultaneously.The concrete structure of this ALLOWED_PORT message asks for an interview prior art, does not repeat in the present embodiment.
It should be noted that, in the present embodiment, due in the pretreatment operation that the first equipment performs, the ASP of the first equipment sent the second report message (can set up the second session based on second network with the second equipment for reporting the first equipment to the service module of the first equipment) to the service module of the first equipment, and the ASP of the second equipment sent the 3rd report message (whether accepting to set up the second session with the first equipment for asking for instructions to the service module of the second equipment) to the service module of the second equipment in the pre-treatment of step 604 operation, therefore, after the ASP of the first equipment and the ASP of the second equipment sets up this second session, the ASP of the second equipment sends without the need to the service module again to the second equipment and is used to indicate the report message having set up this second session between the first equipment and the second equipment, in this application scene, this second session one is set up, service module this second session that just identifiable design existence can be for subsequent use of second equipment, and carry out being connected and transmitting data with the service module of the first equipment by this second session as required, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.
Alternatively, after step 606, the present embodiment also can comprise further:
607, when meeting the first switching condition preset, the session that the business corresponding to the first session uses is switched to the second session by the first session by the service module of the second equipment;
After the ASP of the second equipment and the ASP of the first equipment sets up this second session, the session that the business corresponding to the first session uses remains the first session, and the second session is as the session for subsequent use for the business corresponding to this first session.When meeting the first switching condition preset, the session that the business corresponding to the first session uses is switched to the second session by the first session by the service module of the second equipment, carries out business transmission to make the business corresponding to the first session according to the second session.
In the present embodiment, the signal quality that the signal quality that above-mentioned the first default switching condition can comprise first network does not meet preset requirement or second network is better than the signal quality of first network, be understandable that, in actual applications, the first switching condition preset can also comprise various ways, such as the second equipment receives the triggering command of network side or user, is not construed as limiting the concrete mode of the first switching condition preset herein.
608, when meeting the second switching condition preset, the session that the business corresponding to the first session uses is switched to the first session by the second session by the service module of the second equipment;
After session business corresponding to first session used at the second equipment switches to the second session by the first session, when meeting the second switching condition preset, the session that business corresponding to first session uses is switched to the first session by the second session by the service module of the second equipment, carries out business transmission to make the business corresponding to the first session according to the first session.
In the present embodiment, the signal quality that the signal quality that above-mentioned the second default switching condition can comprise second network does not meet preset requirement or first network is better than the signal quality of second network, be understandable that, in actual applications, the second switching condition preset can also comprise various ways, such as the first equipment receives the triggering command of network side or user, is not construed as limiting the concrete mode of the first switching condition preset herein.
In the technical scheme that the embodiment of the present invention provides, when the first equipment is by second network and the second equipment connection, the request message that the ASP that the ASP of the second equipment receives the first equipment sends after the first equipment carries out preliminary treatment, the first cooperative information is comprised in this request message, this first cooperative information is for representing that the second session and the first session correspond to same business, and response message is responded to the ASP of the first equipment after the second equipment carries out pre-treatment operation, this the second session is set up again with the ASP of the first equipment, make to set up based on second network between the ASP of the ASP of the second equipment and the first equipment and the second session of the business corresponding to the first session of corresponding to, and this second session one is set up, service module this second session that just identifiable design existence can be for subsequent use of second equipment, and carry out being connected and transmitting data with the service module of the first equipment by this second session as required, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Further, the embodiment of the present invention can according to the first switching condition preset and second switching condition of presetting, business corresponding to first session is switched in the first session based on first network and the second session based on second network, for business uses the selection of network to provide larger flexibility ratio, and the seamless switching of the business that ensures between heterogeneous networks, thus improve Consumer's Experience.
Above the method for processing business in the embodiment of the present invention is described, below the first equipment in the embodiment of the present invention is described.First, it should be explicitly made clear at this point, in each embodiment of following the present invention, between the first equipment and the second equipment, set up the first session based on first network.Be understandable that, when the first equipment and this second equipment have set up the connection based on first network, first equipment and this second equipment can use a set of address based on first network, i.e. the first address of this first equipment and the first address of this second equipment, and utilization sets up this first session based on a set of address of first network.After this first session establishment, equipment is undertaken being connected and transmitting data by this first session with target device, to realize the business transmission of business between equipment and target device corresponding to the first session.
It should be noted that, first network and second network can be two dissimilar networks, such as, cable network, WI-FI, bluetooth, NFC and Powerline etc., also can be of the same type but possess the network of heterogeneous networks structure, such as based on the P2P network of WI-FI and the infrastructure network based on WI-FI, wherein, based on the P2P network of Wi-Fi, can be based on WFA (Wi-FiAlliance, Wi-Fi Alliance) the network set up of Wi-FiDirect agreement, in this case, the first equipment can directly be connected with the second equipment; Based on the infrastructure network of Wi-Fi, can be the network set up based on 802.11 agreements of IEEE, in this case, the first equipment and the second equipment be all connected to AP (AccessPoint, access point), and the communication that can realize between the two by AP.Be understandable that, in actual applications, the quantity of second network can be one or more, is not construed as limiting herein.
It should be noted that, in each embodiment of following the present invention, equipment and target device can be the equipment possessing network connecting function, the mobile phone of such as network enabled linkage function, television set, server, wireless router, other various household electrical appliance or office equipment etc.Such as, this equipment can be mobile phone, this target device can be television set, access point can be wireless router, now, mobile phone by the connection of wireless router foundation based on the infrastructure network of Wi-Fi, and can set up the first session based on this infrastructure network based on Wi-Fi with television set, by this first session, play content is transferred to television set to make mobile phone.
Refer to Fig. 7, in the embodiment of the present invention, the first equipment embodiment comprises:
Transmitting element 701, for when described first equipment is also by second network and described second equipment connection, sends a request message to described second equipment; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Receiving element 702, for receiving the response message that described second equipment is responded according to request message, described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Set up unit 703, for setting up described second session according to described response message and described second equipment.
For ease of understanding, below for an embody rule scene, the inner working flow process of the network controller in the present embodiment is described:
When described first equipment is also by second network and described second equipment connection, transmitting element 701 sends a request message to described second equipment, described request message sets up the second session based on described second network for asking, described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Receiving element 702 receives the response message that described second equipment is responded according to request message, and described response message is for representing that described second equipment accepts to set up described second session with described first equipment; Set up unit 703 and set up described second session according to described response message and described second equipment.
In the technical scheme that the embodiment of the present invention provides, when the first equipment is by second network and the second equipment connection, transmitting element 701 comprises the first cooperative information in the request message sent to the second equipment, this first cooperative information is for representing that described second session and the first session correspond to same business, and receive the response message of the second equipment response at receiving element 702 after, by setting up unit 703 and the second equipment sets up this second session, first equipment and the second equipment room are set up based on second network and the second session of the business corresponding to the first session of corresponding to.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Be described in detail to the concrete structure of the equipment of the seamless switching of guaranteed service between heterogeneous networks below, refer to Fig. 8, in the embodiment of the present invention, another embodiment of the first equipment comprises:
Transmitting element 801, for when described first equipment is also by second network and described second equipment connection, sends a request message to described second equipment; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Receiving element 802, for receiving the response message that described second equipment is responded according to request message, described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Set up unit 803, for setting up described second session according to described response message and described second equipment.
Further, in the embodiment of the present invention, equipment also comprises further:
First switch unit 804, for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
Alternatively, in the embodiment of the present invention, equipment also comprises further:
Second switch unit 805, after switching to described first session in the session business corresponding to described first session used by described second session, when meeting the second switching condition preset, the session that business corresponding to described first session uses is switched to described first session by described second session, carries out business transmission to make the business corresponding to described first session according to described second session.
In the technical scheme that the embodiment of the present invention provides, when the first equipment is by second network and the second equipment connection, transmitting element 801 comprises the first cooperative information in the request message sent to the second equipment, this first cooperative information is for representing that described second session and the first session correspond to same business, and receive the response message of the second equipment response at receiving element 802 after, by setting up unit 803 and the second equipment sets up this second session, first equipment and the second equipment room are set up based on second network and the second session of the business corresponding to the first session of corresponding to.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Further, the embodiment of the present invention can according to the first switching condition preset and second switching condition of presetting, business corresponding to first session is switched in the first session based on first network and the second session based on second network, for business uses the selection of network to provide larger flexibility ratio, and the seamless switching of the business that ensures between heterogeneous networks, thus improve Consumer's Experience.
The process of establishing of above-mentioned second session can based on different signaling processes, and be described in detail to the first equipment can setting up the second session based on the first signaling process below, refer to Fig. 9, in the embodiment of the present invention, another embodiment of the first equipment comprises:
Set up the first session based on first network between described first equipment and the second equipment, described first equipment comprises an ASP901 and first service module 902;
A described ASP901, for when described first equipment is by second network and described second equipment connection, ASP to described second equipment sends a request message, described request message sets up the second session based on described second network for asking, described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Also for the response message that the ASP receiving described second equipment responds according to described request message, described response message is for representing that described second equipment accepts to set up described second session with described first equipment; And for setting up described second session according to the ASP of described response message and described second equipment;
In the present embodiment, one ASP901, also for after setting up described second session at the described ASP according to described response message and described second equipment, send the first report message to described first service module, described first report message is used to indicate between described first equipment and described second equipment and has set up described second session;
Described first service module 902, for receiving described first report message that a described ASP sends.
Alternatively, in the present embodiment, described first service module 902, also for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
Alternatively, in the present embodiment, described first service module 902, also for after switching to described first session in the session business corresponding to described first session used by described second session, when meeting the second switching condition preset, the session that business corresponding to described first session uses is switched to described first session by described second session, carries out business transmission to make the business corresponding to described first session according to described second session.
In the technical scheme that the embodiment of the present invention provides, when the first equipment is by second network and the second equipment connection, one ASP901 comprises the first cooperative information in the request message sent to the ASP of the second equipment, this first cooperative information is for representing that the second session and the first session correspond to same business, and after receiving the response message of ASP response of the second equipment, this the second session is set up with the ASP equipment of second network, make to set up based on second network between an ASP901 and the ASP of the second equipment and the second session of the business corresponding to the first session of corresponding to, just can carry out being connected and transmitting data with the service module of the second equipment by the second session as required after the first report message that first service module 902 sends at reception the one ASP901, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.Therefore relative to prior art, the embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Further, the embodiment of the present invention can according to the first switching condition preset and second switching condition of presetting, business corresponding to first session is switched in the first session based on first network and the second session based on second network, for business uses the selection of network to provide larger flexibility ratio, and the seamless switching of the business that ensures between heterogeneous networks, thus improve Consumer's Experience.
Be described in detail to the first equipment can setting up the second session based on the second signaling process below, refer to Figure 10, in the embodiment of the present invention, another embodiment of the first equipment comprises:
One ASP1001, for when described first equipment is by second network and described second equipment connection, ASP to described second equipment sends a request message, described request message sets up the second session based on described second network for asking, described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Also for the response message that the ASP receiving described second equipment responds according to described request message, described response message is for representing that described second equipment accepts to set up described second session with described first equipment; And for setting up described second session according to the ASP of described response message and described second equipment;
In the present embodiment, a described ASP1001, also for before sending a request message to the ASP of described second equipment, the second report message is sent to the first service module 1002 in described first equipment, described second report message is used for reporting described first equipment can set up the second session based on described second network with described second equipment to described first service module 1002, described second report message comprises the second cooperative information, and described second cooperative information is for representing that described second session and described first session correspond to same business;
Described first service module, for after the second report message receiving a described ASP transmission, send the first Indication message according to described second report message to a described ASP, described first Indication message is used to indicate described first equipment and described second equipment sets up described second session;
A described ASP, also for receiving described first Indication message that described first service module sends;
The response message that a described ASP responds according to described request message for the ASP receiving described second equipment, is specially: the response message that a described ASP responds according to described request message for the ASP receiving described second equipment after described second equipment carries out pre-treatment operation; Described pre-treatment is operating as: the ASP of described second equipment is according to service module transmission three report message of described request message to described second equipment, whether described 3rd report message is used for asking for instructions to the service module of described second equipment accepting to set up described second session with described first equipment, described 3rd report message comprises the 3rd cooperative information, and described 3rd cooperative information is for representing that described second session and described first session correspond to same business; The ASP of described second equipment receives the service module of described second equipment according to the second Indication message of described 3rd report message transmission, and the ASP that described second Indication message is used to indicate described second equipment responds described response message to a described ASP.
Alternatively, in the present embodiment, described first service module 1002, also for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
Alternatively, in the present embodiment, described first service module 1002, also for after switching to described first session in the session business corresponding to described first session used by described second session, when meeting the second switching condition preset, the session that business corresponding to described first session uses is switched to described first session by described second session, carries out business transmission to make the business corresponding to described first session according to described second session.
In the technical scheme that the embodiment of the present invention provides, when the first equipment is by second network and the second equipment connection, one ASP1001 first reports the first equipment can set up the second session based on second network with the second equipment to first service module 1002, and just start to send a request message after the instruction obtaining first service module 1002, and comprise the first cooperative information in the request message sent to the ASP of the second equipment, this first cooperative information is for representing that described second session and the first session correspond to same business, and after receiving the response message of ASP response after the second equipment carries out pre-treatment operation of the second equipment, this the second session is set up with the ASP equipment of second network, make to set up based on second network between an ASP1001 and the ASP of the second equipment and the second session of the business corresponding to the first session of corresponding to, and this second session one is set up, there is this second session that can be for subsequent use in first service module 1002 just identifiable design, and carry out being connected and transmitting data with the service module of the second equipment by this second session as required, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Further, the embodiment of the present invention can according to the first switching condition preset and second switching condition of presetting, business corresponding to first session is switched in the first session based on first network and the second session based on second network, for business uses the selection of network to provide larger flexibility ratio, and the seamless switching of the business that ensures between heterogeneous networks, thus improve Consumer's Experience.
From the angle of modular functionality entity, the first equipment the embodiment of the present invention is described above, from the angle of hardware handles, the first equipment the embodiment of the present invention is described below, refer to Figure 11, another embodiment of the first equipment in the embodiment of the present invention comprises:
Input unit 1101, output device 1102, processor 1103 and memory 1104 (quantity of the processor 1103 wherein in equipment can be one or more, for a processor 1103 in Figure 11).In some embodiments of the invention, input unit 1101, output device 1102, processor 1103 are connected by bus or alternate manner with memory 1104.
Wherein,
Described processor 1103, by calling the operational order that memory 1104 stores, for performing following steps:
The first session based on first network is set up between first equipment and the second equipment,
When described first equipment is by second network and described second equipment connection, send a request message to described second equipment; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Receive the response message that described second equipment is responded according to described request message, described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Described response message and described second equipment set up described second session.
In some embodiments of the invention, processor 1103 makes the ASP of described first equipment send a request message to the ASP of described second equipment especially by the operational order calling memory 1104 storage; The response message that the ASP making the ASP of described first equipment receive described second equipment responds according to described request message; The ASP of described first equipment is made to set up described second session according to the ASP of described response message and described second equipment.
In some embodiments of the invention, the operational order that processor 1103 also stores by calling memory 1104 makes after the ASP at described first equipment sets up described second session according to the ASP of described response message and described second equipment, the ASP of the first equipment sends the first report message to the service module of the first equipment, and described first report message is used to indicate between described first equipment and described second equipment and has set up described second session.
In some embodiments of the invention, the operational order that processor 1103 also stores by calling memory 1104 makes before the ASP at described first equipment sends a request message to the ASP of described second equipment, the ASP of described first equipment sends the second report message to the service module of described first equipment, described second report message is used for reporting described first equipment can set up the second session based on described second network with described second equipment to the service module of described first equipment, described second report message comprises the second cooperative information, described second cooperative information is for representing that described second session and described first session correspond to same business, the ASP of described first equipment receives the service module of described first equipment according to the first Indication message of described second report message transmission, and described first Indication message is used to indicate described first equipment and described second equipment sets up described second session,
The response message that the ASP that processor 1103 makes the ASP of described first equipment receive described second equipment especially by the operational order calling memory 1104 storage responds after the second equipment carries out pre-treatment operation according to described request message; Described pre-treatment is operating as: the ASP of described second equipment is according to service module transmission three report message of described request message to described second equipment, whether described 3rd report message is used for asking for instructions to the service module of described second equipment accepting to set up described second session with described first equipment, described 3rd report message comprises the 3rd cooperative information, and described 3rd cooperative information is for representing that described second session and described first session correspond to same business; The second Indication message that the service module that the ASP of described second equipment receives described second equipment sends according to described 3rd report message, the ASP that described second Indication message is used to indicate described second equipment responds described response message to the ASP of the first equipment.
In some embodiments of the invention, processor 1103 is also for performing following steps:
When meeting the first switching condition preset, the session that the business corresponding to described first session uses being switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
In some embodiments of the invention, processor 1103 is also for performing following steps:
After the session business corresponding to described first session used switches to described second session by described first session, when meeting the second switching condition preset, the session that business corresponding to described first session uses is switched to described first session by described second session, carries out business transmission to make the business corresponding to described first session according to described second session.
In the embodiment of the present invention, described input unit 1101, output device 1102 for carrying out reception, the transmission of related news or information under the control of described processor 1103.
In the technical scheme that the embodiment of the present invention provides, when the first equipment is by second network and the second equipment connection, processor 1103 comprises the first cooperative information by described output device 1102 in the request message sent to the second equipment, this first cooperative information is for representing that described second session and the first session correspond to same business, and after processor 1103 to receive the response message that the second equipment responds by described input unit 1101, this the second session is set up by processor 1103 and the second equipment, first equipment and the second equipment room are set up based on second network and the second session of the business corresponding to the first session of corresponding to.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Further, the embodiment of the present invention can according to the first switching condition preset and second switching condition of presetting, business corresponding to first session is switched in the first session based on first network and the second session based on second network, for business uses the selection of network to provide larger flexibility ratio, and the seamless switching of the business that ensures between heterogeneous networks, thus improve Consumer's Experience.
Embodiment shown in Fig. 7 to Figure 11 describes the first equipment as the angle of the equipment searching service role, be described in detail from the second equipment providing the angle of service role to the embodiment of the present invention below, specifically refer to Figure 12, in the embodiment of the present invention, the second equipment embodiment comprises:
Receiving element 1201, for when described second equipment is also by second network and the first equipment connection, receives the request message that described first equipment sends; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Response unit 1202, for responding response message according to described request message to the first equipment, described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Set up single 1203, for setting up described second session with described first equipment.
For ease of understanding, below for an embody rule scene, the inner working flow process of the network controller in the present embodiment is described:
When described second equipment is also by second network and described first equipment connection, receiving element 1201 receives the request message that described first equipment sends; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Response unit 1202 responds response message according to described request message to the first equipment, and described response message is for representing that described second equipment accepts to set up described second session with described first equipment; Set up unit 1203 and set up described second session with described first equipment.
In the technical scheme that the embodiment of the present invention provides, when the second equipment is by second network and the first equipment connection, receiving element 1201 receives the request message that the first equipment sends, the first cooperative information is comprised in this request message, this first cooperative information is for representing that described second session and the first session correspond to same business, and after responding response message by response unit 1202 to the first equipment, by setting up unit 1203 and the first equipment sets up this second session, second equipment and the first equipment room are set up based on second network and the second session of the business corresponding to the first session of corresponding to.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Be described in detail from the concrete structure providing the angle of service role to the equipment of the seamless switching of guaranteed service between heterogeneous networks below, refer to Figure 13, in the embodiment of the present invention, another embodiment of the second equipment comprises:
Receiving element 1301, for when described second equipment is also by second network and the first equipment connection, receives the request message that described first equipment sends; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Response unit 1302, for responding response message according to described request message to the first equipment, described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Set up unit 1303, for setting up described second session with described first equipment.
Further, in the embodiment of the present invention, equipment also comprises further:
First switch unit 1304, for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
Alternatively, in the embodiment of the present invention, equipment also comprises further:
Second switch unit 1305, after switching to described first session for the session that the business corresponding to described first session used at described second equipment by described second session, when meeting the second switching condition preset, the session that business corresponding to described first session uses is switched to described first session by described second session, carries out business transmission to make the business corresponding to described first session according to described second session.
In the technical scheme that the embodiment of the present invention provides, when the second equipment is by second network and the first equipment connection, receiving element 1301 receives the request message that the first equipment sends, the first cooperative information is comprised in this request message, this first cooperative information is for representing that described second session and the first session correspond to same business, and after responding response message by response unit 1302 to the first equipment, by setting up unit 1303 and the first equipment sets up this second session, second equipment and the first equipment room are set up based on second network and the second session of the business corresponding to the first session of corresponding to.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Further, the embodiment of the present invention can according to the first switching condition preset and second switching condition of presetting, business corresponding to first session is switched in the first session based on first network and the second session based on second network, for business uses the selection of network to provide larger flexibility ratio, and the seamless switching of the business that ensures between heterogeneous networks, thus improve Consumer's Experience.
The process of establishing of above-mentioned second session can based on different signaling processes, and be described in detail to the second equipment can setting up the second session based on the first signaling process below, refer to Figure 14, in the embodiment of the present invention, another embodiment of the second equipment comprises:
Set up the first session based on first network between described second equipment and the first equipment, described second equipment comprises the 2nd ASP1401 and second service module 1402;
Described 2nd ASP1401, for when described second equipment is by second network and described first equipment connection, the request message that the ASP receiving described first equipment sends, described request message sets up the second session based on described second network for asking, described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Also for according to ASP from described request message to described first equipment respond response message, described response message for represent described second equipment accept with described first equipment set up described second session; And for setting up described second session with the ASP of described first equipment;
In the present embodiment, described 2nd ASP1401, also for sending the first report message to described second service module, described first report message is used to indicate between described second equipment and described first equipment and has set up described second session;
Described second service module 1402, for receiving described first report message that described 2nd ASP sends.
Alternatively, in the present embodiment, described second service module 1402, also for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
Alternatively, in the present embodiment, described second service module 1402, also for after switching to described first session in the session business corresponding to described first session used by described second session, when meeting the second switching condition preset, the session that business corresponding to described first session uses is switched to described first session by described second session, carries out business transmission to make the business corresponding to described first session according to described second session.
In the technical scheme that the embodiment of the present invention provides, when the second equipment is by second network and the first equipment connection, the request message that the ASP that 2nd ASP1401 receives the first equipment sends, the first cooperative information is comprised in this request message, this first cooperative information is for representing that the second session and the first session correspond to same business, and after responding response message to the ASP of the first equipment, this the second session is set up with the ASP of the first equipment, make to set up based on second network between the 2nd ASP1401 and the ASP of the first equipment and the second session of the business corresponding to the first session of corresponding to, just can carry out being connected and transmitting data with the service module of the first equipment by the second session as required after the first report message that second service module 1402 sends at reception the 2nd ASP1401, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Further, the embodiment of the present invention can according to the first switching condition preset and second switching condition of presetting, business corresponding to first session is switched in the first session based on first network and the second session based on second network, for business uses the selection of network to provide larger flexibility ratio, and the seamless switching of the business that ensures between heterogeneous networks, thus improve Consumer's Experience.
Be described in detail to the second equipment can setting up the second session based on the second signaling process below, refer to Figure 15, in the embodiment of the present invention, another embodiment of the second equipment comprises:
Set up the first session based on first network between described second equipment and the first equipment, described second equipment comprises the 2nd ASP1501 and second service module 1502;
Described 2nd ASP1501, for when described second equipment is by second network and described first equipment connection, the request message that the ASP receiving described first equipment sends, described request message sets up the second session based on described second network for asking, described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Also for according to ASP from described request message to described first equipment respond response message, described response message for represent described second equipment accept with described first equipment set up described second session; And for setting up described second session with the ASP of described first equipment;
In the present embodiment, the request message that described 2nd ASP1501 sends for the ASP receiving the first equipment, is specially: the request message that described 2nd ASP sends after the first equipment carries out pretreatment operation for the ASP receiving described first equipment; Described pretreatment operation is: the ASP of described first equipment sends the second report message to the service module of described first equipment, described second report message is used for reporting described first equipment can set up the second session based on described second network with described second equipment to the service module of described first equipment, described second report message comprises the second cooperative information, and described second cooperative information is for representing that described second session and described first session correspond to same business; The ASP of described first equipment receives the service module of described first equipment according to the first Indication message of described second report message transmission, and described first Indication message is used to indicate described first equipment and described second equipment sets up described second session;
Described 2nd ASP1501, also for after the request message of the ASP transmission of described first equipment of described 2nd ASP1501 reception, described 2nd ASP responds before response message according to the ASP of described request message to the first equipment, the 3rd report message is sent to the second service module 1502 in described second equipment according to described request message, whether described 3rd report message is used for asking for instructions to described second service module 1502 accepting to set up described second session with described first equipment, described 3rd report message comprises the 3rd cooperative information, described 3rd cooperative information is for representing that described second session and described first session correspond to same business,
Described second service module, for after described 3rd report message receiving described 2nd ASP transmission, according to the second Indication message that described 3rd report message sends to described 2nd ASP, described second Indication message is used to indicate described 2nd ASP and responds described response message to the ASP of the first equipment;
Described 2nd ASP, also for receiving described second Indication message that described second service module sends.
Alternatively, in the present embodiment, described second service module 1502, also for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
Alternatively, in the present embodiment, described second service module 1502, also for after switching to described first session in the session business corresponding to described first session used by described second session, when meeting the second switching condition preset, the session that business corresponding to described first session uses is switched to described first session by described second session, carries out business transmission to make the business corresponding to described first session according to described second session.
In the technical scheme that the embodiment of the present invention provides, when the second equipment is by second network and the first equipment connection, the request message that the ASP that 2nd ASP1501 receives the first equipment sends after the first equipment carries out preliminary treatment, the first cooperative information is comprised in this request message, this first cooperative information is for representing that the second session and the first session correspond to same business, and after reception second service module 1502 is according to the second Indication message of the 3rd report message transmission, ASP to the first equipment responds response message, this the second session is set up again with the ASP of the first equipment, make to set up based on second network between the 2nd ASP1501 and the ASP of the first equipment and the second session of the business corresponding to the first session of corresponding to, and this second session one is set up, there is this second session that can be for subsequent use in second service module 1502 just identifiable design, and carry out being connected and transmitting data with the service module of the first equipment by this second session as required, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Further, the embodiment of the present invention can according to the first switching condition preset and second switching condition of presetting, business corresponding to first session is switched in the first session based on first network and the second session based on second network, for business uses the selection of network to provide larger flexibility ratio, and the seamless switching of the business that ensures between heterogeneous networks, thus improve Consumer's Experience.
From the angle of modular functionality entity, the second equipment the embodiment of the present invention is described above, from the angle of hardware handles, the second equipment the embodiment of the present invention is described below, refer to Figure 16, another embodiment of the equipment in the embodiment of the present invention comprises:
Input unit 1601, output device 1602, processor 1603 and memory 1604 (quantity of the processor 1603 wherein in equipment can be one or more, for a processor 1603 in Figure 16).In some embodiments of the invention, input unit 1601, output device 1602, processor 1603 are connected by bus or alternate manner with memory 1604.
Wherein,
Described processor 1603, by calling the operational order that memory 1604 stores, for performing following steps:
The first session based on first network is set up between second equipment and the first equipment,
When described second equipment is also by second network and described first equipment connection, receive the request message that described first equipment sends; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Respond response message according to described request message to described first equipment, described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Described second session is set up with described first equipment.
In some embodiments of the invention, processor 1603 makes the ASP of described second equipment receive the request message of the ASP transmission of described first equipment especially by the operational order calling memory 1104 storage; Make the ASP of described second equipment according to the ASP response response message of described request message to the first equipment; The ASP of the ASP of described second equipment and described first equipment is made to set up described second session.
In some embodiments of the invention, the operational order that processor 1603 also stores by calling memory 1104 makes the ASP of the second equipment send the first report message to the service module of the second equipment, and described first report message is used to indicate between described second equipment and described first equipment and has set up described second session.
In some embodiments of the invention, processor 1603 is especially by the request message calling operational order that memory 1104 stores and make the ASP of described second equipment receive the ASP of described first equipment to send after the first equipment carries out pretreatment operation; Described pretreatment operation is: the ASP of described first equipment sends the second report message to the service module of described first equipment, described second report message is used for reporting described first equipment can set up the second session based on described second network with described second equipment to the service module of described first equipment, described second report message comprises the second cooperative information, and described second cooperative information is for representing that described second session and described first session correspond to same business;
After the request message that the operational order that processor 1603 also stores by calling memory 1104 makes the ASP receiving described first equipment at the ASP of described second equipment send, before the ASP of described second equipment responds response message according to described request message to the ASP of the first equipment, the ASP of described second equipment is according to service module transmission three report message of described request message to described second equipment, whether described 3rd report message is used for asking for instructions to the service module of described second equipment accepting to set up described second session with described first equipment, described 3rd report message comprises the 3rd cooperative information, described 3rd cooperative information is for representing that described second session and described first session correspond to same business, the second Indication message that the service module that the ASP of described second equipment receives described second equipment sends according to described 3rd report message, the ASP that described second Indication message is used to indicate described second equipment responds described response message to the ASP of the first equipment.
In some embodiments of the invention, processor 1603 is also for performing following steps:
When meeting the first switching condition preset, the session that the business corresponding to described first session uses being switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
In some embodiments of the invention, processor 1603 is also for performing following steps:
After the session business corresponding to described first session used switches to described second session by described first session, when meeting the second switching condition preset, the session that business corresponding to described first session uses is switched to described first session by described second session, carries out business transmission to make the business corresponding to described first session according to described second session.
In the embodiment of the present invention, described input unit 1601, output device 1602 for carrying out reception, the transmission of related news or information under the control of described processor 1603.
In the technical scheme that the embodiment of the present invention provides, when the second equipment is by second network and the first equipment connection, processor 1603 receives the request message of the first equipment transmission by described input unit 1601, the first cooperative information is comprised in this request message, this first cooperative information is for representing that described second session and the first session correspond to same business, and after responding response message by described output device 1602 to the first equipment by processor 1603, this the second session is set up by processor 1603 and the first equipment, second equipment and the first equipment room are set up based on second network and the second session of the business corresponding to the first session of corresponding to.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Further, the embodiment of the present invention can according to the first switching condition preset and second switching condition of presetting, business corresponding to first session is switched in the first session based on first network and the second session based on second network, for business uses the selection of network to provide larger flexibility ratio, and the seamless switching of the business that ensures between heterogeneous networks, thus improve Consumer's Experience.
Above the method for processing business in the embodiment of the present invention, the first equipment and the second equipment are described, below the transaction processing system in the embodiment of the present invention are described.First need it is clear that, set up the first session based on first network between the first equipment and the second equipment.Be understandable that, when the first equipment and this second equipment have set up the connection based on first network, first equipment and this second equipment can use a set of address based on first network, i.e. the first address of this first equipment and the first address of this second equipment, and utilization sets up this first session based on a set of address of first network.After this first session establishment, the first equipment is undertaken being connected and transmitting data by this first session with the second equipment, to realize the business transmission of business between the first equipment and the second equipment corresponding to the first session.
It should be noted that, first network and second network can be two dissimilar networks, such as, cable network, WI-FI, bluetooth, NFC and Powerline etc., also can be of the same type but possess the network of heterogeneous networks structure, such as based on the P2P network of WI-FI and the infrastructure network based on WI-FI, wherein, based on the P2P network of Wi-Fi, can be based on WFA (Wi-FiAlliance, Wi-Fi Alliance) the network set up of Wi-FiDirect agreement, in this case, the first equipment can directly be connected with the second equipment; Based on the infrastructure network of Wi-Fi, can be the network set up based on 802.11 agreements of IEEE, in this case, the first equipment and the second equipment be all connected to AP (AccessPoint, access point), and the communication that can realize between the two by AP.Be understandable that, in actual applications, the quantity of second network can be one or more, is not construed as limiting herein.
It should be noted that, in each embodiment of following the present invention, first equipment and the second equipment can be the equipment possessing network connecting function, the mobile phone of such as network enabled linkage function, television set, server, wireless router, other various household electrical appliance or office equipment etc.Such as, first equipment can be mobile phone, second equipment can be television set, access point can be wireless router, now, mobile phone by the connection of wireless router foundation based on the infrastructure network of Wi-Fi, and can set up the first session based on this infrastructure network based on Wi-Fi with television set, by this first session, play content is transferred to television set to make mobile phone.
Refer to Figure 17, in the embodiment of the present invention, transaction processing system embodiment comprises:
First equipment 1701, for when described first equipment 1701 is connected with described second equipment 1702 by second network, sends a request message to described second equipment 1702; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Also for receiving the response message that described second equipment 1702 is responded according to described request message, described response message is for representing that described second equipment 1702 accepts to set up described second session with described first equipment 1701; And for setting up described second session according to described response message and described second equipment 1702.
Described second equipment 1702, for when described equipment is connected with described target device by second network, receives the request message that described target device sends; Also for responding described response message according to described request message to the first equipment; And for setting up described second session with described target device.
For ease of understanding, below for an embody rule scene, the inner working flow process of the transaction processing system in the present embodiment is described:
When described first equipment 1701 is connected with described second equipment 1702 by second network, the first equipment 1701 sends a request message to described second equipment; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Second equipment 1702 responds described response message according to described request message to the first equipment 1701, and described response message is for representing that described second equipment 1702 accepts to set up described second session with described first equipment 1701; First equipment 1701 receives the response message that described second equipment 1702 is responded according to described request message; First equipment 1701 sets up described second session according to described response message and described second equipment 1702.
In the technical scheme that the embodiment of the present invention provides, when the first equipment 1701 is connected with the second equipment 1702 by second network, first equipment 1701 comprises the first cooperative information in the request message sent to the second equipment 1702, this first cooperative information is for representing that described second session and the first session correspond to same business, and after the response message receiving the second equipment 1702 response, this the second session is set up with the second equipment 1702, make to set up based on second network between the first equipment 1701 and the second equipment 1702 and the second session of the business corresponding to the first session of corresponding to.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Be described in detail to the concrete structure of the transaction processing system of the seamless switching of guaranteed service between heterogeneous networks below, refer to Figure 18, in the embodiment of the present invention, another embodiment of transaction processing system comprises:
First equipment 1801, for when described first equipment 1801 is connected with described second equipment 1802 by second network, sends a request message to described second equipment 1802; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Also for receiving the response message that described second equipment 1802 is responded according to described request message, described response message is for representing that described second equipment 1802 accepts to set up described second session with described first equipment 1801; And for setting up described second session according to described response message and described second equipment 1802.
Described second equipment 1802, for when described equipment is connected with described target device by second network, receives the request message that described target device sends; Also for responding described response message according to described request message to the first equipment; And for setting up described second session with described target device.
Further, in the embodiment of the present invention, transaction processing system also comprises further:
Described first equipment 1801 or described second equipment 1802, also for the session that the business corresponding to described first session uses being switched to described second session by described first session when meeting the first switching condition preset, carry out business transmission to make the business corresponding to described first session according to described second session.
Alternatively, in the embodiment of the present invention, transaction processing system also comprises further:
Described first equipment 1801 or described second equipment 1802, also for the session that the business corresponding to described first session uses being switched to described first session by described second session when meeting the second switching condition preset, carry out business transmission to make the business corresponding to described first session according to described second session.
In the technical scheme that the embodiment of the present invention provides, when the first equipment 1801 is connected with the second equipment 1802 by second network, first equipment 1801 comprises the first cooperative information in the request message sent to the second equipment 1802, this first cooperative information is for representing that described second session and the first session correspond to same business, and after the response message receiving the second equipment 1802 response, this the second session is set up with the second equipment 1802, make to set up based on second network between the first equipment 1801 and the second equipment 1802 and the second session of the business corresponding to the first session of corresponding to.The embodiment of the present invention is by set up for same business at equipment room and based on the second session of second network, can when there is the situations such as signal quality is not good or be switched in first network, the business corresponding to first session of equipment room can continue to run in the second network, to ensure the reliability that business is transmitted, effective raising service transmission quality, and can network resource utilization be improved, avoid the waste of Internet resources.
Further, the embodiment of the present invention can according to the first switching condition preset and second switching condition of presetting, business corresponding to first session is switched in the first session based on first network and the second session based on second network, for business uses the selection of network to provide larger flexibility ratio, and the seamless switching of the business that ensures between heterogeneous networks, thus improve Consumer's Experience.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (30)

1. a method for processing business, is characterized in that, set up the first session based on first network between the first equipment and the second equipment, described method comprises: when described first equipment is by second network and described second equipment connection,
Described first equipment sends a request message to described second equipment; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Described first equipment receives the response message that described second equipment is responded according to described request message, and described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Described first equipment sets up described second session according to described response message and described second equipment.
2. method for processing business as claimed in claim 1, is characterized in that,
Described first equipment sends a request message to described second equipment and is specially:
The ASP of described first equipment sends a request message to the ASP of described second equipment;
The response message that described second equipment of described first equipment reception is responded according to described request message is specially:
The response message that the ASP that the ASP of described first equipment receives described second equipment responds according to described request message;
Described first equipment is set up described second session according to described response message and described second equipment and is specifically comprised:
The ASP of described first equipment sets up described second session according to the ASP of described response message and described second equipment.
3. method for processing business as claimed in claim 2, is characterized in that, also comprises after the ASP of described first equipment sets up described second session according to the ASP of described response message and described second equipment:
The ASP of the first equipment sends the first report message to the service module of the first equipment, and described first report message is used to indicate between described first equipment and described second equipment and has set up described second session.
4. method for processing business as claimed in claim 2 or claim 3, is characterized in that,
Also comprised before the ASP of described first equipment sends a request message to the ASP of described second equipment:
The ASP of described first equipment sends the second report message to the service module of described first equipment, described second report message is used for reporting described first equipment can set up the second session based on described second network with described second equipment to the service module of described first equipment, described second report message comprises the second cooperative information, and described second cooperative information is for representing that described second session and described first session correspond to same business;
The ASP of described first equipment receives the service module of described first equipment according to the first Indication message of described second report message transmission, and described first Indication message is used to indicate described first equipment and described second equipment sets up described second session;
The response message that the ASP of described second equipment of ASP reception of described first equipment responds according to described request message comprises:
The ASP of described first equipment receives the ASP of described second equipment according to the response message of described request message response after the second equipment carries out pre-treatment operation; Described pre-treatment is operating as: the ASP of described second equipment is according to service module transmission three report message of described request message to described second equipment, whether described 3rd report message is used for asking for instructions to the service module of described second equipment accepting to set up described second session with described first equipment, described 3rd report message comprises the 3rd cooperative information, and described 3rd cooperative information is for representing that described second session and described first session correspond to same business; The second Indication message that the service module that the ASP of described second equipment receives described second equipment sends according to described 3rd report message, the ASP that described second Indication message is used to indicate described second equipment responds described response message to the ASP of the first equipment.
5. as the method for processing business in Claims 1-4 as described in any one, it is characterized in that, it is one or more that described first cooperative information comprises in the address information of described first equipment in described first network, the session identification of described first session and the first identification information, wherein, described first identification information is the information obtained after calculating according to the session identification of the address information of described first equipment in described first network and/or described first session.
6. method for processing business as claimed in claim 4, it is characterized in that, it is one or more that described second cooperative information comprises in the address information of described second equipment in described first network, the session identification of described first session and the second identification information, wherein, described second identification information is the information obtained after calculating according to the session identification of the address information of described second equipment in described first network and/or described first session; It is one or more that described 3rd cooperative information comprises in the address information of described first equipment in described first network, the session identification of described first session and the first identification information, wherein, described first identification information is the information obtained after calculating according to the session identification of the address information of described first equipment in described first network and/or described first session.
7. as the method for processing business in claim 1 to 6 as described in any one, it is characterized in that, described method also comprises:
When meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session by described first equipment, carries out business transmission to make the business corresponding to described first session according to described second session.
8. method for processing business as claimed in claim 7, it is characterized in that, described the first default switching condition comprises:
The signal quality that the signal quality of described first network does not meet preset requirement or described second network is better than the signal quality of described first network.
9. a method for processing business, is characterized in that, sets up the first session based on first network between the first equipment and the second equipment, and when described first equipment is also by second network and described second equipment connection, described method comprises:
Described second equipment receives the request message that described first equipment sends; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Described second equipment responds response message according to described request message to described first equipment, and described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Described second equipment and described first equipment set up described second session.
10. method for processing business as claimed in claim 9, is characterized in that,
The request message that described second equipment receives described first equipment transmission is specially:
The ASP of described second equipment receives the request message of the ASP transmission of described first equipment;
Described second equipment is responded response message according to described request message to the first equipment and is specially:
The ASP of described second equipment is according to the ASP response response message of described request message to the first equipment;
Described second equipment is set up described second session according to described response message and described first equipment and is specifically comprised:
The ASP of described second equipment and the ASP of described first equipment sets up described second session.
11. method for processing business as claimed in claim 10, is characterized in that, also comprise after the ASP of described second equipment and the ASP of described first equipment sets up described second session:
The ASP of the second equipment sends the first report message to the service module of the second equipment, and described first report message is used to indicate between described second equipment and described first equipment and has set up described second session.
12. method for processing business as described in claim 10 or 11, is characterized in that,
The request message that described second equipment receives described first equipment transmission is specially:
The request message that the ASP that the ASP of described second equipment receives described first equipment sends after the first equipment carries out pretreatment operation; Described pretreatment operation is: the ASP of described first equipment sends the second report message to the service module of described first equipment, described second report message is used for reporting described first equipment can set up the second session based on described second network with described second equipment to the service module of described first equipment, described second report message comprises the second cooperative information, and described second cooperative information is for representing that described second session and described first session correspond to same business; The ASP of described first equipment receives the service module of described first equipment according to the first Indication message of described second report message transmission, and described first Indication message is used to indicate described first equipment and described second equipment sets up described second session;
After the request message that the ASP receiving described first equipment at the ASP of described second equipment sends, the ASP of described second equipment also comprised before the ASP of the first equipment responds response message according to described request message:
The ASP of described second equipment is according to service module transmission three report message of described request message to described second equipment, whether described 3rd report message is used for asking for instructions to the service module of described second equipment accepting to set up described second session with described first equipment, described 3rd report message comprises the 3rd cooperative information, and described 3rd cooperative information is for representing that described second session and described first session correspond to same business;
The second Indication message that the service module that the ASP of described second equipment receives described second equipment sends according to described 3rd report message, the ASP that described second Indication message is used to indicate described second equipment responds described response message to the ASP of the first equipment.
13. as the method for processing business in claim 9 to 12 as described in any one, it is characterized in that, it is one or more that described first cooperative information comprises in the address information of described first equipment in described first network, the session identification of described first session and the first identification information, wherein, described identification information is the information obtained after calculating according to the session identification of the address information of described first equipment in described first network and/or described first session.
14. method for processing business as claimed in claim 12, it is characterized in that, it is one or more that described second cooperative information comprises in the address information of described second equipment in described first network, the session identification of described first session and the second identification information, wherein, described second identification information is the information obtained after calculating according to the session identification of the address information of described second equipment in described first network and/or described first session; It is one or more that described 3rd cooperative information comprises in the address information of described first equipment in described first network, the session identification of described first session and the first identification information, wherein, described first identification information is the information obtained after calculating according to the session identification of the address information of described first equipment in described first network and/or described first session.
15., as the method for processing business in claim 9 to 14 as described in any one, is characterized in that, described method also comprises:
When meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session by described second equipment, carries out business transmission to make the business corresponding to described first session according to described second session.
16. method for processing business as claimed in claim 15, is characterized in that, described the first default switching condition comprises:
The signal quality that the signal quality of described first network does not meet preset requirement or described second network is better than the signal quality of described first network.
17. 1 kinds of equipment, described equipment is the first equipment, it is characterized in that, set up the first session based on first network between described first equipment and the second equipment, described first equipment comprises:
Transmitting element, for when described first equipment is by second network and described second equipment connection, sends a request message to described second equipment; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Receiving element, for receiving the response message that described second equipment is responded according to request message, described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Set up unit, for setting up described second session according to described response message and described second equipment.
18. equipment as claimed in claim 17, it is characterized in that, described first equipment also comprises:
First switch unit, for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
19. 1 kinds of equipment, described equipment is the first equipment, it is characterized in that, set up the first session based on first network between described first equipment and the second equipment, described first equipment comprises an ASP;
A described ASP, for when described first equipment is by second network and described second equipment connection, send a request message to the 2nd ASP, described 2nd ASP is the ASP of described second equipment, described request message sets up the second session based on described second network for asking, described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Also for receiving the response message that described 2nd ASP responds according to described request message, described response message is for representing that described second equipment accepts to set up described second session with described first equipment; And for setting up described second session according to described response message and described 2nd ASP.
20. equipment as claimed in claim 19, it is characterized in that, described first equipment also comprises first service module;
Described first service module, for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
21. first equipment as claimed in claim 20, is characterized in that,
A described ASP, also for described set up described second session according to described response message and described 2nd ASP after, send the first report message to described first service module, described first report message is used to indicate between described first equipment and described second equipment and has set up described second session;
Described first service module, also for receiving described first report message that a described ASP sends.
22. equipment as described in claim 20 or 21, it is characterized in that, a described ASP, also for before sending a request message to described 2nd ASP, the second report message is sent to described first service module, described second report message is used for reporting described first equipment can set up the second session based on described second network with described second equipment to described first service module, described second report message comprises the second cooperative information, and described second cooperative information is for representing that described second session and described first session correspond to same business;
Described first service module, also for after the second report message receiving a described ASP transmission, send the first Indication message according to described second report message to a described ASP, described first Indication message is used to indicate described first equipment and described second equipment sets up described second session;
A described ASP, also for receiving described first Indication message that described first service module sends;
The response message that a described ASP responds according to described request message for receiving described 2nd ASP, is specially: the response message that a described ASP responds according to described request message for receiving described 2nd ASP after described second equipment carries out pre-treatment operation; Described pre-treatment is operating as: described 2nd ASP sends the 3rd report message according to described request message to described second service module, described second service module is the service module of described second equipment, whether described 3rd report message is used for asking for instructions to described second service module accepting to set up described second session with described first equipment, described 3rd report message comprises the 3rd cooperative information, and described 3rd cooperative information is for representing that described second session and described first session correspond to same business; Described 2nd ASP receives the second Indication message that described first service module sends according to described 3rd report message, and described second Indication message is used to indicate described 2nd ASP and responds described response message to a described ASP.
23. 1 kinds of equipment, described equipment is the second equipment, it is characterized in that, set up the first session based on first network between described second equipment and the first equipment, described second equipment comprises:
Receiving element, for when described second equipment is by second network and described first equipment connection, receives the request message that described first equipment sends; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business;
Response unit, for responding response message according to described request message to described first equipment, described response message is for representing that described second equipment accepts to set up described second session with described first equipment;
Set up unit, for setting up described second session with described first equipment.
24. equipment as claimed in claim 23, it is characterized in that, described second equipment also comprises:
First switch unit, for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
25. 1 kinds of equipment, described equipment is the second equipment, it is characterized in that, set up the first session based on first network between described second equipment and the first equipment, described second equipment comprises the 2nd ASP;
Described 2nd ASP, for when described second equipment is by second network and described first equipment connection, receive the request message that an ASP sends, a described ASP is the ASP of described first equipment, described request message sets up the second session based on described second network for asking, described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Also for responding response message according to described request message to a described ASP, described response message is for representing that described second equipment accepts to set up described second session with described first equipment; And for setting up described second session with a described ASP.
26. second equipment as claimed in claim 25, is characterized in that, described second equipment also comprises second service module;
Described second service module, for when meeting the first switching condition preset, the session that business corresponding to described first session uses is switched to described second session by described first session, carries out business transmission to make the business corresponding to described first session according to described second session.
27. equipment as claimed in claim 26, is characterized in that,
Described 2nd ASP, also for sending the first report message to described second service module, described first report message is used to indicate between described second equipment and described first equipment and has set up described second session;
Described second service module, also for receiving described first report message that described 2nd ASP sends.
28. the second equipment as described in claim 26 or 27, is characterized in that,
The request message that described 2nd ASP sends for receiving an ASP, is specially: the request message that described 2nd ASP sends after the first equipment carries out pretreatment operation for receiving a described ASP; Described pretreatment operation is: a described ASP sends the second report message to first service module, described first service module is the service module of described first equipment, described second report message is used for reporting described first equipment can set up the second session based on described second network with described second equipment to described first service module, described second report message comprises the second cooperative information, and described second cooperative information is for representing that described second session and described first session correspond to same business; A described ASP receives the first Indication message that described first service module sends according to described second report message, and described first Indication message is used to indicate described first equipment and described second equipment sets up described second session;
Described 2nd ASP, also for receive at described 2nd ASP described one ASP send request message after, described 2nd ASP responds before response message to an ASP according to described request message, the 3rd report message is sent to described second service module according to described request message, whether described 3rd report message is used for asking for instructions to described second service module accepting to set up described second session with described first equipment, described 3rd report message comprises the 3rd cooperative information, described 3rd cooperative information is for representing that described second session and described first session correspond to same business,
Described second service module, also for after described 3rd report message receiving described 2nd ASP transmission, according to the second Indication message that described 3rd report message sends to described 2nd ASP, described second Indication message is used to indicate described 2nd ASP and responds described response message to an ASP;
Described 2nd ASP, also for receiving described second Indication message that described second service module sends.
29. 1 kinds of transaction processing systems, is characterized in that, comprising:
First equipment and the second equipment; The first session based on first network is set up between described first equipment and described second equipment;
Described first equipment, for when described first equipment is by second network and described second equipment connection, sends a request message to described second equipment; Described request message sets up the second session based on described second network for asking, and described request message comprises the first cooperative information, and described first cooperative information is for representing that described second session and described first session correspond to same business; Also for receiving the response message that described second equipment is responded according to described request message, described response message is for representing that described second equipment accepts to set up described second session with described first equipment; And for setting up described second session according to described response message and described second equipment;
Described second equipment, for when described equipment is connected with described target device by second network, receives the request message that described target device sends; Also for responding described response message according to described request message to the first equipment; And for setting up described second session with described target device.
30. transaction processing systems as claimed in claim 29, is characterized in that,
Described first equipment or described second equipment, also for the session that the business corresponding to described first session uses being switched to described second session by described first session when meeting the first switching condition preset, carry out business transmission to make the business corresponding to described first session according to described second session.
CN201410438698.5A 2014-08-30 2014-08-30 A kind of method for processing business and system, equipment Active CN105451289B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410438698.5A CN105451289B (en) 2014-08-30 2014-08-30 A kind of method for processing business and system, equipment
PCT/CN2015/087669 WO2016029820A1 (en) 2014-08-30 2015-08-20 Service processing method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410438698.5A CN105451289B (en) 2014-08-30 2014-08-30 A kind of method for processing business and system, equipment

Publications (2)

Publication Number Publication Date
CN105451289A true CN105451289A (en) 2016-03-30
CN105451289B CN105451289B (en) 2019-05-28

Family

ID=55398752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410438698.5A Active CN105451289B (en) 2014-08-30 2014-08-30 A kind of method for processing business and system, equipment

Country Status (2)

Country Link
CN (1) CN105451289B (en)
WO (1) WO2016029820A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330748A (en) * 2007-07-31 2008-12-24 中兴通讯股份有限公司 Method for switching control route of IP multimedia subsystem centralized business conversation
US20110199915A1 (en) * 2010-02-17 2011-08-18 Qualcomm Incorporated Managing pages of an access terminal when the access terminal is engaged in a communication session within a wireless communications system
CN102883390A (en) * 2012-10-22 2013-01-16 张家港市鸿嘉数字科技有限公司 Service switching method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6842621B2 (en) * 2001-12-21 2005-01-11 Motorola, Inc. Method and apparatus for splitting control and media content from a cellular network connection
CN102905390B (en) * 2011-07-26 2017-12-01 中兴通讯股份有限公司 Session association methods, devices and systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101330748A (en) * 2007-07-31 2008-12-24 中兴通讯股份有限公司 Method for switching control route of IP multimedia subsystem centralized business conversation
US20110199915A1 (en) * 2010-02-17 2011-08-18 Qualcomm Incorporated Managing pages of an access terminal when the access terminal is engaged in a communication session within a wireless communications system
CN102883390A (en) * 2012-10-22 2013-01-16 张家港市鸿嘉数字科技有限公司 Service switching method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
INTEL, SONY: "《3GPP SA WG2 Meeting #S2-97 S2-131698》", 31 May 2013 *

Also Published As

Publication number Publication date
WO2016029820A1 (en) 2016-03-03
CN105451289B (en) 2019-05-28

Similar Documents

Publication Publication Date Title
EP3697054B1 (en) Method for data transmission with two wi-fi links and related products
CN107231606B (en) WiFi network access method, intelligent hardware equipment and electronic terminal
CN104205933B (en) Seamless transition of cellular phone from cellular communication to Wi-Fi communication
CN105392181B (en) A kind of networking method of smart machine, apparatus and system
CN110121902B (en) Communication establishment method and terminal
CN110636483A (en) Network distribution method and system
US10764805B2 (en) Signal strength measurement method and device
CN105446305A (en) Intelligent household gateway network configuration method and intelligent household system
CN105357116A (en) Method of multiple terminals for accessing server and intelligent terminal
CN104380661A (en) Operation method of route device, route device and terminal device
CN105577732A (en) Service discovery method, related device and system
CN103634657A (en) Television and mobile terminal synchronous WIFI connection setup method and device
US10149134B2 (en) Near field discovery method, user equipment, and storage medium
CN105072149A (en) Method and device for building remote communication through proxy gateway
CN107820289A (en) A kind of WIFI network switching method, device, terminal and medium
CN104320787A (en) Method for generating wireless virtual network, and wireless network control device
CN104822167A (en) Selecting method for switching NFC carriers, device and system thereof
CN101472299B (en) Method, system and device for dynamically determining Off-Channel
CN105072148B (en) Method and device for establishing connection with terminal
CN107454659B (en) Terminal identification method, system, terminal equipment and base station
CN103561087A (en) Equipment interconnection method and device
CN105681225A (en) Network resource acquisition method and device
CN102892157A (en) Method and system for guaranteeing continuity of services during switching of wireless local area network (WLAN) to WLAN or third-generation (3G) network
JP2016530806A (en) Wireless access method, apparatus and system
CN105451289A (en) Service processing method, system and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211201

Address after: 215010 room 704, building 5, No. 556, Changjiang Road, high tech Zone, Suzhou, Jiangsu

Patentee after: SUZHOU YUDESHUI ELECTRICAL TECHNOLOGY Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221222

Address after: No. 8, Xingbo 7th Road, Boxing Economic Development Zone, Boxing County, Binzhou City, Shandong Province, 256599

Patentee after: Shandong Rongzhi Industry Guidance Fund Co.,Ltd.

Address before: 215010 room 704, building 5, No. 556, Changjiang Road, high tech Zone, Suzhou, Jiangsu

Patentee before: SUZHOU YUDESHUI ELECTRICAL TECHNOLOGY Co.,Ltd.