CN112731821B - Equipment movement method and electronic equipment - Google Patents

Equipment movement method and electronic equipment Download PDF

Info

Publication number
CN112731821B
CN112731821B CN202011504905.4A CN202011504905A CN112731821B CN 112731821 B CN112731821 B CN 112731821B CN 202011504905 A CN202011504905 A CN 202011504905A CN 112731821 B CN112731821 B CN 112731821B
Authority
CN
China
Prior art keywords
motion
movement
state
motor
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011504905.4A
Other languages
Chinese (zh)
Other versions
CN112731821A (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.)
Wocao Technology Shenzhen Co ltd
Original Assignee
Wocao Technology Shenzhen 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 Wocao Technology Shenzhen Co ltd filed Critical Wocao Technology Shenzhen Co ltd
Priority to CN202011504905.4A priority Critical patent/CN112731821B/en
Publication of CN112731821A publication Critical patent/CN112731821A/en
Priority to PCT/CN2021/138890 priority patent/WO2022127872A1/en
Application granted granted Critical
Publication of CN112731821B publication Critical patent/CN112731821B/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
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01PMEASURING LINEAR OR ANGULAR SPEED, ACCELERATION, DECELERATION, OR SHOCK; INDICATING PRESENCE, ABSENCE, OR DIRECTION, OF MOVEMENT
    • G01P15/00Measuring acceleration; Measuring deceleration; Measuring shock, i.e. sudden change of acceleration

Abstract

The application is applicable to the technical field of equipment movement, and provides an equipment movement method, which comprises the following steps: acquiring motion information acquired by a motion sensor, wherein the motion information is used for identifying the state of equipment; if the equipment state is a motion state and the motor does not actively move, acquiring a motion direction and a motion distance; and if the movement distance meets the preset starting condition, controlling the motor to move towards the movement direction. According to the scheme, when the electronic equipment moves, the motor is not needed to judge whether the artificial touch action exists at present through the signal detection module, the signal detection module is not needed to be in the powered-on state all the time, only the equipment movement information acquired through the movement sensor is needed, the movement direction and the movement distance are obtained, whether the electronic equipment moves can be judged, the power consumption is reduced, and the energy utilization rate is improved.

Description

Equipment movement method and electronic equipment
Technical Field
The application belongs to the technical field of equipment movement, and particularly relates to an equipment movement method and electronic equipment.
Background
In the field of existing smart homes, a touch-based motion method is applied to a plurality of devices, namely if the devices detect that artificial touch behaviors exist at present, a motor is started, and the devices automatically move. Therefore, the user can use the intelligent household equipment more conveniently.
However, when the existing device implements the above function, the motor of the device determines whether there is a human touch action currently through the signal detection module. Therefore, the signal detection module is required to be always in the power-on state, the power consumption is high, and the energy utilization rate is low.
Disclosure of Invention
The embodiment of the application provides a device movement method and electronic equipment, and can solve the problems of high power consumption and low energy utilization rate of the electronic equipment during movement.
In a first aspect, an embodiment of the present application provides an apparatus motion method, which is applied to an electronic apparatus provided with a motor, and the method includes:
acquiring motion information acquired by a motion sensor, wherein the motion information is used for identifying the state of equipment;
if the equipment state is a motion state and the motor does not actively move, acquiring a motion direction and a motion distance;
and if the movement distance meets the preset starting condition, controlling the motor to move towards the movement direction.
Further, if the movement distance satisfies a preset starting condition, controlling the motor to move in the movement direction, including:
and if the movement distance is greater than or equal to a preset distance, controlling the motor to move towards the movement direction.
Further, after the controlling the motor to move in the moving direction if the moving distance meets a preset starting condition, the method further includes:
and if the motor moves to a preset target position or a motion stopping instruction is detected, stopping the motion.
Further, the acquiring the moving direction and the moving distance includes:
and starting a pedometer, and acquiring the movement direction and the movement distance through the pedometer.
Further, after controlling the motor to move in the moving direction if the moving distance satisfies a preset starting condition, the method further includes:
and if the motor moves to a preset target position or a motion stopping command is detected, stopping the motion and closing the pedometer.
Further, after the step counter is started and the moving direction and the moving distance are collected by the step counter, the method further comprises the following steps:
and if the movement distance does not meet the preset starting condition, closing the pedometer.
Further, the motion sensor is an acceleration sensor.
In a second aspect, an embodiment of the present application provides an electronic device, including:
the device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring motion information acquired by a motion sensor, and the motion information is used for identifying the state of equipment;
the second acquisition unit is used for acquiring a movement direction and a movement distance if the equipment state is a movement state and the motor does not actively move;
and the control unit is used for controlling the motor to move towards the movement direction if the movement distance meets a preset starting condition.
Further, the control unit is specifically configured to:
and if the movement distance is greater than or equal to a preset distance, controlling the motor to move towards the movement direction.
Further, the electronic device further includes:
and the first processing unit is used for stopping the movement if the motor moves to a preset target position or a movement stopping instruction is detected.
Further, the second obtaining unit is specifically configured to:
and starting a pedometer, and acquiring the movement direction and the movement distance through the pedometer.
Further, the electronic device further includes:
and the second processing unit is used for stopping movement and closing the pedometer if the motor moves to a preset target position or a stop movement instruction is detected.
Further, the electronic device further includes:
and the third processing unit is used for closing the pedometer if the movement distance does not meet the preset starting condition.
Further, the motion sensor is an acceleration sensor.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor, when executing the computer program, implements the device motion method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the device motion method according to the first aspect.
In the embodiment of the application, motion information acquired by a motion sensor is acquired, and the motion information is used for identifying the state of equipment; if the equipment state is a motion state and the motor does not actively move, acquiring a motion direction and a motion distance; and if the movement distance meets the preset starting condition, controlling the motor to move towards the movement direction. According to the scheme, when the electronic equipment moves, the motor is not required to judge whether artificial touch behaviors exist currently through the signal detection module, the signal detection module is not required to be in a powered-on state all the time, only equipment movement information collected through the movement sensor is required, the movement direction and the movement distance are obtained, whether the electronic equipment moves can be judged, power consumption is reduced, and the energy utilization rate is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a schematic flow chart diagram of a method for moving a device according to a first embodiment of the present disclosure;
fig. 2 is a schematic diagram of an electronic device provided in a second embodiment of the present application;
fig. 3 is a schematic diagram of an electronic device provided in a third embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Referring to fig. 1, fig. 1 is a schematic flow chart of a device moving method according to a first embodiment of the present application. In this embodiment, an execution main body of the device movement method is an electronic device provided with a motor. The device movement method as shown in fig. 1 may include:
s101: motion information collected by a motion sensor is obtained, the motion information being used to identify a device state.
In this implementation, the electronic device is equipped with a motion sensor, and the electronic device can acquire motion information through the motion sensor. The motion information is used to identify a device state, which may include a motion state and a stationary state.
The electronic device in this embodiment may be applied to the field of smart home, for example, the electronic device in this embodiment is installed on a track of a curtain, and the curtain is automatically opened and closed by the movement of the electronic device. When the electronic equipment is static, the curtain is pulled by hands of a person, the electronic equipment can be driven to move passively, the electronic equipment obtains motion information collected by the motion sensor, and the motion information identifies that the equipment is in a motion state.
Wherein the motion sensor may be an acceleration sensor. The electronic device acquires motion information collected by the acceleration sensor to identify the device state. For example, the electronic device acquires the motion acceleration through an acceleration sensor, and when the motion acceleration exceeds a preset threshold, the state of the device is determined to be a motion state; the electronic equipment can also identify the equipment state through the tapping function of the acceleration sensor, the acceleration sensor is generally provided with the tapping function, the level change occurs on the interrupt pin during tapping, whether the tapping event exists or not is judged through capturing the level change, and when the tapping event occurs and the level change exceeds a preset level threshold value, the equipment state is judged to be the motion state.
It should be noted that, in this step, the electronic device can only determine whether the electronic device is in a motion state through the motion information acquired by the motion sensor. However, when it is determined that the electronic device is in a motion state, the reason for triggering the motion of the electronic device cannot be determined, and the reason for triggering the motion of the electronic device may be manual trigger of a user, motor motion trigger, or external trigger. Wherein the external trigger may comprise an environmental trigger, such as a natural wind trigger or a pet trigger, etc.
S102: and if the equipment state is a motion state and the motor does not actively move, acquiring a motion direction and a motion distance.
The electronic equipment judges that the equipment state of the electronic equipment is a motion state, if the trigger reason of the motion is the active motion trigger of the motor, the current motor is in operation, and the execution of the embodiment is not required to be continued. Therefore, after the electronic device determines that the device state of the electronic device is a motion state, the trigger reason of the motion needs to be determined, and the situation that the motor actively moves and triggers is eliminated.
In general, the active motion of the motor refers to the motion controlled by the controller, and the electronic device may detect that the motor is moving through the sensor, but not controlled by the controller itself, and may determine that the motor is not active.
And if the electronic equipment detects that the equipment state is a motion state and the motor does not actively move, acquiring the motion direction and the motion distance. Specifically, in this embodiment, a pedometer may be disposed on the electronic device, and when the movement direction and the movement distance are obtained, the electronic device may start the pedometer, and collect the movement direction and the movement distance through the pedometer.
The moving direction is used for judging which direction the subsequent motor moves after being started, namely the motor should rotate forwards or reversely. The movement distance refers to a movement distance of the electronic device from a rest position to a current position. The movement distance is a trigger condition of active movement, and if the movement distance exceeds a preset distance within a certain time, the manual trigger is considered to be manual trigger of a user.
S103: and if the movement distance meets a preset starting condition, controlling the motor to move towards the movement direction.
The electronic device is preset with a preset starting condition, and the preset starting condition is used for judging whether the current movement is effective movement or not, wherein the effective movement can be understood as movement manually triggered by a user. And if the electronic equipment judges that the movement distance meets the preset starting condition, controlling the motor to move towards the movement direction.
Specifically, the preset distance is stored in the electronic device in advance, and if the movement distance is greater than or equal to the preset distance, the motor is controlled to move towards the movement direction. The captured movement distance is compared with a preset distance to judge whether to trigger active movement. And when the movement distance exceeds the movement distance threshold, judging that the user manually triggers, judging that the triggering is effective triggering, triggering active movement, and controlling the motor to move towards the movement direction.
In one embodiment, the electronic device is provided with a pedometer, and if the movement distance does not meet a preset starting condition, it indicates that the current movement is not an effective movement, and the movement may be caused by a pet touching by mistake. Here, the pedometer may be turned off in order to save energy. When the next electronic equipment detects that the equipment state is a motion state, the pedometer is started again, the motor is detected to be in non-active motion, and then the motion direction and the motion distance are acquired.
In one embodiment, the preset target position of the active movement is preset in the electronic device, for example, the electronic device installed on the track of the window curtain, and the preset target position may be a position corresponding to when the window curtain is fully opened or a position corresponding to when the window curtain is fully closed. In addition, the user can also send an instruction for stopping the movement to the electronic equipment, and the user intervenes the movement manually. Therefore, if the electronic device detects that the motor moves to a preset target position or detects a motion stopping command, the electronic device stops moving.
In one embodiment, the electronic device is provided with a pedometer, and if the electronic device detects that the motor moves to a preset target position or detects a stop motion command, the electronic device stops moving, and the pedometer can be turned off for energy conservation.
In one embodiment, if the electronic device determines that the movement distance satisfies the preset starting condition, the motor is controlled to move in the movement direction, and the movement sensor may stop collecting the movement information, i.e., close the function of determining whether to perform the active movement in this embodiment, so as to avoid performing the same triggering process again during the active movement of the motor. If the electronic device detects that the motor moves to the preset target position or detects a motion stopping instruction, the electronic device stops moving, and the motion sensor can restart to collect motion information, that is, the function of judging whether to perform active motion in the embodiment is started.
In one embodiment, a preset distance is pre-stored in the electronic device, and if the movement distances acquired multiple times within a preset time period are all smaller than the preset distance, it is determined that the current movement is not an effective movement. And possibly other external triggers, such as wind, small animals and the like, the pedometer can be closed, and the next judgment is continuously circulated.
In the embodiment of the application, motion information acquired by a motion sensor is acquired, and the motion information is used for identifying the state of equipment; if the equipment state is a motion state and the motor does not actively move, acquiring a motion direction and a motion distance; and if the movement distance meets the preset starting condition, controlling the motor to move towards the movement direction. According to the scheme, when the electronic equipment moves, the motor is not required to judge whether artificial touch behaviors exist currently through the signal detection module, the signal detection module is not required to be in a powered-on state all the time, only equipment movement information collected through the movement sensor is required, the movement direction and the movement distance are obtained, whether the electronic equipment moves can be judged, power consumption is reduced, and the energy utilization rate is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Referring to fig. 2, fig. 2 is a schematic view of an electronic device according to a second embodiment of the present application. The units are included for performing the steps in the corresponding embodiment of fig. 1. Please refer to fig. 1 for the related description of the corresponding embodiment. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 2, the electronic apparatus 2 includes:
a first obtaining unit 210, configured to obtain device motion information collected by a motion sensor, where the motion information is used to identify a device state;
a second obtaining unit 220, configured to obtain a motion direction and a motion distance if the device state is a motion state and the motor does not actively move;
and a control unit 230, configured to control the motor to move towards the moving direction if the moving distance meets a preset starting condition.
Further, the control unit 230 is specifically configured to:
and if the movement distance is greater than or equal to a preset distance, controlling the motor to move towards the movement direction.
Further, the electronic device 2 further includes:
and the first processing unit is used for stopping the movement if the motor moves to a preset target position or detects a movement stopping instruction.
Further, the second obtaining unit 220 is specifically configured to:
and starting a pedometer, and collecting the movement direction and the movement distance through the pedometer.
Further, the electronic device 2 further includes:
and the second processing unit is used for stopping the movement and closing the pedometer if the motor moves to a preset target position or a stop movement instruction is detected.
Further, the electronic device 2 further includes:
and the third processing unit is used for closing the second sensor if the movement distance does not meet the preset starting condition.
Further, the motion sensor is an acceleration sensor.
Fig. 3 is a schematic diagram of an electronic device provided in a third embodiment of the present application. As shown in fig. 3, the electronic apparatus 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32, such as a device motion program, stored in said memory 31 and executable on said processor 30. The processor 30, when executing the computer program 32, implements the steps in the various apparatus motion method embodiments described above, such as the steps 101 to 103 shown in fig. 1. Alternatively, the processor 30, when executing the computer program 32, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 210 to 230 shown in fig. 2.
Illustratively, the computer program 32 may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 30 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 32 in the electronic device 3. For example, the computer program 32 may be divided into a first acquisition unit, a second acquisition unit, and a control unit, and each unit functions as follows:
the device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring device motion information acquired by a motion sensor, and the motion information is used for identifying the state of the device;
the second acquisition unit is used for acquiring a movement direction and a movement distance if the equipment state is a movement state and the motor does not actively move;
and the control unit is used for controlling the motor to move towards the movement direction if the movement distance meets a preset starting condition.
The electronic device may include, but is not limited to, a processor 30, a memory 31. Those skilled in the art will appreciate that fig. 3 is merely an example of the electronic device 3 and does not constitute a limitation of the electronic device 3 and may include more or fewer components than those shown, or some of the components may be combined, or different components, e.g., the electronic device may also include input output devices, network access devices, buses, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the electronic device 3, such as a hard disk or a memory of the electronic device 3. The memory 31 may also be an external storage device of the electronic device 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 3. Further, the electronic device 3 may also include both an internal storage unit and an external storage device of the electronic device 3. The memory 31 is used for storing the computer program and other programs and data required by the electronic device. The memory 31 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It should be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is only used for illustration, and in practical applications, the above function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the apparatus may be divided into different functional units or modules to perform all or part of the above described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
An embodiment of the present application further provides an electronic device, including: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above may be implemented by instructing relevant hardware by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the embodiments of the methods described above may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the technical solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/device and method may be implemented in other ways. For example, the above-described apparatus/device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (4)

1. The equipment movement method is characterized by being applied to electronic equipment, wherein the electronic equipment is installed on a rail of a rail curtain, the curtain is automatically opened and closed through the movement of the electronic equipment, the electronic equipment is provided with a motor, and when the electronic equipment is static, a person manually pulls the curtain to drive the electronic equipment to passively move, and the method comprises the following steps:
acquiring motion information acquired by a motion sensor, wherein the motion information is used for identifying equipment states, and the equipment states comprise a motion state and a static state;
the motion sensor is an acceleration sensor, the electronic equipment acquires motion acceleration through the acceleration sensor, and when the motion acceleration exceeds a preset threshold value, the equipment state is judged to be a motion state;
if the equipment state is a motion state and the motor does not actively move, starting a pedometer, and collecting a motion direction and a motion distance within a certain time through the pedometer;
if the movement distance meets the preset starting condition, the motor is controlled to move towards the movement direction, the movement sensor stops collecting movement information, and the movement distance meets the preset starting condition and comprises the following steps:
the movement distance is greater than or equal to a preset distance;
if the movement distance does not meet the preset starting condition, closing the pedometer;
if the movement distance meets the preset starting condition, after the motor is controlled to move towards the movement direction, the method further comprises the following steps:
and if the motor moves to a preset target position or a motion stopping instruction is detected, stopping the motion, closing the pedometer, and restarting the motion sensor to acquire motion information, wherein the preset target position is a position corresponding to the opening of the curtain or a position corresponding to the complete closing of the curtain.
2. The utility model provides an electronic equipment, its characterized in that, electronic equipment installs on the track of rail (window) curtain, through electronic equipment's motion, automatic switch (window) curtain, electronic equipment is provided with the motor, and when electronic equipment was static, the manual pulling (window) curtain of people can drive electronic equipment passive motion, includes:
the device comprises a first acquisition unit, a second acquisition unit and a control unit, wherein the first acquisition unit is used for acquiring motion information acquired by a motion sensor, the motion information is used for identifying the state of the device, and the state of the device comprises a motion state and a static state; the motion sensor is an acceleration sensor, the electronic equipment acquires motion acceleration through the acceleration sensor, and when the motion acceleration exceeds a preset threshold value, the equipment state is judged to be a motion state;
the second acquisition unit is used for starting a pedometer and acquiring a movement direction and a movement distance within a certain time through the pedometer if the equipment state is a movement state and the motor does not actively move;
the control unit is used for controlling the motor to move towards the movement direction if the movement distance meets the preset starting condition, the movement sensor stops collecting movement information, and the movement distance meets the preset starting condition, and the control unit comprises the following steps: the movement distance is greater than or equal to a preset distance;
if the movement distance does not meet the preset starting condition, closing the pedometer;
if the movement distance meets the preset starting condition, after the motor is controlled to move towards the movement direction, the method further comprises the following steps:
and if the motor moves to a preset target position or a motion stopping instruction is detected, stopping the motion, closing the pedometer, and restarting the motion sensor to acquire motion information, wherein the preset target position is a position corresponding to the opening of the curtain or a position corresponding to the complete closing of the curtain.
3. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of claim 1 when executing the computer program.
4. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to claim 1.
CN202011504905.4A 2020-12-18 2020-12-18 Equipment movement method and electronic equipment Active CN112731821B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011504905.4A CN112731821B (en) 2020-12-18 2020-12-18 Equipment movement method and electronic equipment
PCT/CN2021/138890 WO2022127872A1 (en) 2020-12-18 2021-12-16 Device motion method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011504905.4A CN112731821B (en) 2020-12-18 2020-12-18 Equipment movement method and electronic equipment

Publications (2)

Publication Number Publication Date
CN112731821A CN112731821A (en) 2021-04-30
CN112731821B true CN112731821B (en) 2023-03-24

Family

ID=75603141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011504905.4A Active CN112731821B (en) 2020-12-18 2020-12-18 Equipment movement method and electronic equipment

Country Status (2)

Country Link
CN (1) CN112731821B (en)
WO (1) WO2022127872A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112731821B (en) * 2020-12-18 2023-03-24 卧安科技(深圳)有限公司 Equipment movement method and electronic equipment
CN115016557A (en) * 2022-07-06 2022-09-06 北京万东医疗科技股份有限公司 Limiting device and method, speed control method and device and controller
CN115902766B (en) * 2022-11-22 2023-11-07 荣耀终端有限公司 Measurement method and related device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001220972A (en) * 2000-02-09 2001-08-17 Sanwa Shutter Corp Control mechanism in architectural motor-driven opening-closing device
JP2007177402A (en) * 2005-12-27 2007-07-12 Sanwa Shutter Corp Control unit of electric shutter for building
CN105003188A (en) * 2015-08-21 2015-10-28 湖州高鼎智能科技有限公司 Multifunctional and intelligent curtain
CN105840037A (en) * 2016-05-23 2016-08-10 北京理工大学 Multifunctional window and curtain control system and method
CN108375916A (en) * 2018-01-17 2018-08-07 深圳市博孚机电有限公司 A kind of application method of the electrically driven curtain based on bluetooth module
CN108412408A (en) * 2018-01-17 2018-08-17 深圳市博孚机电有限公司 A kind of control method of electrically driven curtain
CN109184536A (en) * 2018-07-16 2019-01-11 上海博开遮阳科技有限公司 A kind of control method of electrically driven curtain
CN110543136A (en) * 2019-09-02 2019-12-06 同济大学 Monitoring control system of movable curtain

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006314389A (en) * 2005-05-10 2006-11-24 Yokota:Kk Electric curtain
FR2960086B1 (en) * 2010-05-12 2012-08-03 Somfy Sas METHOD FOR LOCATING A CONTROL UNIT OF A MANEUVER ACTUATOR OF A WINDOW COVERING ELEMENT
EP2733299B1 (en) * 2011-03-11 2015-09-02 Lutron Electronics Co., Inc. Motorized window treatment
JP5987443B2 (en) * 2012-04-19 2016-09-07 富士通株式会社 Operation motion detection device, operation motion detection method, and program
CN102723902A (en) * 2012-06-05 2012-10-10 广州市瑞翔机电有限公司 Curtain motor device triggered by magnet and magnetic-sensitive switch
CN103427723B (en) * 2013-07-10 2016-05-11 宁波杜亚机电技术有限公司 The folding curtain motor of hand pull starting-up
US10058205B2 (en) * 2014-04-01 2018-08-28 Crestron Electornics, Inc. Automatic and dynamic torque calibration for drapery track system
CN104840080B (en) * 2015-05-14 2016-05-04 慧锐通智能科技股份有限公司 A kind of curtain control method and system of perception human body intention
CN106017506A (en) * 2016-06-22 2016-10-12 浙江工商职业技术学院 Route and hand-pulling start direction detection device of electric curtain
CN106371732B (en) * 2016-11-24 2020-05-29 广东小天才科技有限公司 Method for controlling electronic curtain and electronic terminal
CN109357620A (en) * 2018-11-27 2019-02-19 广东好太太科技集团股份有限公司 A kind of stroke detection and the device for judging the direction of motion
CN110393419A (en) * 2019-06-28 2019-11-01 卧安科技(深圳)有限公司 Curtain electric control driving device
CN110568787B (en) * 2019-08-16 2022-02-22 佛山市绿创窗饰有限公司 Electric curtain control system and method capable of stopping at any time when being pulled
CN110623510A (en) * 2019-09-29 2019-12-31 珠海格力电器股份有限公司 Control method and system of intelligent curtain
CN112731821B (en) * 2020-12-18 2023-03-24 卧安科技(深圳)有限公司 Equipment movement method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001220972A (en) * 2000-02-09 2001-08-17 Sanwa Shutter Corp Control mechanism in architectural motor-driven opening-closing device
JP2007177402A (en) * 2005-12-27 2007-07-12 Sanwa Shutter Corp Control unit of electric shutter for building
CN105003188A (en) * 2015-08-21 2015-10-28 湖州高鼎智能科技有限公司 Multifunctional and intelligent curtain
CN105840037A (en) * 2016-05-23 2016-08-10 北京理工大学 Multifunctional window and curtain control system and method
CN108375916A (en) * 2018-01-17 2018-08-07 深圳市博孚机电有限公司 A kind of application method of the electrically driven curtain based on bluetooth module
CN108412408A (en) * 2018-01-17 2018-08-17 深圳市博孚机电有限公司 A kind of control method of electrically driven curtain
CN109184536A (en) * 2018-07-16 2019-01-11 上海博开遮阳科技有限公司 A kind of control method of electrically driven curtain
CN110543136A (en) * 2019-09-02 2019-12-06 同济大学 Monitoring control system of movable curtain

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
光敏声控智能防盗型电动窗帘的设计与实现;潘峰等;《阴山学刊(自然科学版)》(第01期);38-40 *

Also Published As

Publication number Publication date
CN112731821A (en) 2021-04-30
WO2022127872A1 (en) 2022-06-23

Similar Documents

Publication Publication Date Title
CN112731821B (en) Equipment movement method and electronic equipment
CN103135762B (en) Method and its mobile device for operating user function based on eye tracking
CN109209047B (en) Intelligent door lock, door lock monitoring system and method
EP3130696A1 (en) Washing machine and anti-pinching control method for electric door thereof
CN109087533A (en) Stop monitoring method, parking monitoring device and Monitor System of Stop
EP3130697A1 (en) Washing machine and anti-pinching control method for electric door thereof
US20190071816A1 (en) Device and method for controlling automatic opening and closing of upper cover of washing machine
CN111854059B (en) Control method and device for preventing snow accumulation of air conditioner, air conditioner and storage medium
CN107703764B (en) Equipment control method and device
CN107655177B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
CN107906683B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
CN112342735A (en) Clothes treatment equipment, control method and device thereof and storage medium
CN114979478A (en) Equipment control method and device
CN112482919B (en) Cabinet door control method and device
CN201100059Y (en) Automatic controlling device for garage door
CN107906677B (en) Air conditioner opening and closing structure control method, air conditioner and readable storage medium
CN110607945B (en) Door lock sliding cover touch type anti-pinch control method and system
CN113177524A (en) Control method and system of access control equipment and electronic equipment
CN114407025B (en) Robot sudden stop mode automatic control method and device and robot
CN113294052B (en) Anti-pinch control method, device, electronic equipment and storage medium
CN113757957B (en) Air conditioner control method, air conditioner control system and air conditioner
CN108870674A (en) Opening-closing structure control method, air conditioner and the readable storage medium storing program for executing of air conditioner
CN111211951A (en) Method and device for detecting whether people are in room
CN110636266B (en) Security monitoring method and device based on electric appliance and storage medium
CN115016311B (en) Intelligent device control method, device, equipment and storage medium

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 1101, Qiancheng business center, No. 5, Haicheng Road, hemp community, Xixiang street, Bao'an District, Shenzhen, Guangdong

Applicant after: WOCAO TECHNOLOGY (SHENZHEN) Co.,Ltd.

Address before: 518000 rooms 101-116, building B4, Yintian Industrial Zone, Yantian community, Xixiang street, Bao'an District, Shenzhen City, Guangdong Province

Applicant before: WOCAO TECHNOLOGY (SHENZHEN) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant