CN104486252B - A kind of method and device of thin-client access standard client - Google Patents

A kind of method and device of thin-client access standard client Download PDF

Info

Publication number
CN104486252B
CN104486252B CN201410854168.9A CN201410854168A CN104486252B CN 104486252 B CN104486252 B CN 104486252B CN 201410854168 A CN201410854168 A CN 201410854168A CN 104486252 B CN104486252 B CN 104486252B
Authority
CN
China
Prior art keywords
client
standard
thin
standard client
connection
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.)
Active
Application number
CN201410854168.9A
Other languages
Chinese (zh)
Other versions
CN104486252A (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.)
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Haier Uplus Intelligent Technology Beijing 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 Qingdao Haier Intelligent Home Appliance Technology Co Ltd, Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority to CN201410854168.9A priority Critical patent/CN104486252B/en
Publication of CN104486252A publication Critical patent/CN104486252A/en
Application granted granted Critical
Publication of CN104486252B publication Critical patent/CN104486252B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a kind of method and device of thin-client access standard client, when method includes: thin-client connection standard client, select at least two standard clients as connecting object;The thin-client selects a standard client as main connection in connecting object, and is attached;And at least selected section alternately connects in remaining standard client in connecting object;The thin-client with as the standard client connection failure of main connection after, select the standard client that alternatively connects to be attached.The present invention is by selecting two standard clients as connecting object, it is connected based on one, one is alternative connection, after standard client connection failure with main connection, the standard client alternatively connected can quickly be connected, it ensure that thin-client can quickly access network, save the time of reconnect, improve efficiency.

Description

A kind of method and device of thin-client access standard client
Technical field
The present invention relates to internet of things field, method more particularly to a kind of thin-client access standard client and Device.
Background technique
Alljoyn is one kind based on point-to-point between the equipment of C/S (Client/Server, client/server) framework The frame of communication.Alljoyn is made of Bus Daemon (bus finger daemon or bus service) and terminal node.Here end End node is understood that, as an application program, application program needs to be registered on Bus Daemon, and Bus Daemon is responsible for The functions such as message routing and service discovery between terminal node.As shown in Figure 1, there are three equipment, equipment 1,2 and 3.Each set It is standby all to run an Alljoyn Bus Daemon, on Bus Daemon on the device 1 connection (or to register) two A application program, the Bus Daemon in equipment 2 are connected to an application program, are connected to two on the Bus Daemon of equipment 3 A application program.After equipment starting, the Bus Daemon of 3 equipment will will do it broadcast, the application that will be connected on oneself The relevant information of program is broadcasted.
Usually, terminal node and Bus Daemon are run in the same apparatus.Terminal node is from application program It can be control terminal from the point of view of in angle, be also possible to server-side, or support to control and service simultaneously.Here control terminal refers to Application component with control function, and server-side refers to and provides the application component of service for control terminal.Citing comes It says, equipment 1 is mobile phone, operates above Appx.Appx is control terminal, can complete to control TV.Equipment 2 is electricity Depending on operating above Appz.Appz is service, provides the interface of control TV for client, such client can be adjusted It is controlled with the service team TV that Appz is provided.
The thin-client of Alljoyn refers to, due to capacity of equipment limitation (such as memory limitation, processing capacity limitation) and It is unable to run Alljoyn Bus daemon, therefore Alljoyn thin-client is to using the service or access of Alljoyn Alljoyn network is just necessarily connected in the equipment that one has Alljoyn Bus daemon (Router).
The standard client of Alljoyn is also referred to as Alljoyn Router.Alljoyn standard client has Alljoyn Bus daemon function, can complete the functions such as routing, service discovery.Alljoyn standard client also can be simultaneously Alljoyn thin-client provides the service of connection.
For example, the light bulb of family due to processing capacity it is limited, run Alljoyn thin-client program, and family Smart television then run Alljoyn standard client (Alljoyn Router), if light bulb will access Alljoyn net Network, then will be connected in Alljoyn standard client, as a terminal node on Alljoyn Bus daemon.
Bus Daemon is responsible for the routing of the message between terminal node, the functions such as service discovery.Terminal node, which refers to, to be based on The application program of Alljoyn is required connect to after starting on Bus Daemon, and terminal node is provided that service, then to Bus Daemon registers a service name, is broadcasted by Bus Daemon.If Service name can be passed through as control terminal Claim come the service of searching, and completes specified function by far call.
Alljoyn point-to-point communication is by far call (RPC) come what is completed, therefore the initiator communicated needs in advance Service and the interface of recipient are obtained, generates agent object then to complete far call.The initiator of communication can pass through Query service obtains service and the interface of recipient.
Alljoyn thin-client passes through standard visitor using the Bus Daemon of TCP connection to Alljoyn standard client The Bus Daemon of family end equipment accesses bus network.
Thin-client finds Bus Daemon name (Bus Daemon of the standard client that can be connected in a network Word uses the form of domain name reversion, such as org.haier.busnode).When thin-client is found, meet the matched Bus in part Daemon (such as org.haier.busnode.gateway.device001) can return to the address of oneself and interface information Thin-client.Thin-client will pass through in TCP connection to the Bus Daemon.
Specific step is as follows:
Step 1: standard client broadcasts the Bus daemon title of oneself, and thin-client finds target in a network Bus daemon can connect the Bus daemon after finding.Bus daemon title is shaped like org.alljoyn.BusNode. Prefix matching can be used when searching, i.e. lookup org.alljoyn.BusNode can be matched Org.alljoyn.BusNode.gateway can also match org.alljoyn.BusNode.phone.
Step 2: if the searching condition for thering are multiple Bus daemon to meet thin-client simultaneously in network, Thin clients On the Bus daemon that end connection is found at first.
Step 3: thin-client and the Bus daemon of standard client are authenticated.
Step 4: after the authentication is passed, then it represents that successful connection.
In existing Alljoyn technology, the Bus Daemon that thin-client connects standard client has centainly random Property.After the standard client devices connected at first go offline, thin-client correspondingly loses connection, then needs to find energy again The standard client enough connected.If the standard client devices of connection frequently go offline, the network structure of thin-client needs phase Ground constantly adjustment is answered, connection resource is wasted, influences interaction effect.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method and devices of thin-client access standard client, use To solve the problems, such as that prior art thin-client connects unstable networks by standard client.
In order to solve the above technical problems, on the one hand, the present invention provides a kind of method of thin-client access standard client, Include:
When thin-client connects standard client, at least select two standard clients as connecting object;
The thin-client selects a standard client as main connection in the connecting object, and is attached; And at least selected section alternately connects from standard client remaining in the connecting object;
The thin-client with as the standard client connection failure of main connection after, select a standard alternatively connected Client is attached.
Further, the thin-client with as the standard client connection failure of main connection after, select one alternatively connect The standard client connect is attached, and by connection type identify based on connect.
Further, after it will connect based on the alternative connection modification, do not have alternatively to connect in the connecting object When standard client, the standard client that selects new standard client alternately to connect.
The thin-client is attached with the standard client as main connection, is specifically included:
The thin-client sends connection request to the standard client as main connection, wherein identifies in the connection request It is connected based on the connection;
The thin-client sends authentication request to the standard client as main connection, completion and conduct after authentication The connection of the standard client of main connection;Wherein, the authentication request is needed in the standard client setting as main connection Authentication timer is sent to the standard client as main connection before reaching.
Further, the thin-client at least selected section conduct from standard client remaining in the connecting object Alternative connection, specifically includes:
The thin-client sends connection request to the standard client alternately connected respectively, wherein the connection request Middle mark this be connected as alternatively connecting;After the standard client alternately connected receives the connection request, judge to connect class Type is alternative connection, then the standard client alternately connected removes authentication timer, and saves the thin-client Information.
Further, when thin-client connection standard client, into network, all standard clients send broadcast request, And receive the response message of each standard client feedback;Wherein, response message includes at least one in following information:
1), the thin-client quantity that the standard client currently connects;
2), the power supply type that the standard client uses;
3) remaining capacity when, the standard client is powered using mobile power source.
Further, when power supply type is more than or equal to two for the standard client quantity of fixed power source in network, at least Selecting two power supply types is the standard client of fixed power source as connecting object.
Further, when selecting power supply type for the standard client of fixed power source as connecting object, according to standard client Hold the main connection of thin-client quantity selection and alternative connection currently connected.
Further, when only one power supply type is the standard client of fixed power source in network, select the standard objective Family end is as connecting object;Meanwhile at least one power supply type of reselection is the standard client of mobile power source as connection pair As.
Further, when all mobile power sources of the standard client power supply type in network, two power supplys are at least selected Type is the standard client of mobile power source as connecting object.
Further, when selecting power supply type for the standard client of mobile power source as connecting object, according to electricity by height To the low main connection of sequential selection and alternative connection.
Further, when selecting power supply type for the standard client of mobile power source as connecting object, according to standard client Hold the main connection of thin-client quantity selection and alternative connection currently connected.
On the other hand, the present invention also provides a kind of devices of thin-client access standard client, comprising:
Selecting module, at least selecting two standard clients as company when thin-client connects standard client Connect object;
Link block for selecting a standard client as main connection in the connecting object, and is attached; And at least selected section alternately connects from standard client remaining in the connecting object;And for when described thin When client is with standard client connection failure as main connection, a standard client alternatively connected is selected to be connected It connects.
Further, the link block is also used to:
After the thin-client is with as the standard client connection failure of main connection, a mark alternatively connected is selected Prospect end is attached, and by connection type identify based on connect.
Further, after it will connect based on the alternative connection modification, do not have alternatively to connect in the connecting object When standard client, the standard client that selects new standard client alternately to connect.
The link block is also used to:
The thin-client sends connection request to the standard client as main connection, wherein identifies in the connection request It is connected based on the connection;
The thin-client sends authentication request to the standard client as main connection, completion and conduct after authentication The connection of the standard client of main connection;Wherein, the authentication request is needed in the standard client setting as main connection Authentication timer is sent to the standard client as main connection before reaching.
Further, the link block is also used to:
The thin-client sends connection request to the standard client alternately connected respectively, wherein the connection request Middle mark this be connected as alternatively connecting;After the standard client alternately connected receives the connection request, judge to connect class Type is alternative connection, then the standard client alternately connected removes authentication timer, and saves the thin-client Information.
Further, the selecting module is also used to:
When thin-client connects standard client, into network, all standard clients send broadcast request, and receive The response message of each standard client feedback;Wherein, response message includes at least one in following information:
1), the thin-client quantity that the standard client currently connects;
2), the power supply type that the standard client uses;
3) remaining capacity when, the standard client is powered using mobile power source.
Further, the selecting module is also used to:
When power supply type is more than or equal to two for the standard client quantity of fixed power source in network, two are at least selected Power supply type is the standard client of fixed power source as connecting object.
Further, the selecting module is also used to:
When selecting power supply type for the standard client of fixed power source as connecting object, currently connected according to standard client The main connection of thin-client quantity selection connect and alternative connection.
Further, the selecting module is also used to:
When in network only one power supply type be fixed power source standard client when, select the standard client as Connecting object;Meanwhile at least one power supply type of reselection is the standard client of mobile power source as connecting object.
Further, the selecting module is also used to:
When all mobile power sources of the standard client power supply type in network, two power supply types are selected at least to move The standard client of dynamic power supply is as connecting object.
Further, the selecting module is also used to:
When selecting power supply type for the standard client of mobile power source as connecting object, according to electricity from high to low suitable The main connection of sequence selection and alternative connection.
Further, the selecting module is also used to:
When selecting power supply type for the standard client of mobile power source as connecting object, currently connected according to standard client The main connection of thin-client quantity selection connect and alternative connection.
The present invention has the beneficial effect that:
The present invention, which passes through, selects two standard clients as connecting object, connects based on one, and one is alternative connection, After standard client connection failure with main connection, the standard client alternatively connected can be quickly connected, ensure that thin visitor Family end can quickly access network, save the time of reconnect, improve efficiency.
Detailed description of the invention
Fig. 1 is existing Alljoyn configuration diagram;
Fig. 2 is a kind of flow chart of the method for thin-client access standard client in the embodiment of the present invention;
Fig. 3 is the flow chart of the method for thin-client access standard client in the specific embodiment of the invention;
Fig. 4 is a kind of structural schematic diagram of the device of thin-client access standard client in the embodiment of the present invention.
Specific embodiment
Below in conjunction with attached drawing and embodiment, the present invention will be described in further detail.It should be appreciated that described herein Specific embodiment be only used to explain the present invention, limit the present invention.
As shown in Fig. 2, the present embodiments relate to a kind of methods of thin-client access standard client, comprising:
Step S101 at least selects two standard clients as connecting object when thin-client connects standard client;
In this step, when thin-client connects standard client, into network, all standard clients send broadcast and ask It asks, and receives the response message of each standard client feedback;Wherein, response message includes at least one in following information:
1), the thin-client quantity that the standard client currently connects;
2), the power supply type that the standard client uses;
3) remaining capacity when, the standard client is powered using mobile power source.
When being specifically chosen connecting object, referring to following principle:
1), when in selecting object there are power supply type be fixed power source standard client, then select the mark of fixed power source Prospect end;When there are the standard client of multiple fixed power sources, selection connected the standard of thin-client minimum number at that time Client;It is of course also possible to select to connect the most standard client of thin-client quantity at that time.This is because the criterion of judgement It is different, for example, thin-client thinks that the standard client more than access quantity is more stable, therefore selects connection Thin clients Hold the standard client connection that quantity is most;Thin-client quantity can also be accessed in this way from the viewpoint of load balancing Least is preferred.
2), when needing to select standard client of the power supply type for mobile power source as connecting object, mobile electricity is selected Remaining capacity highest standard client in source is as connecting object;When there are the identical standard visitors of multiple mobile power source remaining capacities When the end of family, it is attached according to the thin-client quantity selection criteria client connected at that time;
If 3) parameter of all standard clients, selected is all identical, selected according to preset sequence It selects, for example, receive the sequence of feedback message, the domain name of standard client puts in order or address arrangement sequence etc..
Step S102, thin-client selects a standard client as main connection in connecting object, and is attached; And at least selected section standard client alternately connects in remaining standard client in connecting object.
Step S103, the thin-client with as the standard client connection failure of main connection after, select alternative connection Standard client be attached.
In this step, thin-client with as the standard client connection failure of main connection after, select the mark that alternatively connects Prospect end is attached, and by connection type identify based on connect;Then new standard client is selected alternately to connect Standard client.Wherein, thin-client and the standard client connection failure as main connection, refer to the mark as main connection It causes not leading between thin-client connected to it and its (standard client) due to power down, shutdown etc. in prospect end Letter, network can not be connected by standard client by turn resulting in thin-client.
A specific example is given below, to illustrate technical solution of the present invention.As shown in figure 3, thin-client passes through mark The step of prospect end is connected to network is as follows:
The thin-client of step 1:Alljoyn sends broadcast request, to obtain the Alljoyn Bus in Alljoyn network Daemon information.
After Bus Daemon1,2,3 of step 2:Alljoyn standard client receive, respective response is returned respectively and is disappeared Breath, wherein also extending following information other than comprising required content as defined in Alljoyn agreement:
1, thin-client loads number: indicating to be connected to how many a thin-clients on the Bus Daemon at present;
2, power supply type: indicate that the Bus Daemon is powered by mobile power source power supply or fixed power source;
3, electricity: when the Bus Daemon uses mobile power source, the remaining capacity of mobile power source is how many.
The above parameter when thin-client selection Bus Daemon for using.
Step 3: after thin-client receives the response message of Bus Daemon1,2,3, number, power supply being loaded according to thin-client Type and remaining capacity are come to select two Bus daemon be connecting object.Here selection method is not strictly required, this It is as follows that technical solution enumerates a kind of selection mode:
The standard client of fixed power source is selected first;If standard client all uses fixed power source, according to mark How much prospect end load number selects, and selecting load least two standard clients of number is connecting object.
If standard client uses mobile power source, highest two standard clients of mobile power source remaining capacity are selected End.If mobile power source remaining capacity is identical, how much selected according to load number, least two marks of selection load number Prospect end is connecting object.
If in standard client to be selected, the standard client of only one fixed power source then selects it for connection Object;And in the standard client of mobile power source, the highest standard client of mobile power source remaining capacity is selected to make For connecting object;If mobile power source remaining capacity is identical, how much selected according to load number, selection load number is minimum A standard client be connecting object.
If all parameters of standard client to be selected are the same, selected according to preset rule, for example, It is selected according to the sequence that thin-client receives response message.
Step 4: thin-client has selected Bus Daemon2 and Bus Daemon3 as connection pair according to selection rule As;Wherein, it is connected based on Bus Daemon2, and Bus Daemon3 is alternately connected.
Step 5: thin-client sends connection request to Bus Daemon2, connects based on the connection wherein identifying.
After step 6:Bus Daemon2 receives the request, is connected based on reading connection type, then authentication timer is set (the maximum duration that authentication timer is used to indicate that thin-client is waited to send authentication request, if in the time, thin-client is not Authentication request is sent, then the authentication request of the thin-client will be received no longer, thin-client, which needs to retransmit connection, is asked It asks).
Step 7: thin-client sends authentication request to Bus Daemon2, is completed after authentication with Bus Daemon2's Connection.
Step 8: thin-client sends connection request to Bus Daemon3, is connected as alternatively connecting wherein identifying this.
Step 9: after Bus Daemon3 receives the request, judging connection type for alternative connection, then the Bus Daemon3 removes authentication timer, and saves the relevant information of current thin-client.
Step 10: when thin-client and after Bus daemon2 communication terminal, such as Bus daemon2 goes offline that (such as equipment is closed Machine), Thin clients will send authentication request to Bus Daemon3.
After step 11:Bus Daemon3 receives the authentication request, after the authentication is passed, modifies and connects based on the connection type, Complete the access of thin-client.
Step 12: thin-client sends connection request to Bus Daemon1, and identifying the connection type is alternative connection. Bus daemon1 executes the step identical as step 8, becomes the alternative connecting object of thin-client.
As shown in figure 4, the embodiment of the present invention further relates to a kind of thin-client access standard client for realizing the above method Device, comprising:
Selecting module, at least selecting two standard clients as company when thin-client connects standard client Connect object;
Link block for selecting a standard client as main connection in connecting object, and is attached;And from At least selected section alternately connects in remaining standard client in the connecting object;And for working as the Thin clients When end is with standard client connection failure as main connection, a standard client alternatively connected is selected to be attached.
Link block is also used to:
After the thin-client is with as the standard client connection failure of main connection, the standard alternatively connected visitor is selected Family end is attached, and by connection type identify based on connect;After being connected based on modifying the alternative connection, the company The standard client for when not having the standard client alternatively connected, new standard client being selected alternately to connect is connect in object End.
The thin-client sends connection request to the standard client as main connection, wherein identifies in the connection request It is connected based on the connection;
The thin-client sends authentication request to the standard client as main connection, completion and conduct after authentication The connection of the standard client of main connection;Wherein, the authentication request is needed in the standard client setting as main connection Authentication timer is sent to the standard client as main connection before reaching.
The thin-client sends connection request to the standard client alternately connected, and wherein the connection request is got the bid Know this to be connected as alternatively connecting;After the standard client alternately connected receives the connection request, connection breaking type is standby Choosing connection then the standard client alternately connected removes authentication timer, and saves the information of the thin-client.
Selecting module is also used to:
When thin-client connects standard client, into network, all standard clients send broadcast request, and receive The response message of each standard client feedback;Wherein, response message includes at least one in following information:
1), the thin-client quantity that the standard client currently connects;
2), the power supply type that the standard client uses;
3) remaining capacity when, the standard client is powered using mobile power source.
When power supply type is more than or equal to two for the standard client quantity of fixed power source in network, two are at least selected Power supply type is the standard client of fixed power source as connecting object.
When selecting power supply type for the standard client of fixed power source as connecting object, currently connected according to standard client The main connection of thin-client quantity selection connect and alternative connection.
When in network only one power supply type be fixed power source standard client when, select the standard client as Connecting object;Meanwhile at least one power supply type of reselection is the standard client of mobile power source as connecting object.
When all mobile power sources of the standard client power supply type in network, two power supply types are selected at least to move The standard client of dynamic power supply is as connecting object.
When selecting power supply type for the standard client of mobile power source as connecting object, according to electricity from high to low suitable The main connection of sequence selection and alternative connection.
When selecting power supply type for the standard client of mobile power source as connecting object, currently connected according to standard client The main connection of thin-client quantity selection connect and alternative connection.
As can be seen from the above-described embodiment, by selecting two standard clients as connecting object, one is the present invention Main connection, one is alternative connection, when the standard client connection failure with main connection after, can quickly connect and alternatively connect Standard client ensure that thin-client can quickly access network, save the time of reconnect, improve efficiency.
Although for illustrative purposes, the preferred embodiment of the present invention has been disclosed, those skilled in the art will recognize It is various improve, increase and replace be also it is possible, therefore, the scope of the present invention should be not limited to the above embodiments.

Claims (22)

1. a kind of method of thin-client access standard client characterized by comprising
When thin-client connects standard client, at least select two standard clients as connecting object;
The thin-client selects a standard client as main connection in the connecting object, and is attached;And from At least selected section alternately connects in remaining standard client in the connecting object;
The thin-client with as the standard client connection failure of main connection after, select a standard client alternatively connected End is attached;
The thin-client at least selected section from standard client remaining in the connecting object alternately connects, tool Body includes:
The thin-client sends connection request to the standard client alternately connected respectively, and wherein the connection request is got the bid Know this to be connected as alternatively connecting;After the standard client alternately connected receives the connection request, judge that connection type is Alternative connection then the standard client alternately connected removes authentication timer, and saves the information of the thin-client.
2. the method for thin-client access standard client as described in claim 1, which is characterized in that
The thin-client with as the standard client connection failure of main connection after, select a standard client alternatively connected End is attached, and by connection type identify based on connect.
3. the method for thin-client access standard client as claimed in claim 2, which is characterized in that
After connecting based on modifying the alternative connection, there is no the standard client alternatively connected in the connecting object When, the standard client that selects new standard client alternately to connect.
4. the method for thin-client access standard client as claimed in claim 1 or 2, which is characterized in that the Thin clients End is attached with the standard client as main connection, is specifically included:
The thin-client sends connection request to the standard client as main connection, wherein identifies the company in the connection request It is connected in main connection;
The thin-client sends authentication request to the standard client as main connection, completes after authentication and as main company The connection of the standard client connect;Wherein, the authentication request needs the authentication in the standard client setting as main connection Timer is sent to the standard client as main connection before reaching.
5. such as claim 1, the method for 2 described in any item thin-client access standard clients, which is characterized in that Thin clients When the connection standard client of end, into network, all standard clients send broadcast request, and receive each standard client The response message of feedback;Wherein, response message includes at least one in following information:
1), the thin-client quantity that the standard client currently connects;
2), the power supply type that the standard client uses;
3) remaining capacity when, the standard client is powered using mobile power source.
6. the method for thin-client access standard client as claimed in claim 5, which is characterized in that
When power supply type is more than or equal to two for the standard client quantity of fixed power source in network, two power supplys are at least selected Type is the standard client of fixed power source as connecting object.
7. the method for thin-client access standard client as claimed in claim 6, which is characterized in that
When selecting power supply type for the standard client of fixed power source as connecting object, currently connected according to standard client The main connection of thin-client quantity selection and alternative connection.
8. the method for thin-client access standard client as claimed in claim 5, which is characterized in that
When only one power supply type is the standard client of fixed power source in network, select the standard client as connection Object;Meanwhile at least one power supply type of reselection is the standard client of mobile power source as connecting object.
9. the method for thin-client access standard client as claimed in claim 5, which is characterized in that
When all mobile power sources of the standard client power supply type in network, at least select two power supply types for mobile electricity The standard client in source is as connecting object.
10. the method for thin-client access standard client as claimed in claim 9, which is characterized in that
When selecting power supply type for the standard client of mobile power source as connecting object, mobile power source remaining capacity highest is selected Standard client as connecting object.
11. the method for thin-client access standard client as claimed in claim 10, which is characterized in that
When selecting power supply type for the standard client of mobile power source as connecting object, currently connected according to standard client Thin-client quantity selection criteria client is attached.
12. a kind of device of thin-client access standard client characterized by comprising
Selecting module, at least selecting two standard clients as connection pair when thin-client connects standard client As;
Link block for selecting a standard client as main connection in the connecting object, and is attached;And from At least selected section alternately connects in remaining standard client in the connecting object;And for working as the Thin clients When end is with standard client connection failure as main connection, a standard client alternatively connected is selected to be attached;
The link block is also used to:
The thin-client sends connection request to the standard client alternately connected respectively, and wherein the connection request is got the bid Know this to be connected as alternatively connecting;After the standard client alternately connected receives the connection request, judge that connection type is Alternative connection then the standard client alternately connected removes authentication timer, and saves the information of the thin-client.
13. the device of thin-client access standard client as claimed in claim 12, which is characterized in that the link block It is also used to:
After the thin-client is with as the standard client connection failure of main connection, the standard alternatively connected a visitor is selected Family end is attached, and by connection type identify based on connect.
14. the device of thin-client access standard client as claimed in claim 13, which is characterized in that the link block It is also used to:
After connecting based on modifying the alternative connection, there is no the standard client alternatively connected in the connecting object When, the standard client that selects new standard client alternately to connect.
15. the device of thin-client access standard client as described in claim 12 or 13, which is characterized in that the connection Module is also used to:
The thin-client sends connection request to the standard client as main connection, wherein identifies the company in the connection request It is connected in main connection;
The thin-client sends authentication request to the standard client as main connection, completes after authentication and as main company The connection of the standard client connect;Wherein, the authentication request needs the authentication in the standard client setting as main connection Timer is sent to the standard client as main connection before reaching.
16. such as the device of claim 12,13 described in any item thin-client access standard clients, which is characterized in that institute Selecting module is stated to be also used to:
When thin-client connects standard client, into network, all standard clients send broadcast request, and receive each The response message of standard client feedback;Wherein, response message includes at least one in following information:
1), the thin-client quantity that the standard client currently connects;
2), the power supply type that the standard client uses;
3) remaining capacity when, the standard client is powered using mobile power source.
17. the device of thin-client access standard client as claimed in claim 16, which is characterized in that the selecting module It is also used to:
When power supply type is more than or equal to two for the standard client quantity of fixed power source in network, two power supplys are at least selected Type is the standard client of fixed power source as connecting object.
18. the device of thin-client access standard client as claimed in claim 17, which is characterized in that the selecting module It is also used to:
When selecting power supply type for the standard client of fixed power source as connecting object, currently connected according to standard client The main connection of thin-client quantity selection and alternative connection.
19. the device of thin-client access standard client as claimed in claim 16, which is characterized in that the selecting module It is also used to:
When only one power supply type is the standard client of fixed power source in network, select the standard client as connection Object;Meanwhile at least one power supply type of reselection is the standard client of mobile power source as connecting object.
20. the device of thin-client access standard client as claimed in claim 16, which is characterized in that the selecting module It is also used to:
When all mobile power sources of the standard client power supply type in network, at least select two power supply types for mobile electricity The standard client in source is as connecting object.
21. the device of thin-client access standard client as claimed in claim 20, which is characterized in that the selecting module It is also used to:
When selecting power supply type for the standard client of mobile power source as connecting object, mobile power source remaining capacity highest is selected Standard client as connecting object.
22. the device of thin-client access standard client as claimed in claim 21, which is characterized in that the selecting module It is also used to:
When selecting power supply type for the standard client of mobile power source as connecting object, currently connected according to standard client Thin-client quantity selection criteria client is attached.
CN201410854168.9A 2014-12-31 2014-12-31 A kind of method and device of thin-client access standard client Active CN104486252B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410854168.9A CN104486252B (en) 2014-12-31 2014-12-31 A kind of method and device of thin-client access standard client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410854168.9A CN104486252B (en) 2014-12-31 2014-12-31 A kind of method and device of thin-client access standard client

Publications (2)

Publication Number Publication Date
CN104486252A CN104486252A (en) 2015-04-01
CN104486252B true CN104486252B (en) 2019-06-04

Family

ID=52760757

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410854168.9A Active CN104486252B (en) 2014-12-31 2014-12-31 A kind of method and device of thin-client access standard client

Country Status (1)

Country Link
CN (1) CN104486252B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681436B (en) * 2016-01-27 2019-02-05 四川长虹电器股份有限公司 Communication means based on alljoyn agreement between control terminal and internet of things equipment
CN106507294B (en) * 2016-09-23 2019-11-08 海尔优家智能科技(北京)有限公司 A kind of thin-client control method and control device based on AllJoyn

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132304A (en) * 2006-08-24 2008-02-27 华为技术有限公司 Failure protecting method and system
CN103117876A (en) * 2013-01-24 2013-05-22 中兴通讯股份有限公司 User state information synchronizing method and device
CN103368712A (en) * 2013-07-18 2013-10-23 华为技术有限公司 Switchover method and device for main equipment and standby equipment
CN103888277A (en) * 2012-12-19 2014-06-25 中国移动通信集团公司 Gateway disaster recovery backup method, apparatus and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132304A (en) * 2006-08-24 2008-02-27 华为技术有限公司 Failure protecting method and system
CN103888277A (en) * 2012-12-19 2014-06-25 中国移动通信集团公司 Gateway disaster recovery backup method, apparatus and system
CN103117876A (en) * 2013-01-24 2013-05-22 中兴通讯股份有限公司 User state information synchronizing method and device
CN103368712A (en) * 2013-07-18 2013-10-23 华为技术有限公司 Switchover method and device for main equipment and standby equipment

Also Published As

Publication number Publication date
CN104486252A (en) 2015-04-01

Similar Documents

Publication Publication Date Title
CN103051740B (en) Domain name analytic method, dns server and domain name analysis system
EP3148286A1 (en) System, method and apparatus for data communication
CN106101067B (en) Method and terminal for binding intelligent equipment
EP2958352A1 (en) Wireless communication system, wireless devices, and method for setting addresses of same
JP2017509174A (en) Network self-healing method and system using lighting device
CN105487391A (en) Intelligent household remote control system based on Internet of Things
US20210084703A1 (en) Configuration system, client device, embedded device configuration method, and storage medium
CN105120508A (en) Method and system for AP to automatically acquire an on-line position
US11638138B2 (en) Device-to-device content providing method
CN105959188B (en) Method and device for controlling user terminal to be on-line
CN107124483A (en) Domain name analytic method and server
CN105871995A (en) Method for controlling intelligent device by router and the router
CN105592502A (en) Load balancing method and device
CN104486252B (en) A kind of method and device of thin-client access standard client
CN104581977B (en) WLAN user management method, apparatus and system
US10135729B2 (en) Distributed gateway for local subnet
US20130097228A1 (en) Network storage system, data manipulation method in network storage system, storage device and computer program product for controlling client device
CN103812868A (en) Method and system for realizing free Internet access based on IPv4/IPv6 conversion
CN108632355B (en) Routing method for household appliance network, control terminal, readable storage medium and equipment
CN103327482B (en) Terminal and network method for handover control
CN104717216A (en) Network access control method, device and core equipment
CN104468696A (en) Method, server and device for performing point-to-point connection
CN106470249A (en) Gateway-whois domain name registration querying method and device
CN113630298A (en) Intelligent control system, method and device
CN110661895A (en) Network address mapping method and network address mapping equipment of server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20170119

Address after: 100086 room 601-606, level, Pacific International Building, Zhichun Road, Beijing, 106, China

Applicant after: Haier smart technology (Beijing) Co., Ltd.

Applicant after: Qingdao Haier Intelligent Home Appliances Technology Co., Ltd.

Address before: 100086 Beijing, Zhichun Road, Zhongguancun, No. 106 crown office building, layer, layer 15

Applicant before: Beijing Haier Guangke Digital Techn Co., Ltd.

Applicant before: Qingdao Haier Intelligent Home Appliances Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant