CN114089643B - Control method and system of intelligent equipment and storage medium - Google Patents

Control method and system of intelligent equipment and storage medium Download PDF

Info

Publication number
CN114089643B
CN114089643B CN202210082493.2A CN202210082493A CN114089643B CN 114089643 B CN114089643 B CN 114089643B CN 202210082493 A CN202210082493 A CN 202210082493A CN 114089643 B CN114089643 B CN 114089643B
Authority
CN
China
Prior art keywords
state
sensor
state data
preset
smart device
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
CN202210082493.2A
Other languages
Chinese (zh)
Other versions
CN114089643A (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.)
Yunding Network Technology Beijing Co Ltd
Original Assignee
Yunding Network Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yunding Network Technology Beijing Co Ltd filed Critical Yunding Network Technology Beijing Co Ltd
Priority to CN202210082493.2A priority Critical patent/CN114089643B/en
Publication of CN114089643A publication Critical patent/CN114089643A/en
Application granted granted Critical
Publication of CN114089643B publication Critical patent/CN114089643B/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], 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]

Abstract

The embodiment of the specification provides a control method of intelligent equipment. The control method for installing the intelligent equipment comprises the following steps: acquiring a first state data sequence of intelligent equipment during initial operation; judging whether a preset condition is met or not based on the first state data sequence; in response thereto, generating a first control instruction of the smart device based on the first state data sequence; responding to the judgment, controlling the intelligent equipment to execute a preset operation scheme, and acquiring a second state data sequence of the intelligent equipment at a first non-initial time point; generating a second control instruction based on the second state data sequence; wherein the first state data sequence and the second state data sequence have at least one different state variable.

Description

Control method and system of intelligent equipment and storage medium
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method and a system for controlling an intelligent device.
Background
With the rapid development of science and technology, various intelligent devices are developed and widely used by people. However, whether the smart device can operate normally, for example, whether the corresponding control instruction can be executed, depends on whether the operation of the smart device can be confirmed.
Therefore, it is desirable to have a more reliable method for controlling smart devices through analysis of data.
Disclosure of Invention
One of embodiments of the present specification provides a method for controlling an intelligent device, including: acquiring a first state data sequence of intelligent equipment during initial operation; judging whether a preset condition is met or not based on the first state data sequence; in response thereto, generating a first control instruction for the smart device based on the first sequence of state data; responding to the judgment, controlling the intelligent equipment to execute a preset operation scheme, and acquiring a second state data sequence of the intelligent equipment at a first non-initial time point; generating a second control instruction based on the second state data sequence; wherein the first state data sequence and the second state data sequence have at least one different state variable.
One of embodiments of the present specification provides a control system for an intelligent device, including: the processing module is used for acquiring a first state data sequence of the intelligent equipment during initial operation; judging whether a preset condition is met or not based on the first state data sequence; in response thereto, generating a first control instruction for the smart device based on the first sequence of state data; responding to the judgment, controlling the intelligent equipment to execute a preset operation scheme, and acquiring a second state data sequence of the intelligent equipment at a first non-initial time point; generating a second control instruction based on the second state data sequence; wherein the first state data sequence and the second state data sequence have at least one different state variable.
One of the embodiments of the present specification provides a computer-readable storage medium, where the storage medium stores computer instructions, and when a computer reads the computer instructions in the storage medium, the computer executes a control method of the intelligent device.
Drawings
The present description will be further explained by way of exemplary embodiments, which will be described in detail by way of the accompanying drawings. These embodiments are not intended to be limiting, and in these embodiments like numerals are used to indicate like structures, wherein:
FIG. 1 is a diagram of an application scenario for a control system for a smart device, according to some embodiments of the present description;
FIG. 2 is an exemplary flow chart of a method of controlling a smart device according to some embodiments of the present description;
FIG. 3 is an exemplary block diagram of a smart device shown in accordance with some embodiments of the present description;
FIG. 4A is an exemplary flow chart of a method of controlling a smart device according to some embodiments of the present description;
FIG. 4B is an exemplary flow chart of a method of controlling a smart device according to some embodiments of the present description;
fig. 5 is an exemplary flow chart illustrating an opportunity to trigger a control method of a smart device according to some embodiments of the present description.
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only examples or embodiments of the present description, and that for a person skilled in the art, the present description can also be applied to other similar scenarios on the basis of these drawings without inventive effort. Unless otherwise apparent from the context, or otherwise indicated, like reference numbers in the figures refer to the same structure or operation.
It should be understood that "system", "apparatus", "unit" and/or "module" as used herein is a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, other words may be substituted by other expressions if they accomplish the same purpose.
As used in this specification and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural, unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that steps and elements are included which are explicitly identified, that the steps and elements do not form an exclusive list, and that a method or apparatus may include other steps or elements.
Flow charts are used in this description to illustrate operations performed by a system according to embodiments of the present description. It should be understood that the preceding or following operations are not necessarily performed in the exact order in which they are performed. Rather, the various steps may be processed in reverse order or simultaneously. Meanwhile, other operations may be added to the processes, or a certain step or several steps of operations may be removed from the processes.
Fig. 1 is a schematic diagram of an application scenario of a control system of a smart device according to some embodiments of the present description. As shown in fig. 1, an application scenario 100 of a control system of a smart device may include a server 110, a storage device 130, a smart device 140, a network 150, and a terminal 160.
The server 110 may be used to manage resources and process data and/or information from at least one component of the application scenario 100 or an external data source (e.g., a cloud data center). In some embodiments, the server 110 may retrieve from the storage device 130 data and/or information related to the control of the smart device, such as a first sequence of state data, a first control instruction, etc., for performing the operations shown in some embodiments herein.
In some embodiments, the server 110 may include a processing engine 120. The processing engine 120 may process information and/or data related to the control of the smart device to perform one or more functions described herein. For example, the processing engine may determine whether a preset condition is satisfied based on the first state data sequence.
Storage device 130 may store data and/or instructions. In some embodiments, the storage device may store data obtained from the smart device, such as the time of movement of the drive component, and the like. In some embodiments, the storage device may store data and/or instructions used by the server to perform or use to perform the exemplary methods described in this specification, e.g., smart device installation status, sensor status data, etc.
In some embodiments, a storage device may be connected to the network 150 to communicate with one or more components of the application scenario (e.g., server 110, smart device 140). One or more components of the application scenario may access data or instructions stored in a storage device via a network. In some embodiments, the storage device may be directly connected to or in communication with one or more components of the application scenario (e.g., server 110 and smart device 140). In some embodiments, the storage device may be part of a server. In some embodiments, the storage device may be integrated in a smart device.
The smart device 140 may implement various operations and/or functions in accordance with the instructions. In some embodiments, the smart device 140 may include a smart combination lock 140-1, a smart window covering 140-2, a smart toilet 140-3, and the like. In some embodiments, the smart device 140 may communicate with one or more components of the application scenario 100 (e.g., server 110, storage 130) over the network 150.
The network 150 may facilitate the exchange of information and/or data. In some embodiments, one or more components of the application scenario (e.g., server 110, storage 130, smart device 140) may send information and/or data to other components of the application scenario via network 150. For example, the server 110 may obtain sensor status data of the smart device 140 via the network 150. As another example, server 110, smart device 140 may retrieve data and/or information from storage device 130 and/or write data and/or information to storage device 130 via network 150.
The terminal 160 may be used to receive and/or transmit information and/or data. In some embodiments, the terminal 160 may include a mobile device 160-1, a tablet computer 160-2, a laptop computer 160-3, or the like, or any combination thereof. In some embodiments, at least one terminal 160 may be in communication with and/or connected to server 110, processing engine 120, and/or storage 130. For example, the user may view the installation status of the smart device 140 through the at least one terminal 160.
In some embodiments, a control system of a smart device may include a processing module.
The processing module can be used for acquiring a first state data sequence of the intelligent equipment during initial operation; judging whether a preset condition is met or not based on the first state data sequence; in response thereto, generating a first control instruction for the smart device based on the first sequence of state data; responding to the judgment, controlling the intelligent equipment to execute a preset operation scheme, and acquiring a second state data sequence of the intelligent equipment at a first non-initial time point; generating a second control instruction based on the second state data sequence; wherein the first state data sequence and the second state data sequence have at least one different state variable. Further details regarding the processing modules may be found elsewhere in this specification (e.g., fig. 2, 4, 5, and their associated description).
It should be noted that the above description of the system and its modules is for convenience only and should not limit the present disclosure to the illustrated embodiments. It will be appreciated by those skilled in the art that, given the teachings of the present system, any combination of modules or sub-system configurations may be used to connect to other modules without departing from such teachings. For example, each module may share a storage device, and each module may have its own storage device. Such variations are within the scope of the present disclosure.
Fig. 2 is an exemplary flow chart of a method of controlling a smart device according to some embodiments of the present description. As shown in fig. 2, the process 200 includes the following steps. In some embodiments, flow 300 may be performed by a processing module.
Step 210, acquiring a first state data sequence of the intelligent device during initial operation.
In some embodiments, the smart device may be provided with a sensor. For example, smart devices may be provided with resistive sensors, inductive sensors, capacitive sensors, magnetic field sensors (e.g., hall sensors), and the like. The sensor is a device which can sense the measured information and convert the sensed information into an electric signal or other information in a required form according to a certain rule to output so as to meet the requirements of information transmission, processing, storage, display, recording, control and the like.
In some embodiments, the smart device may be provided with at least three sensors. For example, a first sensor, a second sensor, and a third sensor, with the second sensor being located intermediate the first sensor and the third sensor. In some embodiments, the sensor may be a hall sensor. For more details about the sensor, reference may be made to fig. 3 and its description.
In some embodiments, the smart device may be provided with one or more driving components and one or more moving components, and the movement of the one or more driving components may control the one or more moving components to move, so as to implement various operations and/or functions of the smart device.
For the purpose of illustration, the smart device is described as being provided with one driving component and one moving component. For example, for an intelligent coded lock, the driving part can be a motor, the moving part can be a bolt, and the bolt can be controlled to move through the movement of the motor so as to realize locking and unlocking. For another example, for an intelligent curtain, the driving component may be a motor, the moving component may be a hanging ring, and the hanging ring may be controlled to move by the movement of the motor, so as to open and close the curtain. For another example, for an intelligent closestool, the driving part can be a motor, the moving part can be a lock tongue, and the rotating shaft can be controlled to move through the movement of the motor so as to open and close the cover.
The drive member and the moving member may be moved in a variety of ways, e.g., moved, rotated, etc. The movement of different parts needs to be described according to different movement modes, for example, the movement of the motor and the rotating shaft can be described by rotation, and the movement of the bolt and the hanging ring can be described by movement. For the purpose of explanation, the following description will take an example in which the smart device is a smart combination lock, the moving part is a lock tongue, and the driving part is a motor.
The first state data sequence may refer to a data sequence representing position information of at least one moving part of the smart device. The position information of the moving part may refer to information related to a position where the moving part is located in the smart device. The data sequence is a sequence in which data is arranged according to a certain rule. For example, for a smart combination lock, the first state data sequence may refer to a data sequence representing position information of the deadbolt. For another example, for a smart window covering, the first state data sequence may refer to a data sequence representing position information of the hanging ring. For another example, for an intelligent toilet, the first state data sequence may refer to a data sequence for indicating position information of the spindle. In some embodiments, the first sequence of status data may include sensor status data.
Sensor status data may refer to data when a sensor is in a certain state. For example, the sensor status data may include data when the sensor is in an operational state. In some embodiments, the sensor status data may include an operating status of a plurality of sensors in the smart device. The operating state refers to the state that the sensor is in during operation.
In some embodiments, the operating state may include at least one of a triggered state and an untriggered state. The trigger state refers to the state in which the sensor is triggered. For example, the trigger state may be the state that the hall sensor is in when the hall voltage is greater than the hall voltage required to trigger the sensor. The non-triggered state refers to the state in which the sensor is not triggered.
In some embodiments, the operational status, the triggered status, and the non-triggered status of the sensor may be indicated by a number of means, such as words, numbers, and the like. For example, the triggered state may be represented by "0", the non-triggered state may be represented by "1", and if the operating state of a certain sensor is the triggered state, the operating state of the sensor may be represented by "0".
In some embodiments, the first state data sequence may be arranged by the sensor state data according to a preset rule. The preset rule may include a plurality of sorting manners, for example, the preset rule may refer to sorting according to the sorting order of the sensors, for example, if three sensors are sequentially sorted in the order from left to right, the first status data sequence from left to right may be sequentially represented as the sensor status data of the three sensors. For another example, the preset rule may indicate that the sensors are arranged according to priorities from high to low, for example, if two sensors are arranged in order from left to right, and the priority of the right sensor is higher than that of the left sensor, the first status data sequence may be represented as the sensor status data of the right sensor and the sensor status data of the left sensor from left to right in sequence. The preset rules may also be expressed in other orders (e.g., sensitivity of the sensor, etc.).
The processing engine may acquire the first state data sequence in a variety of ways, for example, determining the first state data sequence based on the acquired sensor state data. For example, the processing engine may access the storage device to obtain the sensor state data and determine the first sequence of state data. For another example, the processing engine may access the sensor to obtain sensor status data and determine the first sequence of status data.
Step 220, based on the first state data sequence, determining whether a preset condition is satisfied.
The preset condition may refer to a variety of conditions set in advance. In some embodiments, the preset condition may include whether the sensor status data satisfies that one or more sensors are in a triggered state or an untriggered state. In some embodiments, the preset condition may include the sensor status data not satisfying the second sensor being a triggered status or the first sensor, the second sensor, and the third sensor being all non-triggered status. In some embodiments, the preset condition may be set empirically.
In some embodiments, the processing engine may compare the first state data sequence with a preset condition to determine whether the preset condition is satisfied. In some embodiments, the processing engine may perform step 230 based on the first sequence of state data satisfying a preset condition. In some embodiments, the processing engine may perform step 240 based on the first sequence of state data not satisfying a preset condition.
In response thereto, a first control instruction for the smart device is generated based on the first state data sequence, step 230.
The first control instruction may be an instruction indicating a control manner of the apparatus. The device control mode may represent a control direction or a control position of the smart device; for example, the first control command may include controlling a direction of rotation of the motor, controlling a direction of rotation of the shaft, controlling a distance of movement of the bolt, controlling a distance of movement of the bail, and the like.
In some embodiments, the processing engine may generate a first control instruction for a control direction of the smart device based on the first sequence of state data. For example, the processing engine may generate a first control instruction to control a rotational direction of a motor of the smart combination lock based on the first sequence of state data. For another example, the processing engine may generate a first control instruction to control a rotational direction of a motor of the smart window covering based on the first sequence of state data. For another example, the processing engine may generate a first control instruction to control a rotational direction of a motor and/or a spindle of the smart toilet based on the first state data sequence.
In some embodiments, the processing engine may generate a first control instruction for a control location of the smart device based on the first sequence of state data. For example, the processing engine may generate a first control instruction to control a distance of movement of a deadbolt of the smart combination lock based on the first sequence of state data. For another example, the processing engine may generate a first control instruction to control a movement distance of a hanging ring of the smart window covering based on the first state data sequence. For more details regarding the generation of the first control instruction of the smart device, reference is made to fig. 4 and its description.
And step 240, in response to no, controlling the intelligent device to execute a preset operation scheme, and acquiring a second state data sequence of the intelligent device at the first non-initial time point.
The preset operation scheme may refer to an operation scheme of the device set in advance. In some embodiments, the preset operating scheme may include controlling the drive member to move in a preset direction.
The preset direction may refer to a prescribed direction. E.g. to the left or to the right with respect to a certain sensor.
The first non-initial time point may refer to other time points than the initial time point. For example, if the initial time point is a, the first non-initial time point may be B.
The second state data sequence may refer to a data sequence for representing motion information of a driving part and/or a moving part of the smart device. The motion information may include, but is not limited to, time of motion, distance of motion, and the like. In some embodiments, the second state data sequence may include motion time of the drive component and/or sensor state data. The movement time of the driving part may refer to a time from the start of the movement to the end of the movement of the driving part. Still taking the above example as an example, the driving part is a motor, the moving mode of the driving part is rotation, and then the moving time of the driving part may refer to the time from the start of rotation to the stop of rotation of the motor.
The arrangement of the second state data sequence is similar to that of the first state data sequence, and is not described herein again.
In some embodiments, the processing engine may control the smart device to execute a preset operation scheme to obtain a second state data sequence of the smart device at a first non-initial time point. For example, the processing engine may control the motor of the smart combination lock to rotate left relative to a certain sensor, and obtain the rotation time and/or sensor state data of the motor of the smart combination lock at time point B. For another example, the processing engine may control the motor of the smart window shade to rotate to the right relative to a certain sensor, and acquire the rotation time of the motor of the smart window shade at the time point B and/or the sensor state data. For another example, the processing engine may control the motor of the intelligent toilet to rotate left relative to a certain sensor, and acquire the rotation time of the motor of the intelligent toilet at the time point B and/or the sensor state data.
At step 250, a second control instruction is generated based on the second state data sequence.
The second control instruction may refer to an instruction different from the first control instruction. The second control instruction may also be an instruction indicating the way the device is controlled, similar to the first control instruction. For a description of the instruction for instructing the apparatus control manner, reference is made to the description of the first control instruction.
In some embodiments, the second control instruction may include a confirmation instruction of the installation state of the smart device. In some embodiments, the second control instructions may further include operational instructions. The operation instruction may refer to an instruction to be executed by the operation device. In some embodiments, the processing engine may generate different operational instructions based on different smart device installation states.
The confirmation instruction of the installation state of the smart device may refer to an instruction for determining the installation state of the smart device.
The installation state of the smart device may refer to a state (e.g., an installation direction, an installation position, etc.) of the smart device after the installation of the smart device is completed. For example, if the intelligent combination lock is installed, in which the motor is not located in the lock body (e.g., a backpack motor), the installation state of the intelligent device may refer to a rotation direction of the motor and/or a movement direction of the lock tongue during locking and/or unlocking. For example, after the installation of the smart window covering is completed, the installation state of the smart device may refer to a rotation direction of the motor and/or a moving direction of the hanging ring when the window covering is opened and/or closed. For another example, after the intelligent toilet is installed, the installation state of the intelligent device may refer to a rotation direction of the motor and/or a rotation direction of the rotating shaft when the cover is opened and/or closed. For illustration purposes, the following description will take the installation direction of the smart device after the installation of the smart device is completed as an example. For example, for a smart combination lock, the smart device installation state may refer to the rotational direction of the motor when locked and/or unlocked. For another example, for a smart window covering, the smart device installation state may refer to the rotational direction of the motor when the window covering is opened and/or closed. For another example, for a smart toilet, the installation state of the smart device may refer to the rotation direction of the motor and/or the rotating shaft when the cover is opened and/or closed.
In some embodiments, the smart device installation status includes at least one of: the abnormal state and the non-abnormal state, the non-abnormal state includes at least a first state and a second state.
An abnormal state may refer to a state in which the smart device is unable to operate as standard. The standard may refer to a constraint condition set manually when the smart device leaves a factory. For example, when the intelligent coded lock is locked, the motor rotates 10 degrees to the left or right, and the motor should rotate 90 degrees to the left or right, which is not manually set at the time of factory shipment, so that the state of the intelligent coded lock at this time can be regarded as an abnormal state, and when the intelligent coded lock is locked, the motor should rotate 90 degrees to the left or right as a standard. For another example, when the intelligent toilet is opened, the rotating shaft rotates by less than an angle specified in the standard (e.g., the rotating shaft should rotate by 90 degrees), and at this time, the state of the intelligent toilet is an abnormal state. For another example, when the intelligent curtain is pulled open, the motor rotates by an angle that is not equal to the angle specified in the standard (e.g., the rotating shaft should rotate by 90 degrees), and at this time, the state of the intelligent curtain is an abnormal state.
A non-exception state may refer to a state in which the smart device may operate as standard. Still taking the above example as an example, when the intelligent combination lock is locked, the motor rotates 90 degrees to the left or the right, and the state of the intelligent combination lock at this time can be regarded as a non-abnormal state. For another example, when the intelligent closestool is opened, the motor rotates 90 degrees leftwards or rightwards, and then the state of the intelligent closestool can be regarded as a non-abnormal state. For another example, when the intelligent curtain is pulled open, the rotation angle of the motor is 90 degrees, and the state of the intelligent curtain at this time can be regarded as a non-abnormal state.
In some embodiments, the non-exception state may include a first state and a second state. The first state may refer to the situation where the drive member needs to move to a position specified by a standard while the smart device is operating. For example, when the intelligent combination lock is locked, the motor needs to turn left to reach a position (e.g., a position where the first sensor is located) specified by a standard. For another example, when the smart window shade is pulled open, the motor needs to turn left to reach a position (e.g., a position where the first sensor is located) specified by a standard. The second state may refer to the situation where the drive member needs to move to another position as specified by the standard while the smart device is operating. For example, when the intelligent combination lock is locked, the motor needs to rotate to the right to another position (for example, the position of the third sensor) meeting the standard specification. For another example, when the intelligent toilet is opened, the motor needs to turn right to another position (e.g., the position of the third sensor) meeting the standard specification.
It should be noted that "turn left" and "turn right" in this specification are relative, for example, taking fig. 3 as an example, if the first sensor 310 is triggered, the motor needs to turn left relative to the second sensor 320, and in this case, it can be understood that the motor rotates counterclockwise (or rotates toward the first sensor 310); if the third sensor 330 is triggered, the motor needs to rotate to the right relative to the second sensor 320, and in this case, the motor can be understood as rotating clockwise (or rotating towards the third sensor 330). For more details regarding the first sensor 310, the second sensor 320, and the third sensor 330, reference is made to fig. 3 and its description.
In some embodiments, the first state may refer to a sensor triggered by movement of the drive component while the smart device is running. For example, when the intelligent coded lock is locked, the motor rotates left to trigger only the first sensor. For another example, when the smart window shade is opened, the motor rotates left to trigger only the first sensor. In some embodiments, the second state may refer to a sensor triggered by movement of the drive component while the smart device is operating. For example, when the intelligent coded lock is locked, the motor rotates to the right to trigger only the third sensor. For another example, when the intelligent closestool is opened, the motor rotates to the right to trigger the third sensor. Still taking the representation method in the above example as an example, the sensor state data of the first state may be represented as "011", and the sensor state data of the second state may be represented as "110".
In some embodiments, the first state data sequence and the second state data sequence have at least one different state variable. For example, if the first state data sequence is "111", the second state data sequence may be different from "111", e.g., the second state data sequence may be "011", "101", etc.
In some embodiments, generating the second control instruction based on the second state data sequence may include confirming the smart device installation state based on an operating state of at least one sensor in the acquired sensor state data sequence. In some embodiments, the sensor status data sequence may be formed by arranging the sensor status data according to a preset rule. The preset rule is similar to the preset rule, and is not described herein again.
In some embodiments, the processing engine may confirm the installation status of the smart device based on a comparison of the operational status of at least one sensor in the acquired sensor status data sequence with a preset rule. The preset rule may refer to which smart device installation state the prescribed sensor state data corresponds to.
In some embodiments, the processing engine may confirm the smart device installation status based on whether the operational status of at least one sensor in the acquired sensor status data sequence is present in a preset rule. The preset rules may include: when the sensor state data is 011, the corresponding intelligent equipment installation state is a first state; and when the sensor state data is '110', the corresponding intelligent equipment installation state is a second state.
For example, if the processing engine determines that the installation state of the smart device can be confirmed based on the fact that the acquired sensor state data sequence "011" exists in the preset rule. For another example, if the processing engine does not exist in the preset rule based on the acquired sensor state data sequence "111", it is determined that the installation state of the smart device cannot be confirmed. For more details on confirming the installation status of the smart device, reference may be made to fig. 4 and its description.
For illustration purposes, the following description will take the smart device as an example of a smart combination lock.
Fig. 3 is an exemplary block diagram of a partial structure of an intelligent combination lock 300, according to some embodiments of the present description.
The smart combination lock 300 may include a plurality of sensors. In some embodiments, the sensors may be arranged in a variety of ways. For example, the sensors may be arranged on a circle and at different positions at the same distance from the center of the circle (as shown in fig. 3), or at different positions at different distances from the center of the circle, so as to ensure that the processing engine can obtain the sensor status data according to the operating status of the sensors. For example, the plurality of sensors may be arranged in other shapes such as a rectangle and a square. In some embodiments, the smart combination lock may be provided with at least three sensors, which are, for example, a first sensor 310, a second sensor 320, and a third sensor 330, and the sensors of the smart combination lock 300 are arranged on a circle and arranged at different positions with the same distance from the center of the circle. The first sensor 310 and the third sensor 330 are respectively located at two sides of the second sensor 320. In practice, the number of sensors may be increased appropriately, such as one or more sensors between the first sensor and the second sensor and between the second sensor and the third sensor.
In this embodiment, the first sensor is located on the left side of the second sensor, when the driving component is a motor and the driving component moves in a rotating manner, the first sensor can be understood as rotating in the counterclockwise direction of the second sensor, and similarly, the third sensor is located on the right side of the second sensor, and the third sensor can be understood as rotating in the clockwise direction of the second sensor.
As shown in fig. 3, the sensors of the intelligent combination lock may further include a fourth sensor 340 positioned between the first sensor 310 and the second sensor 320, and a fifth sensor 350 positioned between the second sensor 320 and the third sensor 330. In some embodiments, the fourth sensor and the fifth sensor are of a different type than the first sensor, the second sensor, and the third sensor. For example, if the types of the first sensor, the second sensor, and the third sensor are magnetic field sensors, the types of the fourth sensor and the fifth sensor should be selected to be other types of sensors different from the magnetic field sensors. In some embodiments, the operating states of the fourth and fifth sensors may include a triggered state and a non-triggered state.
The working state of the intelligent coded lock refers to the state of the intelligent coded lock during operation. In some embodiments, the operational state of the intelligent combination lock may include an unlocked state and a locked state. In some embodiments, the processing engine may determine an operational state of the smart combination lock.
The unlocking state refers to a state of the intelligent coded lock when the intelligent coded lock is unlocked, for example, a state of a bolt when the bolt is in an unlocking position. If the second sensor is a sensor for detecting whether the lock tongue is in the unlocking position and is triggered when the lock tongue is in the unlocking position, the processing engine may determine that the intelligent coded lock is in the unlocking state if the second sensor is in the triggering state when the installation state of the intelligent coded lock is in the non-abnormal state.
The locking state refers to the state of the intelligent coded lock when the intelligent coded lock is locked. For example, the bolt is in a locked position. If the first sensor is a sensor for detecting whether the lock tongue is in a preset locking position and the lock tongue is triggered when the lock tongue is in the preset locking position, if the first sensor is in the triggering state when the installation state of the intelligent coded lock is in the non-abnormal state, the processing engine may determine that the intelligent coded lock is in the locking state.
In some embodiments, the fourth sensor 340 and the fifth sensor 350 may be used to control manual unlocking. For example, if the installation state of the smart combination lock is the first state, the smart combination lock is in the locked state, and the operation state of the fourth sensor is the trigger state, the user can manually unlock the smart combination lock by using a key, a door handle, or other foreign object. For example, if the installation state of the smart code lock is the second state, the smart code lock is in the locked state, and the operation state of the fifth sensor is the trigger state, the user can manually unlock the smart code lock using a foreign object such as a key or a door handle.
In some embodiments, the processing engine may determine the operating state of the smart combination lock and/or the installation state of the smart combination lock based on the operating states of the various sensors when the installation state of the smart combination lock is a non-abnormal state.
Correspondingly, when the installation state of the intelligent coded lock is a non-abnormal state, the processing engine can determine the working state of the sensor based on the working state of the intelligent coded lock. For example, when the installation state of the smart combination lock is a non-abnormal state, the processing engine may determine that the operating state of the second sensor 320 is a trigger state based on the operating state of the smart combination lock being an unlocked state. For another example, the processing engine may determine that the operating state of the first sensor 310 is the trigger state based on that the operating state of the intelligent combination lock is the locked state and the installation state of the intelligent combination lock is the first state; as another example, the processing engine may determine that the operating state of the third sensor 330 is the trigger state based on the operating state of the smart combination lock being the locked state and the installation state of the smart combination lock being the second state.
In some embodiments, the motor of the intelligent combination lock can realize clutch closing and clutch releasing. For example, the motor needs to close the clutch in the whole process of driving the lock tongue to move so as to realize automatic unlocking and automatic locking. For another example, when the operation state of the first sensor 310 is the trigger state or the operation state of the third sensor 330 is the trigger state, the motor needs to be disengaged. In some embodiments, when the operating state of the first sensor 310 is the trigger state (or the operating state of the third sensor 330 is the trigger state), the motor of the smart combination lock needs to rotate to the position of the fourth sensor 340 (or the fifth sensor 350) in the opposite direction and trigger the fourth sensor 340 (or the fifth sensor 350) to disengage again, so as to allow the user to manually unlock the smart combination lock by using a key, a door handle, or other foreign objects.
Fig. 4A and 4B are exemplary flowcharts of a method of controlling a smart device according to some embodiments of the present description. As shown in fig. 4, the process 400 includes the following steps. In some embodiments, flow 400 may be performed by a processing module.
In some embodiments, the processing engine may generate a first control instruction for the smart device based on the first sequence of state data.
The processing engine may further determine, according to the sensor state data, that the installation state of the smart device is the first state or the second state, specifically as follows:
in some embodiments, the processing engine may confirm the smart device installation status according to whether the currently acquired sensor status data is the trigger status of only the first sensor 310 or the trigger status of only the third sensor 330.
In some embodiments, after determining that the preset condition is satisfied based on the first state data sequence, the processing engine may confirm that the installation state of the smart device is the first state if the processing engine further determines that the sensor state data is only the first sensor in the trigger state. Still taking the above example as an example, the sensor state data in the first state may be represented as "011". In some embodiments, after determining that the predetermined condition is satisfied based on the first state data sequence, the processing engine may confirm that the smart device installation state is the second state if the processing engine further determines that the sensor state data is the trigger state only for the third sensor. Still taking the above example as an example, the sensor state data in the second state may be represented as "110".
In some embodiments, the processing engine may determine that the smart device installation status is not confirmable based on the currently acquired sensor status data. In some embodiments, the processing engine may determine that the smart device installation status is not identifiable based on the acquired sensor status data being that only the second sensor 320 is in the triggered state or that the first sensor 310, the second sensor 320, and the third sensor 330 are all in the non-triggered state. Still taking the above example as an example, the sensor status data that only the second sensor 320 is in the triggered status may be denoted as "101", and the first sensor 310, the second sensor 320, and the third sensor 330 are all in the non-triggered status may be denoted as "111".
Fig. 4A and 4B show a specific smart device installation state determination process 400 when it is determined that the preset condition is not satisfied based on the first state data sequence.
In some embodiments, the processing engine may set preset requirements and determine the smart device installation status based on satisfaction of the preset requirements.
In some embodiments, the processing engine may set one or more preset requirements. In some embodiments, the processing engine may set a first preset requirement and a second preset requirement. The first preset requirement and the second preset requirement can be set in various ways such as a threshold value, an interval and the like. For example, a first preset requirement may be that the movement distance of the moving part of the smart device is less than a threshold value, and a second preset requirement may be that the first sensor is in a trigger state. In some embodiments, the first preset requirement may be set such that the movement time of the drive member exceeds a first threshold. For example, taking the smart device as a smart combination lock, the first preset requirement may be set to the time for the motor to rotate exceeding a first threshold (e.g., 3 seconds). The value of the first threshold value needs to be more than or equal to the time required for the motor to drive the lock tongue to rotate from the position of the second sensor to the position of the first sensor or the third sensor. In some embodiments, the second predetermined requirement may be set to change the operating state of any one of the plurality of sensors from the un-triggered state to the triggered state.
In some embodiments, the processing engine may determine whether the preset requirement is satisfied based on the acquired movement time of the driving part and/or the sensor state data. In some embodiments, the processing engine may obtain the movement time of the drive component in a variety of ways. For example by a timer or the like. The manner in which the sensor status data is obtained may be seen at step 210.
In some embodiments, the processing engine may control the drive component to stop moving based on either of the first preset requirement or the second preset requirement being met. In some embodiments, the processing engine may confirm the smart device installation status based on the preset requirements being met.
If the processing engine determines that the installation state of the smart device cannot be confirmed according to the sensor state data after the smart device is installed, and the sensor state data indicates that the first sensor, the second sensor, and the third sensor are all in the non-triggered state, the processing engine executes step 410.
And step 410, controlling the driving part to move in a preset direction.
In some embodiments, the processing engine may control the motor to rotate in a preset direction (e.g., clockwise or counterclockwise) based on the sensor status data being in an unfired state when the installation status of the smart device is determined not to be confirmed, acquire the rotation time of the motor and/or the sensor status data, and then execute step 412.
In step 412, it is determined whether the first predetermined requirement is satisfied. In some embodiments, the first preset requirement may be that the movement time of the drive member exceeds a first threshold.
In some embodiments, the processing engine may determine whether the first predetermined requirement is satisfied by comparing with the first predetermined requirement. In some embodiments, the processing engine may perform step 414 based on a yes determination. In some embodiments, the processing engine may perform step 416 based on a negative determination.
And step 414, stopping the driving part to move, wherein the installation state of the intelligent equipment is an abnormal state.
In some embodiments, the processing engine may control the motor to stop rotating based on the first preset requirement being met, and determine that the installation state of the smart device is an abnormal state.
In step 416, it is determined whether the second predetermined requirement is satisfied.
In some embodiments, the processing engine may determine whether the second predetermined requirement is satisfied by comparing with the second predetermined requirement. In some embodiments, the processing engine may perform step 418 based on the determination being yes. In some embodiments, the processing engine may return to continue with step 410 based on a negative determination.
And 418, stopping the driving component to move, and obtaining the installation state of the intelligent equipment based on the preset direction and the sensor state data. As shown in fig. 4A, step 418 includes the following steps.
It should be noted that, the driving component is taken as a motor, and the movement mode of the driving component is taken as rotation, in this case, the preset direction in the following may be understood as a counterclockwise direction toward the first sensor, and the preset direction in the following may be understood as a clockwise direction toward the third sensor. It is to be understood that the driving member is not limited to a motor, and the movement of the driving member may be a movement, in which case the predetermined direction hereinafter may be interpreted as a left direction toward the first sensor and a right direction toward the third sensor.
In step 4181, if the preset direction is toward the first sensor and the operating state of the first sensor is changed to the triggering state, the installation state of the smart device is the first state.
In some embodiments, the processing engine may determine the smart device installation status based on the preset orientation being the orientation of the first sensor and the operating status of the first sensor. In some embodiments, the processing engine may determine that the smart device installation state is the first state based on the preset direction being toward the first sensor (e.g., counterclockwise) and the operating state of the first sensor changing to the trigger state.
In step 4182, if the preset direction is toward the first sensor and the operating state of the second sensor is changed to the triggering state, the installation state of the smart device is the second state.
In some embodiments, the processing engine may determine the smart device installation status based on the preset orientation being the orientation of the first sensor and the operating status of the second sensor. In some embodiments, the processing engine may determine that the smart device installation status is the second status based on the preset direction being toward the first sensor (e.g., counterclockwise) and the operating status of the second sensor changing to the trigger status.
In step 4183, if the preset direction is toward the third sensor and the operating state of the second sensor is changed to the trigger state, the smart device installation state is the first state.
In some embodiments, the processing engine may determine the smart device installation status based on the preset orientation being the orientation of the third sensor and the operating status of the second sensor. In some embodiments, the processing engine may determine that the smart device installation state is the first state based on the preset direction being toward the third sensor (e.g., clockwise) and the operating state of the second sensor changing to the trigger state.
In step 4184, if the preset direction is toward the third sensor and the operating state of the third sensor is changed to the triggering state, the smart device installation state is the second state.
In some embodiments, the processing engine may determine the smart device installation status based on the preset orientation being the orientation of the third sensor and the operating status of the third sensor. In some embodiments, the processing engine may determine that the smart device installation state is the second state based on the preset direction being toward the third sensor (e.g., clockwise), and the operating state of the third sensor changing to the trigger state.
If the processing engine determines that the installation status of the smart device cannot be confirmed according to the sensor status data after the smart device is installed, and the sensor status data is that only the second sensor is in the trigger status, the processing engine executes step 420.
And step 420, controlling the driving part to move in a preset direction.
In some embodiments, the processing engine may control the driving part to move in a preset direction (e.g., clockwise or counterclockwise direction) based on the sensor status data being the trigger status only when the installation status of the smart device is determined not to be confirmed, acquire the movement time of the driving part and/or the sensor status data, and then execute step 422.
In step 422, it is determined whether the first predetermined requirement is satisfied. In some embodiments, the first preset requirement may be that the movement time of the drive member exceeds a first threshold.
In some embodiments, the processing engine may determine whether the first predetermined requirement is satisfied by comparing with the first predetermined requirement. In some embodiments, the processing engine may perform step 424 based on a yes determination. In some embodiments, the processing engine may perform step 426 based on a negative determination.
And 424, stopping the driving component to move, and obtaining the installation state of the intelligent equipment based on the preset direction and the sensor state data. As shown in FIG. 4B, step 424 includes the following steps.
Step 4241, if the preset direction is toward the first sensor and the sensor status data is that only the second sensor is in the trigger status, the installation status of the smart device is in the second status.
In some embodiments, the processing engine may determine the smart device installation status based on the preset direction being the orientation of the first sensor and the sensor status data. In some embodiments, the processing engine may determine that the smart device installation status is the second status based on the preset direction being toward the first sensor (e.g., counterclockwise) and the sensor status data being that only the second sensor is the trigger status.
Step 4242, if the preset direction is toward the first sensor and the sensor state data does not satisfy that only the second sensor is in the trigger state, the installation state of the intelligent device is in an abnormal state.
In some embodiments, the processing engine may determine that the smart device installation status is an abnormal status based on the preset direction being toward the first sensor and the sensor status data not satisfying that only the second sensor is in the triggered status. For example, the processing engine may determine that the smart device installation state is an abnormal state based on that the preset direction is a counterclockwise direction and the sensor state data is "001", that is, the operating state of the first sensor 310 and the operating state of the second sensor 320 are both the trigger states.
Step 4243, if the preset direction is the direction toward the third sensor and the sensor status data is that only the second sensor is in the trigger status, the installation status of the smart device is the first status.
In some embodiments, the processing engine may determine the smart device installation status based on the preset direction being the orientation of the third sensor and the sensor status data. In some embodiments, the processing engine may determine that the smart device installation status is the first status based on the preset direction being toward a third sensor direction (e.g., clockwise) and the sensor status data being that only the second sensor is in the triggered status.
Step 4244, if the preset direction is the direction toward the third sensor and the sensor state data does not satisfy that only the second sensor is in the trigger state, the installation state of the smart device is in an abnormal state.
In some embodiments, the processing engine may determine that the smart device installation status is an abnormal status based on the preset direction being toward the third sensor and the sensor status data not satisfying that only the second sensor is in the triggered status. For example, the processing engine may determine that the smart device installation state is an abnormal state based on that the preset direction is a clockwise direction and the sensor state data is "100", that is, the operating state of the second sensor 320 and the operating state of the third sensor 330 are both the trigger states.
Step 426, determine whether the second predetermined requirement is satisfied.
In some embodiments, the processing engine may determine whether the second predetermined requirement is satisfied by comparing with the second predetermined requirement. In some embodiments, the processing engine may perform step 428 based on a determination of yes. In some embodiments, the processing engine may return to continue with step 420 based on a negative determination.
And 428, stopping the driving part to move, and obtaining the installation state of the intelligent equipment based on the preset direction and the sensor state data. As shown in FIG. 4B, step 428 includes the following steps.
Step 4281, if the preset direction is toward the first sensor and the sensor status data is that only the working status of the first sensor is the trigger status, the installation status of the smart device is the first status.
In some embodiments, the processing engine may determine that the smart device installation status is the first status based on the preset direction being toward the first sensor (e.g., counterclockwise) and the sensor status data being that only the first sensor is the triggered status.
Step 4282, if the preset direction is the direction toward the third sensor and the sensor state data is that only the working state of the third sensor is the trigger state, the installation state of the smart device is the second state.
In some embodiments, the processing engine may determine that the smart device installation status is the second status based on the preset direction being toward the third sensor (e.g., clockwise) and the sensor status data being that only the third sensor is in the triggered status.
By the mode, the intelligent equipment can automatically determine the installation state of the intelligent equipment, and the intelligent equipment can still be normally used even if the user replaces the intelligent equipment with the intelligent equipment to be installed in the opposite direction, so that the use experience of the user is improved, and the operation of the user is facilitated.
Fig. 5 is an exemplary flow chart illustrating an opportunity to trigger a control method of a smart device according to some embodiments of the present description. As shown in fig. 5, the flow 500 includes the following steps, it should be noted that the following steps and their numbering are merely examples for convenience of description, and in practice, only some of the steps may be performed or some of the steps may be skipped. In some embodiments, flow 500 may be performed by a processing module.
Step 510, based on the preset event being triggered, executing the control method of the intelligent device.
The preset event refers to a preset event which can trigger a control method of the intelligent device. In some embodiments, the preset event may include at least one of: OTA restart, system restart and power-on restart.
An OTA restart refers to an Over the Air Technology (OTA) restart.
The system restart refers to restart of a control system of the intelligent device.
The power-on restart refers to restart due to power supply again, for example, when the intelligent device is dismounted and then remounted, the battery needs to be dismounted first, and after the mounting is completed, the battery is mounted back to the intelligent device, and in the process, once power-on restart is completed.
In some embodiments, the processing engine may execute the control method of the smart device at multiple occasions. For example, the processing engine may execute the control method of the smart device periodically (e.g., every 2 minutes) or at any time. In some embodiments, the processing engine may execute the control method of the smart device only when a preset event occurs. In some embodiments, the preset event may include at least one of: OTA restart, system restart and power-on restart.
As shown in fig. 5, step 520 sets different steps for different preset events, and step 521 is performed after OTA restart and system restart, and step 522 is performed after power-on restart.
Step 521, determining whether the recorded data of the installation state of the intelligent device exists, if so, reading and updating the recorded data of the installation state of the intelligent device when the working state of the intelligent device changes, and if not, executing step 522.
The recorded data of the installation state of the intelligent device refers to recorded data about the installation state of the intelligent device. For example, the recorded data of the installation state of the smart device may include that the installation state of the smart device is a first state, the installation state of the smart device is a second state, and the like.
In some embodiments, the processing engine may selectively perform the control method of the smart device after OTA restart, system restart. For example, if the interval between two restarts is less than the preset time, the processing engine does not trigger the control method of the smart device. In some embodiments, the processing engine determines whether the recorded data of the installation state of the smart device exists or not after the OTA restart and the system restart, reads and updates the recorded data of the installation state of the smart device when the operation state of the smart device changes (e.g., when the operation state of the smart combination lock changes from the unlocked state to the locked state) if the recorded data of the installation state of the smart device exists, and executes step 522 if the recorded data of the installation state of the smart device does not exist.
Step 522, triggering the control method of the intelligent device.
In some embodiments, the smart device triggers a corresponding process of the control method of the smart device after performing a power-on reboot.
In some embodiments, in addition to the above situation, the control method of the smart device may be triggered, and when the operating state of the smart device changes (for example, when the operating state of the smart combination lock changes from the unlocked state to the locked state), the current recorded installation state of the smart device may also be confirmed, for example, whether there is corresponding recorded data is checked to avoid loss of the installation state data of the smart device.
And step 530, recording the currently confirmed intelligent equipment installation state after the intelligent equipment installation state is confirmed.
In some embodiments, the processing engine may record the smart device installation status at various times. For example, the processing engine may record the smart device installation status periodically (e.g., every 2 minutes) or at any time. In some embodiments, the processing engine may record the currently confirmed installation state of the smart device after completing the confirmation of the installation state of the smart device. For example, the processing engine may record that the installation state of the smart device is the first state after confirming that the installation state of the smart device is the first state.
Through the mode, the processing engine executes the control method of the intelligent equipment only when the recorded data of the installation state of the intelligent equipment does not exist after OTA restart and system restart, and reads and updates the recorded data of the installation state of the intelligent equipment when the working state of the intelligent equipment changes, so that the calculation amount is reduced, the control method of the intelligent equipment does not need to be executed and the recorded data of the installation state of the intelligent equipment does not need to be read and updated every time, and the burden of a server is reduced; after the processing engine is restarted after being powered on, the control method of the intelligent equipment is executed certainly, and due to the arrangement, the situation that the intelligent equipment cannot be normally used due to the fact that the intelligent equipment is installed again after being detached is avoided, and the use experience of a user is improved.
The embodiment of the specification further provides a computer-readable storage medium, the storage medium stores computer instructions, and after the computer reads the computer instructions in the storage medium, the computer runs the control method of the intelligent device.
The beneficial effects that may be brought by the embodiments of the present description include, but are not limited to: 1. the intelligent device installation state can be automatically determined, even if the user detaches the intelligent device and then reinstalls the intelligent device, the intelligent device can still be normally used, the use experience of the user is improved, and the operation of the user is facilitated. 2. Conditionally executing the control method of the smart device and reading and updating the relevant data reduces the amount of computation and relieves the load on the server. 3. After the power-on restart, the control method of the intelligent equipment is executed certainly, the situation that the intelligent equipment cannot be normally used due to the fact that the intelligent equipment is installed again after being detached is avoided, and the use experience of a user is improved. It is to be noted that different embodiments may produce different advantages, and in different embodiments, any one or combination of the above advantages may be produced, or any other advantages may be obtained.
Having thus described the basic concept, it will be apparent to those skilled in the art that the foregoing detailed disclosure is to be regarded as illustrative only and not as limiting the present specification. Various modifications, improvements and adaptations to the present description may occur to those skilled in the art, although not explicitly described herein. Such modifications, improvements and adaptations are proposed in the present specification and thus fall within the spirit and scope of the exemplary embodiments of the present specification.
Also, the description uses specific words to describe embodiments of the description. Reference throughout this specification to "one embodiment," "an embodiment," and/or "some embodiments" means that a particular feature, structure, or characteristic described in connection with at least one embodiment of the specification is included. Therefore, it is emphasized and should be appreciated that two or more references to "an embodiment" or "one embodiment" or "an alternative embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, some features, structures, or characteristics of one or more embodiments of the specification may be combined as appropriate.
Additionally, the order in which the elements and sequences of the process are recited in the specification, the use of alphanumeric characters, or other designations, is not intended to limit the order in which the processes and methods of the specification occur, unless otherwise specified in the claims. While various presently contemplated embodiments of the invention have been discussed in the foregoing disclosure by way of example, it is to be understood that such detail is solely for that purpose and that the appended claims are not limited to the disclosed embodiments, but, on the contrary, are intended to cover all modifications and equivalent arrangements that are within the spirit and scope of the embodiments herein. For example, although the system components described above may be implemented by hardware devices, they may also be implemented by software-only solutions, such as installing the described system on an existing server or mobile device.
Similarly, it should be noted that in the preceding description of embodiments of the present specification, various features are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure aiding in the understanding of one or more of the embodiments. This method of disclosure, however, is not intended to imply that more features than are expressly recited in a claim. Indeed, the embodiments may be characterized as having less than all of the features of a single embodiment disclosed above.
Numerals describing the number of components, attributes, etc. are used in some embodiments, it being understood that such numerals used in the description of the embodiments are modified in some instances by the use of the modifier "about", "approximately" or "substantially". Unless otherwise indicated, "about", "approximately" or "substantially" indicates that the number allows a variation of ± 20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximations that may vary depending upon the desired properties of the individual embodiments. In some embodiments, the numerical parameter should take into account the specified significant digits and employ a general digit preserving approach. Notwithstanding that the numerical ranges and parameters setting forth the broad scope of the range are approximations, in the specific examples, such numerical values are set forth as precisely as possible within the scope of the application.
For each patent, patent application publication, and other material, such as articles, books, specifications, publications, documents, etc., cited in this specification, the entire contents of each are hereby incorporated by reference into this specification. Except where the application history document does not conform to or conflict with the contents of the present specification, it is to be understood that the application history document, as used herein in the present specification or appended claims, is intended to define the broadest scope of the present specification (whether presently or later in the specification) rather than the broadest scope of the present specification. It is to be understood that the descriptions, definitions and/or uses of terms in the accompanying materials of this specification shall control if they are inconsistent or contrary to the descriptions and/or uses of terms in this specification.
Finally, it should be understood that the embodiments described herein are merely illustrative of the principles of the embodiments of the present disclosure. Other variations are also possible within the scope of the present description. Thus, by way of example, and not limitation, alternative configurations of the embodiments of the specification can be considered consistent with the teachings of the specification. Accordingly, the embodiments of the present description are not limited to only those embodiments explicitly described and depicted herein.

Claims (14)

1. A control method of an intelligent device, the method comprising:
acquiring a first state data sequence of intelligent equipment during initial operation; the first state data sequence comprises sensor state data comprising operating states of a plurality of sensors in the smart device; the working state comprises at least one of a trigger state and an unfired state;
judging whether a preset condition is met or not based on the first state data sequence;
in response thereto, generating a first control instruction for the smart device based on the first sequence of state data;
responding to the judgment, controlling the intelligent equipment to execute a preset operation scheme, and acquiring a second state data sequence of the intelligent equipment at a first non-initial time point;
generating a second control instruction based on the second state data sequence; wherein the first state data sequence and the second state data sequence have at least one different state variable.
2. The method according to claim 1, wherein the predetermined operating scheme comprises controlling a drive member to move in a predetermined direction, and the second state data sequence comprises a movement time of the drive member and/or the sensor state data.
3. The method of claim 2, wherein the second control instruction comprises a confirmation instruction of a smart device installation status, wherein the smart device installation status comprises at least one of: the device comprises an abnormal state and a non-abnormal state, wherein the non-abnormal state at least comprises a first state and a second state.
4. The method of claim 3, wherein the plurality of sensors is at least three sensors, including a first sensor, a second sensor, and a third sensor, the first sensor and the third sensor being respectively located on two sides of the second sensor;
the generating a second control instruction based on the second state data sequence comprises:
and confirming the installation state of the intelligent equipment based on the working state of at least one sensor in the acquired sensor state data sequence, wherein the sensor state data sequence is formed by arranging the sensor state data according to a preset rule.
5. The method of claim 4, wherein the response is that generating a first control instruction for the smart device based on the first sequence of state data comprises:
if the sensor state data is that only the first sensor is in a trigger state, the intelligent device installation state is a first state;
and if the sensor state data is that only the third sensor is in a trigger state, the intelligent equipment installation state is in a second state.
6. The method according to claim 4, wherein the preset conditions include:
the sensor state data does not satisfy: the second sensor is in a triggered state or the first sensor, the second sensor and the third sensor are in an untriggered state.
7. The method of claim 6,
the generating a second control instruction based on the second state data sequence comprises:
judging whether a first preset requirement and/or a second preset requirement are/is met or not based on the acquired motion time of the driving component and/or the acquired sensor state data; the first preset requirement is that the movement time of the driving part exceeds a first threshold value; the second preset requirement is that the working state of any one of the plurality of sensors is changed from an unfired state to a triggered state;
when any one of the first preset requirement or the second preset requirement is met, the driving part stops moving;
confirming the installation state of the intelligent device based on the satisfied preset requirement.
8. The method of claim 7, further comprising: if the installation state of the intelligent equipment cannot be confirmed, the sensor state data is that the first sensor, the second sensor and the third sensor are in an unfired state;
the confirming the installation state of the smart device based on the satisfied preset requirement includes:
and if the first preset requirement is met, the installation state of the intelligent equipment is an abnormal state.
9. The method of claim 8, wherein confirming the smart device installation status based on the satisfied preset requirement further comprises:
if the second preset requirement is met, the following judgment is carried out:
if the preset direction is towards the first sensor and the working state of the first sensor is changed into a triggering state, the intelligent equipment installation state is a first state;
if the preset direction is towards the first sensor and the working state of the second sensor is changed into a triggering state, the intelligent equipment installation state is a second state;
if the preset direction is towards the third sensor direction and the working state of the second sensor is changed into a trigger state, the intelligent equipment installation state is a first state;
and if the preset direction is towards the third sensor direction and the working state of the third sensor is changed into a triggering state, the intelligent equipment installation state is a second state.
10. The method of claim 8, further comprising: if the installation state of the intelligent equipment cannot be confirmed, the sensor state data is that only the second sensor is in a trigger state;
the confirming the installation state of the smart device based on the satisfied preset requirement includes:
if the first preset requirement is met, the following judgment is carried out:
if the preset direction is the direction towards the first sensor and the sensor state data is that only the second sensor is in the trigger state, the intelligent equipment installation state is in a second state; if the preset direction is the direction towards the first sensor and the sensor state data does not meet the condition that only the second sensor is in the trigger state, the intelligent equipment installation state is in an abnormal state;
if the preset direction is the direction towards the third sensor and the sensor state data is that only the second sensor is in the trigger state, the intelligent device installation state is the first state;
and if the preset direction is the direction towards the third sensor and the sensor state data does not meet the condition that only the second sensor is in the trigger state, the installation state of the intelligent equipment is in an abnormal state.
11. The method of claim 10, wherein confirming the smart device installation status based on the satisfied preset requirement further comprises:
if the second preset requirement is met, the following judgment is carried out:
if the preset direction is the direction towards the first sensor and the sensor state data is that only the working state of the first sensor is the trigger state, the intelligent equipment installation state is the first state;
and if the preset direction is the direction towards the third sensor and the sensor state data is that only the working state of the third sensor is the trigger state, the intelligent equipment installation state is the second state.
12. The method according to claim 1, characterized in that the control method of the smart device is triggered only upon the occurrence of a preset event.
13. A control system for a smart device, the system comprising:
the processing module is used for acquiring a first state data sequence of the intelligent equipment during initial operation; the first state data sequence comprises sensor state data comprising operating states of a plurality of sensors in the smart device; the working state comprises at least one of a trigger state and an unfired state; judging whether a preset condition is met or not based on the first state data sequence; in response thereto, generating a first control instruction for the smart device based on the first sequence of state data; responding to the judgment, controlling the intelligent equipment to execute a preset operation scheme, and acquiring a second state data sequence of the intelligent equipment at a first non-initial time point; generating a second control instruction based on the second state data sequence; wherein the first state data sequence and the second state data sequence have at least one different state variable.
14. A computer-readable storage medium, wherein the storage medium stores computer instructions, and when the computer instructions in the storage medium are read by a computer, the computer executes the control method of the intelligent device according to any one of claims 1 to 12.
CN202210082493.2A 2022-01-24 2022-01-24 Control method and system of intelligent equipment and storage medium Active CN114089643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210082493.2A CN114089643B (en) 2022-01-24 2022-01-24 Control method and system of intelligent equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210082493.2A CN114089643B (en) 2022-01-24 2022-01-24 Control method and system of intelligent equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114089643A CN114089643A (en) 2022-02-25
CN114089643B true CN114089643B (en) 2022-04-15

Family

ID=80309208

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210082493.2A Active CN114089643B (en) 2022-01-24 2022-01-24 Control method and system of intelligent equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114089643B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011058354A (en) * 2009-09-14 2011-03-24 Ka Schmersal Holding Gmbh & Co Kg Guard lock for parts for closing opening
CN102061840A (en) * 2009-11-16 2011-05-18 珠海优特电力科技股份有限公司 Intelligent locking system and working method thereof
WO2011101053A1 (en) * 2010-02-22 2011-08-25 Koenig & Bauer Aktiengesellschaft Method for sensing events which occur in an electronically controlled production machine
CN103019144A (en) * 2012-12-13 2013-04-03 北京七星华创电子股份有限公司 Safety interlocking protection system and method for cleaning machine
CN103076956A (en) * 2013-01-05 2013-05-01 中兴通讯股份有限公司 Method and device for controlling lock state of terminal and terminal
CN106094586A (en) * 2016-06-21 2016-11-09 珠海格力电器股份有限公司 Lockset, the working state control device of electronic equipment and control method thereof
CN106437336A (en) * 2016-12-08 2017-02-22 温英权 Safety door lock
CN109358524A (en) * 2018-11-27 2019-02-19 深圳市星科微数码科技集团有限公司 A kind of smart home access control system
CN111827793A (en) * 2019-12-31 2020-10-27 北京骑胜科技有限公司 Electronic lock, electronic lock state detection method and storage medium
CN112000053A (en) * 2020-10-28 2020-11-27 深圳市晶讯软件通讯技术有限公司 Intelligent control system and method based on intelligent socket
CN112559498A (en) * 2020-12-25 2021-03-26 北京百度网讯科技有限公司 Method and device for constructing distributed architecture of time sequence space-time database system
CN112578680A (en) * 2020-11-17 2021-03-30 广东电网有限责任公司广州供电局 Electrical equipment monitoring and management system, method and readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8451088B2 (en) * 2006-12-18 2013-05-28 Sentrilock, Llc Electronic lock box with transponder based communications
US10944586B2 (en) * 2013-09-10 2021-03-09 Vivint, Inc. Systems and methods for home automation monitoring

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011058354A (en) * 2009-09-14 2011-03-24 Ka Schmersal Holding Gmbh & Co Kg Guard lock for parts for closing opening
CN102022038A (en) * 2009-09-14 2011-04-20 K.A.施莫沙尔控股两合公司 Locking device for a component for closing an opening
CN102061840A (en) * 2009-11-16 2011-05-18 珠海优特电力科技股份有限公司 Intelligent locking system and working method thereof
WO2011057434A1 (en) * 2009-11-16 2011-05-19 珠海优特电力科技股份有限公司 Intelligent locking system and working method thereof
WO2011101053A1 (en) * 2010-02-22 2011-08-25 Koenig & Bauer Aktiengesellschaft Method for sensing events which occur in an electronically controlled production machine
CN103019144A (en) * 2012-12-13 2013-04-03 北京七星华创电子股份有限公司 Safety interlocking protection system and method for cleaning machine
CN103076956A (en) * 2013-01-05 2013-05-01 中兴通讯股份有限公司 Method and device for controlling lock state of terminal and terminal
CN106094586A (en) * 2016-06-21 2016-11-09 珠海格力电器股份有限公司 Lockset, the working state control device of electronic equipment and control method thereof
CN106437336A (en) * 2016-12-08 2017-02-22 温英权 Safety door lock
CN109358524A (en) * 2018-11-27 2019-02-19 深圳市星科微数码科技集团有限公司 A kind of smart home access control system
CN111827793A (en) * 2019-12-31 2020-10-27 北京骑胜科技有限公司 Electronic lock, electronic lock state detection method and storage medium
CN112000053A (en) * 2020-10-28 2020-11-27 深圳市晶讯软件通讯技术有限公司 Intelligent control system and method based on intelligent socket
CN112578680A (en) * 2020-11-17 2021-03-30 广东电网有限责任公司广州供电局 Electrical equipment monitoring and management system, method and readable storage medium
CN112559498A (en) * 2020-12-25 2021-03-26 北京百度网讯科技有限公司 Method and device for constructing distributed architecture of time sequence space-time database system

Also Published As

Publication number Publication date
CN114089643A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
US9767632B2 (en) Intelligent door lock system retrofitted to existing door lock mechanism
US9644400B1 (en) Methods using intelligent door lock system
US20170053469A1 (en) Intelligent door lock system with audio and rf communication
US9447609B2 (en) Mobile device that detects tappings/vibrations which are used to lock or unlock a door
US8640513B2 (en) Electronic and manual lock assembly
US10742142B2 (en) Controlling motor movement
CN109209047B (en) Intelligent door lock, door lock monitoring system and method
EP3304507A1 (en) Door improvements and data mining via accelerometer and magnetometer electronic component
WO2015138726A1 (en) Intelligent door lock system with a torque limitor
CN105275278A (en) Intelligent lock based on storage cabinet of Internet of Things and operation method of intelligent lock
CN101006237A (en) Automotive universal latch control
CN111263840B (en) Monitoring system for lock assembly
CN114089643B (en) Control method and system of intelligent equipment and storage medium
CN104389464A (en) Lock hole-free circular arc lock for glass door
JP2023534541A (en) smart lock
US20150194002A1 (en) Hub-based electronic lock systems and devices
CN112396731B (en) Unlocking method and system of intelligent door lock and storage medium
JP4584729B2 (en) I / O management control device, method and program
CN112821848B (en) Motor control method and device, intelligent lock and storage medium
CN112959959B (en) Method, apparatus, device, medium, and program product for controlling power mode of entire vehicle
JP2019532250A (en) Commercial power supply voltage driven freezer
US20230228125A1 (en) Intellegent lock mechanism and methods
CN205899638U (en) Intelligent entrance guard device
CN114412292A (en) Intelligent lock and unlocking/locking method
CN114135666A (en) Electronic P-gear-based parking method and electronic P-gear control system

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
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 100094 room 1101, 11 / F, building 1, zone 2, 81 Beiqing Road, Haidian District, Beijing

Patentee after: Yunding Network Technology (Beijing) Co.,Ltd.

Address before: 100094 room 1101, 11 / F, building 1, zone 2, 81 Beiqing Road, Haidian District, Beijing

Patentee before: YUN DING NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

CP01 Change in the name or title of a patent holder