Nothing Special   »   [go: up one dir, main page]

CN106302055B - Synchronous updating method and system for intelligent equipment state - Google Patents

Synchronous updating method and system for intelligent equipment state Download PDF

Info

Publication number
CN106302055B
CN106302055B CN201610851234.6A CN201610851234A CN106302055B CN 106302055 B CN106302055 B CN 106302055B CN 201610851234 A CN201610851234 A CN 201610851234A CN 106302055 B CN106302055 B CN 106302055B
Authority
CN
China
Prior art keywords
state
page
control terminal
instruction
intelligent equipment
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
CN201610851234.6A
Other languages
Chinese (zh)
Other versions
CN106302055A (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.)
TCL Technology Group Co Ltd
Original Assignee
TCL Technology Group 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 TCL Technology Group Co Ltd filed Critical TCL Technology Group Co Ltd
Priority to CN201610851234.6A priority Critical patent/CN106302055B/en
Publication of CN106302055A publication Critical patent/CN106302055A/en
Application granted granted Critical
Publication of CN106302055B publication Critical patent/CN106302055B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • H04L12/2825Reporting to a device located outside the home and the home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities
    • H04L12/2818Controlling appliance services of a home automation network by calling their functionalities from a device located outside both the home and the home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method and a system for synchronously updating the state of intelligent equipment, wherein the method comprises the following steps: when the control terminal detects an intelligent device state switching instruction input by a user, refreshing a state page of the control terminal according to the instruction, setting a page updating identifier on the state page to be not refreshed when state change information is received, and simultaneously sending the instruction to the Internet of things server; the server of the Internet of things sends the instruction to the intelligent equipment and receives state change information fed back after the intelligent equipment executes the instruction; the Internet of things server searches for an online control terminal which is in binding relation with the intelligent equipment from a pre-established database, and sends state change information to the searched control terminal; and the searched control terminal receives the state change information and determines whether to refresh the state page according to the page update identifier on the state page. The invention realizes the synchronous update of the equipment states displayed on a plurality of control terminals and improves the user experience.

Description

Synchronous updating method and system for intelligent equipment state
Technical Field
The invention belongs to the technical field of Internet of things, and particularly relates to a method and a system for synchronously updating states of intelligent equipment.
Background
Currently, the control of smart home appliances has realized the function that multiple smart phones control one home appliance at the same time. However, in this many-to-one control method, each smart phone controls the smart home appliance relatively independently, the mobile phone sends control information to the smart home appliance, the home appliance returns updated data to the smart phone that currently sends a control instruction, and other smart phones cannot obtain notification of updating the state of the smart home appliance, and thus cannot obtain updated information synchronously, which causes a problem that the current state of the home appliance is inconsistent with the home appliance states displayed on other smart phones, and brings great inconvenience to users. In addition, because the state of the household appliance displayed on the control interface of the smart phone which sends the control instruction at present is updated after the feedback of the household appliance is received, the user can feel obvious time delay, and after the user continuously clicks a button for switching the state of the household appliance, the state of the household appliance displayed on the control interface of the smart phone can jump, so that bad experience is brought to the user.
Disclosure of Invention
The embodiment of the invention aims to provide a method and a system for synchronously updating states of intelligent equipment, and aims to solve the problems that the intelligent household appliances are controlled by each intelligent mobile phone independently, the states of the intelligent household appliances cannot be synchronously updated, and the states of the household appliances displayed on a control interface of the intelligent mobile phone are likely to jump after a user continuously clicks a button for switching the states of the household appliances, so that poor experience is brought to the user.
The embodiment of the invention is realized in such a way that a synchronous updating method of the state of intelligent equipment comprises the following steps:
when a control terminal detects a command for controlling the intelligent equipment to switch states, which is input by a user, the state page of the control terminal is refreshed according to the command, a page updating identifier on the state page is set to be not refreshed when state change information is received, and the command is sent to an Internet of things server;
the Internet of things server sends the instruction to the intelligent equipment and receives state change information fed back by the intelligent equipment after the intelligent equipment executes corresponding operation according to the instruction;
the Internet of things server searches for an online control terminal which is in binding relation with the intelligent equipment from a pre-established database, and sends the state change information to the searched control terminal;
and the searched control terminal receives the state change information and determines whether to refresh the state page of the control terminal according to the state change information according to the page updating identification on the state page of the control terminal.
Another objective of the embodiments of the present invention is to provide a system for synchronously updating states of intelligent devices, where the system includes an intelligent device, multiple control terminals for controlling the intelligent device, and an internet of things server, where the control terminals are installed with an intelligent device management application program, and the intelligent device management application program includes a state page updating unit, a page update identifier setting unit, and a first communication unit; the internet of things server comprises a second communication unit and a searching unit, wherein:
the state page updating unit is used for refreshing the state page of the control terminal according to an instruction input by a user when the control terminal detects the instruction for controlling the intelligent equipment to switch the state;
the page update identifier setting unit is used for setting the page update identifier on the state page to be not refreshed when state change information is received;
the first communication unit is used for sending the instruction to an Internet of things server;
the second communication unit is used for sending the instruction to the intelligent equipment and receiving state change information fed back by the intelligent equipment after the intelligent equipment executes corresponding operation according to the instruction;
the searching unit is used for searching an online control terminal which is in binding relation with the intelligent equipment from a pre-established database and sending the state change information to the searched control terminal;
and the state page updating unit is also used for receiving the state change information and determining whether to refresh the state page of the self according to the state change information according to the page updating identifier on the state page of the self.
The method and the system for synchronously updating the state of the intelligent equipment, provided by the embodiment of the invention, have the following beneficial effects:
according to the embodiment of the invention, when the state of the intelligent equipment is changed by a certain control terminal, the latest state of the intelligent equipment is notified to other online control terminals, so that the other online control terminals synchronously update the state of the intelligent equipment displayed on the state page of the other online control terminals, and the problem that the other control terminals cannot update the state information of the local intelligent equipment in time after one control terminal changes the state information of the intelligent equipment is avoided; in addition, the updating time of the state page after the control terminal sends the control command can be shortened, so that a user cannot feel obvious time delay, meanwhile, the problem that the state of the intelligent device displayed on the state page of the control terminal is likely to jump after the user continuously switches the states of the household electrical appliances can be avoided, and the user experience is improved.
Drawings
Fig. 1 is a schematic flowchart of a method for synchronously updating states of an intelligent device according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart diagram of a method for synchronously updating states of intelligent devices according to another embodiment of the present invention;
FIG. 3 is a schematic block diagram of a system for synchronously updating states of intelligent devices according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of the intelligent device application management program, the intelligent device and the internal of the internet of things server in the system for synchronously updating the state of the intelligent device according to the embodiment of the present invention;
fig. 5 is a schematic block diagram of the intelligent device application management program, the intelligent device, and the internal of the internet of things server in the system for synchronously updating the state of the intelligent device according to another embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 is a schematic flowchart of a method for synchronously updating states of intelligent devices according to an embodiment of the present invention. Referring to fig. 1, a method for synchronously updating states of smart devices according to this embodiment may include the following steps:
in S101, when a control terminal detects a command for controlling the intelligent device to switch states, which is input by a user, the state page of the control terminal is refreshed according to the command, a page update identifier on the state page is set to be not refreshed when state change information is received, and the command is sent to an Internet of things server.
In this embodiment, the control terminal includes, but is not limited to, an intelligent communication terminal such as a mobile phone and a tablet computer. The page updating identifier is used for indicating whether the control terminal updates the state information of the intelligent equipment displayed on the state page according to the state change information after receiving the state change information fed back by the intelligent equipment and forwarded by the internet of things server. In this embodiment, when the page update flag of the status page is 0, the status of the smart device displayed on the status page is not updated when the control terminal receives the status change information; when the status page update flag is 1, it indicates that the state of the smart device displayed on the status page is updated when the control terminal receives the status change information, and therefore, setting the page update flag on the status page to not refresh the status page when the status change information is received in this embodiment specifically means: and setting the page update identification on the state page to be 0. In the embodiment, when the control terminal detects the instruction for controlling the intelligent device to switch the state, which is input by the user, the state of the intelligent terminal displayed on the state page of the control terminal is updated according to the instruction, so that the time for the user to wait for the update of the state page is shortened, the user does not feel obvious delay, and the user experience is improved.
Further, before step S101, the method further includes:
the intelligent equipment and the control terminals are connected to the Internet of things server through TCP long connection respectively;
and establishing binding relations between the intelligent equipment and the plurality of control terminals, and storing the binding relations between the intelligent equipment and the plurality of control terminals into a database established in advance at the server side of the Internet of things.
In this embodiment, an intelligent device and a plurality of control terminals for controlling the intelligent device are connected to the internet of things server through long TCP connections; before the plurality of control terminals are used for controlling the intelligent device, the binding relationship between the intelligent device and the plurality of control terminals needs to be established in advance, specifically: the method comprises the steps that a plurality of control terminals respectively log in a management interface of the intelligent equipment through an intelligent equipment management program installed on the control terminals, a login account and a password are sent to an Internet of things server for verification, the login account and the password of the intelligent equipment management interface are stored in the Internet of things server in advance, a physical network server establishes a binding relationship between the control terminals and the intelligent equipment after the login information sent by the control terminals passes the verification, and the binding relationship between the control terminals and the intelligent equipment is stored in a database established in advance.
In S102, the internet of things server sends the instruction to the intelligent device, and receives state change information fed back by the intelligent device after executing a corresponding operation according to the instruction.
In this embodiment, after receiving the instruction forwarded by the internet of things server, the intelligent device may execute a corresponding operation according to the instruction, and feed back state change information after the execution of the corresponding operation to the internet of things server, where the state change information at least includes state information after the intelligent device executes the corresponding operation according to the instruction.
In S103, the internet of things server searches for an online control terminal that is in a binding relationship with the smart device from a pre-established database, and sends the state change information to the found control terminal.
In S104, the found control terminal receives the state change information, and determines whether to refresh its own state page according to the state change information according to the page update identifier on its own state page. Further, step S104 specifically includes:
the searched control terminal receives the state change information and acquires a page update identifier of a self state page;
if the page update identifier is 0, storing the state information in a local cache of the control terminal, and not refreshing the state page;
and if the page updating identifier is 1, storing the state information in a local cache of the control terminal, and refreshing the state page according to the state information.
In this embodiment, if the page update flag is 0, it indicates that the control terminal is a terminal that sends a control instruction to the intelligent device, and since the control terminal updates its own state page according to the instruction while sending the instruction, the state page does not need to be refreshed again after receiving state change information fed back by the intelligent device and forwarded by the internet of things server, and at this time, the state information is saved in its own cache; if the page update identifier is 1, it indicates that the control terminal is another terminal bound with the intelligent device, and at this time, after receiving state change information fed back by the intelligent device and forwarded by the internet of things server, the control terminal needs to refresh its own state page according to the state change information, so that at this time, the cache and the state page are updated according to the state change information at the same time.
As can be seen from the above, the method for synchronously updating the state of the intelligent device provided in this embodiment can notify the latest state of the intelligent device to other online control terminals when a certain control terminal changes the state of the intelligent device, so that the other online control terminals synchronously update the state of the intelligent device displayed on the state page of the other online control terminals, and the problem that when one of the control terminals changes the state information of the intelligent device, the other control terminals cannot update the state information of the local intelligent device in time is avoided; in addition, the time for updating the state page after the control terminal sends the control instruction can be shortened, so that the user does not feel obvious time delay and the user experience is improved.
Fig. 2 is a schematic flowchart of a method for synchronously updating states of intelligent devices according to another embodiment of the present invention. Referring to fig. 2, with respect to the previous embodiment, the method for synchronously updating the state of the smart device provided in this embodiment may further include the following steps:
in S205, when the control terminal detects an instruction for controlling the switching state of the smart device, which is input by a user, timing is started;
in S206, after the timing time reaches a preset time, determining whether the state information cached in the local cache of the control terminal is consistent with the state of the intelligent device displayed on the state page of the control terminal;
in S207, if not, the state page of the control terminal is refreshed according to the state information in the local cache of the control terminal, and the page update flag on the state page of the control terminal is set to refresh the state page when the state change information is received.
In this embodiment, since timing is started when the control terminal detects an instruction for controlling the switching state of the intelligent device, which is input by a user, and it is determined whether the state information of the intelligent terminal cached in the local cache of the control terminal is consistent with the state information displayed on the state page of the control terminal after the timing time reaches a preset time, if not, the state information on the state page is updated by using the state information in the local cache, so that the problem that the state displayed on the control terminal is inconsistent with the current state of the intelligent device due to the fact that the user controls the switching state of the intelligent device again through other control terminals within the preset time due to delay jump can be avoided.
Further, in this embodiment, before step S206, the method may further include:
and if detecting that the user continuously inputs the instruction for controlling the intelligent equipment to switch the state before the timing time reaches the preset time, deleting the timing time and restarting the timing.
In this embodiment, when it is detected that the user continuously inputs the instruction for controlling the switching state of the smart device, the control terminal itself refreshes the state page once while detecting the instruction, so that timing can be restarted according to the time for refreshing the page last time, that is, when it is detected that the user last inputs the control instruction, and the problem that the state displayed on the control terminal is delayed and jumped due to the fact that the user controls the switching state of the smart device again through other control terminals within the preset time and is inconsistent with the current state of the smart device can also be avoided.
It should be noted that steps S201 to S204 in this embodiment are completely the same as steps S101 to S104 in the embodiment shown in fig. 1, and therefore, are not described herein again.
In summary, it can be seen that the synchronous updating method for the state of the intelligent device provided in this embodiment can also notify the latest state of the intelligent device to other online control terminals when a certain control terminal changes the state of the intelligent device, so that the other online control terminals synchronously update the state of the intelligent device displayed on the state page of the other online control terminals, and the problem that when one of the control terminals changes the state information of the intelligent device, the other control terminals cannot update the state information of the local intelligent device in time is avoided; in addition, the updating time of the state page after the control terminal sends the control instruction can be shortened, so that the user does not feel obvious time delay and the user experience is improved; and the problem that the intelligent device state displayed on the control terminal state page may jump after the user continuously switches the states of the household appliances can be avoided, and the user experience is further improved.
Fig. 3 is a schematic block diagram of a system for synchronously updating states of intelligent devices according to an embodiment of the present invention. Only the portions related to the present embodiment are shown for convenience of explanation.
Referring to fig. 3, the synchronous update system for states of an intelligent device provided in this embodiment includes an intelligent device 1, a plurality of control terminals 2 for controlling the intelligent device 1, and an internet of things server 3, where an intelligent device management application 21 is installed on the control terminals 2. Further, referring to fig. 4, the smart device management application 21 includes a status page update unit 211, a page update flag setting unit 212, and a first communication unit 213; the internet of things server 3 includes a second communication unit 31 and a search unit 32, wherein:
the state page updating unit 211 is configured to, when the control terminal 2 detects an instruction for controlling the intelligent device 1 to switch the state, input by a user, refresh the state page of the control terminal 2 according to the instruction;
the page update flag setting unit 212 is configured to set a page update flag on the status page to not refresh the status page when receiving status change information;
the first communication unit 213 is configured to send the instruction to the internet of things server 3;
the second communication unit 31 is configured to send the instruction to the intelligent device 1, and receive state change information fed back after the intelligent device 1 executes a corresponding operation according to the instruction;
the searching unit 32 is configured to search, from a pre-established database, for the online control terminal 2 that is in a binding relationship with the intelligent device 1, and send the state change information to the searched control terminal 2;
the state page updating unit 211 is further configured to receive the state change information, and determine whether to refresh the state page according to the state change information according to the page update identifier on the state page.
Optionally, the intelligent device 1 includes a first connection establishing unit 11, and the intelligent device management application 21 further includes a second connection establishing unit 214 and an intelligent device binding unit 215, where:
the first connection establishing unit 11 is configured to connect the smart device 1 to the internet of things server 3 through a TCP long connection;
the second connection establishing unit 214 is configured to connect the control terminal 2 to the internet of things server 3 through a TCP long connection;
the intelligent device binding unit 215 is configured to establish a binding relationship between the intelligent device 1 and the control terminal 2, and store the binding relationship between the intelligent device 1 and the control terminal 2 in a database established at the internet of things server 3 in advance.
Optionally, the status page updating unit 211 is specifically configured to:
the searched control terminal 2 receives the state change information and obtains a page update identifier of a self state page;
if the page update identifier is 0, storing the state information in a local cache of the control terminal 2, and not refreshing the state page;
if the page update identifier is 1, storing the state information in a local cache of the control terminal 2, and refreshing the state page according to the state information.
Optionally, referring to fig. 5, the smart device management application 21 further includes:
a timing unit 216, configured to start timing when the control terminal 2 detects an instruction input by a user to control the intelligent device 1 to switch states;
the judging unit 217 is configured to judge whether state information cached in the local cache of the control terminal 2 is consistent with a state of the intelligent device 1 displayed on the state page of the control terminal 2 after the timing time reaches a preset time; if the status pages are inconsistent with each other, the status page updating unit 211 is controlled to refresh the status page of the control terminal 2 according to the status information in the local cache of the control terminal 2, and the page update flag setting unit 212 is controlled to set the page update flag on the status page of the control terminal 2 to be refreshed when the status change information is received.
Optionally, the smart device management application 21 further includes:
and a continuous click detection unit 218, configured to delete the timing time and restart timing if it is detected that the instruction for controlling the switching state of the intelligent device 1 is continuously input by the user before the timing time reaches the preset time.
It should be noted that, since each unit in the synchronous updating system for the state of the intelligent device provided in this embodiment is based on the same concept as that of the embodiment of the method of the present invention, the technical effect brought by the unit is the same as that of the embodiment of the method of the present invention, and specific contents may be referred to the description in the embodiment of the method of the present invention, and are not described herein again.
Therefore, it can be seen that the synchronous updating system for the state of the intelligent device provided in the embodiment of the present invention can also notify the latest state of the intelligent device to other online control terminals when a certain control terminal changes the state of the intelligent device, so that the other online control terminals synchronously update the state of the intelligent device displayed on the state page of the other online control terminals, thereby avoiding the problem that when one of the control terminals changes the state information of the intelligent device, the other control terminals cannot update the state information of the local intelligent device in time; in addition, the updating time of the state page after the control terminal sends the control instruction can be shortened, so that the user does not feel obvious time delay and the user experience is improved; and the problem that the intelligent device state displayed on the control terminal state page may jump after the user continuously switches the states of the household appliances can be avoided, and the user experience is further improved.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (8)

1. A synchronous updating method for intelligent device state is characterized by comprising the following steps:
when a control terminal detects a command for controlling the intelligent equipment to switch states, which is input by a user, the state page of the control terminal is refreshed according to the command, a page updating identifier on the state page is set to be not refreshed when state change information is received, and the command is sent to an Internet of things server;
the Internet of things server sends the instruction to the intelligent equipment to enable the intelligent equipment to execute corresponding operation according to the instruction, and receives state change information fed back after the intelligent equipment executes the corresponding operation according to the instruction;
the Internet of things server searches for an online control terminal which is in binding relation with the intelligent equipment from a pre-established database, and sends the state change information to the searched control terminal;
the searched control terminal receives the state change information and determines whether to refresh the state page of the control terminal according to the state change information according to the page update identification on the state page of the control terminal;
starting timing when the control terminal detects an instruction for controlling the switching state of the intelligent equipment, which is input by a user;
after the timing time reaches the preset time, judging whether the state information cached in the local cache of the control terminal is consistent with the state of the intelligent equipment displayed on the state page of the control terminal;
and if not, refreshing the state page of the control terminal according to the state information in the local cache of the control terminal, and setting the page updating identifier on the state page of the control terminal to be refreshed when state change information is received.
2. The method of claim 1, wherein when the control terminal detects an instruction for controlling the smart device to switch states, which is input by a user, the method further includes, before refreshing a state page of the control terminal according to the instruction, and setting a page update flag on the state page to not refresh the state page when state change information is received, and sending the instruction to the server of the internet of things:
the intelligent equipment and the control terminals are connected to the Internet of things server through TCP long connection respectively;
and establishing binding relations between the intelligent equipment and the plurality of control terminals, and storing the binding relations between the intelligent equipment and the plurality of control terminals into a database established in advance at the server side of the Internet of things.
3. The method of claim 1, wherein the searching for the control terminal receiving the state change information and determining whether to refresh its own state page according to the state change information according to the page update identifier on its own state page specifically comprises:
the searched control terminal receives the state change information and acquires a page update identifier of a self state page;
if the page update identifier is 0, storing the state information in a local cache of the control terminal, and not refreshing the state page;
and if the page updating identifier is 1, storing the state information in a local cache of the control terminal, and refreshing the state page according to the state information.
4. The method of claim 1, wherein after the timing time reaches a preset time, before determining whether the state information cached in the local cache of the control terminal is consistent with the state of the intelligent device displayed on the state page of the control terminal, the method further comprises:
and if detecting that the user continuously inputs the instruction for controlling the intelligent equipment to switch the state before the timing time reaches the preset time, deleting the timing time and restarting the timing.
5. The system for synchronously updating the states of the intelligent devices is characterized by comprising the intelligent devices, a plurality of control terminals and an Internet of things server, wherein the control terminals are used for controlling the intelligent devices, intelligent device management application programs are installed on the control terminals, and each intelligent device management application program comprises a state page updating unit, a page updating identifier setting unit and a first communication unit; the internet of things server comprises a second communication unit and a searching unit, wherein:
the state page updating unit is used for refreshing the state page of the control terminal according to an instruction input by a user when the control terminal detects the instruction for controlling the intelligent equipment to switch the state;
the page update identifier setting unit is used for setting the page update identifier on the state page to be not refreshed when state change information is received;
the first communication unit is used for sending the instruction to an Internet of things server;
the second communication unit is used for sending the instruction to the intelligent equipment to enable the intelligent equipment to execute corresponding operation according to the instruction, and receiving state change information fed back after the intelligent equipment executes the corresponding operation according to the instruction;
the searching unit is used for searching an online control terminal which is in binding relation with the intelligent equipment from a pre-established database and sending the state change information to the searched control terminal;
the state page updating unit is also used for receiving the state change information and determining whether to refresh the state page of the state page according to the state change information according to the page updating identification on the state page of the state page;
the timing unit is used for starting timing when the control terminal detects an instruction which is input by a user and used for controlling the switching state of the intelligent equipment;
the judging unit is used for judging whether the state information cached in the local cache of the control terminal is consistent with the state of the intelligent equipment displayed on the state page of the control terminal or not after the timing time reaches the preset time; and if the state page is inconsistent with the state page, controlling the state page updating unit to refresh the state page of the control terminal according to the state information in the local cache of the control terminal, and controlling the page updating identifier setting unit to set the page updating identifier on the state page of the control terminal to be refreshed when state change information is received.
6. The system of claim 5, wherein the smart device comprises a first connection establishment unit, the smart device management application further comprises a second connection establishment unit and a smart device binding unit, wherein:
the first connection establishing unit is used for connecting the intelligent equipment to the Internet of things server through TCP long connection;
the second connection establishing unit is used for connecting the control terminal to the Internet of things server through TCP long connection;
the intelligent device binding unit is used for establishing a binding relationship between the intelligent device and the control terminal and storing the binding relationship between the intelligent device and the control terminal into a database which is established in advance at the server side of the Internet of things.
7. The system of claim 5, wherein the status page update unit is specifically configured to:
the searched control terminal receives the state change information and acquires a page update identifier of a self state page;
if the page update identifier is 0, storing the state information in a local cache of the control terminal, and not refreshing the state page;
and if the page updating identifier is 1, storing the state information in a local cache of the control terminal, and refreshing the state page according to the state information.
8. The system of claim 5, wherein the smart device management application further comprises:
and the continuous click detection unit is used for deleting the timing time and restarting timing if the instruction for controlling the switching state of the intelligent equipment continuously input by the user is detected before the timing time reaches the preset time.
CN201610851234.6A 2016-09-26 2016-09-26 Synchronous updating method and system for intelligent equipment state Active CN106302055B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610851234.6A CN106302055B (en) 2016-09-26 2016-09-26 Synchronous updating method and system for intelligent equipment state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610851234.6A CN106302055B (en) 2016-09-26 2016-09-26 Synchronous updating method and system for intelligent equipment state

Publications (2)

Publication Number Publication Date
CN106302055A CN106302055A (en) 2017-01-04
CN106302055B true CN106302055B (en) 2020-12-18

Family

ID=57715190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610851234.6A Active CN106302055B (en) 2016-09-26 2016-09-26 Synchronous updating method and system for intelligent equipment state

Country Status (1)

Country Link
CN (1) CN106302055B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106817280B (en) * 2017-01-20 2021-10-26 山东大学 Control terminal timing method and system of Internet of things equipment
CN106961426B (en) * 2017-03-09 2020-04-24 深圳创维-Rgb电子有限公司 Communication method and device of intelligent equipment
CN107395335B (en) * 2017-07-26 2020-09-11 广州小鹏汽车科技有限公司 Method and equipment for synchronizing UI (user interface) states during mutual control between terminals
CN107356940A (en) * 2017-08-11 2017-11-17 四川联丰云网科技有限公司 Low-altitude surveillance system based on Beidou satellite communication
CN108828966B (en) * 2018-06-15 2021-07-20 青岛海信智慧家居系统股份有限公司 Method and device for displaying equipment information in smart home system
CN110727689A (en) * 2019-09-09 2020-01-24 杭州玖欣物联科技有限公司 Method for merging equipment state information
CN110597078A (en) * 2019-09-27 2019-12-20 南京博联智能科技有限公司 Equipment control implementation method, device, electronic equipment, storage medium and system
CN111125038B (en) * 2019-12-31 2023-04-07 成都驰通数码系统有限公司 Intelligent data synchronization method and system based on cloud storage
CN111405331B (en) * 2020-03-27 2022-04-01 海信视像科技股份有限公司 Bluetooth Mesh device state updating method and display device
CN111416760B (en) 2020-03-30 2022-11-08 京东方科技集团股份有限公司 Information synchronization method, terminal and information synchronization system
CN111478965A (en) * 2020-04-07 2020-07-31 四川虹美智能科技有限公司 Method, device and system for processing device shadow
CN113132475A (en) * 2021-04-16 2021-07-16 天津市康晟伟业智能科技有限公司 Information interaction method and monitoring system
CN113760581A (en) * 2021-09-09 2021-12-07 四川虹美智能科技有限公司 MQTT-based method and system for synchronizing attribute information of intelligent terminal
CN114327331B (en) * 2021-12-22 2023-09-19 深圳Tcl新技术有限公司 Information display method, information display device, electronic equipment and computer readable storage medium
CN114337896B (en) * 2021-12-30 2024-04-23 上海庆科信息技术有限公司 Equipment state processing method and device, storage medium and electronic device
CN118523977A (en) * 2024-07-23 2024-08-20 深圳市和生创新技术有限公司 State synchronization method and related system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1947376A (en) * 2003-12-31 2007-04-11 无极公司 Device control system, method, and apparatus for server-based or peer-to-peer network environments
CN103458230A (en) * 2013-08-30 2013-12-18 程治永 PTZ control system and method based on state map
CN103558836A (en) * 2013-11-19 2014-02-05 海信集团有限公司 Method for synchronously controlling device status and household appliance
CN105187549A (en) * 2015-09-28 2015-12-23 Tcl集团股份有限公司 Remote control method and system of smart home equipment
CN105610591A (en) * 2014-12-30 2016-05-25 Tcl集团股份有限公司 A system and a method for information sharing among multiple apparatuses

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1947376A (en) * 2003-12-31 2007-04-11 无极公司 Device control system, method, and apparatus for server-based or peer-to-peer network environments
CN103458230A (en) * 2013-08-30 2013-12-18 程治永 PTZ control system and method based on state map
CN103558836A (en) * 2013-11-19 2014-02-05 海信集团有限公司 Method for synchronously controlling device status and household appliance
CN105610591A (en) * 2014-12-30 2016-05-25 Tcl集团股份有限公司 A system and a method for information sharing among multiple apparatuses
CN105187549A (en) * 2015-09-28 2015-12-23 Tcl集团股份有限公司 Remote control method and system of smart home equipment

Also Published As

Publication number Publication date
CN106302055A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106302055B (en) Synchronous updating method and system for intelligent equipment state
US10264424B2 (en) Information processing method and central control device
WO2017129124A1 (en) Smart appliance control method and smart appliance
US20230409529A1 (en) Method and system for upgrading cpe firmware
WO2019024754A1 (en) Page loading method, device, and system
CN103607660A (en) Intelligent television interface switching control method and control apparatus
KR101737746B1 (en) Method, terminal, client, smart card and system for accessing wireless network
US20130271672A1 (en) Television manipulation method, handheld device, television, and television manipulation system
CN105208127A (en) Webpage caching processing method and system and intelligent terminal
WO2020228033A1 (en) Sdk plug-in loading method and apparatus, and mobile terminal and storage medium
EP4280549A1 (en) Network configuration method and apparatus, computer device, and storage medium
CN114116014A (en) Instruction issuing method and device, intelligent equipment and storage medium
CN104868939A (en) Bluetooth-based synchronized method and device between terminals
CN106716419B (en) Method and device for outputting search result and electronic equipment
CN104754050A (en) Intelligent equipment remote management method and intelligent control system
JP2017528017A (en) Method, apparatus and system for managing mobile hotspots
CN112751734A (en) Household appliance control method based on cleaning robot, cleaning robot and chip
US20200112849A1 (en) Nomination of a primary cell phone from a pool of cell phones
CN107317923B (en) Method, device and terminal for controlling GPS running state
CN103647986B (en) Version upgrading method and apparatus
CN109933297B (en) Electronic device and control method of signal source thereof
CN109213827B (en) Data processing system, method, router and slave database
CN112484389A (en) Electronic equipment parameter adjusting method, system, equipment and storage medium
CN112559063A (en) CPU switching method and device, intelligent terminal and storage medium
CN114721696B (en) Interface updating method and device, intelligent terminal and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 516006 TCL technology building, No.17, Huifeng Third Road, Zhongkai high tech Zone, Huizhou City, Guangdong Province

Applicant after: TCL Technology Group Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. nineteen District

Applicant before: TCL RESEARCH AMERICA Inc.

GR01 Patent grant
GR01 Patent grant