Specific embodiment
The following description and drawings fully show specific embodiments of the present invention, to enable those skilled in the art to
Practice them.Other embodiments may include structure, logic, it is electrical, process and other change.Embodiment
Only represent possible variation.Unless explicitly requested, otherwise individual components and functionality is optional, and the sequence operated can be with
Variation.The part of some embodiments and feature can be included in or replace part and the feature of other embodiments.This hair
The range of bright embodiment includes equivalent obtained by the entire scope of claims and all of claims
Object.Herein, these embodiments of the invention can individually or generally be indicated that this is only with term " invention "
For convenience, and if in fact disclosing the invention more than one, the range for being not meant to automatically limit the application is to appoint
What single invention or inventive concept.
Fig. 1 shows a kind of flow diagram of equipment connection method of the embodiment of the present invention,
As shown in Figure 1, in some illustrative embodiments, the equipment connection method is applied to the first equipment, including
Following steps:
Step S101 is activated by the device activation server in first network to the second equipment sending device to be connected
Request;
Wherein, the type of data connection of second equipment and this equipment is multiple, and the device activation request carries institute
State the network identity of the second equipment and the type of data connection list including the multiple type of data connection;
Preferably, the first network is 3GPP (third generation cooperative programme, 3rd Generation Partnership
Project) network;This equipment, can be to first after knowing that the data connection path between the second equipment is lost or disconnected
The device activation server of network sends the device activation request, and the device activation request should carry second equipment
The network identity of network identity and type of data connection list, second equipment is used so that device activation server is in 3GPP
The position of the second equipment is found in the bottom-layer network of network;Then device activation server forwards the equipment to swash by first network
Request living to second equipment, the device activation request of forwarding carries the type of data connection list and the mark of this equipment
Know;The effect of the type of data connection list is so that the second equipment is according to the type of data connection and this equipment in the list
Establish data connection;
Step S102 receives the connection request that second equipment is sent, establishes data connection with second equipment;
In some illustrative embodiments, it is activated described to the second equipment sending device to be connected before requesting,
Further include:
Obtain the type of data connection list;
Wherein, the process for obtaining the type of data connection list, may is that
According to the registration information of second equipment, the type of data connection list is obtained;Or,
It is recorded according to the data connection of second equipment and this equipment, obtains the type of data connection list;
In some illustrative embodiments, the type of data connection list further include: with each data connection class
The corresponding priority of type, so that second equipment selects corresponding data connection according to putting in order for each priority
Type;
In some illustrative embodiments, after the acquisition type of data connection list, further includes:
According to current environmental condition, the priority corresponding with each type of data connection is adjusted;
Such as: assuming that type of data connection list is directly extracted from the registration information that second equipment is sent, and the number
According to the priority carried in connection type list corresponding to different data connection type, then this equipment can be according to working as
(such as: the priority orders in registration information can be interpreted as using preceding network environment (network speed), rate and/or user information
The priority of the preset different data connection type in family) etc. conditions, to the priority orders in type of data connection list into
The corresponding adjustment of row, the second equipment of Xiang Suoshu provide connection scheme optimal under current environment;
Or,
According to current environmental condition, the priority corresponding with each type of data connection is generated;Such as: it obtains
The type of data connection list got only includes multiple type of data connection, but without corresponding priority, then this equipment can be with
(such as: carrying user in registration information and be inclined to preferentially according to current network environment (network speed), rate and/or user information
Use certain type of data connection) etc. conditions, generate corresponding with each type of data connection priority, and each priority is added
It is added to the list or is sent to second equipment in other forms, so that second equipment selects accordingly according to priority
Type of data connection;
In some illustrative embodiments, in the connection request for receiving second equipment and sending, with described the
Two equipment are established after data connection, further includes:
To second equipment send to feed back whether the feedback message of successful connection;
Work as connection failure, then informs that second equipment can not establish data connection, so that the second equipment is according to the number
According to the priority orders in connection type list, another type of data connection is selected, establishes data connection with this equipment again,
Until being successfully established connection;
Optionally, this equipment can also data connection information (such as type of data connection list) to second equipment into
Row adjustment updates;
For example, this equipment can be updated periodically data connection information (the type of data connection column of second equipment
Table, or information relevant to the type of data connection list is generated);Alternatively, this equipment can will be established with second equipment
The priority of corresponding type of data connection is turned down when data connection failure, or, deleting in original data connection information should
Type of data connection.
Fig. 2 shows a kind of flow diagram of equipment connection method of the embodiment of the present invention,
As shown in Fig. 2, in some illustrative embodiments, a kind of equipment connection method, including following step
It is rapid:
Step S201 is activated by first network receiving device and is requested;
The device activation request carries the mark of the first equipment and the data connection class including multiple type of data connection
Type list;
Preferably, the first network is 3GPP network;Device activation request is the device activation server of 3GPP network
It sends, to inform that this equipment and the first equipment establish data connection;
Step S202 is selected according to the type of data connection list and is established the of data connection with first equipment
One type of data connection;
Here the first type of data connection is the type of data connection that this equipment is selected from type of data connection list,
This equipment establishes data connection according to first type of data connection and the first equipment;It is illustrated below to first data link
Type is illustrated, such as: it is Internet because of spy that this equipment first selects type of data connection from type of data connection list
Net selects data connection from type of data connection list again if this equipment and the first equipment establish data connection failure
Type is 3G net, and is successfully established data connection by 3G net and the first equipment, in this embodiment the first type of data connection
Including the internet Internet and 3G net;
In some illustrative embodiments, described according to the type of data connection list, it selects and is set with described first
Standby the first type of data connection for establishing data connection, specifically includes: according to multiple described in the type of data connection list
Type of data connection puts in order, and first type of data connection is selected from the type of data connection list;Or,
If the type of data connection list further include: priority corresponding with each type of data connection;Then institute
The first type of data connection selected according to the type of data connection list and establish data connection with first equipment is stated,
It specifically includes:
According to putting in order for each priority, first data are selected from the type of data connection list and are connected
Connect type;
Step S203 establishes data connection with the first equipment according to first type of data connection;
In some illustrative embodiments, after described and the first equipment establishes data connection, further includes:
If being successfully established the data connection, this process is terminated;
If failure, execute again it is described according to the type of data connection list, select and first equipment establish
First type of data connection of data connection;With it is described that data are established by first type of data connection and the first equipment
Connection;
In some illustrative embodiments, it before the device activation request that the reception first network is sent, also wraps
It includes:
Registration information is sent to first equipment, the registration information includes the type of data connection list.
This programme is illustrated with specific embodiment below, is related to household appliance, device activation in this embodiment
Server and cloud platform;Wherein, household appliance is equivalent to the second equipment in above-described embodiment, and cloud platform is equivalent to described first
Equipment, device activation server are that the equipment in first network is needed when cloud platform needs to activate household appliance by first
Network activates it;
Assuming that first network is 3GPP network, household appliance and cloud platform establish the process of data connection, can be such as Fig. 3 institute
Show, detailed process is as follows:
Step S301, cloud platform needs to connect household appliance, but data connection disconnects;
Data connection between cloud platform discovery and household appliance has been lost, and initiating equipment activation process is needed;
Step S302, cloud platform obtain type of data connection list according to the registration information of household appliance;
Optionally, cloud platform obtains the type of data connection list of its support according to the registration information of household appliance, and
The network identity (EXT-ID) of the household electrical appliances;Certainly, cloud platform can also obtain type of data connection list, institute otherwise
It states type of data connection list and includes at least a variety of type of data connection that household appliance is supported;
Step S303, cloud platform are activated to device activation server sending device and are requested, and the device activation request includes
The network identity of household appliance, required type of data connection list (containing priority);
Optionally, device activation request include the mark ID of household appliance, household appliance network ID (Ext-ID),
The mark ID of cloud platform, the type of data connection list of priority including each type of data connection, cloud platform IP address end
Slogan and itself for different connection types the information relevant to data connection is established such as address;
It is assumed that in type of data connection list include three kinds of type of data connection, these three type of data connection it is preferential
It is successively (1, the internet Internet that grade, which puts in order,;2,3G net;3,4G net);
Step S304, device activation server position household appliance according to the network identity of household appliance;Device activation clothes
Business device navigates to the position where household appliance according to the network identity of household appliance, i.e. EXT-ID in bottom-layer network, and touches
Send out step S305;
Step S305, sending device activation request, the device activation request include: that the mark ID of cloud platform and data connect
Connect list of types (containing priority);
For device activation server by 3GPP network, the activation request of Xiang Suoshu household appliance sending device is optionally, described
Device activation request carries the mark ID, the priority list of type of data connection, Yun Ping of the mark ID of household appliance, cloud platform
The IP address of platform port numbers and itself for different connection types the information relevant to data connection is established such as address;Step
Rapid S306, household appliance receiving device activation request, confirms the type of data connection itself supported;
Household appliance receives above equipment activation request later first according to the priority list of type of data connection, confirmation
The type of data connection that itself is supported;
The process for the type of data connection that above-mentioned confirmation itself is supported has following two effect: 1, no matter cloud platform passes through
Which kind of mode obtains type of data connection list, and household appliance all can again carry out each type of data connection in this list true
Recognize, because the type of data connection that household appliance is supported may change according to user setting or network congestion degree;
2, the type of data connection list that cloud platform is sent may not be and specially be generated according to the household appliance, but system intialization
A list, carry a variety of type of data connection commonly used in the prior art in the list, carried out for the household appliance
Selection adds then household appliance reaffirms that the process for the type of data connection that itself is supported can play diminution range of choice
The purpose of data connection is established fastly;
This step is optional step, for example cloud platform is known according to the registration information of household appliance, the registration information
In carry multiple type of data connection that household appliance is supported;Alternatively, cloud platform according in the past with the data of household appliance
Linkage record has recorded multiple type of data connection that household appliance is supported;So it is considered that the data connection class
Type list is that cloud platform is specially obtained according to the case where household appliance, then for household appliance, it may not be necessary to again
This type of data connection list is confirmed;
Step S307, household appliance select type of data connection (such as: type of data connection 1) according to priority;
Assuming that including three kinds of type of data connection, the priority of these three type of data connection in type of data connection list
Put in order is successively for (1., the internet Internet;2,3G net;3,4G net), and these three type of data connection are
Household appliance is supported that then household appliance selects type of data connection 1 (Internet) first, and triggers step S308;
Step S308, household appliance and cloud platform establish data connection (using type of data connection 1);
According to device activation request in each parameter, data connection is established by Internet and cloud platform;
Step S309, cloud platform send feedback message 1 to household appliance, and informing can not establish connection;
If above-mentioned data connection can not be established, cloud platform sends feedback message 1 to household appliance, and informing can not the company of foundation
It connects;
Step S310, household appliance know that data connection can not be established, and are changed to other data connection classes according to priority slicing
Type (such as: type of data connection 2);
Household appliance according to device activation request in data connection priority list carry out next categorical data company
The foundation connect, that is, selection type of data connection 2 (3G net);
Step S311, household appliance and cloud platform establish data connection (type of data connection 2);
According to device activation request in each parameter, pass through 3G net establish and cloud platform between data connection;
Step S312, cloud platform send feedback message 2 to household appliance, and informing is successfully established connection;
For household appliance after the feedback message 2 for being successfully established data connection for receiving cloud platform transmission, data are established in termination
The process of connection;
Step S313, cloud platform update the data connection information of household appliance;
Optionally, cloud platform periodically update household appliance data connection information (enter type of data connection list, or
Information relevant to the type of data connection list is generated);Alternatively, optional, cloud platform can will establish number with household appliance
The priority of corresponding type of data connection is turned down when according to connection failure, or, deleting the number in original data connection information
According to connection type.
Fig. 4 shows a kind of structural schematic diagram of equipment connecting device 400 of the embodiment of the present invention,
In some illustrative embodiments, the equipment connecting device 400 is applied to the first equipment, comprising:
Transmission unit 401, for being sent by the device activation server in first network to the second equipment to be connected
Device activation request;
Wherein, the type of data connection of second equipment and this equipment is multiple, and the device activation request carries institute
State the network identity of the second equipment and the type of data connection list including the multiple type of data connection;
Receiving unit 402, the connection request sent for receiving second equipment, establishes data with second equipment
Connection;
In some illustrative embodiments, the type of data connection list further include: with each data connection class
The corresponding priority of type, so that second equipment selects corresponding type of data connection according to each priority;
In some illustrative embodiments, the equipment connecting device 400, further includes:
First acquisition unit 403 activates request to the second equipment sending device to be connected for the transmission unit 401
Before, according to the registration information of second equipment, the type of data connection list is obtained;Or,
Second acquisition unit 404 activates request to the second equipment sending device to be connected for the transmission unit 401
Before, it is recorded according to the data connection of second equipment and this equipment, obtains the type of data connection list;
In some illustrative embodiments, the equipment connecting device 400, further includes:
Adjustment unit 405 obtains the data connection for the first acquisition unit 403 or second acquisition unit 404
After list of types, according to current environmental condition, the priority corresponding with each type of data connection is carried out
Adjustment;Or,
Generation unit 406 obtains the data connection for the first acquisition unit 403 or second acquisition unit 404
After list of types, according to current environmental condition, the priority corresponding with each type of data connection is generated;
Wherein, the environmental condition includes at least: network speed, tariff information and/or user information;
In some illustrative embodiments, the equipment connecting device 400, further includes:
Feedback unit 407 receives the connection request that second equipment is sent for the receiving unit 402, and described
Second equipment is established after data connection, the second equipment of Xiang Suoshu send to feed back whether the feedback message of successful connection.
Fig. 5 shows a kind of structural schematic diagram of equipment connecting device 500 of the embodiment of the present invention,
In some illustrative embodiments, the equipment connecting device 500 is applied to the second equipment, comprising:
Receiving unit 501, for passing through the activation request of first network receiving device;The device activation request carries first
The mark of equipment and type of data connection list including multiple type of data connection;
Selecting unit 502 establishes data company with first equipment for selecting according to the type of data connection list
The first type of data connection connect;
Connection unit 503, for establishing data connection by first type of data connection and the first equipment.
In some illustrative embodiments, the selecting unit 502, specifically includes: first choice subelement 5021, uses
In putting in order according to multiple type of data connection described in the type of data connection list, from the type of data connection
First type of data connection is selected in list;Or,
If the type of data connection list further include: priority corresponding with each type of data connection;Then institute
Selecting unit 502 is stated, is specifically included:
Second selection subelement 5022, for putting in order according to each priority, from the type of data connection
First type of data connection is selected in list.
In some illustrative embodiments, the equipment connecting device 500, further includes:
It terminates unit 504 and terminates this process after being successfully established the data connection for the connection unit 503;
Or,
Trigger unit 505 triggers the selection after establishing the data connection failure for the connection unit 503
Unit 502 executes described according to the type of data connection list again, selects and establishes data connection with first equipment
First type of data connection;The connection unit 503 is set by first type of data connection with first described in executing again
Standby the step of establishing data connection.
In some illustrative embodiments, the equipment connecting device 500, further includes:
Registering unit 506, before the device activation request for receiving first network transmission to the receiving unit 501,
First equipment sends registration information, and the registration information includes the type of data connection list.
Using above-described embodiment, following effect can reach:
Equipment can select the type of data connection needed for preferentially establishing data connection according to the professional ability of itself;
After a kind of data connection can not be established, equipment can switch in the type of data connection of support automatically, thus
The continuity and integrality of guarantee business.
It should also be appreciated by one skilled in the art that various illustrative logical boxs, mould in conjunction with the embodiments herein description
Electronic hardware, computer software or combinations thereof may be implemented into block, circuit and algorithm steps.In order to clearly demonstrate hardware and
Interchangeability between software surrounds its function to various illustrative components, frame, module, circuit and step above and carries out
It is generally described.Hardware is implemented as this function and is also implemented as software, depends on specific application and to entire
The design constraint that system is applied.Those skilled in the art can be directed to each specific application, be realized in a manner of flexible
Described function, still, this realization decision should not be construed as a departure from the scope of protection of this disclosure.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.