CN104486252A - Method and device for thin clients to have access to standard clients - Google Patents

Method and device for thin clients to have access to standard clients Download PDF

Info

Publication number
CN104486252A
CN104486252A CN201410854168.9A CN201410854168A CN104486252A CN 104486252 A CN104486252 A CN 104486252A CN 201410854168 A CN201410854168 A CN 201410854168A CN 104486252 A CN104486252 A CN 104486252A
Authority
CN
China
Prior art keywords
client
connection
standard client
thin
standard
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
CN201410854168.9A
Other languages
Chinese (zh)
Other versions
CN104486252B (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
Beijing Haier Guangke Digital Technology 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, Beijing Haier Guangke Digital Technology 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

Abstract

The invention discloses a method and device for thin clients to have access to standard clients. The method comprises the steps that when the thin clients are connected with the standard clients, at least two standard clients are selected as connecting objects; the thin clients select one standard client among the connecting objects as a main connection and are connected with the standard client; at least a part of the standard clients left among the connecting objects are selected as alternative connections; after the thin clients fail to be connected with the standard client as the main connection, the thin clients select the standard clients as the alternative connections for connection. According to the method, two standard clients are selected as the connecting objects, one is the main connection, and the other one is the alternative connection; when the thin clients fail to be connected with the standard client as the main connection, the thin clients can be connected with the standard client as the alternative connection quickly; therefore, it is guaranteed that the thin clients can be quickly connected to a network, the time for reconnection is saved, and the efficiency is improved.

Description

A kind of method of thin-client access standard client and device
Technical field
The present invention relates to technology of Internet of things field, particularly relate to method and the device of a kind of thin-client access standard client.
Background technology
Alljoyn is the framework of point-to-point communication between a kind of equipment based on C/S (Client/Server, client/server) framework.Alljoyn is made up of Bus Daemon (bus finger daemon or bus service) and terminal node.Here terminal node is appreciated that becomes an application program, and application program needs to be registered on Bus Daemon, and Bus Daemon is responsible for the function 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 equipment runs an AlljoynBus Daemon, Bus Daemon on the device 1 connects (or be called register) and two methods program, Bus Daemon on equipment 2 is connected to an application program, and the Bus Daemon of equipment 3 is connected to two methods program.When after device start, the Bus Daemon of 3 equipment will broadcast, and the relevant information of the application program be connected on oneself is broadcasted away.
As a rule, terminal node and Bus Daemon run in the same apparatus.Terminal node can be control end the angle of application program, also can be service end, or supports to control and service simultaneously.Here control end refers to the application component with controlling functions, and service end refers to as control end provides the application component of service.For example, equipment 1 is mobile phone, runs Appx above.Appx is control end, can complete and control TV.Equipment 2 is TV, runs Appz above.Appz is service, and for client provides the interface controlling TV, the service team TV that such client just can call Appz to be provided controls.
The thin-client of Alljoyn refers to, Alljoyn Bus daemon cannot be run due to the restriction (as internal memory restriction, disposal ability restriction etc.) of capacity of equipment, therefore Alljoyn thin-client wants the service or the access Alljoyn network that use Alljoyn, just must be connected on the equipment having 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 function such as route, service discovery.Simultaneously Alljoyn standard client also can provide the service of connection for Alljoyn thin-client.
For example, the bulb of family due to disposal ability limited, run Alljoyn thin-client program, the intelligent television of family then runs Alljoyn standard client (Alljoyn Router), if bulb will access Alljoyn network, so will be connected in Alljoyn standard client, as the terminal node of on Alljoyn Busdaemon.
Bus Daemon is responsible for the Message routing between terminal node, the functions such as service discovery.Terminal node refers to the application program based on Alljoyn, needs to be connected on Bus Daemon after startup, if terminal node provides service, then registers a service name to Bus Daemon, is broadcasted away by Bus Daemon.If as control end, so can search service by service name, and complete appointed function by far call.
Alljoyn point-to-point communication has been come by far call (RPC), and the initiator therefore communicated needs the service and the interface that obtain recipient in advance, then produces agent object thus completes far call.The initiator of communication can obtain service and the interface of recipient by inquiry service.
Alljoyn thin-client uses TCP to be connected to the Bus Daemon of Alljoyn standard client, accesses bus network by the Bus Daemon of standard client devices.
Thin-client finds the Bus Daemon name (BusDaemon name adopts the form of domain name reversion, as org.haier.busnode) of the standard client that can connect in a network.When thin-client is found, the Bus Daemon (as org.haier.busnode.gateway.device001) meeting semi-match can return to thin-client information such as the address of oneself and interfaces.Thin-client is just connected on this BusDaemon by TCP.
Concrete steps are as follows:
Step 1: the Bus daemon title of standard client broadcast oneself, thin-client finds the Bus daemon of target in a network, just can connect this Bus daemon after finding.Bus daemon title shape is as org.alljoyn.BusNode.Can adopt prefix matching during searching, namely searching org.alljoyn.BusNode can mate org.alljoyn.BusNode.gateway, also can mate org.alljoyn.BusNode.phone.
Step 2: if there is multiple Bus daemon to meet the searching condition of thin-client in network simultaneously, then thin-client connects on a Bus daemon finding at first.
Step 3: the Bus daemon of thin-client and standard client carries out authentication.
Step 4: after authentication is passed through, then represent successful connection.
In existing Alljoyn technology, the Bus Daemon of thin-client connection standard client has certain randomness.After the standard client devices connected at first goes offline, thin-client correspondingly loses connection, then need again to find the standard client that can connect.If the standard client devices connected frequently goes offline, then the network configuration of thin-client needs correspondingly constantly to adjust, and waste connection resource, affects interaction effect.
Summary of the invention
The technical problem to be solved in the present invention is to provide method and the device of a kind of thin-client access standard client, in order to solve the problem of prior art thin-client by standard client interconnection network instability.
For solving the problems of the technologies described above, on the one hand, the invention provides the method for a kind of thin-client access standard client, comprising:
During thin-client connection standard client, at least select two standard client as connecting object;
Described thin-client selects a standard client as main connection in described connecting object, and connects; And from described connecting object, in remaining standard client, at least select part as alternative connection;
Described thin-client with as after the main standard client connection failure be connected, select the standard client of an alternative connection to connect.
Further, described thin-client with as after the main standard client connection failure be connected, select the standard client of an alternative connection to connect, and connection type be designated main connection.
Further, after described alternative connection is revised as main connection, when there is no the standard client of alternative connection in described connecting object, select new standard client as the standard client of alternative connection.
Described thin-client connects with as the main standard client be connected, and specifically comprises:
Described thin-client sends connection request to the standard client as main connection, and wherein identifying this connection in this connection request is main connection;
Described thin-client sends authentication request to the standard client as main connection, completes and the connection as the main standard client be connected after authentication; Wherein, described authentication request sends to the standard client as main connection before needing the authentication timer arrival arranged in the standard client as main connection.
Further, described thin-client at least selects part as alternative connection from described connecting object in remaining standard client, specifically comprise:
Described thin-client sends connection request respectively to the standard client as alternative connection, and wherein identifying this connection in this connection request is alternative connection; After receiving described connection request as the standard client of alternative connection, judge that connection type is alternative connection, the standard client so as alternative connection removes authentication timer, and preserves the information of described thin-client.
Further, during thin-client connection standard client, standard client all in network sends broadcast request, and receives the response message of each standard client feedback; Wherein, response message at least comprises in following information:
1), the thin-client quantity of the current connection of this standard client;
2), the power supply type of this standard client employing;
3) dump energy when, this standard client adopts portable power source to power.
Further, when the standard client quantity that power supply type in network is fixed power source is more than or equal to two, at least two power supply types are selected to be that the standard client of fixed power source is as connecting object.
Further, select power supply type be the standard client of fixed power source as connecting object time, select main connection and alternative connection according to the thin-client quantity of the current connection of standard client.
Further, when only having a power supply type to be the standard client of fixed power source in network, select this standard client as connecting object; Meanwhile, a power supply type is selected to be that the standard client of portable power source is as connecting object at least again.
Further, when the standard client power supply type in network is all portable power source, at least two power supply types are selected to be that the standard client of portable power source is as connecting object.
Further, select power supply type be the standard client of portable power source as connecting object time, according to the main connection of electricity selective sequential from high to low and alternative connection.
Further, select power supply type be the standard client of portable power source as connecting object time, select main connection and alternative connection according to the thin-client quantity of the current connection of standard client.
On the other hand, the present invention also provides a kind of thin-client to access the device of standard client, comprising:
Select module, for when thin-client connection standard client, at least selection two standard client are as connecting object;
Link block, for selecting a standard client as main connection in described connecting object, and connects; And from described connecting object, in remaining standard client, at least select part as alternative connection; And for when described thin-client is with during as the main standard client connection failure be connected, select the standard client of an alternative connection to connect.
Further, described link block also for:
When described thin-client with as the main standard client connection failure be connected after, select the standard client of an alternative connection to connect, and connection type be designated main connection.
Further, after described alternative connection is revised as main connection, when there is no the standard client of alternative connection in described connecting object, select new standard client as the standard client of alternative connection.
Described link block also for:
Described thin-client sends connection request to the standard client as main connection, and wherein identifying this connection in this connection request is main connection;
Described thin-client sends authentication request to the standard client as main connection, completes and the connection as the main standard client be connected after authentication; Wherein, described authentication request sends to the standard client as main connection before needing the authentication timer arrival arranged in the standard client as main connection.
Further, described link block also for:
Described thin-client sends connection request respectively to the standard client as alternative connection, and wherein identifying this connection in this connection request is alternative connection; After receiving described connection request as the standard client of alternative connection, judge that connection type is alternative connection, the standard client so as alternative connection removes authentication timer, and preserves the information of described thin-client.
Further, described selection module also for:
During thin-client connection standard client, standard client all in network sends broadcast request, and receives the response message of each standard client feedback; Wherein, response message at least comprises in following information:
1), the thin-client quantity of the current connection of this standard client;
2), the power supply type of this standard client employing;
3) dump energy when, this standard client adopts portable power source to power.
Further, described selection module also for:
When the standard client quantity that power supply type in network is fixed power source is more than or equal to two, at least two power supply types are selected to be that the standard client of fixed power source is as connecting object.
Further, described selection module also for:
Select power supply type be the standard client of fixed power source as connecting object time, select main connection and alternative connection according to the thin-client quantity of the current connection of standard client.
Further, described selection module also for:
When only having a power supply type to be the standard client of fixed power source in network, select this standard client as connecting object; Meanwhile, a power supply type is selected to be that the standard client of portable power source is as connecting object at least again.
Further, described selection module also for:
When the standard client power supply type in network is all portable power source, at least two power supply types are selected to be that the standard client of portable power source is as connecting object.
Further, described selection module also for:
Select power supply type be the standard client of portable power source as connecting object time, according to the main connection of electricity selective sequential from high to low and alternative connection.
Further, described selection module also for:
Select power supply type be the standard client of portable power source as connecting object time, select main connection and alternative connection according to the thin-client quantity of the current connection of standard client.
Beneficial effect of the present invention is as follows:
The present invention passes through selection two standard client as connecting object, one is main connection, one is alternative connection, when with after the main standard client connection failure be connected, the standard client of alternative connection can be connected fast, ensure that thin-client can access network fast, save the time reconnected, improve efficiency.
Accompanying drawing explanation
Fig. 1 is existing Alljoyn configuration diagram;
Fig. 2 is the flow chart of the method for a kind of 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 the structural representation of the device of a kind of thin-client access standard client in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, do not limit the present invention.
As shown in Figure 2, the embodiment of the present invention relates to the method for a kind of thin-client access standard client, comprising:
Step S101, during thin-client connection standard client, at least selects two standard client as connecting object;
In this step, during thin-client connection standard client, standard client all in network sends broadcast request, and receives the response message of each standard client feedback; Wherein, response message at least comprises in following information:
1), the thin-client quantity of the current connection of this standard client;
2), the power supply type of this standard client employing;
3) dump energy when, this standard client adopts portable power source to power.
During concrete selection connecting object, with reference to following principle:
1), when there is the standard client that power supply type is fixed power source in alternative, then the standard client of fixed power source is selected; When there is the standard client of multiple fixed power source, select the standard client connecting thin-client minimum number at that time; Certainly, also can select to connect the maximum standard client of thin-client quantity at that time.This is because the criterion judged is different, for example, thin-client thinks that the standard client accessing quantity many is more stable, therefore selects to connect the maximum standard client of thin-client quantity and connects; Also can consider from the angle of load balancing, what access thin-client minimum number like this is preferred.
2), when need to select power supply type be the standard client of portable power source as connecting object time, the highest standard client of optional m igration power supply dump energy is as connecting object; When there is the identical standard client of multiple portable power source dump energy, the thin-client quantity choice criteria client according to connecting at that time connects;
3) if all identical by the parameter of all standard client selected, then select according to the order preset, such as, receive the order of feedback message, the domain name of standard client put in order or address arrangement order etc.
Step S102, thin-client selects a standard client as main connection in connecting object, and connects; And in connecting object in remaining standard client at least selection portion divide standard client as alternative connection.
Step S103, described thin-client with as after the main standard client connection failure be connected, select the standard client of alternative connection to connect.
In this step, thin-client with as after the main standard client connection failure be connected, select the standard client of alternative connection to connect, and connection type be designated main connection; Then select new standard client as the standard client of alternative connection.Wherein, thin-client with as the main standard client connection failure be connected, refer to that standard client as main connection is due to the reason such as power down, shutdown, cause between connected thin-client with its (standard client) and cannot communicate, and then cause thin-client cannot by standard client interconnection network.
Provide an instantiation below, so that technical scheme of the present invention to be described.As shown in Figure 3, the thin-client step that is connected to network by standard client is as follows:
The thin-client of step 1:Alljoyn sends broadcast request, obtains the AlljoynBus Daemon information in Alljoyn network.
After the Bus Daemon1,2,3 of step 2:Alljoyn standard client receives, return respective response message respectively, wherein except comprising required content that Alljoyn agreement specifies, also extend following information:
1, thin-client load number: represent and this Bus Daemon is connected to how many thin-clients at present;
2, power supply type: represent that this Bus Daemon is powered by portable power source, or fixed power source is powered;
3, electricity: during this Bus Daemon employing portable power source, the dump energy of portable power source is how many.
Above parameter is used for thin-client and selects to use during Bus Daemon.
Step 3: thin-client receive Bus Daemon1,2, after the response message of 3, select two Bus daemon to be connecting object according to thin-client load number, power supply type and dump energy.Here do not do mandatory requirement to system of selection, it is as follows that the technical program enumerates a kind of selection mode:
First the standard client of fixed power source is selected; If standard client all uses fixed power source, so how much select according to standard client load number, two standard client selecting load number minimum are connecting object.
If standard client adopts portable power source, then two standard client that optional m igration power supply dump energy is the highest.If portable power source dump energy is identical, so how much select according to load number, two standard client selecting load number minimum are connecting object.
If in standard client to be selected, only have the standard client of a fixed power source, then select it to be connecting object; And in the standard client of portable power source, the highest standard client of optional m igration power supply dump energy is as connecting object; If portable power source dump energy is identical, so how much select according to load number, the standard client selecting load number minimum is connecting object.
If all parameters of standard client to be selected are the same, then select according to the rule preset, such as, the order receiving response message according to thin-client is selected.
Step 4: thin-client, according to selective rule, have selected Bus Daemon2 and Bus Daemon3 as connecting object; Wherein, Bus Daemon2 is main connection, and Bus Daemon3 is as alternative connection.
Step 5: thin-client sends connection request to Bus Daemon2, and wherein identifying this connection is main connection.
After step 6:Bus Daemon2 receives this request, reading connection type is main connection, (for representing, authentication timer waits for that thin-client sends the maximum duration of authentication request then to arrange authentication timer, if in this time, thin-client does not send authentication request, so no longer will receive the authentication request of this thin-client, thin-client needs to resend connection request).
Step 7: thin-client sends authentication request to Bus Daemon2, completes the connection with BusDaemon2 after authentication.
Step 8: thin-client sends connection request to Bus Daemon3, and wherein identifying this connection is alternative connection.
Step 9: after Bus Daemon3 receives this request, judge that connection type is alternative connection, so this Bus Daemon3 removes authentication timer, and preserves the relevant information of current thin-client.
Step 10: when after thin-client and Bus daemon2 communication terminal, such as Bus daemon2 goes offline (as equipment shutdown), and Thin clients will send authentication request to Bus Daemon3.
After step 11:Bus Daemon3 receives this authentication request, after authentication is passed through, revising this connection type is main connection, completes the access of thin-client.
Step 12: thin-client sends connection request to Bus Daemon1, and to identify this connection type be alternative connection.Bus daemon1 performs the step identical with step 8, becomes the alternative connecting object of thin-client.
As shown in Figure 4, the embodiment of the present invention also relates to a kind of device realizing the thin-client access standard client of said method, comprising:
Select module, for when thin-client connection standard client, at least selection two standard client are as connecting object;
Link block, for selecting a standard client as main connection in connecting object, and connects; And from described connecting object, in remaining standard client, at least select part as alternative connection; And for when described thin-client is with during as the main standard client connection failure be connected, select the standard client of an alternative connection to connect.
Link block also for:
When described thin-client with as the main standard client connection failure be connected after, select the standard client of alternative connection to connect, and connection type be designated main connection; After described alternative connection is revised as main connection, when there is no the standard client of alternative connection in described connecting object, select new standard client as the standard client of alternative connection.
Described thin-client sends connection request to the standard client as main connection, and wherein identifying this connection in this connection request is main connection;
Described thin-client sends authentication request to the standard client as main connection, completes and the connection as the main standard client be connected after authentication; Wherein, described authentication request sends to the standard client as main connection before needing the authentication timer arrival arranged in the standard client as main connection.
Described thin-client sends connection request to the standard client as alternative connection, and wherein identifying this connection in this connection request is alternative connection; After receiving described connection request as the standard client of alternative connection, connection breaking type is alternative connection, and the standard client so as alternative connection removes authentication timer, and preserves the information of described thin-client.
Select module also for:
During thin-client connection standard client, standard client all in network sends broadcast request, and receives the response message of each standard client feedback; Wherein, response message at least comprises in following information:
1), the thin-client quantity of the current connection of this standard client;
2), the power supply type of this standard client employing;
3) dump energy when, this standard client adopts portable power source to power.
When the standard client quantity that power supply type in network is fixed power source is more than or equal to two, at least two power supply types are selected to be that the standard client of fixed power source is as connecting object.
Select power supply type be the standard client of fixed power source as connecting object time, select main connection and alternative connection according to the thin-client quantity of the current connection of standard client.
When only having a power supply type to be the standard client of fixed power source in network, select this standard client as connecting object; Meanwhile, a power supply type is selected to be that the standard client of portable power source is as connecting object at least again.
When the standard client power supply type in network is all portable power source, at least two power supply types are selected to be that the standard client of portable power source is as connecting object.
Select power supply type be the standard client of portable power source as connecting object time, according to the main connection of electricity selective sequential from high to low and alternative connection.
Select power supply type be the standard client of portable power source as connecting object time, select main connection and alternative connection according to the thin-client quantity of the current connection of standard client.
As can be seen from the above-described embodiment, the present invention passes through selection two standard client as connecting object, one is main connection, one is alternative connection, when with after the main standard client connection failure be connected, the standard client of alternative connection can be connected fast, ensure that thin-client can access network fast, save the time reconnected, improve efficiency.
Although be example object, disclose the preferred embodiments of the present invention, it is also possible for those skilled in the art will recognize various improvement, increase and replacement, and therefore, scope of the present invention should be not limited to above-described embodiment.

Claims (24)

1. a method for thin-client access standard client, is characterized in that, comprising:
During thin-client connection standard client, at least select two standard client as connecting object;
Described thin-client selects a standard client as main connection in described connecting object, and connects; And from described connecting object, in remaining standard client, at least select part as alternative connection;
Described thin-client with as after the main standard client connection failure be connected, select the standard client of an alternative connection to connect.
2. the method for thin-client access standard client as claimed in claim 1, is characterized in that,
Described thin-client with as after the main standard client connection failure be connected, select the standard client of an alternative connection to connect, and connection type be designated main connection.
3. the method for thin-client access standard client as claimed in claim 2, is characterized in that,
After described alternative connection is revised as main connection, when there is no the standard client of alternative connection in described connecting object, select new standard client as the standard client of alternative connection.
4. the method for thin-client access standard client as claimed in claim 1 or 2, it is characterized in that, described thin-client connects with as the main standard client be connected, and specifically comprises:
Described thin-client sends connection request to the standard client as main connection, and wherein identifying this connection in this connection request is main connection;
Described thin-client sends authentication request to the standard client as main connection, completes and the connection as the main standard client be connected after authentication; Wherein, described authentication request sends to the standard client as main connection before needing the authentication timer arrival arranged in the standard client as main connection.
5. the method for thin-client access standard client as claimed in claim 4, is characterized in that, described thin-client at least selects part as alternative connection from described connecting object in remaining standard client, specifically comprise:
Described thin-client sends connection request respectively to the standard client as alternative connection, and wherein identifying this connection in this connection request is alternative connection; After receiving described connection request as the standard client of alternative connection, judge that connection type is alternative connection, the standard client so as alternative connection removes authentication timer, and preserves the information of described thin-client.
6. the method for the thin-client access standard client as described in claim 1,2 or 5, it is characterized in that, during thin-client connection standard client, standard client all in network sends broadcast request, and receives the response message of each standard client feedback; Wherein, response message at least comprises in following information:
1), the thin-client quantity of the current connection of this standard client;
2), the power supply type of this standard client employing;
3) dump energy when, this standard client adopts portable power source to power.
7. the method for thin-client access standard client as claimed in claim 6, is characterized in that,
When the standard client quantity that power supply type in network is fixed power source is more than or equal to two, at least two power supply types are selected to be that the standard client of fixed power source is as connecting object.
8. the method for thin-client access standard client as claimed in claim 7, is characterized in that,
Select power supply type be the standard client of fixed power source as connecting object time, select main connection and alternative connection according to the thin-client quantity of the current connection of standard client.
9. the method for thin-client access standard client as claimed in claim 6, is characterized in that,
When only having a power supply type to be the standard client of fixed power source in network, select this standard client as connecting object; Meanwhile, a power supply type is selected to be that the standard client of portable power source is as connecting object at least again.
10. the method for thin-client access standard client as claimed in claim 6, is characterized in that,
When the standard client power supply type in network is all portable power source, at least two power supply types are selected to be that the standard client of portable power source is as connecting object.
11. as described in claim 9 or 10 thin-client access standard client method, it is characterized in that,
Select power supply type be the standard client of portable power source as connecting object time, according to the main connection of electricity selective sequential from high to low and alternative connection.
The method of 12. thin-client access standard client as claimed in claim 11, is characterized in that,
Select power supply type be the standard client of portable power source as connecting object time, select main connection and alternative connection according to the thin-client quantity of the current connection of standard client.
The device of 13. 1 kinds of thin-client access standard client, is characterized in that, comprising:
Select module, for when thin-client connection standard client, at least selection two standard client are as connecting object;
Link block, for selecting a standard client as main connection in described connecting object, and connects; And from described connecting object, in remaining standard client, at least select part as alternative connection; And for when described thin-client is with during as the main standard client connection failure be connected, select the standard client of an alternative connection to connect.
The device of 14. thin-clients as claimed in claim 13 access standard client, is characterized in that, described link block also for:
When described thin-client with as the main standard client connection failure be connected after, select the standard client of an alternative connection to connect, and connection type be designated main connection.
The device of 15. thin-clients as claimed in claim 14 access standard client, is characterized in that, described link block also for:
After described alternative connection is revised as main connection, when there is no the standard client of alternative connection in described connecting object, select new standard client as the standard client of alternative connection.
16. as described in claim 13 or 14 thin-client access standard client device, it is characterized in that, described link block also for:
Described thin-client sends connection request to the standard client as main connection, and wherein identifying this connection in this connection request is main connection;
Described thin-client sends authentication request to the standard client as main connection, completes and the connection as the main standard client be connected after authentication; Wherein, described authentication request sends to the standard client as main connection before needing the authentication timer arrival arranged in the standard client as main connection.
The device of 17. thin-clients as claimed in claim 16 access standard client, is characterized in that, described link block also for:
Described thin-client sends connection request respectively to the standard client as alternative connection, and wherein identifying this connection in this connection request is alternative connection; After receiving described connection request as the standard client of alternative connection, judge that connection type is alternative connection, the standard client so as alternative connection removes authentication timer, and preserves the information of described thin-client.
18. as described in claim 13,14 or 17 thin-client access standard client device, it is characterized in that, described selection module also for:
During thin-client connection standard client, standard client all in network sends broadcast request, and receives the response message of each standard client feedback; Wherein, response message at least comprises in following information:
1), the thin-client quantity of the current connection of this standard client;
2), the power supply type of this standard client employing;
3) dump energy when, this standard client adopts portable power source to power.
The device of 19. thin-clients as claimed in claim 18 access standard client, is characterized in that, described selection module also for:
When the standard client quantity that power supply type in network is fixed power source is more than or equal to two, at least two power supply types are selected to be that the standard client of fixed power source is as connecting object.
The device of 20. thin-clients as claimed in claim 19 access standard client, is characterized in that, described selection module also for:
Select power supply type be the standard client of fixed power source as connecting object time, select main connection and alternative connection according to the thin-client quantity of the current connection of standard client.
The device of 21. thin-clients as claimed in claim 18 access standard client, is characterized in that, described selection module also for:
When only having a power supply type to be the standard client of fixed power source in network, select this standard client as connecting object; Meanwhile, a power supply type is selected to be that the standard client of portable power source is as connecting object at least again.
The device of 22. thin-clients as claimed in claim 18 access standard client, is characterized in that, described selection module also for:
When the standard client power supply type in network is all portable power source, at least two power supply types are selected to be that the standard client of portable power source is as connecting object.
23. as described in claim 21 or 22 thin-client access standard client device, it is characterized in that, described selection module also for:
Select power supply type be the standard client of portable power source as connecting object time, according to the main connection of electricity order from high to low and alternative connection.
The device of 24. thin-clients as claimed in claim 23 access standard client, is characterized in that, described selection module also for:
Select power supply type be the standard client of portable power source as connecting object time, select main connection and alternative connection according to the thin-client quantity of the current connection of standard client.
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 true CN104486252A (en) 2015-04-01
CN104486252B 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681436A (en) * 2016-01-27 2016-06-15 四川长虹电器股份有限公司 Communication method between control end and Internet of Things devices based on alljoyn protocol
CN106507294A (en) * 2016-09-23 2017-03-15 海尔优家智能科技(北京)有限公司 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

Cited By (3)

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

Also Published As

Publication number Publication date
CN104486252B (en) 2019-06-04

Similar Documents

Publication Publication Date Title
CN102571587B (en) Method and equipment for forwarding messages
CN109474936B (en) Internet of things communication method and system applied among multiple lora gateways
JP2018523932A (en) Load balancing computing devices, systems, and methods
CN107135279B (en) Method and device for processing long connection establishment request
WO2014190791A1 (en) Method for setting identity of gateway device and management gateway device
EP2958352A1 (en) Wireless communication system, wireless devices, and method for setting addresses of same
CN104301238A (en) Message processing method, device and system
EP3331247A1 (en) Multi-screen control method and device
US11638138B2 (en) Device-to-device content providing method
RU2008138577A (en) NETWORK SYSTEM
CN103546572A (en) Cloud storage device and multi-cloud storage networking system and method
CN104243266A (en) Method and device for network access
CN104158868A (en) File transmission method and management server
CN108882262B (en) Equipment state synchronization method and system, intelligent terminal and readable storage medium
CN112311907A (en) ARP request response method, load balancing equipment and related device
EP3876500B1 (en) Subscription message processing method and apparatus, and computer device and storage medium
CN105142116A (en) Communication network switching method and switching system for intelligent equipment
CN104486252A (en) Method and device for thin clients to have access to standard clients
CN104125150A (en) Protocol message processing method, device and system
CN105246129A (en) Intelligent terminal networking method and device
US20130097228A1 (en) Network storage system, data manipulation method in network storage system, storage device and computer program product for controlling client device
CN103929365A (en) Load balancing system and method suitable for a plurality of UDP services
US9860171B2 (en) Large scale message routing in a distributed network
CN113630298A (en) Intelligent control system, method and device
JP2006185095A (en) Server selection method, server selection system, server, and client terminal

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