CN111103806A - Equipment adding method, user side, equipment side and system - Google Patents

Equipment adding method, user side, equipment side and system Download PDF

Info

Publication number
CN111103806A
CN111103806A CN201911256544.3A CN201911256544A CN111103806A CN 111103806 A CN111103806 A CN 111103806A CN 201911256544 A CN201911256544 A CN 201911256544A CN 111103806 A CN111103806 A CN 111103806A
Authority
CN
China
Prior art keywords
equipment
time
state
preset time
user
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
CN201911256544.3A
Other languages
Chinese (zh)
Other versions
CN111103806B (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.)
Gongniu Group Co Ltd
Original Assignee
Bull 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 Bull Group Co Ltd filed Critical Bull Group Co Ltd
Priority to CN201911256544.3A priority Critical patent/CN111103806B/en
Priority claimed from CN201911256544.3A external-priority patent/CN111103806B/en
Publication of CN111103806A publication Critical patent/CN111103806A/en
Application granted granted Critical
Publication of CN111103806B publication Critical patent/CN111103806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention is suitable for the technical field of Internet of things, and particularly relates to an equipment adding method, which comprises the following steps: entering a selection state; starting a first timer, wherein the first timer comprises first preset time; and judging whether the equipment end in the adding state is selected and added within the first preset time, and the equipment end is selected and added into the user end within the second preset time of the second timer, if so, the adding is successful, the selecting state is exited, and if not, the adding is failed, and the selecting state is exited. The user terminal needs to select and add the equipment terminal within the first preset time, the equipment terminal needs to be selected and added into the user terminal within the second preset time, the adding is successful, otherwise, the adding fails, the user terminal exits from the selection state and the equipment terminal exits from the adding state, and therefore whether the equipment terminal can be added into the user terminal or not can be rapidly judged within a short time, and the situation that two or more equipment terminals are in the adding state at the same time is avoided.

Description

Equipment adding method, user side, equipment side and system
Technical Field
The invention is applicable to the technical field of Internet of things, and particularly relates to an equipment adding method, a user side, an equipment side and a system.
Background
With the vigorous development of the internet of things technology, more and more families select the intelligent home systems, and the intelligent home systems refer to: by utilizing advanced computer technology, network communication technology, intelligent cloud control, comprehensive wiring technology and medical electronic technology, according to the principle of human engineering, individual requirements are fused, all subsystems related to home life, such as security protection, light control, curtain control, gas valve control, information household appliances, scene linkage, floor heating, health care, health epidemic prevention, security protection and the like, are organically combined together, and people-oriented brand-new home life experience is realized through networked comprehensive intelligent control and management.
Before each device applied to the intelligent home system is used, the device needs to be paired with a user side for control starting in advance. For pairing operation, except for factory preset or field burning of the equipment, a common mode is to perform authentication addition between the equipment and the user side through the internet of things technology. However, the existing authentication adding method is to start the device and enter an add-able state, and in order to allow the user enough time to operate the user terminal and add successfully, the add-able state of the device is maintained for a long time, typically 10 to 15 minutes. If the operation is performed continuously by a single person or performed separately by multiple persons, the maintenance time of the adding state of two or more devices is easily overlapped, the user side can search for multiple devices, and the user side cannot accurately distinguish the devices to be added, so that interference is caused, the device which is failed to be added or is mistakenly added is finally caused, and extremely poor experience is brought to the user.
Disclosure of Invention
The embodiment of the invention provides an equipment adding method, aiming at solving the problem that a user side cannot accurately distinguish equipment to be added when two or more pieces of equipment are in an adding state.
The embodiment of the invention is realized in such a way that an equipment adding method is applied to a user side, and the equipment adding method comprises the following steps: entering a selection state; starting a first timer, wherein the first timer comprises first preset time; and judging whether the equipment end in the adding state is selected and added within the first preset time, and the equipment end is selected and added into the user end within the second preset time of a second timer of the equipment end, if so, the adding is successful, the selecting state is exited, and if not, the adding is failed, and the selecting state is exited.
Still further, the device adding method further includes the steps of: generating a classified device list in advance; selecting the equipment side in an addable state in the equipment list.
Further, the first preset time is less than the second preset time.
The present invention also provides a user side, which includes: a first entering unit for entering a selection state; the device comprises a first starting unit, a second starting unit and a control unit, wherein the first starting unit is used for starting a first timer, and the first timer comprises first preset time; the first judging unit is used for judging whether the equipment end in the adding state is selected and added within the first preset time or not, the equipment end is selected and added into the user end within the second preset time of the second timer, if yes, the adding is successful, the selecting state is exited, and if not, the adding is failed, and the selecting state is exited.
Still further, the user terminal further includes: a generation unit configured to generate a sorted device list in advance; a selection unit for selecting the device side in an addable state in the device list.
Further, the first preset time is less than the second preset time.
The invention also provides an equipment adding method which is applied to an equipment end and comprises the following steps: entering an addable state; starting a second timer, wherein the second timer comprises a second preset time; and judging whether the equipment terminal is selected and added to the user terminal within the second preset time, selecting and adding the equipment terminal within the first preset time of the first timer of the user terminal, if so, successfully adding and exiting the adding state, and if not, failing to add and exiting the adding state.
Still further, the device adding method further includes the steps of: acquiring a first time required for entering an addable state; acquiring second time required by adding the time to the user side; and setting the second preset time in a time interval from the second time to the sum of the first time and the second time.
The present invention also provides an apparatus side, comprising: a first entering unit for entering an addable state; the second starting unit is used for starting a second timer, and the second timer comprises second preset time; and the second judging unit is used for judging whether the equipment terminal is selected and added to the user terminal within the second preset time, and the user terminal selects and adds the equipment terminal within the first preset time of the first timer of the user terminal, if so, the adding is successful, the adding state is exited, and if not, the adding is failed, and the adding state is exited.
Further, the device side further includes: a first time acquisition unit for acquiring a first time required to enter an addable state; a second time obtaining unit, configured to obtain a second time required for adding to the user side; and the second preset time setting unit is used for setting the second preset time in a time interval from the second time to the sum of the first time and the second time.
The invention also provides an equipment adding system, which comprises the user side and the equipment side.
The method has the advantages that compared with the prior art, the method has the advantages that the first timer is arranged on the user side, the second timer is arranged on the equipment side, the user side enters the selection state, the first timer is started, the equipment side enters the adding state, the second timer is started, the user side needs to select and add the equipment side within the first preset time, the equipment side needs to be selected and added into the user side within the second preset time, the adding is successful, otherwise, the adding is failed, the user side exits the selection state and exits the adding state, and therefore whether the equipment side can be added into the user side or not can be rapidly judged within a short time, and the situation that two or more equipment sides are in the adding state at the same time can be avoided.
Drawings
Fig. 1 is a flowchart of a device adding method applied to a user terminal according to an embodiment of the present invention;
fig. 2 is a block flow diagram of a device selecting end according to an embodiment of the present invention;
fig. 3 is a block diagram of a user side according to an embodiment of the present invention;
fig. 4 is a block diagram of a generating unit and a selecting unit according to an embodiment of the present invention;
fig. 5 is a flowchart of a device adding method applied to a device side according to an embodiment of the present invention;
fig. 6 is a block diagram of a process for setting a second preset time according to an embodiment of the present invention;
fig. 7 is a block diagram of a device side according to an embodiment of the present invention;
fig. 8 is a block diagram of a first time obtaining unit, a second time obtaining unit, and a second preset time setting unit according to an 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.
The existing authentication adding method is to start the device and enter an add-in state, and in order to allow the user enough time to operate the user terminal and the addition is successful, the add-in state of the device is maintained for a long time, usually 10 to 15 minutes. If the operation is performed continuously by a single person or performed separately by multiple persons, the maintenance time of the adding state of two or more devices is easily overlapped, the user side can search for multiple devices, and the user side cannot accurately distinguish the devices to be added, so that interference is caused, the adding failure or the adding of wrong devices is finally caused, and extremely poor experience is brought to the user. The invention designs an equipment adding method, wherein a first timer is arranged on a user side, a second timer is arranged on an equipment side, the user side enters a selection state, the first timer is started, the equipment side enters an adding state, the second timer is started, the user side needs to select and add the equipment side within a first preset time, the equipment side needs to be selected and added into the user side within a second preset time, the adding is successful, otherwise, the adding is failed, the user side exits the selection state and the equipment side exits the adding state, so that whether the equipment side can be added into the user side can be rapidly judged within a short time, and the condition that two or more equipment sides are in the adding state at the same time can be avoided.
Example one
Referring to fig. 1, in an embodiment, an apparatus adding method is provided, which is applied to a user side, and the apparatus adding method includes the following steps:
s1101, entering a selection state;
s1102, starting a first timer, wherein the first timer comprises first preset time;
s1103, determining whether to select and add the device end in the add-able state within the first preset time, and the device end is selected and added to the user end within the second preset time of the second timer, if so, the adding is successful, and the selecting state is exited, and if not, the adding is failed, and the selecting state is exited.
The user end enters a selection state, wherein the selection state refers to that the user end can search peripheral equipment ends in an addition state, and a certain equipment end is designated to be selected from at least one searched equipment end. The searching method of the ue can be various, for example, the signal transmission between the ue and the device is realized through a bluetooth module, a zigbee gateway module, an udp module, or an NFC module. When the user terminal enters the selection state, a first timer is started after waiting for several seconds, and a first preset time is arranged in the first timer. Then, the user side judges whether the equipment side is selected and added in the first preset time, and judges whether the equipment side is selected and added in the user side by the user side in the second preset time built in a second timer of the equipment side; if yes, the equipment end is judged to be successfully added into the user end, and the user end exits from the selection state, and if not, the equipment end is judged not to be successfully added into the user end, and the user end exits from the selection state.
The user side is set with a first preset time through the first timer, and the equipment side is set with a second preset time through the second timer. When the equipment adding process is started, the user side starts a first timer and the equipment side starts a second timer, wherein the second timer of the equipment side is started firstly, and the first timer of the user side is started subsequently; or the first timer at the user side is started first, and the second timer at the device side is started later. The user terminal has to select and add the equipment terminal within a first preset time, the equipment terminal has to be selected and added into the user terminal within a second preset time, if all the equipment terminals can be completed on time, the equipment terminal is successfully added into the user terminal, the user terminal can quit the selection state, if one of the equipment terminals cannot be completed on time, the equipment terminal cannot be successfully added into the user terminal, and the user terminal can also quit the selection state. When the addition operation needs to be performed on the equipment side, the user side enters the selection state again. Even if the device end is not successfully added to the user end for the first time, the user end can exit the selection state, the user then operates the user end again to enter the selection state, and the device adding operation is repeated, so that the device end can be successfully added to the user end by the second retry.
Example two
Referring to fig. 2, the second embodiment provides that the device adding method further includes the following steps:
s1201, generating a classified device list in advance;
s1202, selecting the equipment end in an adding state in the equipment list.
The classified equipment list is generated in advance, and can classify all the equipment according to the types and functions of the equipment, for example, classifying air conditioners, televisions and sofas into living room equipment, and classifying electric cookers, induction cookers and smoke extractors into kitchen equipment; or classifying according to functions, classifying the shower head, the bathroom heater and the washbasin into washing equipment, and classifying the electric cooker, the induction cooker and the soybean milk machine into cooking equipment. Subsequently, the user side can quickly find the equipment to be added through the visual equipment list, so that the equipment side can be quickly selected.
The user side can directly and quickly select the equipment end in the adding state in the equipment list, so that the filtering of the equipment end is realized, the time for adding the equipment end by the user side is greatly shortened, the first preset time is set to be a smaller value, and the probability of searching a plurality of equipment ends in the subsequent equipment adding process is reduced.
EXAMPLE III
In the third embodiment, the first preset time is shorter than the second preset time. Generally, a user first determines that a certain device needs to be added to a user terminal, so the user operates the device terminal first and then operates the user terminal, and a certain time difference exists between the two processes. For example, after the device end is operated, the second timer is started, the user can take out the user end, unlock the user end, control the user end to enter the selection state, and select and add the device end, and the time difference between the two processes is about 10 seconds.
Example four
Referring to fig. 3, a fourth embodiment provides a ue, including:
a first entering unit 1101 for entering a selection state;
a first starting unit 1102, configured to start a first timer, where the first timer includes a first preset time;
a first determining unit 1103, configured to determine whether to select and add an equipment end in an addable state within the first preset time, and the equipment end is selected and added to the user end within a second preset time of a second timer of the equipment end, if so, the adding is successful, and the selection state is exited, and if not, the adding is failed, and the selection state is exited.
The user terminal enters a selection state through the first entering unit 1101, where the selection state refers to that the user terminal can search for peripheral equipment terminals in an addable state, and specifies to select a certain equipment terminal from at least one searched equipment terminal. The searching method of the ue can be various, for example, the signal transmission between the ue and the device is realized through a bluetooth module, a zigbee gateway module, an udp module, or an NFC module. Through the first starting unit 1102, when the user terminal enters the selection state, a first timer is started after waiting for several seconds, and a first preset time is set in the first timer. Then, through the first determining unit 1103, the user side determines whether to select and add the device side within a first preset time, and determines whether to select and add the device side by the user side within a second preset time built in a second timer of the device side; if yes, the equipment end is judged to be successfully added into the user end, and the user end exits from the selection state, and if not, the equipment end is judged not to be successfully added into the user end, and the user end exits from the selection state.
The user side is set with a first preset time through the first timer, and the equipment side is set with a second preset time through the second timer. When the equipment adding process is started, the user side starts a first timer and the equipment side starts a second timer, wherein the second timer of the equipment side is started firstly, and the first timer of the user side is started subsequently; or the first timer at the user side is started first, and the second timer at the device side is started later. The user terminal has to select and add the equipment terminal within a first preset time, the equipment terminal has to be selected and added into the user terminal within a second preset time, if all the equipment terminals can be completed on time, the equipment terminal is successfully added into the user terminal, the user terminal can quit the selection state, if one of the equipment terminals cannot be completed on time, the equipment terminal cannot be successfully added into the user terminal, and the user terminal can also quit the selection state. When the addition operation needs to be performed on the equipment side, the user side enters the selection state again. Even if the device end is not successfully added to the user end for the first time, the user end can exit the selection state, the user then operates the user end again to enter the selection state, and the device adding operation is repeated, so that the device end can be successfully added to the user end by the second retry.
EXAMPLE five
Referring to fig. 4, in the fifth embodiment, the user side further includes:
a generating unit 1201 for generating a sorted device list in advance;
a selecting unit 1202, configured to select the device side in the device list in an addable state.
The generation unit 1201 is used for generating a classified equipment list in advance, wherein the equipment list can classify various equipment according to the types and functions of the equipment, for example, the equipment list can classify the equipment according to the types, classify air conditioners, televisions and sofas into living room equipment, and classify electric cookers, induction cookers and smoke extractors into kitchen equipment; or classifying according to functions, classifying the shower head, the bathroom heater and the washbasin into washing equipment, and classifying the electric cooker, the induction cooker and the soybean milk machine into cooking equipment. Subsequently, through the selection unit 1202, the user side can quickly find the device to be added through the intuitive device list, thereby realizing quick selection of the device side.
The user side can directly and quickly select the equipment end in the adding state in the equipment list, so that the filtering of the equipment end is realized, the time for adding the equipment end by the user side is greatly shortened, the first preset time is set to be a smaller value, and the probability of searching a plurality of equipment ends in the subsequent equipment adding process is reduced.
EXAMPLE six
In a sixth embodiment, the first preset time is shorter than the second preset time. Generally, a user first determines that a certain device needs to be added to a user terminal, so the user operates the device terminal first and then operates the user terminal, and a certain time difference exists between the two processes. For example, after the device end is operated, the second timer is started, the user can take out the user end, unlock the user end, control the user end to enter the selection state, and select and add the device end, and the time difference between the two processes is about 10 seconds.
EXAMPLE seven
Referring to fig. 5, the seventh embodiment provides an apparatus adding method, which is applied to an apparatus side, and the apparatus adding method includes the following steps:
s2101, entering an addable state;
s2102, starting a second timer, wherein the second timer comprises a second preset time;
s2103, determining whether the device terminal is selected and added to the user terminal within the second preset time, and the user terminal selects and adds the device terminal within the first preset time of the first timer, if so, the adding is successful, and the adding state is exited, otherwise, the adding is failed, and the adding state is exited.
The device side enters an addition state, wherein the addition state means that the device side can be searched by the user side and can be selected by the user side. Specifically, a bluetooth module, a zigbee gateway module, a udp module, or an NFC module is disposed inside the device side, so as to implement signal transmission between the device side and the user side. And when the equipment end enters an addable state, starting a second timer after waiting for several seconds, wherein the second timer is internally provided with a second preset time. Then, the equipment end judges whether the equipment end is selected and added to the user end by the user end within second preset time, and judges whether the user end is selected and added to the equipment end within first preset time built in a first timer of the equipment end; if the device end is not successfully added into the user end, and the device end exits the adding state.
It should be noted that, when the device is powered on for the first time, for example, the device is bought back, and the device is connected to the power supply for the first time, the device automatically enters the addable state. Alternatively, the user may reset and enter an addable state by operating the device side, for example, pressing the reset button for a long time or pressing it multiple times.
The device end is set with a second preset time through the second timer, and the user end is set with a first preset time through the first timer. When the equipment adding process is started, the equipment end starts a second timer and the user end starts a first timer, wherein the second timer of the equipment end is started first, and the first timer of the user end is started later; or the first timer at the user side is started first, and the second timer at the device side is started later. The equipment end is required to be selected and added into the user end within the second preset time, the user end is required to be selected and added into the user end within the first preset time, if all the equipment ends can be completed on time, the equipment end is successfully added into the user end, the equipment end can exit the adding state, if one of the equipment ends cannot be completed on time, the equipment end cannot be successfully added into the user end, and the equipment end can also exit the adding state. When the adding operation of the equipment end is confirmed to be needed, the equipment end enters the adding state again. Even if the equipment end is not successfully added into the user end for the first time, the equipment end can exit the addition state, the user then operates the equipment end again to enter the addition state, and the equipment addition operation is repeated, so that the equipment end can be successfully added into the user end by the second retry.
Example eight
Referring to fig. 6, the eighth embodiment provides that the device adding method further includes the following steps:
s2201, acquiring first time required for entering an addable state;
s2202, acquiring second time required by adding to the user side;
s2203, setting the second preset time in a time interval from the second time to the sum of the first time and the second time.
The user needs time to operate the equipment end to enter the adding state, so that the average value can be obtained after multiple tests are carried out on different equipment ends, and the needed first time is obtained; in addition, since the time is also required for adding the equipment end to the user end, the average value can be obtained after multiple tests are performed on different equipment ends, and the required second time is obtained. The first time is caused artificially, the time period is not easy to control but can be properly avoided, the second time is caused by the self attribute of the equipment end and cannot be avoided, and the second preset time can be set in the time interval from the second time to the sum of the first time and the second time to obtain the minimum and most reasonable second preset time, so that the condition that two or more equipment ends are in an adding state in the subsequent equipment adding process is avoided.
Example nine
Referring to fig. 7, the ninth embodiment provides an apparatus side, where the apparatus side includes:
a second entering unit 2101 for entering an addable state;
a second starting unit 2102 for starting a second timer, the second timer including a second preset time;
a second determining unit 2103, configured to determine whether the ue is selected and added to the ue within the second preset time, and the ue selects and adds the equipment within the first preset time of the first timer of the ue, if so, the ue is successfully added and exits the adding state, and if not, the ue is failed to add and exits the adding state.
Here, through the second entering unit 2101, the device side enters an add-able state, which means that the device side can be searched by the user side and can be selected by the user side. Specifically, a bluetooth module, a zigbee gateway module, a udp module, or an NFC module is disposed inside the device side, so as to implement signal transmission between the device side and the user side. By the second starting unit 2102, when the device side enters the addable state, a second timer is started after waiting several seconds, and the second timer is built with a second preset time. Then, through the second determining unit 2103, the device side determines whether the user side selects and adds the device side within the second preset time, and determines whether the user side selects and adds the device side within the first preset time built in the first timer; if the device end is not successfully added into the user end, and the device end exits the adding state.
It should be noted that, when the device is powered on for the first time, for example, the device is bought back, and the device is connected to the power supply for the first time, the device automatically enters the addable state. Alternatively, the user may reset and enter an addable state by operating the device side, for example, pressing the reset button for a long time or pressing it multiple times.
The device end is set with a second preset time through the second timer, and the user end is set with a first preset time through the first timer. When the equipment adding process is started, the equipment end starts a second timer and the user end starts a first timer, wherein the second timer of the equipment end is started first, and the first timer of the user end is started later; or the first timer at the user side is started first, and the second timer at the device side is started later. The equipment end is required to be selected and added into the user end within the second preset time, the user end is required to be selected and added into the user end within the first preset time, if all the equipment ends can be completed on time, the equipment end is successfully added into the user end, the equipment end can exit the adding state, if one of the equipment ends cannot be completed on time, the equipment end cannot be successfully added into the user end, and the equipment end can also exit the adding state. When the adding operation of the equipment end is confirmed to be needed, the equipment end enters the adding state again. Even if the equipment end is not successfully added into the user end for the first time, the equipment end can exit the addition state, the user then operates the equipment end again to enter the addition state, and the equipment addition operation is repeated, so that the equipment end can be successfully added into the user end by the second retry.
Example ten
Referring to fig. 8, this embodiment provides that the device side further includes:
a first time acquisition unit 2201 for acquiring a first time required to enter an addable state;
a second time acquiring unit 2202, configured to acquire a second time required to be added to the user side;
a second preset time setting unit 2203, configured to set the second preset time within a time interval from the second time to an added value of the first time and the second time.
Since it takes time for the user to operate the device side to enter the addable state, the first time required can be obtained by averaging after multiple tests on different device sides by the first time obtaining unit 2201; in addition, since the device side also needs time to add to the user side, the second time obtaining unit 2202 may obtain the required second time by averaging the device side after multiple tests. The first time is artificially caused, although the time period is not easy to control, but can be properly avoided, the second time is caused by the property of the device end, and the time period cannot be avoided, the second preset time can be set in the time interval from the second time to the sum of the first time and the second time by the second preset time setting unit 2203 to obtain the minimum and most reasonable second preset time, so as to avoid the situation that two or more device ends are in the adding state in the subsequent device adding process.
EXAMPLE eleven
This embodiment eleven provides an equipment adding system, which includes the user terminal described above and the equipment terminal described above. The user side is provided with a first timer, the equipment side is provided with a second timer, the user side enters a selection state, the first timer is started, the equipment side enters an addition state, the second timer is started, the user side must select and add the equipment side within a first preset time, the equipment side must also be selected and added into the user side within a second preset time, the addition is successful, otherwise, the addition is failed, the user side exits the selection state at the moment, and the equipment side exits the addition state, so that whether the equipment side can be added into the user side can be rapidly judged within a short time, and the situation that two or more equipment sides are simultaneously in the addition state can be avoided.
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 (11)

1. An equipment adding method is applied to a user side, and is characterized by comprising the following steps:
entering a selection state;
starting a first timer, wherein the first timer comprises first preset time;
and judging whether the equipment end in the adding state is selected and added within the first preset time, and the equipment end is selected and added into the user end within the second preset time of a second timer of the equipment end, if so, the adding is successful, the selecting state is exited, and if not, the adding is failed, and the selecting state is exited.
2. The device adding method according to claim 1, characterized by further comprising the steps of:
generating a classified device list in advance;
selecting the equipment side in an addable state in the equipment list.
3. The device adding method according to claim 1, wherein the first preset time is less than the second preset time.
4. A user terminal, the user terminal comprising:
a first entering unit for entering a selection state;
the device comprises a first starting unit, a second starting unit and a control unit, wherein the first starting unit is used for starting a first timer, and the first timer comprises first preset time;
the first judging unit is used for judging whether the equipment end in the adding state is selected and added within the first preset time or not, the equipment end is selected and added into the user end within the second preset time of the second timer, if yes, the adding is successful, the selecting state is exited, and if not, the adding is failed, and the selecting state is exited.
5. The user terminal of claim 4, wherein the user terminal further comprises:
a generation unit configured to generate a sorted device list in advance;
a selection unit for selecting the device side in an addable state in the device list.
6. The user end according to claim 5, wherein the first predetermined time is less than the second predetermined time.
7. An equipment adding method is applied to an equipment terminal, and is characterized by comprising the following steps:
entering an addable state;
starting a second timer, wherein the second timer comprises a second preset time;
and judging whether the equipment terminal is selected and added to the user terminal within the second preset time, selecting and adding the equipment terminal within the first preset time of the first timer of the user terminal, if so, successfully adding and exiting the adding state, and if not, failing to add and exiting the adding state.
8. The device adding method according to claim 7, further comprising the steps of:
acquiring a first time required for entering an addable state;
acquiring second time required by adding the time to the user side;
and setting the second preset time in a time interval from the second time to the sum of the first time and the second time.
9. An equipment side, comprising:
a second entering unit for entering an addable state;
the second starting unit is used for starting a second timer, and the second timer comprises second preset time;
and the second judging unit is used for judging whether the equipment terminal is selected and added to the user terminal within the second preset time, and the user terminal selects and adds the equipment terminal within the first preset time of the first timer of the user terminal, if so, the adding is successful, the adding state is exited, and if not, the adding is failed, and the adding state is exited.
10. The device side of claim 9, further comprising:
a first time acquisition unit for acquiring a first time required to enter an addable state;
a second time obtaining unit, configured to obtain a second time required for adding to the user side;
and the second preset time setting unit is used for setting the second preset time in a time interval from the second time to the sum of the first time and the second time.
11. A device addition system, characterized in that the device addition system comprises the user terminal according to any one of claims 4 to 6 and the device terminal according to claim 9 or 10.
CN201911256544.3A 2019-12-10 Equipment adding method, user side, equipment side and system Active CN111103806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911256544.3A CN111103806B (en) 2019-12-10 Equipment adding method, user side, equipment side and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911256544.3A CN111103806B (en) 2019-12-10 Equipment adding method, user side, equipment side and system

Publications (2)

Publication Number Publication Date
CN111103806A true CN111103806A (en) 2020-05-05
CN111103806B CN111103806B (en) 2024-06-04

Family

ID=

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55109985A (en) * 1979-02-15 1980-08-23 Fujitsu General Ltd Timer unit
US20040266443A1 (en) * 2003-06-30 2004-12-30 Takafumi Ito Radio communication device and a method for establishing radio connection
KR20130056036A (en) * 2011-11-21 2013-05-29 강릉원주대학교산학협력단 Method, apparatus, and computer-readable recording medium for identifying appliance, and power monitoring system
CN104993920A (en) * 2015-07-03 2015-10-21 上海斐讯数据通信技术有限公司 SNTP-based synchronization time method and SNTP client
CN105100049A (en) * 2015-05-27 2015-11-25 小米科技有限责任公司 Intelligent device quick connection based showing method and device
CN105446152A (en) * 2015-12-10 2016-03-30 宁波旭洲电子科技有限公司 Intelligent household installation and use method
CN105871666A (en) * 2016-03-23 2016-08-17 浙江风向标科技有限公司 Method and device for adding ZigBee device
CN105978761A (en) * 2016-04-22 2016-09-28 珠海格力电器股份有限公司 Smart home appointed adding method, smart home appointed adding device and terminal
CN106302059A (en) * 2016-10-21 2017-01-04 北京中天智汉科技有限责任公司 A kind of long-range control method for Smart Home and device
WO2017107425A1 (en) * 2015-12-23 2017-06-29 乐视控股(北京)有限公司 Method and device for controlling smart home appliance
WO2017162170A1 (en) * 2016-03-22 2017-09-28 珠海格力电器股份有限公司 Control method and device for smart home apparatus
CN108768803A (en) * 2018-05-28 2018-11-06 北京小米移动软件有限公司 Add the method, apparatus and storage medium of smart machine
CN109146101A (en) * 2018-07-11 2019-01-04 保山市质量技术监督综合检测中心 A kind of device reservation method and system
US20210091975A1 (en) * 2017-12-21 2021-03-25 Arris Enterprises Llc Method and system for gre tunnel control based on client activity detection

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55109985A (en) * 1979-02-15 1980-08-23 Fujitsu General Ltd Timer unit
US20040266443A1 (en) * 2003-06-30 2004-12-30 Takafumi Ito Radio communication device and a method for establishing radio connection
KR20130056036A (en) * 2011-11-21 2013-05-29 강릉원주대학교산학협력단 Method, apparatus, and computer-readable recording medium for identifying appliance, and power monitoring system
CN105100049A (en) * 2015-05-27 2015-11-25 小米科技有限责任公司 Intelligent device quick connection based showing method and device
CN104993920A (en) * 2015-07-03 2015-10-21 上海斐讯数据通信技术有限公司 SNTP-based synchronization time method and SNTP client
CN105446152A (en) * 2015-12-10 2016-03-30 宁波旭洲电子科技有限公司 Intelligent household installation and use method
WO2017107425A1 (en) * 2015-12-23 2017-06-29 乐视控股(北京)有限公司 Method and device for controlling smart home appliance
WO2017162170A1 (en) * 2016-03-22 2017-09-28 珠海格力电器股份有限公司 Control method and device for smart home apparatus
CN105871666A (en) * 2016-03-23 2016-08-17 浙江风向标科技有限公司 Method and device for adding ZigBee device
CN105978761A (en) * 2016-04-22 2016-09-28 珠海格力电器股份有限公司 Smart home appointed adding method, smart home appointed adding device and terminal
CN106302059A (en) * 2016-10-21 2017-01-04 北京中天智汉科技有限责任公司 A kind of long-range control method for Smart Home and device
US20210091975A1 (en) * 2017-12-21 2021-03-25 Arris Enterprises Llc Method and system for gre tunnel control based on client activity detection
CN108768803A (en) * 2018-05-28 2018-11-06 北京小米移动软件有限公司 Add the method, apparatus and storage medium of smart machine
CN109146101A (en) * 2018-07-11 2019-01-04 保山市质量技术监督综合检测中心 A kind of device reservation method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
秦利红;秦会斌;诸坚彬;曹曙光;: "基于Android平台智能家居客户端的设计与实现", 计算机应用与软件, no. 09, 15 September 2016 (2016-09-15) *
黄志涛;: "基于物联网的智能家居系统应用研究", 通讯世界, no. 22, 25 November 2015 (2015-11-25) *

Similar Documents

Publication Publication Date Title
CN108693779B (en) Intelligent household control system and method
EP3016082A1 (en) Smart device control method and apparatus based on predefined scenario mode
CN108141394A (en) Including being used to terminate the domestic automation system and correlation technique with the safety governor of the communication of the addressable device of abnormal operation
CN110287937A (en) Equipment state reminding method, control equipment and the control system of knowledge based map
CN104170400A (en) Control method
CN104009898A (en) Household appliance and control method and device thereof
CN106054675A (en) Electrical appliance, and voice control method and voice control device thereof
CN105242558B (en) Control method, equipment, household electrical appliance and the client device of household electrical appliance
CN110836405B (en) Linkage control method and system and intelligent range hood
CN108431711A (en) Apparatus monitors and controls
CN107293082A (en) Smart home detection combustion gas uses the method and apparatus of security alarm
CN109426191A (en) Cooking appliance, data processing method and system thereof, storage medium and processor
CN107911267A (en) Intelligent appliance information display position method of adjustment and device
CN110308663B (en) Intelligent household control system and control method thereof
CN105240880A (en) Method for controlling microwave oven, controller and microwave oven
CN108255091B (en) Control method and device
CN108470132A (en) A kind of reminding method and electronic display unit
CN111103806B (en) Equipment adding method, user side, equipment side and system
CN109358530B (en) Control device and household appliance
CN115167164A (en) Method and device for determining equipment scene, storage medium and electronic device
CN111103806A (en) Equipment adding method, user side, equipment side and system
CN104146584A (en) Control method and system of cooker, cooker and terminal
CN106707978A (en) Method of transferring intelligent household control right through address book and the address book
CN105759623A (en) Noise control method and apparatus
JP5812307B2 (en) Power socket and electrical event detection method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant