CN113287081A - Electronic equipment control system and method - Google Patents

Electronic equipment control system and method Download PDF

Info

Publication number
CN113287081A
CN113287081A CN201980083140.0A CN201980083140A CN113287081A CN 113287081 A CN113287081 A CN 113287081A CN 201980083140 A CN201980083140 A CN 201980083140A CN 113287081 A CN113287081 A CN 113287081A
Authority
CN
China
Prior art keywords
information
preset
infrared
requirement
wake
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.)
Pending
Application number
CN201980083140.0A
Other languages
Chinese (zh)
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
Priority claimed from CN201811534619.5A external-priority patent/CN109710321A/en
Priority claimed from CN201811534552.5A external-priority patent/CN111325876A/en
Priority claimed from CN201811534616.1A external-priority patent/CN111325877B/en
Application filed by Yunding Network Technology Beijing Co Ltd filed Critical Yunding Network Technology Beijing Co Ltd
Publication of CN113287081A publication Critical patent/CN113287081A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/46Indirect determination of position data
    • G01S17/48Active triangulation systems, i.e. using the transmission and reflection of electromagnetic waves other than radio waves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Remote Sensing (AREA)
  • Computer Security & Cryptography (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Optical Radar Systems And Details Thereof (AREA)
  • Selective Calling Equipment (AREA)

Abstract

An electronic device control method and system (100). An electronic device control system (100) includes: a storage device storing a set of instructions; and one or more processors in communication with the storage device, wherein the one or more processors, when executing the set of instructions, are configured to cause the system to: acquiring a distance signal generated after distance detection is performed on a detection object (S210); determining whether the distance signal satisfies a preset signal requirement (S220); in response to determining that the distance signal meets a preset signal requirement, acquiring wake-up information (S230); determining whether the awakening information meets a preset information requirement or not to obtain a determination result (S240); according to the determination result, the electronic device is controlled to perform a designation operation (S250). By respectively checking the distance signal and the awakening information, the intellectualization and automation of the electronic equipment can be realized, and the working accuracy of the electronic equipment is improved.

Description

Electronic equipment control system and method
Cross-referencing
The present application claims priority of chinese application No. 201811534552.5 filed on 12, month and 14 in 2018, entitled "door lock wake-up apparatus and electronic door lock", chinese application No. 201811534616.1 filed on 12, month and 14 in 2018, priority of "control method, apparatus and electronic device of electronic device", and chinese application No. 201811534619.5 filed on 12, month and 14 in 2018, priority of "wake-up method of electronic device, apparatus and electronic device", the entire contents of which are incorporated herein by reference.
Technical Field
The present disclosure relates to electronic device control technologies, and in particular, to a system and a method for controlling an electronic device.
Background
With the progress of scientific technology, the automation and intelligence degree of the equipment is higher and higher. For example, an intelligent door lock, a visual doorbell, a face recognition device, an intelligent sound box, an intelligent television and the like all bring convenience to the daily life of people. Meanwhile, people have higher and higher requirements on the automation degree. Therefore, it is necessary to provide a system and a method capable of implementing an automatic wake-up function, which meet the requirements of users for automation and intelligence.
Disclosure of Invention
One embodiment of the present application provides an electronic device control system. The electronic device control system includes: a storage device storing a set of instructions; and one or more processors in communication with the storage device, wherein the one or more processors are configured to, when executing the set of instructions, cause the system to: acquiring a distance signal generated after distance detection is carried out on a detection object; determining whether the distance signal meets a preset signal requirement; responding to the fact that the distance signal meets the preset signal requirement, and acquiring awakening information; determining whether the awakening information meets a preset information requirement or not to obtain a determination result; and controlling the electronic equipment to perform specified operation according to the determination result.
One embodiment of the present application provides an electronic device control method. The electronic equipment control method comprises the following steps: acquiring a distance signal generated after distance detection is carried out on a detection object; determining whether the distance signal meets a preset signal requirement; acquiring wake-up information in response to determining that the distance signal meets a preset signal requirement; determining whether the awakening information meets a preset information requirement or not to obtain a determination result; and controlling the electronic equipment to perform specified operation according to the determination result.
One of the embodiments of the present application provides a computer-readable storage medium. The storage medium stores computer instructions that, when executed by one or more processors of a system, cause the system to: acquiring a distance signal generated after distance detection is carried out on a detection object; determining whether the distance signal meets a preset signal requirement; responding to the fact that the distance signal meets the preset signal requirement, and acquiring awakening information; determining whether the awakening information meets a preset information requirement or not to obtain a determination result; and controlling the electronic equipment to perform specified operation according to the determination result.
One embodiment of the present application provides a method for waking up an electronic device. The method comprises the following steps: obtaining a distance signal generated after distance detection is carried out on a detection object; if the distance signal meets the preset signal requirement, acquiring awakening information sent by the detection object; and when the awakening information is determined to meet the preset information requirement, switching the working state of the electronic equipment to a normal working state.
In some embodiments, an infrared sensor is connected to the electronic device, and the wake-up information includes infrared sensing data; the determining that the wake-up information meets a preset information requirement includes: determining whether gesture operation exists according to the infrared sensing data; and if the gesture operation exists, determining that the awakening information meets the preset information requirement.
In some embodiments, the determining that the wake-up information satisfies a preset information requirement includes: determining an operation track corresponding to the gesture operation; and when the operation track accords with a preset track rule, determining that the awakening information meets the preset information requirement.
In some embodiments, the determining whether a gesture operation exists according to the infrared sensing data specifically includes: judging whether the infrared sensing data acquired by the infrared sensor in the sampling period comprises data larger than a preset reference threshold value or not to obtain a first judgment result; judging whether the infrared sensing data comprise data smaller than a reference threshold value or not to obtain a second judgment result; the reference threshold value is used for representing a signal value of a user for starting to wake up the electronic equipment; and when the first judgment result and the second judgment result are both yes, determining that gesture operation exists in the infrared sensing data.
In some embodiments, the switching the operating state of the electronic device to the normal operating state further includes: when receiving gesture operation sent by a user, determining an operation track corresponding to the gesture operation; obtaining an operation instruction corresponding to the operation track; and executing the operation instruction.
In some embodiments, the infrared sensor includes a first infrared acquisition device and a second infrared acquisition device, and the determining the operation track corresponding to the gesture operation includes: acquiring first infrared sensing data acquired by the first infrared acquisition equipment in a sampling period and second infrared sensing data acquired by the second infrared acquisition equipment in the sampling period; taking a time point corresponding to the first data which is larger than the reference threshold value in the first infrared sensing data as a first starting time point, and taking a time point which is subsequent to the first starting time point and corresponding to the first data which is smaller than the reference threshold value as a first exit time point; taking a time point corresponding to the first data which is greater than the reference threshold value in the second infrared sensing data as a second starting time point, and taking a time point corresponding to the first data which is less than the reference threshold value after the second starting time point as a second exiting time point; determining a first strongest time point of the first infrared sensing data according to the first starting time point and the first exit time point; determining a second strongest time point of the second infrared sensing data according to the second starting time point and the second exit time point; and determining an operation track according to the first strongest time point and the second strongest time point.
In some embodiments, the obtaining the operation instruction corresponding to the operation track includes: if the first strongest time point is earlier than the second strongest time point, determining that the gesture track moves from the direction corresponding to the first strongest time point to the direction corresponding to the second strongest time point; if the first strongest time point is not earlier than the second strongest time point, determining that the gesture track moves from the direction corresponding to the second strongest time point to the direction corresponding to the first strongest time point; and obtaining an operation instruction corresponding to the gesture track.
In some embodiments, the obtaining of the operation instruction corresponding to the gesture track includes: determining the interface type of a current display interface of the electronic equipment; and obtaining the operation instruction matched with the operation track in the operation instruction set corresponding to the interface type.
In some embodiments, the obtaining wake-up information issued by the detection object includes: switching the electronic equipment from an initial state to a prepared starting state, and acquiring wake-up information sent by the detection object in the prepared starting state; the switching the electronic device to the normal working state includes: switching the electronic equipment from a preparation starting state to a normal working state; wherein the power consumption of the electronic device in the standby operation state is less than the power consumption of the electronic device in the normal operation state.
In some embodiments, a biometric device is connected to the electronic device, and the wake-up information includes biometric data; determining that the wake-up information meets a preset information requirement comprises: judging whether the biological characteristic data is matched with preset biological characteristic data or not; and if the information is matched with the preset information, determining that the awakening information meets the preset information requirement.
One embodiment of the present application provides a wake-up apparatus for an electronic device. The wake-up device comprises: the acquisition module is used for acquiring a distance signal generated after distance detection is carried out on a detection object; the first execution module is used for acquiring awakening information sent by the detection object if the distance signal meets a preset signal requirement; and the second execution module is used for switching the working state of the electronic equipment to a normal working state when the awakening information is determined to meet the preset information requirement.
One of the embodiments of the present application provides an electronic device, including an electronic device main body and a wake-up component connected to the electronic device main body; wherein the wake-up component comprises a processor configured to perform: obtaining a distance signal generated after distance detection is carried out on a detection object; if the distance signal meets the preset signal requirement, acquiring awakening information sent by the detection object; and when the awakening information is determined to meet the preset information requirement, switching the working state of the electronic equipment to a normal working state.
One embodiment of the present application provides a method for controlling an electronic device, including: obtaining a distance signal generated after distance detection is carried out on a detection object; if the distance signal meets the preset signal requirement, acquiring awakening information; and if the awakening information is determined to be abnormal, adjusting the preset signal requirement according to a preset rule.
In some embodiments, the electronic device is connected with an infrared sensor, the wake-up information includes infrared sensing data, and the determining that the wake-up information is abnormal includes: and if the fact that the gesture operation does not exist is determined according to the infrared sensing data, determining that the awakening information is abnormal.
In some embodiments, determining from the infrared sensing data that no gesture operation exists comprises: judging whether the infrared sensing data acquired by the infrared sensor in the sampling period comprises data larger than a reference threshold value or not to obtain a first judgment result; the reference threshold value is used for representing a signal value of a user for starting to wake up the electronic equipment; judging whether the infrared sensing data comprise data smaller than a reference threshold value or not to obtain a second judgment result; and if any one of the first judgment result and the second judgment result is not yes, determining that no gesture operation exists.
In some embodiments, the infrared sensor comprises a first infrared sensor and a second infrared sensor, and the adjusting the preset signal requirement comprises: judging whether first infrared sensing data acquired by the first infrared sensor in a sampling period comprises data larger than a reference threshold value or not to obtain a third judgment result; judging whether second infrared sensing data acquired by the second infrared sensor in a sampling period comprises data larger than the reference threshold value or not to obtain a fourth judgment result; and if the third judgment result and/or the fourth judgment result are/is negative, adjusting the preset signal requirement.
In some embodiments, if the third determination result and the fourth determination result are both yes, the adjusting the preset signal requirement further includes: judging whether first infrared sensing data acquired by the first infrared sensor in the sampling period comprise data smaller than a reference threshold value or not to obtain a fifth judgment result; judging whether second infrared sensing data acquired by the second infrared sensor in the sampling period comprise data smaller than a reference threshold value or not to obtain a sixth judgment result; and if the third judgment result and the fourth judgment result are both yes and the fifth judgment result and the sixth judgment result are no in N continuous sampling periods, adjusting the preset signal requirement.
In some embodiments, said adjusting said preset signal requirement comprises: acquiring the maximum value of the first infrared sensing data and the second infrared sensing data; and adjusting the approach detection threshold value in the preset signal requirement according to the maximum value.
In some embodiments, after the adjusting the preset signal requirement, the waking method further includes: and if the adjusted approach detection threshold value in the preset signal requirement is smaller than or equal to a preset distance limiting value and the distance signal still meets the adjusted preset signal requirement, sending alarm information representing the abnormity of the obstacle.
In some embodiments, the wake-up method further comprises: and if the third judgment result, the fourth judgment result, the fifth judgment result and the sixth judgment result are all yes in N continuous sampling periods, adjusting the reference threshold value according to a preset rule.
In some embodiments, after the adjusting the reference threshold according to the preset rule, the waking method further includes: and if the adjusted reference threshold value in the current sampling period exceeds a preset sensitivity limit value and the third judgment result, the fourth judgment result, the fifth judgment result and the sixth judgment result are all yes in the next sampling period, controlling the electronic equipment to send prompt information for approaching the electronic equipment to perform gesture detection.
In some embodiments, a biometric device is connected to the electronic device, and the wake-up information includes biometric data; determining that the wake-up information is abnormal comprises: determining that the biometric data does not match a preset biometric data.
In some embodiments, the obtaining wake-up information issued by the detection object includes: switching the electronic equipment from an initial state to a prepared starting state, and acquiring awakening information sent by the detection object in the prepared starting state; the switching the electronic device to the normal working state includes: switching the electronic equipment from a preparation starting state to a normal working state; wherein the power consumption of the electronic device in the standby operation state is less than the power consumption of the electronic device in the normal operation state.
An embodiment of the present application provides a control apparatus for an electronic device, including: the acquisition module is used for acquiring a distance signal generated after distance detection is carried out on a detection object; the first execution module is used for acquiring awakening information if the distance signal meets the preset signal requirement; and the second execution module is used for adjusting the preset signal requirement according to a preset rule if the wakeup information is determined to be abnormal.
One of the embodiments of the present application provides an electronic device, including an electronic device main body and a wake-up component connected to the electronic device main body; wherein the wake-up component comprises a processor configured to perform: obtaining a distance signal generated after distance detection is carried out on a detection object; if the distance signal meets the preset signal requirement, acquiring awakening information; and if the awakening information is determined to be abnormal, adjusting the preset signal requirement according to a preset rule.
One of the embodiments of the present application provides a door lock wake-up apparatus, including: the first infrared light emitting tube, the second infrared light emitting tube and the light sensor are arranged on the printed circuit board; the first infrared light-emitting tube, the second infrared light-emitting tube and the light sensor are electrically connected, and the first infrared light-emitting tube and the second infrared light-emitting tube are arranged on two sides opposite to the light sensor; the first infrared light emitting tube is used for emitting first infrared light to the operation body, and the second infrared light emitting tube is used for emitting second infrared light to the operation body; the light sensor is used for triggering a wake-up signal according to the received first reflected infrared light and the second reflected infrared light; the wake-up signal is used for executing a wake-up function; the first reflected infrared light is used for representing infrared light generated by reflecting the first infrared light by the operation body, and the second reflected infrared light is used for representing infrared light generated by reflecting the second infrared light by the operation body.
In some embodiments, the first infrared light emitting tube, the second infrared light emitting tube and the light sensor are located at the same straight line position.
In some embodiments, the first and second infrared light emitting tubes are disposed at equal distances from the light sensor.
In some embodiments, further comprising: the baffle is arranged on the printed circuit board and used for shielding infrared rays; the baffle sets up between first infrared luminotron and between the light sensor and the light sensor with the second infrared luminotron.
In some embodiments, further comprising: and the panel is fixedly connected with the two side walls of the printed circuit board, is parallel to the printed circuit board, and is arranged between the baffle and the operation body.
In some embodiments, the panel is provided with a light-transmitting region having a light transmittance greater than that of other regions.
In some embodiments, the light sensor controls the light emitting intensity of the first infrared light emitting tube and/or the second infrared light emitting tube according to the current value stored in the register of the light sensor.
In some embodiments, the light sensor is further configured to receive natural light and convert the natural light into a natural photoelectric signal to be transmitted to a main controller connected to the light sensor, so that the main controller adjusts the brightness of the associated display module according to the natural light signal.
An embodiment of the present application provides an electronic door lock, including the aforementioned door lock wake-up device.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
the present application 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 schematic view of an application scenario of an electronic device control system according to some embodiments of the present application;
FIG. 2 is a flow chart illustrating a method for controlling an electronic device according to some embodiments of the present application;
FIG. 3 is a schematic diagram of an electronic device control apparatus according to some embodiments of the present application;
FIG. 4 is a flowchart illustrating a wake-up method of an electronic device according to some embodiments of the present disclosure;
FIG. 5 is a schematic diagram of an infrared sensor shown in some embodiments of the present application;
fig. 6 is a partial flow chart illustrating a wake-up method of an electronic device according to some embodiments of the present disclosure;
FIG. 7 illustrates a waveform of infrared sensor data according to some embodiments of the present application;
fig. 8 is a schematic structural diagram of a wake-up apparatus of an electronic device disclosed in an embodiment of the present application;
FIG. 9 illustrates an exemplary flow chart of a method of controlling an electronic device according to some embodiments of the present application;
FIG. 10 is a partial flow chart illustrating a method for controlling an electronic device according to some embodiments of the present application;
FIG. 11 is a schematic structural diagram illustrating an apparatus for controlling an electronic device according to some embodiments of the present disclosure;
FIG. 12 is a schematic diagram of a door lock wake-up unit according to some embodiments of the present application;
FIG. 13 is a schematic diagram of another embodiment of a door lock wake-up unit according to the present application;
fig. 14 is a size diagram of a door lock wake-up unit according to some embodiments of the present application.
Detailed Description
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below. It is obvious that the drawings in the following description are only examples or embodiments of the application, from which the application can also be applied to other similar scenarios without inventive effort for a person skilled in the art. 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", "device", "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 application 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 herein to illustrate operations performed by systems according to embodiments of the present application. 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 view illustrating an application scenario of an electronic device control system according to some embodiments of the present application.
The electronic device control system 100 provided by some embodiments of the present application can intelligently control the electronic device 130. In some embodiments, the electronic device 130 may have more than one state, and an entity (user or device) with control authority may control it to switch between different states. For example, the control instruction may carry wake-up information, and the smart device performs state switching after receiving the wake-up information. The electronic device 130 may include an intelligent door lock, a visual doorbell, a face recognition device, an intelligent speaker, an intelligent television, and so on. It should be understood that the electronic devices 130-1, 130-2, 130-3, 130-4 shown in FIG. 1 are only one example and do not limit the types of electronic devices in the present application in any way. The electronic device 130 can be widely applied to various production and living fields such as residential houses, office buildings, factories, schools, hospitals, hotels, rental houses and the like. In some embodiments, the electronic device control system 100 may include one or more of a variety of information gathering devices such as a microphone/microphone, a camera, a distance sensor (e.g., an infrared sensor, an ultrasonic sensor, etc.), in some embodiments, the information gathering device may be included in the electronic device 130, or may be separate from and communicatively coupled to the electronic device 130.
In some embodiments, when the electronic device control system 100 includes a distance sensor, if the distance sensor includes an infrared sensor, the infrared sensor may include one or more infrared emitting devices, and one or more infrared receiving devices. The infrared Emitting device may include an infrared LED (Light Emitting Diode), for example. The infrared receiving device may include, for example, a light sensor, which may include a photosensitive receiving array and an infrared sensing controller. When the infrared sensor includes 2 infrared emitting devices, for example, a first infrared emitting device and a second infrared emitting device may be included, the first infrared emitting device and the second infrared emitting device may be disposed on two sides opposite to the infrared receiving device, the first infrared emitting device may be configured to emit first infrared light to the detection object, and the second infrared emitting device may be configured to emit second infrared light to the detection object. The infrared receiving device may be configured to receive first reflected infrared light and second reflected infrared light, where the first reflected infrared light is used to represent infrared light generated by reflecting the first infrared light by the detected object, and the second reflected infrared light is used to represent infrared light generated by reflecting the second infrared light by the detected object.
As shown in fig. 1, the electronic device control system 100 includes at least a server 110, a network 121, an electronic device 130, and a user terminal 140.
Server 110 may process data and/or information related to control of electronic device 130 to perform one or more of the functions described herein. In some embodiments, server 110 may include one or more processors to process relevant data and/or information. For example, the server 110 may perform a wake-up operation on the electronic device 130 according to the wake-up information sent by the electronic device 130. For another example, the server 110 may control the electronic device 130 based on a control instruction of the user terminal 140. In some embodiments, the server 110 may be a single server or a group of servers. The server farm can be centralized or distributed (e.g., server 110 can be a distributed system). In some embodiments, the server 110 may be local or remote. In some embodiments, the server 110 may be implemented on a cloud platform. By way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, between clouds, multiple clouds, the like, or any combination of the above. In some embodiments, the server 110 may be implemented on a computing device. In some embodiments, the server 110 may be implemented on a mobile device.
Network 121 may be used for the exchange of information and/or data. Information/data may be sent between one or more components in the system (server 110, electronic device 130, and user terminal 140) to other components via network 121. In some embodiments, the network 121 may be any one or combination of a wired network or a wireless network. For example, network 121 may include a cable network, a wired network, a fiber optic network, a telecommunications network, an intranet, the internet, a Local Area Network (LAN), a Wide Area Network (WAN), a Wireless Local Area Network (WLAN), a Metropolitan Area Network (MAN), a Public Switched Telephone Network (PSTN), a general packet radio network (GPRS), a mobile telephone network, a bluetooth network, a ZigBee network, a Near Field Communication (NFC) network, a narrowband internet of things NB-IoT/LoRa, and the like, or any combination thereof. In some embodiments, network 121 may include one or more network access points. For example, the network 121 may include wired or wireless network access points, such as base stations and/or Internet switching points 121-1, 121-2, and so forth. Through the access point, one or more components of system 100 may connect to network 121 to exchange data and/or information.
In some embodiments, the electronic device 130 may have more than one state and may be switched between different states. In some embodiments, the state of the electronic device 130 may include a standby state, a normal operating state, an off state, a ready to start state, and the like. For example, the states of the smart lock, the smart sound box, the smart television, the video doorbell, and the face recognition device may include a standby state, a normal operating state, an off state, a ready-to-start state, and the like. In some embodiments, the electronic device 130 may also include one or more processors to process relevant data and/or information. For example, the electronic device 130 may obtain a distance signal generated after distance detection is performed on a detection object, obtain wake-up information when it is determined that the distance signal meets a preset signal requirement, and perform a corresponding operation based on the wake-up information. . In some embodiments, the electronic device 130 may acquire a distance signal generated after distance detection of the detection object by a distance sensor for distance detection, such as an infrared sensor or an ultrasonic sensor. In some embodiments, the electronic device 130 may obtain the wake-up information through an information collecting device such as a microphone, a sound pickup, a camera, or a distance sensor, and determine whether the wake-up information meets a preset information requirement, so as to obtain a determination result. And performing specified operation according to the determination result. For example, the operating state is switched to a normal operating state, and also for example, certain parameters are adjusted to avoid performing a wake-up operation due to an obstacle.
In some embodiments, when the electronic device 130 includes the information collecting apparatus for acquiring the wake-up information, one or more processors included in the electronic device 130 may be processors located in the information collecting apparatus, and the step of acquiring the wake-up information and controlling the electronic device to perform the specified operation according to the wake-up information may be specifically implemented by the information collecting apparatus. In addition, when the information acquisition device for acquiring the wake-up information is a distance sensor, the step of acquiring the distance signal generated after the distance detection is performed on the detection object may be implemented by the information acquisition device.
In some embodiments, the user terminal 140 may include, but is not limited to, a smartphone 140-1, a tablet 140-2, a laptop 140-3, a desktop computer, a Personal Digital Assistant (PDA), a palmtop game, smart glasses, a smart watch, a wearable device, a virtual display device, a display enhancement device, and the like, or any combination thereof. The user terminal 140 may exchange data with other devices in the electronic device control system 100 through the network 120. In some embodiments, the user terminal 140 may be an administrator user's terminal device that may communicate directly or indirectly (e.g., through a server) with the electronic device 130. In some embodiments, the user terminal 140 may indirectly control the electronic device 130 through the server 110.
In some embodiments, the server 110, the electronic device 130, and the user terminal 140 may be provided with storage devices, respectively, or separate storage devices may be separately provided in the electronic device control system 100 for storing data and/or instructions. For example, server 110 may have an integrated storage device or may have a separately located storage device (e.g., a big data server) that server 110 may access over network 120. In some embodiments, the storage device may include mass storage, removable storage, volatile read-write memory, random access memory, read-only memory (ROM), the like, or any combination of the above. Exemplary mass storage devices may include magnetic disks, optical disks, solid state drives, and the like. Exemplary removable memory may include flash memory disks, floppy disks, optical disks, memory cards, compact disks, magnetic tape, and the like. Exemplary volatile read-only memory can include Random Access Memory (RAM). Exemplary random access memories may include Dynamic Random Access Memory (DRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Static Random Access Memory (SRAM), silicon controlled random access memory (T-RAM), zero capacitance memory (Z-RAM), and the like. Exemplary read-only memories may include mask read-only memory (MROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), compact disk read-only memory (CD-ROM), digital versatile disk read-only memory (dfrom), and the like. In some embodiments, the storage device may also be implemented on a cloud platform. By way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, between clouds, multiple clouds, the like, or any combination of the above.
Fig. 2 is a flow chart illustrating an electronic device control method according to some embodiments of the present application. In some embodiments, one or more steps of the process 200 may be implemented in the electronic device control system 100 shown in fig. 1. For example, one or more steps in flow 200 may be stored as instructions in a memory device and invoked and/or executed by one or more processors. In some embodiments, the process 200 may be implemented on one or more processors in the electronic device 130. In some embodiments, when the electronic device 130 includes a distance sensor and the information acquisition device for acquiring the wake-up information is the distance sensor, the process 200 may be implemented on one or more processors in the distance sensor.
Step S210 is to acquire a distance signal generated after distance detection is performed on the detection object.
In some embodiments, the distance sensor may perform distance detection on the detection object, and acquire a distance signal indicating a distance between the detection object and the electronic device. The distance sensor (e.g., infrared sensor, laser sensor) may be mounted outside the electronic device or may be integrated inside the electronic device. In some embodiments, the distance sensor may acquire a distance signal of the detection object. In some embodiments, the detection object may be a user who needs to use the electronic device or a non-user (e.g., an obstacle, a user who does not need to use the electronic device). It should be noted that the detection object may also be referred to as an operation body, and the naming of the detection object is not limited in any way in this application. In some embodiments, the electronic device is in a standby state, otherwise referred to as a low power deep sleep state. In this state, the main chip of the system of the electronic device is in a low power consumption mode state, most of the modules inside the chip are in a power-off state, and other peripheral devices except the chip, such as a display screen, are not started.
Step S220, determining whether the distance signal meets a preset signal requirement.
In some embodiments, the predetermined signal requirement may be to perform a specific algorithm on the obtained distance signal and then determine whether the obtained calculation result satisfies a certain relationship with a certain parameter. In some embodiments, the preset signal requirement may be set as a detection threshold, and in some embodiments, the detection threshold may be preset, for example, to 10-12 cm. In some embodiments, the distance signal is determined to meet a predetermined signal requirement if the distance signal is determined to meet the predetermined signal requirement, for example, if the distance signal is less than a detection threshold.
In some embodiments, the preset signal requirement may include at least one of: the distance signal is smaller than a preset detection threshold value; and the difference value between the calculation result and the preset parameter is not more than the preset value, and the calculation result is obtained by carrying out weighted average operation on a plurality of distance signals.
In some embodiments, the predetermined signal requirement may be that the distance signal is less than a predetermined detection threshold, which may be predetermined, for example 10-12 cm. In some embodiments, the preset signal may further be that a difference between the calculation result and the preset parameter is not greater than a preset value, wherein the calculation result may be obtained by performing a weighted average operation on a plurality of distance signals. For example, the result of performing a weighted average operation on 10 distance signals within 5ms is a calculation result, for example, 5.5 cm. If the difference between the calculation result and the preset parameter is not greater than the preset value, for example, the difference is 0.5cm, and the preset value is 0.6, it is determined that the difference between the calculation result and the preset parameter is not greater than the preset value.
Step S230, in response to determining that the distance signal meets a preset signal requirement, acquiring wakeup information.
In some embodiments, the electronic device control system 100 may include an information collecting means, such as a microphone, a sound pickup, a camera, a distance sensor, or the like, for collecting the wake-up information. In some embodiments, a distance sensor, such as an infrared sensor, is preferably employed. When the information acquisition device for acquiring the awakening information is a microphone or a sound pickup, the awakening information can be voice information. When the information acquisition device for acquiring the wake-up information is a camera, the wake-up information may be image information, such as a picture or a video. When the information acquisition device for acquiring the wake-up information is a distance sensor, the wake-up information may be sensing data. Specifically, when the information acquisition device for acquiring the wake-up information is an infrared sensor, the wake-up information may be infrared sensing data.
In some embodiments, the information collecting apparatus may associate preset wake-up configuration information. In some embodiments, it is determined that the distance signal meets a preset signal requirement, and after the wake-up information is obtained, it may be determined whether the wake-up information meets the preset information requirement according to the wake-up configuration information, so as to obtain a determination result.
In some embodiments, the wake-up configuration information may for example comprise action information indicating a specified action, for example indicating that the body or a part of the body is moving in a specified direction. In some embodiments, the wake-up configuration information may include preset biometric information, such as fingerprint data, facial recognition data, pupil recognition data, etc. of the user. In some embodiments, the wake configuration information may include a wake word in text form. In some embodiments, the wake-up configuration information may include voice data for waking up the electronic device. It should be understood that the present application does not limit the wake-up configuration information in any way.
Step S240, determining whether the wake-up information meets a preset information requirement, and obtaining a determination result.
In some embodiments, the wake-up configuration information comprises action information. In some embodiments, determining whether there is an action indicated by the action information according to the wake-up information; and if the action indicated by the action information does not exist, determining that the awakening information does not meet the preset information requirement. For determining whether there is an action indicated by the action information, reference may be made to fig. 4 and fig. 6 and their associated descriptions, which are not described herein again.
In some embodiments, determining whether the wake-up information meets a preset information requirement according to the wake-up configuration information to obtain a determination result may include: judging whether the awakening information is matched with the awakening configuration information; if the information is matched with the preset information, the awakening information is determined to meet the preset information requirement; and if not, determining that the awakening information does not meet the preset information requirement. For example, when the wake-up configuration information includes any one of: the preset biological characteristic information, voice information, awakening words and image information can be matched with the awakening configuration information to determine whether the awakening information meets the preset information requirement.
In some embodiments, when the wake-up configuration information includes action information, if it is determined that an action indicated by the action information exists according to the wake-up information, it is determined that the wake-up information meets a preset information requirement. In some embodiments, the wake-up configuration information may further include a track rule corresponding to the action information, and if it is determined that the action indicated by the action information exists, an action track of the determined action may be further obtained; and if the action track conforms to the track rule, determining that the awakening information meets the preset information requirement. The motion trajectory of the obtained and determined motion may refer to fig. 4 and fig. 6 and their related descriptions, which are not described herein again.
In some embodiments, if the wake-up information does not meet the predetermined information requirement, it indicates that the wake-up information is abnormal. For example, the presence of an obstruction or obstacle triggers the step of acquiring the wake-up information, but the acquired wake-up information obviously does not meet the preset information requirement, which means that the wake-up information is abnormal. For another example, if the matching degree of the biometric data and the preset biometric data does not meet the preset matching degree, it is determined that the awakening information is abnormal.
And step S250, controlling the electronic equipment to perform appointed operation according to the determined result.
In some embodiments, the specified operation may be an operation of controlling the electronic device to switch states, or an operation of controlling the electronic device to adjust a preset signal requirement. For example, the control electronics are adjusted from a standby state to a normal operating state. Also for example, the control electronics adjust preset signal requirements.
In some embodiments, if the determination result is that the wake-up information meets the preset information requirement, the electronic device is controlled to switch the working state to a normal working state. In this way, a fast wake-up of the electronic device can be achieved. Therefore, the waiting time of the user can be saved, and the user can conveniently operate the electronic equipment. And the electronic equipment can receive control instructions and the like in time.
In some embodiments, if the determination result is that the wake-up information does not satisfy the preset information requirement, the preset signal requirement is adjusted according to a preset rule, so that the distance signal does not satisfy the adjusted signal requirement any more, and thus the electronic device does not switch the working state, saves electric energy, and prolongs the service life of the electronic device. In addition, by adjusting the preset signal requirements, the possibility of recognizing the obstacle as a person can be reduced, so that the working accuracy of the electronic device can be improved. For more details about adjusting the preset signal requirement, refer to fig. 9 and the related description thereof, which are not repeated herein.
In some embodiments, after controlling the electronic device to switch the operating state to the normal operating state, if the motion performed by the detection object is detected, a motion trajectory corresponding to the detected motion is determined, an operation instruction corresponding to the determined motion trajectory is obtained, and the operation instruction is executed. In some embodiments, if the motion of the detection object is detected, for example, the detection object is a human body, a gesture operation made by the user is detected, or a motion of the head of the user rotating, or a motion made by other parts of the body. If the relevant action is detected, determining an action track corresponding to the detected action, for example, an action track of a detected gesture operation is an action track from left to right, an action track of head rotation, an action track of clockwise rotation and the like. In some embodiments, an operation instruction corresponding to the determined motion trajectory is acquired, for example, an operation instruction for starting a specific function corresponding to the motion trajectory operated by a gesture is acquired, and the like.
In some embodiments, obtaining the operation instruction corresponding to the determined action track may include determining an interface type of a currently displayed interface of the electronic device, and obtaining an operation instruction matching the determined action track in an operation instruction set corresponding to the interface type. In some embodiments, the current display interface of the electronic device may be an un-awakened interface, a password interface, or an operation interface, for example, if the current display interface is the un-awakened interface, the operation instruction corresponding to the motion trajectory is obtained. For example, if the gesture operation is obtained as a left-to-right motion trajectory, a sequential password keyboard is displayed.
It should be noted that the above description related to the flow 200 is only for illustration and explanation, and does not limit the applicable scope of the present application. Various modifications and changes to flow 200 will be apparent to those skilled in the art in light of this disclosure. However, such modifications and variations are intended to be within the scope of the present application.
Fig. 3 is a schematic structural diagram of an electronic device control apparatus according to some embodiments of the present application. This device embodiment corresponds to the method embodiment shown in fig. 2. As shown in fig. 3, the electronic device control apparatus includes a first acquisition module 310, a first processing module 320, a second acquisition module 330, a second processing module 340, and a control module 350.
The first data acquisition module 310 is configured to acquire a distance signal generated after distance detection is performed on a detection object. For more content of obtaining the distance signal generated after the distance detection is performed on the detection object, reference may be made to the related description of step S210 in the corresponding embodiment of fig. 2, which is not repeated herein.
The first processing module 320 is configured to determine whether the distance signal meets a preset signal requirement. For more details of determining whether the distance signal meets the preset signal requirement, reference may be made to the related description of step S220 in the corresponding embodiment of fig. 2, which is not described herein again.
The second collecting module 330 is configured to, in response to determining that the distance signal meets a preset signal requirement, obtain wake-up information. For more contents of acquiring the wake-up information in response to determining that the distance signal meets the preset signal requirement, refer to the related description of step S230 in the corresponding embodiment of fig. 2, which is not described herein again.
The second processing module 340 is configured to determine whether the wake-up information meets a preset information requirement, so as to obtain a determination result. For more contents of determining whether the wake-up information meets the preset information requirement, refer to the related description of step S240 in the corresponding embodiment of fig. 2, which is not described herein again.
The second processing module 350 is configured to control the electronic device to perform a specified operation according to the determination result. For more contents of controlling the electronic device to perform the designated operation according to the determination result, refer to the related description of step S250 in the corresponding embodiment of fig. 2, which is not repeated herein.
It should be understood that the apparatus shown in fig. 3 and its modules may be implemented in various ways. For example, in some embodiments, the system and its modules may be implemented in hardware, software, or a combination of software and hardware. Wherein the hardware portion may be implemented using dedicated logic; the software portions may be stored in a memory for execution by a suitable instruction execution system, such as a microprocessor or specially designed hardware. Those skilled in the art will appreciate that the methods and systems described above may be implemented using computer executable instructions and/or embodied in processor control code, such code being provided, for example, on a carrier medium such as a diskette, CD-or DVD-ROM, a programmable memory such as read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The system and its modules in this specification may be implemented not only by hardware circuits such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., but also by software executed by various types of processors, for example, or by a combination of the above hardware circuits and software (e.g., firmware).
Some embodiments of the present application provide an electronic device control method. Only when the awakening information meets the preset information requirement, the electronic equipment is controlled to be switched to the normal working state, and the obstacle cannot send the awakening information, so that the working state of the electronic equipment cannot be switched due to the obstacle even if the obstacle exists. For example, from a standby state to a normal operating state.
Under a general condition, taking an intelligent lock as an example, the intelligent lock is usually in a standby state, and when a user needs to unlock the lock, the distance value between the user and the intelligent lock is smaller than a preset distance value of the intelligent lock, and then the intelligent lock is automatically switched from the standby state to a working state, so that subsequent processes such as unlocking and the like are realized. If the distance between the obstacle and the electronic device is too close, the electronic device is switched from the standby state to the working state, so that the power consumption of the electronic device is increased and the service life of the electronic device is shortened by the conventional awakening method of the electronic device. The switching working state of the electronic equipment is controlled based on the awakening information, so that the condition that the electronic equipment is awakened due to the existence of the obstacle can be avoided, the power consumption is reduced, and the service life of the electronic equipment is prolonged.
Some embodiments of the present application provide an electronic device control method. By respectively checking the distance signal and the wake-up signal, the intellectualization and automation of the electronic equipment can be realized, and particularly the quick wake-up of the electronic equipment can be realized. This can be achieved by the following procedures S10-S60. In some embodiments, one or more steps of the process may be implemented in the electronic device control system 100 shown in fig. 1. For example, one or more steps in the flow may be stored as instructions in a memory device and invoked and/or executed by one or more processors. In some embodiments, the process may be implemented on one or more processors in the electronic device 130. In some embodiments, when the electronic device 130 includes a distance sensor and the information acquisition device for acquiring the wake-up information is the distance sensor, the process may be implemented on one or more processors in the distance sensor.
S10, acquiring a distance signal generated after distance detection is carried out on the detection object; s20, determining whether the distance signal meets the preset signal requirement; s30, responding to the fact that the distance signal meets the preset signal requirement, and acquiring awakening information; and S40, determining whether the awakening information meets the preset information requirement or not, and obtaining a determination result. The execution of the processes S10-S40 can refer to the steps S210-S240, which are not repeated herein.
And S50, if the determined result is that the awakening information meets the preset information requirement, controlling the electronic equipment to switch the working state to a normal working state.
In some embodiments, if the wake-up information meets the preset information requirement, the electronic device is controlled to switch the operating state to a normal operating state. For example, the intelligent door lock is controlled to be switched to a normal working state, so that the unlocking operation of a user is facilitated, and the instruction for unlocking the door lock is received conveniently. For example, the smart television is controlled to be switched to a normal working state so as to start a screen power supply, display a default interface and the like. For example, the receiving module of the smart speaker is controlled to start to receive the audio to be played.
In some embodiments, if the determination result is that the wake-up information meets the preset information requirement, the electronic device is controlled to switch the working state to a normal working state. Therefore, the electronic equipment can be awakened quickly, waiting time of a user is saved, and the user can operate the electronic equipment conveniently. And the electronic equipment can receive control instructions and the like in time.
It should be noted that the above descriptions regarding the processes S10-S50 are only for illustration and explanation, and do not limit the applicable scope of the present application. Various modifications and variations of the processes S10-S50 will be apparent to those skilled in the art in light of the present disclosure. However, such modifications and variations are intended to be within the scope of the present application.
Fig. 4 is a flowchart illustrating a wake-up method of an electronic device according to some embodiments of the present application.
The process 400 of the wake-up method for an electronic device disclosed in the present invention includes:
step S410, a distance signal generated after distance detection is performed on the detection object is obtained.
In some embodiments, it is necessary to obtain a distance signal of the detection object, and after the detection device performs distance detection on the detection object, a distance signal corresponding to the distance may be generated. At this time, the electronic device is in a standby state, otherwise referred to as a low power deep sleep state. In this state, the main chip of the system is in a low power consumption mode state, most of the modules inside the chip are in a power-off state, and other peripheral devices except the chip, such as a display screen, are not started.
In some embodiments, the detecting device may include a distance sensor, and may specifically be an infrared sensor, a laser sensor, or the like, which may obtain a distance signal of the detected object.
In some embodiments, it is preferred to use an infrared sensor. The structure of the infrared sensor may be as shown in fig. 5.
As shown in fig. 5, fig. 5 is a schematic structural diagram of an infrared sensor in some embodiments of the present application, which includes an infrared sensor controller, and a first infrared collection device, i.e., the infrared LED1 in fig. 5, a second infrared collection device, i.e., the infrared LED2 in fig. 5, and a photosensitive receiving array connected to the infrared sensor controller, where the infrared sensor controller is communicatively connected to an MCU of an electronic device for sending a detection signal to the electronic device.
In some embodiments, the infrared sensing controller controls the first infrared emitting device and the second infrared emitting device in the left-right horizontal direction to emit infrared light with a certain wavelength, the infrared light is reflected when meeting a detection object, and the infrared photosensitive array receives the returned infrared light and converts the infrared light into a distance signal through an ADC (analog-to-digital conversion device).
Step S420, when it is determined that the wake-up information meets the preset information requirement, switching the working state of the electronic device to a normal working state.
In some embodiments, after the wake-up information is obtained, it is determined whether the wake-up information meets a predetermined information requirement. The preset information requirement may be that the infrared sensing data include a reference threshold, or that the biometric data match with preset biometric data, or the like. When the wake-up information meets the preset information requirement, it can be considered that the detected object is not an obstacle, but a user needs to use the function of the electronic device in the normal working state. The operating state of the electronic device is switched to a normal operating state.
In some embodiments, it is understood that, at this time, the electronic device is switched from the standby starting state to the normal operating state. In a normal working state, the main chip and all peripheral circuits of the system are started, and the set application program or operation interface is operated in the normal working state. The power consumption in the normal operation state is higher than that in the preliminary startup state and the standby state, and is in a high power consumption state. For example, the electronic device is an intelligent lock, and when the wake-up information is determined to meet the preset information requirement, the intelligent lock is switched to a normal working state. It can be understood that, in a normal working state, the virtual password keyboard for entering the unlocking password is displayed in the display interface of the intelligent lock, and after the user enters the correct unlocking password in the virtual password keyboard, the logic of subsequent unlocking is executed. Or the electronic device is an intelligent television, and after the awakening information is determined to meet the preset information requirement, a display screen of the intelligent television is started, an application program capable of executing gesture operation is run, and the like, so that logic for subsequently watching videos or playing games is executed.
In some embodiments, in practical use, taking an electronic device as an example of an intelligent lock, the execution process required by the steps in the present invention may be controlled within a short time, for example, 1s, and a user only needs to shake once within a distance of about 10cm from the intelligent lock by hand, so that the intelligent lock is switched to a normal working state, and a virtual password keyboard is popped up to execute an unlocking logic. Therefore, even if the obstacle is within 10cm, the obstacle cannot execute gesture operation, the user is not determined to be required to unlock, the working state of the intelligent lock does not need to be switched to a normal working state, and therefore the purpose of saving electricity is achieved.
According to the awakening method of the electronic equipment, firstly, a distance signal generated after distance detection is carried out on a detection object is obtained; then judging whether the distance signal meets a preset signal requirement or not; if the distance signal meets the preset signal requirement, acquiring awakening information sent by the detection object; then judging whether the awakening information meets the preset information requirement or not; and if the awakening information meets the preset information requirement, switching the working state of the electronic equipment to a normal working state. In the embodiment of the invention, even if the distance signal meets the preset signal requirement, the electronic equipment is not directly switched to the normal working state, only when the awakening information meets the preset information requirement, the electronic equipment is switched to the normal working state, and the obstacle does not send the awakening information, so that the electronic equipment is not switched to the normal working state even if the obstacle exists, the consumption of electric energy is greatly saved, and the service life is prolonged.
In some embodiments, after obtaining the distance signal, it is determined whether the distance signal meets a preset signal requirement, which may be a proximity sensing threshold, which may be preferably set to any one of 5cm to 15cm in the smart lock. Of course, a range of values is also possible, for example from 10cm to 15 cm.
In some embodiments, it is understood that the preset signal requirement may also be the operation of subjecting the obtained distance signal to a specific algorithm to see whether the obtained calculation result satisfies a certain relation with a certain parameter.
In some embodiments, if the distance signal satisfies a predetermined signal requirement, for example, satisfies a value smaller than the proximity sensing threshold, it means that the electronic device may need to be switched to a normal operating state, so as to perform subsequent processes such as unlocking, opening a door, opening a screen, and the like in the normal operating state. Therefore, wake-up information issued by the detection object is obtained.
In some embodiments, of course, it may also be determined whether a parameter obtained by performing an operation of a specific algorithm on the distance signal satisfies a certain relationship, for example, a plurality of obtained distance signals are subjected to a weighted average budget to obtain a calculation result, it is determined whether a difference between the calculation result and a preset parameter is not more than 0.1, and if the difference is not more than 0.1, it is determined that the distance signal of the detection object satisfies a preset signal requirement.
In some embodiments, the wake-up information sent by the detected object is obtained when a preset signal requirement is met.
In some embodiments, if the distance signal meets a predetermined signal requirement, it indicates that the electronic device may need to be switched to a normal operating state. The wake-up information issued by the detection object is obtained. The wake-up information sent by the detection object is wake-up information generated by detecting wake-up operation of the detection object. Wherein the wake-up information may comprise infrared sensing data for characterizing the gesture or biometric data for characterizing the identity of the user. The specific way to obtain the wake-up information is described in detail later. It can be understood that, if the distance signal meets the preset signal requirement, the electronic device is switched from the initial state to a standby starting state, and in the standby starting state, the wake-up information sent by the detection object is obtained.
In some embodiments, preferably, in the embodiments of the present invention, the electronic device is connected to an infrared sensor, and the wake-up information includes infrared sensing data; the determining that the wake-up information meets a preset information requirement includes: determining whether gesture operation exists according to the infrared sensing data; and if the gesture operation exists, determining that the awakening information meets the preset information requirement.
In some embodiments, in the embodiments of the present invention, if it is determined that the gesture operation exists in the infrared sensing data, it is determined that the gesture operation is not a trigger such as an obstacle or a noise floor, and is a gesture operation of the user, and at this time, it is determined that the wake-up information meets a preset information requirement.
In some embodiments, the determining that the wake-up information satisfies a preset information requirement includes: determining an operation track corresponding to the gesture operation; and when the operation track accords with a preset track rule, determining that the awakening information meets the preset information requirement.
In some embodiments, an operation trajectory corresponding to the gesture operation is determined, and a determination process of a specific operation trajectory is described in detail later. When the operation track meets the preset track rule, for example, if the user is an operation track from left to right, the operation track meets the preset track rule, and the awakening information is determined to meet the preset information requirement.
It can be understood that, in the embodiment of the present invention, in the pre-boot state, the main chip of the system is in the running state, and other peripheral devices outside the chip, such as the display screen, are not booted. In this state, power consumption is slightly higher than in the standby state.
And step S430, when the awakening information is determined to meet the preset information requirement, switching the working state of the electronic equipment to a normal working state.
And after the awakening information is obtained, judging whether the awakening information meets the preset information requirement.
The preset information requirement may be that the infrared sensing data include a reference threshold, or that the biometric data match with preset biometric data, or the like.
When the wake-up information meets the preset information requirement, the detected object is not an obstacle, but the user needs to use the function of the electronic device in the normal working state. The operating state of the electronic device is switched to a normal operating state.
It is understood that, at this time, the electronic device is switched from the preliminary startup state to the normal operation state. In a normal working state, the main chip and all peripheral circuits of the system are started, and the set application program or operation interface is operated in the normal working state. The power consumption in the normal operation state is higher than that in the preliminary startup state and the standby state, and is in a high power consumption state.
For example, the electronic device is an intelligent lock, and when the wake-up information is determined to meet the preset information requirement, the intelligent lock is switched to a normal working state. It can be understood that, in a normal working state, the virtual password keyboard for entering the unlocking password is displayed in the display interface of the intelligent lock, and after the user enters the correct unlocking password in the virtual password keyboard, the logic of subsequent unlocking is executed. Or the electronic device is an intelligent television, and after the awakening information is determined to meet the preset information requirement, a display screen of the intelligent television is started, an application program capable of executing gesture operation is run, and the like, so that logic for subsequently watching videos or playing games is executed.
In practical use, taking an electronic device as an intelligent lock as an example, the execution process required by the steps in the invention can be controlled within a short time, for example, 1s, and a user only needs to shake once within a distance of about 10cm from the intelligent lock by hand, so that the intelligent lock is switched to a normal working state, and a virtual password keyboard is popped up to execute an unlocking logic. Therefore, even if the obstacle is within 10cm, the obstacle cannot execute gesture operation, the user is not determined to be required to unlock, the working state of the intelligent lock does not need to be switched to a normal working state, and therefore the purpose of saving electricity is achieved.
According to the awakening method of the electronic equipment, firstly, a distance signal generated after distance detection is carried out on a detection object is obtained; then judging whether the distance signal meets a preset signal requirement or not; if the distance signal meets the preset signal requirement, acquiring awakening information sent by the detection object; then judging whether the awakening information meets the preset information requirement or not; and if the awakening information meets the preset information requirement, switching the working state of the electronic equipment to a normal working state. In the embodiment of the invention, even if the distance signal meets the preset signal requirement, the electronic equipment is not directly switched to the normal working state, only when the awakening information meets the preset information requirement, the electronic equipment is switched to the normal working state, and the obstacle does not send the awakening information, so that the electronic equipment is not switched to the normal working state even if the obstacle exists, the consumption of electric energy is greatly saved, and the service life is prolonged.
In the above embodiments, a wake-up method of an electronic device is described, and a specific process of determining whether a gesture operation exists is described in detail below.
Referring to fig. 6, fig. 6 is a schematic partial flow chart illustrating a wake-up method of an electronic device according to some embodiments of the present application.
On the basis of the above embodiment, the determining whether the gesture operation exists according to the infrared sensing data specifically includes:
s610, judging whether the infrared sensing data collected by the infrared sensor in the sampling period comprises data larger than a preset reference threshold value or not to obtain a first judgment result;
s620, judging whether the infrared sensing data comprise data smaller than a reference threshold value or not to obtain a second judgment result; the reference threshold value is used for representing a signal value of a user for starting to wake up the electronic equipment;
s630, when the first judgment result and the second judgment result are both yes, determining that gesture operation exists in the infrared sensing data. And S640, otherwise, no gesture operation exists.
In the embodiment of the invention, the electronic equipment is connected with an infrared sensor. Is used for judging whether a gesture operation of a user exists. The infrared sensing data received by the infrared sensor is used as awakening information, and after the infrared sensing data are obtained, whether the preset information requirements are met or not is judged according to the infrared sensing data. The infrared sensing data are acquired in a set detection sampling period, and the detection sampling period can include acquisition frequency and acquisition duration, wherein the acquisition frequency refers to how many times data are acquired every 1 second, and the acquisition duration refers to the acquisition duration of one detection sampling period.
In the embodiment of the invention, a reference threshold value is also set for representing a signal value for a user to start executing the operation of waking up the electronic equipment. Preferably, the reference threshold is of the same type as the approach perception threshold, and the reference threshold is smaller than the approach perception threshold.
And when the first judgment result is yes, the obtained infrared sensing data is represented to include the data larger than the reference threshold value.
Similarly, whether the infrared sensing data obtained in the detection sampling period includes data smaller than the reference threshold value is judged, a second judgment result is obtained, and when the second judgment result is yes, the infrared sensing data obtained by representation includes data smaller than the reference threshold value.
The purpose of setting the reference threshold is to sense whether a user performs a gesture operation before an infrared sensor of the electronic device, and if the user performs the gesture operation before the infrared sensor of the electronic device, data larger than the reference threshold and data smaller than the reference threshold are inevitably generated in a sampling period. Such as a left-to-right or right-to-left gesture operation, a top-to-bottom or bottom-to-top gesture operation, or a left-to-right followed by a right-to-left gesture operation, etc.
In the embodiment of the invention, if the infrared sensing data which are larger than the reference threshold value and smaller than the reference threshold value are included at the same time, and the fact that the user performs gesture operation is determined, the infrared sensing data are determined to meet the preset condition.
It can be seen that in the embodiment of the present invention, the standby state is not directly switched to the normal operating state, but the standby state is switched to the standby starting state, and only when the gesture operation is confirmed, that is, the wakeup information meets the preset information requirement, the standby starting state is switched to the normal operating state. Therefore, only when the user performs gesture operation, the user is determined to need to switch to the normal working state, and the electronic equipment is controlled to switch to the normal working state. Therefore, even if the influence of the obstacles or the background noise exists, the system cannot be frequently switched to a normal working state, the service life of the electronic equipment is greatly prolonged, and the electric energy of the electronic equipment is saved.
In the embodiment of the present invention, after the electronic device is switched to the normal operating state, the method further includes: when receiving gesture operation sent by a user, determining an operation track corresponding to the gesture operation; obtaining an operation instruction corresponding to the operation track; and executing the operation instruction.
In the embodiment of the present invention, obtaining the operation instruction corresponding to the operation trajectory includes:
if the first strongest time point is earlier than the second strongest time point, determining that the gesture track moves from the direction corresponding to the first strongest time point to the direction corresponding to the second strongest time point;
if the first strongest time point is not earlier than the second strongest time point, determining that the gesture track moves from the direction corresponding to the second strongest time point to the direction corresponding to the first strongest time point;
and obtaining an operation instruction corresponding to the gesture track.
In the embodiment of the invention, after the electronic equipment is switched to the normal working state, the gesture operation of the user can still be detected. At this point the peripheral has been activated, e.g., lighting up the display screen, popping up the UI interface, etc. In practical use, a user does not need to manually switch page turning of the UI interface, and the operation instruction may include an operation instruction for controlling the UI interface of the electronic device to turn page left, so as to implement page turning operation from left to right or page turning operation from right to left. For example, a gesture operation from right to left realizes a page-left operation, and a gesture operation from left to right realizes a page-right operation.
Optionally, the obtaining of the operation instruction corresponding to the gesture track includes:
determining the interface type of a current display interface of the electronic equipment;
and obtaining an operation instruction matched with the gesture track in an operation instruction set corresponding to the interface type.
In actual use, the interface type of the current display interface is determined. If the current display interface is the un-awakened interface, if the identified direction is from left to right, displaying the sequential password keyboard; displaying the disorder password keyboard after the identified direction is from right to left;
if the current display interface is a password interface, continuing waving the hand from right to left, and jumping to a setting interface;
and if the current display interface is in the setting interface, waving hands from left to right, and quitting the setting interface.
It can be understood that recognition in the up-down direction can also be realized, after the interface is set, after the gesture recognition is carried out to the direction from bottom to top, the selected setting item moves downwards, and after the left-right gesture recognition is carried out, the sub-option is entered or exited. The up-down direction identification process may refer to the left-right direction identification process in the foregoing embodiment, which is not described herein again.
In the above embodiment, an operation trajectory corresponding to the gesture operation needs to be determined, and this process is described in detail below.
In the embodiment of the invention, the infrared sensor comprises a first infrared acquisition device and a second infrared acquisition device.
Acquiring first infrared sensing data acquired by the first infrared acquisition equipment in a sampling period and second infrared sensing data acquired by the second infrared acquisition equipment in the sampling period;
taking a time point corresponding to the first data which is larger than the reference threshold value in the first infrared sensing data as a first starting time point, and taking a time point which is subsequent to the first starting time point and corresponding to the first data which is smaller than the reference threshold value as a first exit time point;
taking a time point corresponding to the first data which is greater than the reference threshold value in the second infrared sensing data as a second starting time point, and taking a time point corresponding to the first data which is less than the reference threshold value after the second starting time point as a second exiting time point;
determining a first strongest time point of the first infrared sensing data according to the first starting time point and the first exit time point;
determining a second strongest time point of the second infrared sensing data according to the second starting time point and the second exit time point;
and determining an operation track according to the first strongest time point and the second strongest time point.
In the embodiment of the present invention, the structure of the infrared sensor may refer to the structural diagram shown in fig. 2, and the infrared sensor includes a first infrared acquisition device and a second infrared acquisition device.
First infrared sensing data collected by the LED1 and second infrared sensing data collected by the LED2 are collected during a sampling period.
And taking a time point corresponding to the first data which is greater than the reference threshold value in the first infrared sensing data as a first starting time point, wherein the first data which is greater than the reference threshold value means that the gesture operation of the user at the moment is started, after the gesture operation is started, the first data which is less than the reference threshold value means that the gesture operation of the user at the moment is ended, and taking the time point corresponding to the moment as a first exit time point.
Specifically, a first strongest time point corresponding to the maximum value of the first infrared sensing data is measured, and a middle time point between the first start time point and the first exit time point may be used as the first strongest time point. I.e. the first strongest point in time 1/2 (first start point in time + first exit point in time). Similarly, the second strongest time point is 1/2 (the second start time point + the second exit time point).
Of course, since it is determined that the gesture operation exists, the operation may be performed by using a specific function, and the acquisition time corresponding to the maximum data in the first infrared sensing data in the acquisition period is taken as the first strongest time point, and the acquisition time corresponding to the maximum data in the second infrared sensing data is taken as the second strongest time point, and the operation manner may be calculated by using the specific function.
And then determining the operation track of the gesture operation according to the sequence of the first strongest time point and the second strongest time point. For example, if the first strongest time point is earlier than the second strongest time point, the user is considered to be performing a gesture operation track to the right. And if the preset condition is an operation track from left to right, determining that the preset information requirement is met.
Referring to fig. 7, fig. 7 is a waveform diagram illustrating infrared sensing data according to some embodiments of the present application.
It is understood that the gesture operation track may also be an operation track from left to right and then from right to left, and of course, other operation tracks may also be used, for example, right first, back to left, the operation gesture to the left corresponds to one oscillogram, and the gesture to the right corresponds to another oscillogram, so that the specific operation track of the user may be determined.
Therefore, the operation track operated by the user hand can be accurately determined in the embodiment of the invention, and other operations can be executed according to the operation track.
In the above embodiments, embodiments are disclosed in which it is determined that the wake-up information meets a preset information requirement. If the preset information requirement is not met, the invention adjusts the preset signal requirement.
In the embodiment of the invention, the infrared sensor comprises a first infrared acquisition device and a second infrared acquisition device. Adjusting the preset signal requirement comprises:
judging whether first infrared sensing data acquired by the first infrared sensor in a sampling period comprises data larger than a reference threshold value or not to obtain a third judgment result;
judging whether second infrared sensing data acquired by the second infrared sensor in the sampling period comprises data larger than a reference threshold value or not to obtain a fourth judgment result;
judging whether first infrared sensing data acquired by the first infrared sensor in the sampling period comprise data smaller than a reference threshold value or not to obtain a fifth judgment result;
judging whether second infrared sensing data acquired by the second infrared sensor in the sampling period comprises data smaller than a reference threshold value or not to obtain a sixth judgment result;
if the third judgment result and/or the fourth judgment result are negative, acquiring a maximum value in the first infrared sensing data and the second infrared sensing data, and adjusting the preset signal requirement according to the maximum value;
if the third judgment result and the fourth judgment result are both yes and the fifth judgment result and the sixth judgment result are no in N continuous sampling periods, acquiring a maximum value of the first infrared sensing data and the second infrared sensing data, and adjusting the preset signal requirement according to the maximum value.
In the embodiment of the present invention, the structure of the infrared sensor may refer to the structural diagram shown in fig. 5, and the infrared sensor includes a first infrared acquisition device and a second infrared acquisition device.
First infrared sensing data collected by the LED1 and second infrared sensing data collected by the LED2 are collected during a sampling period.
According to the technical scheme, first infrared sensing data acquired by a first infrared sensor in a sampling period and second infrared sensing data acquired by a second infrared sensor in the sampling period are acquired.
And judging whether the first infrared sensing data comprises data larger than the reference threshold value, if so, judging that the third judgment result is yes, and if so, judging that the second infrared sensing data comprises data larger than the reference threshold value, and judging that the fourth judgment result is yes. The purpose is to derive whether there is data entering the gesture recognition process.
And judging whether the first infrared sensing data comprises data smaller than the reference threshold value, if so, judging that the fifth judgment result is yes, and if the second infrared sensing data comprises data smaller than the reference threshold value, judging that the sixth judgment result is yes. The purpose is to find out whether there is data exiting the gesture recognition process.
Through the above process, it can be obtained whether data entering the gesture recognition process and data exiting the gesture recognition exist, and according to the above judgment, the preset signal requirement can be adjusted, for example, the approaching sensing threshold value is adjusted.
If only data entering the gesture recognition process exists, namely the third judgment result and/or the fourth judgment result are/is negative, the environmental background noise is possibly changed, so that only data entering the gesture recognition process but not data exiting the gesture recognition exist, and therefore adjustment is performed according to the maximum value in the acquired infrared sensing data, and interference of the background noise is avoided. For example, the approach sensing threshold is adjusted to a maximum value plus a certain parameter value, such as the maximum value plus 1, as a new approach sensing threshold.
If there is data entering the gesture recognition process but there is no data exiting the gesture recognition process within N consecutive sampling periods, then there may be an obstacle, and therefore, the preset signal requirement is adjusted, i.e. adjusted according to the maximum value in the acquired infrared sensing data.
Of course, if there are data entering the gesture recognition process and data exiting the gesture recognition process at the same time, that is, the third determination result and the fourth determination result are both yes, and the fifth determination result and/or the sixth determination result are yes, if the above processes occur in N consecutive sampling periods at the same time, for example, if the third determination result and the fourth determination result are both yes in 3 consecutive sampling periods, and the fifth determination result and/or the sixth determination result are yes, the preset information requirement may be adjusted, for example, the reference threshold value is adjusted, so as to improve the sensitivity of the gesture recognition process.
In the embodiment of the invention, the preset signal threshold can be adaptively adjusted, so that the electronic equipment can not be frequently started due to the change of environmental background noise and the existence of obstacles. It is understood that the environmental background noise and the obstacles are removed and then adjusted to the initial state.
Therefore, in the embodiment of the invention, the preset information requirement can be adjusted in a self-adaptive manner, so that the accuracy and the precision rate of identifying the normal starting and awakening function of the user are improved, and the user experience is improved.
In the embodiment, the electronic equipment uses the infrared sensing device to determine that the awakening information meets the preset information requirement;
judging whether the awakening information meets the preset information requirement comprises the following steps:
judging whether the biological characteristic data is matched with preset biological characteristic data or not;
and if the information is matched with the preset information, determining that the awakening information meets the preset information requirement.
In the embodiment of the present invention, the electronic device may further be connected with a biometric apparatus, and the biometric apparatus is configured to receive biometric data of a user. Such as fingerprints, irises, etc.
If the biological characteristic data is matched with the preset biological characteristic data, the user is determined to have the authority to wake up the electronic equipment, the wake-up information is determined to meet the preset information requirement, and the electronic equipment is switched to a normal working state. And, the biometric data can be utilized to perform subsequent operations to switch to a normal operating state, such as unlocking, starting a specific APP, and the like.
It can be seen that, in the embodiment of the present invention, the switching of the working state of the electronic device can also be realized by using the biometric device, and the method can be applied to scenes with strong confidentiality, such as financial departments, bank departments, and the like, so that the application range is increased.
Corresponding to the above method embodiment, an embodiment of the present invention further discloses a wake-up apparatus for an electronic device, referring to fig. 8, where fig. 8 is a schematic structural diagram of the wake-up apparatus for an electronic device disclosed in the embodiment of the present invention.
The wake-up device comprises:
an obtaining module 810, configured to obtain a distance signal generated after distance detection is performed on a detection object;
a first executing module 820, configured to obtain wake-up information sent by the detected object if the distance signal meets a preset signal requirement;
the second executing module 830 is configured to switch the working state of the electronic device to a normal working state when it is determined that the wake-up information meets the preset information requirement.
The obtaining of the wake-up information sent by the detection object includes:
switching the electronic equipment from an initial state to a prepared starting state, and acquiring wake-up information sent by the detection object in the prepared starting state;
the switching the electronic device to the normal working state includes: switching the electronic equipment from a preparation starting state to a normal working state; wherein the power consumption of the electronic device in the standby operation state is less than the power consumption of the electronic device in the normal operation state.
The electronic equipment is connected with an infrared sensor, and the awakening information comprises infrared sensing data;
the determining that the wake-up information meets a preset information requirement includes: and when the infrared sensing data are determined to meet the preset conditions, determining that the awakening information meets the preset information requirement.
The determining that the infrared sensing data meets the preset condition includes: judging whether the infrared sensing data acquired by the infrared sensor in the sampling period comprises data larger than a reference threshold value or not to obtain a first judgment result; the reference threshold value is used for representing a signal value of a user for starting to wake up the electronic equipment; judging whether the infrared sensing data comprise data smaller than a reference threshold value or not to obtain a second judgment result; and when the first judgment result and the second judgment result are both yes, determining that the infrared sensing data meet a preset condition.
The infrared sensor comprises a first infrared acquisition device and a second infrared acquisition device, and the determination that the infrared sensing data meets the preset conditions comprises: acquiring first infrared sensing data acquired by the first infrared acquisition equipment in a sampling period and second infrared sensing data acquired by the second infrared acquisition equipment in the sampling period; judging whether the first infrared sensing data have data larger than a reference threshold value in a sampling period, and if so, acquiring a first starting time point larger than the reference threshold value; judging whether the first infrared sensing data have data smaller than a reference threshold value in a sampling period, and if so, acquiring a second starting time point smaller than the reference threshold value; judging whether the second infrared sensing data have data larger than a reference threshold value in a sampling period, and if so, acquiring a third starting time point larger than the reference threshold value; judging whether the second infrared sensing data have data smaller than a reference threshold value in a sampling period, and if so, acquiring a fourth starting time point smaller than the reference threshold value; determining an operation track according to the first starting time point, the second starting time point, the third starting time point and the fourth starting time point; and if the operation track meets a preset condition, determining that the infrared sensing data meets the preset condition. Further comprising: and if the infrared sensing data are determined not to meet the preset conditions, adjusting the preset signal requirements according to the infrared sensing data.
The adjusting the preset signal requirement according to the infrared sensing data comprises: when the first judgment result is negative, or when the first judgment result is positive, and the second judgment result is negative, and the first times that the second judgment result is negative continuously appear in a preset period exceed a first preset time, acquiring the maximum value in the infrared sensing data; and adjusting the preset signal requirement according to the maximum value.
The wake-up method further comprises:
obtaining a second frequency of continuously switching the working state of the electronic equipment to the normal working state in a preset period; and if the second times is not less than a second preset time, adjusting a preset information requirement.
The electronic equipment is connected with a biological recognition device, and the awakening information comprises biological characteristic data. Determining that the wake-up information meets a preset information requirement comprises: judging whether the biological characteristic data is matched with preset biological characteristic data or not; and if the information is matched with the preset information, determining that the awakening information meets the preset information requirement.
In the wake-up device of the electronic device, the obtaining module 810 first obtains a distance signal generated after distance detection is performed on a detection object; when it is determined that the distance signal meets the preset signal requirement, the first execution module 820 obtains the wake-up information sent by the detection object; when the wake-up information meets the preset information requirement, the second execution module 830 switches the operating state of the electronic device to a normal operating state. In the embodiment of the invention, even if the distance signal meets the preset signal requirement, the electronic equipment is not directly switched to the normal working state, only when the awakening information meets the preset information requirement, the electronic equipment is switched to the normal working state, and the obstacle does not send the awakening information, so that the electronic equipment is not switched to the normal working state even if the obstacle exists, the consumption of electric energy is greatly saved, and the service life is prolonged.
The invention also provides electronic equipment, which comprises an electronic equipment main body and a wake-up component connected with the electronic equipment main body;
wherein the wake-up component comprises a processor configured to perform:
obtaining a distance signal generated after distance detection is carried out on a detection object;
judging whether the distance signal meets a preset signal requirement or not;
if the distance signal meets the preset signal requirement, acquiring awakening information sent by the detection object;
judging whether the awakening information meets preset information requirements or not;
and if the awakening information meets the preset information requirement, switching the working state of the electronic equipment to a normal working state.
According to the electronic equipment provided by the embodiment of the invention, a processor firstly obtains a distance signal generated after distance detection is carried out on a detection object; if the distance signal meets the preset signal requirement, acquiring awakening information sent by the detection object; and when the awakening information meets the preset information requirement, switching the working state of the electronic equipment to a normal working state. In the embodiment of the invention, even if the distance signal meets the preset signal requirement, the electronic equipment is not directly switched to the normal working state, only when the awakening information meets the preset information requirement, the electronic equipment is switched to the normal working state, and the obstacle does not send the awakening information, so that the electronic equipment is not switched to the normal working state even if the obstacle exists, the consumption of electric energy is greatly saved, and the service life is prolonged.
Some embodiments of the present application provide a method for controlling an electronic device, and if it is determined that wake-up information is abnormal, a preset signal requirement may be adaptively adjusted, and even if an obstacle exists, the electronic device may not be woken up, thereby greatly saving power consumption and prolonging a service life. This can be achieved by the following procedures S100-S500. One or more steps in the flow may be implemented in the electronic device control system 100 shown in fig. 1. For example, one or more steps in the flow may be stored as instructions in a memory device and invoked and/or executed by one or more processors. In some embodiments, the process may be implemented on one or more processors in the electronic device 130. In some embodiments, when the electronic device 130 includes a distance sensor and the information acquisition device for acquiring the wake-up information is the distance sensor, the process may be implemented on one or more processors in the distance sensor.
S100, acquiring a distance signal generated after distance detection is carried out on a detection object; s200, determining whether the distance signal meets a preset signal requirement; s300, responding to the fact that the distance signal meets the preset signal requirement, and acquiring awakening information; s400, determining whether the awakening information meets the preset information requirement or not to obtain a determination result. The execution processes of the processes S100-S400 can refer to fig. 2 and the steps S210-S240, which are not described again.
S500, if the determined result is that the awakening information does not meet the preset information requirement, adjusting the preset signal requirement according to a preset rule.
In some embodiments, if the determination result is that the wake-up information does not meet the preset information requirement, it indicates that the wake-up information is abnormal. For example, when there is an obstacle, although the distance signal meets the preset signal requirement, the wake-up information does not meet the preset information requirement because the subsequent obstacle cannot complete the operations such as sending wake-up words, gesture operations, etc. to meet the preset information requirement. At this moment, in order to avoid a fault condition, a preset signal requirement is adjusted, so that a distance signal obtained by detecting an obstacle cannot meet the adjusted signal requirement, the step of acquiring wake-up information cannot be started by the electronic equipment, false recognition caused by non-manual operation is avoided, and the working accuracy of the electronic equipment is improved.
In some embodiments, after the preset signal requirement is adjusted, if a detection threshold in the adjusted preset signal requirement is smaller than or equal to a preset distance limit value, the distance signal still meets the adjusted preset signal requirement, and an alarm message is sent. For example, alarm information for representing that an obstacle exists is sent out, or alarm information for triggering the ringing of the play-out device is sent out, or alarm information for triggering and sending information for representing that an abnormal object exists to a designated number is sent out, and the like.
In some embodiments, a sensitivity limit requirement is set, and if the adjusted signal requirement exceeds the sensitivity limit requirement, the control electronics issues a specified prompt message. In some embodiments, the prompt information is specified, for example, prompt information prompting the user to perform a gesture operation close to the electronic device, or prompt information for documenting that the current sensitivity reaches an adjustment upper limit, or the like.
Under the general condition, take the intelligence lock as an example, the intelligence lock is in standby state usually, if the distance value of non-user and intelligence lock is less than the preset distance value of intelligence lock, the intelligence lock also can be automatically switched into operating condition from standby state, has wasted electronic equipment's electric energy, has reduced electronic equipment's life.
FIG. 9 is an exemplary flow chart of a method of controlling an electronic device according to some embodiments of the present application.
The process 900 of the control method of the electronic device disclosed by the invention comprises the following steps:
s910, obtaining a distance signal generated after distance detection is carried out on a detection object;
in the embodiment of the present invention, it is necessary to obtain the distance signal of the detection object first, and after the detection device performs distance detection on the detection object, the distance signal corresponding to the distance may be generated. At this time, the electronic device is in a standby state, otherwise referred to as a low power deep sleep state. In this state, the main chip of the system of the electronic device is in a low power consumption mode state, most of the modules inside the chip are in a power-off state, and other peripheral devices except the chip, such as a display screen, are not started.
The detecting device may include a distance sensor, and specifically may be an infrared sensor, a laser sensor, or other devices that can obtain a distance signal of the detected object.
Infrared sensors are preferably used in embodiments of the present invention. The structure of the sensor is shown in fig. 5.
As shown in fig. 5, fig. 5 is a schematic structural diagram of an infrared sensor in an embodiment of the present invention, which includes an infrared sensor controller, and a first infrared collection device, i.e., the infrared LED1 in fig. 5, a second infrared collection device, i.e., the infrared LED2 in fig. 5, and a photosensitive receiving array connected to the infrared sensor controller, where the infrared sensor controller is in communication connection with an MCU of an electronic device for sending a detection signal to the electronic device.
The infrared sensing controller controls the first infrared emitting device and the second infrared emitting device in the left-right horizontal direction to emit infrared light with a certain wavelength, the infrared light is reflected when meeting a detection object, and the infrared photosensitive array receives the returned infrared light and converts the infrared light into a distance signal through an ADC (analog-to-digital conversion device).
S920, if the distance signal meets the preset signal requirement, acquiring awakening information;
the predetermined signal requirement may be to subject the obtained distance signal to a specific algorithm, such as analog-to-digital conversion, to see whether the obtained calculation result satisfies a certain relation with a certain parameter. For example, if the preset signal requirement is less than the approach detection threshold, the subsequent steps are performed if the distance signal is less than the approach detection threshold. For example, wake-up information issued by the detected object is obtained. Wherein the proximity detection threshold may be preset, for example, set to 10-12 cm.
Of course, it may also be determined whether a parameter obtained by performing an operation of a specific algorithm on the distance signal satisfies a certain relationship, for example, a calculation result is obtained by performing a weighted average budget on the obtained distance signals, it is determined whether a difference range between the calculation result and a preset parameter is not more than 0.1, and if so, it is determined that the distance signal of the detection object satisfies a preset signal requirement.
And when the preset signal requirement is met, acquiring the awakening information.
In the embodiment of the present invention, the wake-up information is wake-up information generated by detecting a wake-up operation of the detection object. If the distance signal meets the preset signal requirement, which indicates that there may be a user approaching the electronic device, a process of waking up the electronic device, for example, performing a gesture input operation or a biometric input operation, is performed, and thus, wake-up information is obtained. Wherein the wake-up information may comprise infrared sensing data for characterizing the gesture input operation or biometric data for characterizing the identity of the user.
The specific way to obtain the wake-up information is described in detail later.
It can be understood that, in the embodiment of the present invention, if the distance signal meets the preset signal requirement, the electronic device is switched from the initial state to the standby starting state, and in the standby starting state, the wake-up information is obtained.
In the ready-to-start state, the main chip of the system is in a running state, and other peripheral devices outside the chip, such as a display screen, are not started. In this state, power consumption is slightly higher than in the standby state.
And S930, if the awakening information is determined to be abnormal, adjusting the preset signal requirement according to a preset rule.
In the embodiment of the invention, after the awakening information is obtained, whether the awakening information is abnormal or not is judged. Specifically, for example, it may be determined whether the wake-up information meets a gesture operation recognition requirement, or whether a biometric recognition requirement is met. In the embodiment of the present invention, when the wake-up information is normal, for example, the wake-up information includes a gesture operation or the matching degree of the biometric data and the preset biometric data conforms to the preset matching degree, it is determined that the wake-up information is normal and there is no abnormality, and it can be considered that the detected object is not an obstacle but a function of the electronic device that the user needs to use in a normal working state. Otherwise, determining that the awakening information is abnormal. Therefore, the operating state of the electronic device is switched to the normal operating state.
It will be appreciated that at this point, the electronic device is switched from a ready-to-start state to a normal operating state. In a normal working state, the main chip and all peripheral circuits of the system are started, and the set application program or operation interface is operated in the normal working state. The power consumption in the normal operation state is higher than that in the preliminary startup state and the standby state, and is in a high power consumption state.
For example, the electronic device is an intelligent lock, and when the wake-up information is determined to be normal, the intelligent lock is switched to a normal working state. It can be understood that, in a normal working state, the virtual password keyboard for entering the unlocking password is displayed in the display interface of the intelligent lock, and after the user enters the correct unlocking password in the virtual password keyboard, the logic of subsequent unlocking is executed. Or the electronic device is an intelligent television, and after the awakening information is determined to be normal, a display screen of the intelligent television is started, an application program capable of executing gesture operation is run, and the like, so that subsequent operations of watching videos or playing games and the like are executed.
In practical use, the electronic device is an intelligent lock as an example, the execution process of the steps in the invention can be controlled within a short time, for example, 1s, and the user only needs to shake once within a distance of about 10cm from the intelligent lock by hand, so that the intelligent lock is switched to a normal working state, and a virtual password keyboard is popped up to execute an unlocking logic. Therefore, even if the obstacle is within 10cm, the obstacle cannot execute gesture operation, the user is not determined to be required to unlock, the working state of the intelligent lock does not need to be switched to a normal working state, and therefore the purpose of saving electricity is achieved.
In the embodiment of the invention, if the wakeup information is determined to have abnormity, for example, no gesture operation exists, the preset signal requirement is adjusted. For example, the size of the approach detection threshold described above is adjusted, or the matching degree of the biometric data is adjusted. The specific process is described in detail later. In the technical scheme of the invention, if the awakening information is determined to be abnormal, the preset signal requirement is adaptively adjusted, so that the distance signal does not meet the adjusted signal requirement any more, the electronic equipment does not switch the working state, and the electronic equipment cannot be awakened even if an obstacle exists.
It can be understood that, after the preset signal requirement is adjusted, the electronic device is further switched from the operation preparation state to the low-power-consumption deep sleep state, and the step of generating the distance signal after the distance detection is performed on the detection object is restarted.
According to the awakening method of the electronic equipment, firstly, a distance signal generated after distance detection is carried out on a detection object is obtained; then judging whether the distance signal meets a preset signal requirement or not; if the distance signal meets the preset signal requirement, acquiring awakening information; and if the awakening information is determined to be abnormal, adjusting the preset signal requirement according to a preset rule. In the embodiment of the invention, if the awakening information is determined to be abnormal, the preset signal requirement can be adaptively adjusted, and the electronic equipment can not be awakened even if an obstacle exists, so that the consumption of electric energy is greatly saved, and the service life is prolonged.
In the above embodiments, a wake-up method of an electronic device is described, wherein a process of determining that there is an abnormality in the wake-up information is mentioned, and this process is described in detail below.
Referring to fig. 10, fig. 10 is a partial flow chart illustrating a control method of an electronic device according to some embodiments of the present application.
On the basis of the embodiment, the electronic equipment disclosed by the invention is connected with an infrared sensor, and the awakening information comprises infrared sensing data;
if it is determined that no gesture operation exists according to the infrared sensing data, determining that the awakening information is abnormal comprises:
s1010, determining whether gesture operation exists according to the infrared sensing data;
s1020, if the gesture operation does not exist, determining that the awakening information is abnormal.
It is understood that S1030 may be further included, and if the gesture operation exists, it is determined that the wake-up information is normal.
In the embodiment of the invention, the electronic equipment is connected with an infrared sensor. Is used for judging whether a gesture operation of a user exists. The infrared sensing data received by the infrared sensor is used as awakening information, and after the infrared sensing data are obtained, whether the awakening information is abnormal or not is judged according to the infrared sensing data. The infrared sensing data are acquired in a set detection sampling period, and the detection sampling period can include acquisition frequency and acquisition duration, wherein the acquisition frequency refers to how many times data are acquired every 1 second, and the acquisition duration refers to the acquisition duration of one detection sampling period.
In the embodiment of the present invention, a reference threshold is further provided, preferably, the reference threshold and the approach detection threshold are of the same type, and the reference threshold may be smaller than the approach detection threshold.
In the embodiment of the invention, whether gesture operation exists is determined according to the infrared sensing data.
Determining whether a gesture operation exists may include the following process.
And judging whether the infrared sensing data obtained in the detection sampling period comprises data larger than a reference threshold value or not to obtain a first judgment result, and if so, representing that the obtained infrared sensing data comprises data larger than the reference threshold value.
Similarly, whether the infrared sensing data obtained in the detection sampling period includes data smaller than the reference threshold value is judged, a second judgment result is obtained, and when the second judgment result is yes, the infrared sensing data obtained by representation includes data smaller than the reference threshold value.
It is understood that, in the embodiment of the present invention, the infrared sensor includes a first infrared sensor and a second infrared sensor, and the infrared sensing data includes first infrared sensing data and second infrared sensing data. And determining that the gesture operation exists only when the first infrared sensing data and the second infrared sensing data both comprise data smaller than a reference threshold value and data larger than the reference threshold value.
The purpose of setting the reference threshold is to sense whether a user performs a gesture operation before an infrared sensor of the electronic device, and if the user performs the gesture operation before the infrared sensor of the electronic device, data larger than the reference threshold and data smaller than the reference threshold are inevitably generated in a sampling period. Such as a left-to-right or right-to-left gesture operation, a top-to-bottom or bottom-to-top gesture operation, or a left-to-right followed by a right-to-left gesture operation, etc.
In the embodiment of the invention, if the infrared sensing data which are larger than the reference threshold value and smaller than the reference threshold value are included at the same time, and the fact that the user performs gesture operation is determined, the infrared sensing data are determined to meet the preset condition.
It can be seen that, in the embodiment of the present invention, the standby state is not directly switched to the normal operating state, but the standby state is switched to the standby starting state, and only when the wakeup information is normal, the standby starting state is switched to the normal operating state. Therefore, only when the user performs gesture operation, the user is determined to need to switch to the normal working state, and the electronic equipment is controlled to switch to the normal working state. Therefore, even if the influence of the obstacles or the background noise exists, the system cannot be frequently switched to a normal working state, the service life of the electronic equipment is greatly prolonged, and the electric energy of the electronic equipment is saved.
In the above embodiment, the requirement for adjusting the preset signal is described, and the process is described in detail below.
In the embodiment of the invention, the infrared sensor comprises a first infrared acquisition device and a second infrared acquisition device. The adjusting the preset signal requirement comprises:
judging whether first infrared sensing data acquired by the first infrared sensor in a sampling period comprises data larger than a reference threshold value or not to obtain a third judgment result;
judging whether second infrared sensing data acquired by the second infrared sensor in the sampling period comprises data larger than a reference threshold value or not to obtain a fourth judgment result;
and if the third judgment result and/or the fourth judgment result are/is negative, adjusting the preset signal requirement.
If the third determination result and the fourth determination result are both yes, the adjusting the preset signal requirement further includes:
judging whether first infrared sensing data acquired by the first infrared sensor in the sampling period comprise data smaller than a reference threshold value or not to obtain a fifth judgment result;
judging whether second infrared sensing data acquired by the second infrared sensor in the sampling period comprises data smaller than a reference threshold value or not to obtain a sixth judgment result;
and if the third judgment result and the fourth judgment result are both yes and the fifth judgment result and the sixth judgment result are no in N continuous sampling periods, adjusting the preset signal requirement.
Adjusting the preset signal requirement comprises:
acquiring the maximum value of the first infrared sensing data and the second infrared sensing data;
and adjusting the approach detection threshold value in the preset signal requirement according to the maximum value.
In the embodiment of the present invention, the structure of the infrared sensor may refer to the structural diagram shown in fig. 2, and the infrared sensor includes a first infrared acquisition device and a second infrared acquisition device.
First infrared sensing data collected by the LED1 and second infrared sensing data collected by the LED2 are collected during a sampling period.
According to the technical scheme, first infrared sensing data acquired by a first infrared sensor in a sampling period and second infrared sensing data acquired by a second infrared sensor in the sampling period are acquired.
And judging whether the first infrared sensing data comprises data larger than the reference threshold value, if so, judging that the third judgment result is yes, and if so, judging that the second infrared sensing data comprises data larger than the reference threshold value, and judging that the fourth judgment result is yes. The purpose is to derive whether there is data entering the gesture recognition process.
And judging whether the first infrared sensing data comprises data smaller than the reference threshold value, if so, judging that the fifth judgment result is yes, and if so, judging that the second infrared sensing data comprises data smaller than the reference threshold value, and judging that the sixth judgment result is yes. The purpose is to find out whether there is data exiting the gesture recognition process.
Through the above process, it is possible to obtain whether there is data entering the gesture recognition process and data exiting the gesture recognition process, and according to the above determination, it is possible to adjust the preset signal requirement, for example, adjust the proximity detection threshold.
If only data entering the gesture recognition process exists, namely the third judgment result and/or the fourth judgment result are/is negative, the environmental background noise is possibly changed, so that only data entering the gesture recognition process but not data exiting the gesture recognition exist, and therefore adjustment is performed according to the maximum value in the acquired infrared sensing data, and interference of the background noise is avoided. For example, the approach detection threshold is adjusted to a maximum value plus a certain parameter value, such as the maximum value plus 1, as a new approach detection threshold.
If there is data entering the gesture recognition process but there is no data exiting the gesture recognition process within N consecutive sampling periods, then there may be an obstacle, and therefore, the approach detection threshold required by the preset signal is adjusted, i.e., adjusted according to the maximum value in the acquired infrared sensing data.
Of course, if there is data entering the gesture recognition process and data exiting the gesture recognition process, that is, the third determination result and the fourth determination result are both yes, and the fifth determination result and/or the sixth determination result are yes, if the above processes occur in N consecutive sampling periods at the same time, for example, if the third determination result and the fourth determination result are both yes in 3 consecutive sampling periods, and the fifth determination result and/or the sixth determination result are yes, the reference threshold may be adjusted, so as to improve the sensitivity of the gesture recognition process. It will be appreciated that the reference threshold value may be reduced infinitely close to 0, and of course, cannot be reduced infinitely due to the presence of ambient noise floor disturbances, and the adjustment limit value of the reference threshold value may be determined from the actual test value of the door lock.
As an example, the sampling period A, B, C is three consecutive sampling periods, and when the third determination result and the fourth determination result in the sampling period A, B, C are both yes, and the fifth determination result and/or the sixth determination result are yes, the reference threshold may be adjusted.
In the embodiment of the invention, the preset signal threshold can be adaptively adjusted, so that the electronic equipment can not be frequently started due to the change of environmental background noise and the existence of obstacles. It is understood that the environmental background noise and the obstacles are removed and then adjusted to the initial state.
It can be understood that if the adjusted approach detection threshold is less than or equal to a preset distance limit value, and the distance signal still meets the adjusted preset signal requirement, then alarm information representing that the obstacle is abnormal is sent.
In the embodiment of the invention, a preset distance limit value is also set, the preset distance limit value is a limit value adjusted by the approach detection threshold value, if the adjusted approach detection threshold value still meets the preset distance limit value, the electronic equipment can also execute the step of obtaining the awakening information, and alarm information is sent out to inform a user of the condition that the obstacle is abnormal.
In the actual use, can acquire user's communication number, for example mailbox or cell-phone number, then control communication device and send alarm information to mailbox or cell-phone number for the user in time knows the unusual condition of barrier, so that in time handle.
And if the adjusted reference threshold value in the current sampling period exceeds the preset sensitivity limit requirement and the third judgment result, the fourth judgment result, the fifth judgment result and the sixth judgment result are all yes in the next sampling period, controlling the electronic equipment to send prompt information for approaching the electronic equipment to perform gesture detection.
In the embodiment of the invention, a preset sensitivity limiting requirement is set, the preset sensitivity limiting requirement is an adjustment limiting value of a reference threshold, if the preset sensitivity limiting requirement exceeds the adjustment limiting value, the operation track of the operation body cannot be normally identified, a prompt message is sent out to prompt a user to approach the electronic equipment, and the identification sensitivity is improved.
In the above embodiment, the electronic device uses the infrared sensing device to determine that the wake-up information is abnormal, in the embodiment of the present invention, the electronic device is connected to a biometric identification device, and the wake-up information includes biometric data;
judging whether the wake-up information meets the abnormality comprises:
judging whether the biological characteristic data is matched with preset biological characteristic data or not;
and if the wake-up information is matched with the user terminal, determining that the wake-up information is normal, otherwise, determining that the wake-up information is abnormal.
In the embodiment of the present invention, the electronic device may further be connected with a biometric apparatus, and the biometric apparatus is configured to receive biometric data of a user. Such as fingerprints, irises, etc.
If the biological characteristic data is matched with the preset biological characteristic data, the user is determined to have the authority to wake up the electronic equipment, the wake-up information is determined to meet the preset information requirement, and the electronic equipment is switched to a normal working state. And, the biometric data can be utilized to perform subsequent operations to switch to a normal operating state, such as unlocking, starting a specific APP, and the like.
It can be seen that, in the embodiment of the present invention, the switching of the working state of the electronic device can also be realized by using the biometric device, and the method can be applied to scenes with strong confidentiality, such as financial departments, bank departments, and the like, so that the application range is increased.
Corresponding to the above method embodiments, the embodiments of the present invention further disclose a control device for an electronic device, referring to fig. 11, and fig. 11 is a schematic structural diagram of a control device for an electronic device according to some embodiments of the present application.
The control device includes:
an obtaining module 1110, configured to obtain a distance signal generated after distance detection is performed on a detection object;
a first executing module 1120, configured to obtain wakeup information if the distance signal meets a preset signal requirement;
the second executing module 1130 is configured to adjust the preset signal requirement according to a preset rule if it is determined that the wakeup information is abnormal.
It can be understood that the control device of the electronic device can implement each step of the control method of the electronic device, and the specific process is not described herein again.
In the control apparatus of an electronic device provided by the present application, the obtaining module 1110 first obtains a distance signal generated after distance detection is performed on a detection object; when it is determined that the distance signal meets the predetermined signal requirement, the first execution module 1120 obtains the wake-up information when the distance signal meets the predetermined signal requirement, and the second execution module 1130 adjusts the predetermined signal requirement according to a predetermined rule when it is determined that the wake-up information is abnormal. In the embodiment of the invention, if the awakening information is determined to be abnormal, the preset signal requirement can be adaptively adjusted, and the electronic equipment can not be awakened even if an obstacle exists, so that the consumption of electric energy is greatly saved, and the service life is prolonged.
The invention also provides electronic equipment, which comprises an electronic equipment main body and a wake-up component connected with the electronic equipment main body;
wherein the wake-up component comprises a processor configured to perform:
obtaining a distance signal generated after distance detection is carried out on a detection object;
if the distance signal meets the preset signal requirement, acquiring awakening information;
and if the awakening information is determined to be abnormal, adjusting the preset signal requirement according to a preset rule.
According to the electronic equipment provided by the embodiment of the invention, a processor firstly obtains a distance signal generated after distance detection is carried out on a detection object; if the distance signal meets the preset signal requirement, acquiring awakening information; and if the awakening information is determined to be abnormal, adjusting the preset signal requirement according to a preset rule. In the embodiment of the invention, if the awakening information is determined to be abnormal, the preset signal requirement can be adaptively adjusted, and the electronic equipment can not be awakened even if an obstacle exists, so that the consumption of electric energy is greatly saved, and the service life is prolonged.
In some embodiments of the present application, the range signal and the wake-up information may be acquired by a range sensor. In some embodiments, the distance sensor may include an infrared sensor, which may include a first infrared emitting device, a second infrared emitting device, and an infrared receiving device disposed on a printed circuit board; the first infrared emitting device, the second infrared emitting device and the infrared receiving device are electrically connected, and the first infrared emitting device and the second infrared emitting device are arranged on two sides opposite to the infrared receiving device; the first infrared emitting device is used for emitting first infrared light to the detection object, and the second infrared emitting device is used for emitting second infrared light to the detection object; the infrared receiving device is used for receiving first reflected infrared light and second reflected infrared light, the first reflected infrared light is used for representing infrared light generated by reflecting the first infrared light by the detection object, and the second reflected infrared light is used for representing infrared light generated by reflecting the second infrared light by the detection object.
In some embodiments, the infrared Emitting device may comprise an infrared LED (Light Emitting Diode), for example. The infrared receiving device may include, for example, a light sensor, which may include a photosensitive receiving array and an infrared sensing controller, to trigger subsequent processes such as waking up the electronic device.
Taking a first infrared emitting device as a first infrared light emitting tube, a second infrared emitting device as a second infrared light emitting tube and an infrared receiving device as light sensors as examples, a door lock awakening device and an electronic door lock are provided, wherein the door lock awakening device comprises a first infrared light emitting tube, a second infrared light emitting tube and a light sensor which are arranged on a printed circuit board; the first infrared light emitting tube is used for emitting first infrared light to the operation body, and the second infrared light emitting tube is used for emitting second infrared light to the operation body; the light sensor is used for triggering a wake-up signal according to the received first reflected infrared light and the second reflected infrared light. According to the technical scheme, the door lock awakening device adopts the structures of the first infrared light emitting tube, the second infrared light emitting tube and the light sensor, so that an awakening signal can be automatically triggered only by reflecting infrared light emitted by the first infrared light emitting tube and infrared light emitted by the second infrared light emitting tube to the light sensor through the operation body without manually touching a touch area, an awakening function is convenient to execute, operation steps are simplified, and user experience is improved.
The door lock awakening device can be applied to an intelligent door lock to realize the awakening function or gesture recognition and other functions of the intelligent door lock. Specifically, the method comprises the following steps.
Referring to fig. 12, fig. 12 is a schematic structural diagram illustrating a door lock wake-up device according to some embodiments of the present application.
The invention discloses a door lock awakening device, which comprises:
a first infrared light emitting tube 1, a second infrared light emitting tube 2 and a light sensor 3 which are arranged on the PCB;
the first infrared light emitting tube 1, the second infrared light emitting tube 1 and the light sensor 1 are electrically connected, and the first infrared light emitting tube 1 and the second infrared light emitting tube 2 are arranged on two opposite sides of the light sensor 3; the first infrared light emitting tube 1 is used for emitting first infrared light to the operation body, and the second infrared light emitting tube 2 is used for emitting second infrared light to the operation body.
In the embodiment of the invention, the infrared light source mainly comprises a PCB printed circuit board, a first infrared light emitting tube 1, a second infrared light emitting tube 2 and a light sensor 3 which are arranged on the PCB. The first infrared light emitting tube 1 and the second infrared light emitting tube 2 are arranged on two sides opposite to the light sensor 3. For example, the first infrared light emitting tube 1 is disposed on the left side of the light sensor 3, and the second infrared light emitting tube 2 is disposed on the right side of the light sensor 3, it can be understood that the first infrared light emitting tube 1 and the second infrared light emitting tube 2 are mirror images with respect to the light sensor 3.
In actual use, the first infrared light emitting tube and the second infrared light emitting tube emit infrared light at a predetermined angle. The predetermined angle may be set according to actual needs as long as it is ensured that the infrared light can be irradiated on the operation body. As specifically defined herein.
In the embodiment of the present invention, the light sensor 3 includes a photosensitive receiving array and a register, wherein the photosensitive receiving array receives the first reflected infrared light and the second reflected infrared light reflected by the operating body. And the infrared light receiving module is also used for carrying out analog-to-digital conversion on the received infrared light, converting the infrared light into a current value and storing the current value in a register.
In the embodiment of the present invention, the first infrared light emitting tube 1 and the second infrared light emitting tube 2 emit infrared light at a certain operating frequency, wherein the operating frequency is determined according to the magnitude of the current value. The current value may be stored in advance in a register of the light sensor. The light sensor controls the luminous intensity of the first infrared luminous tube 1 and the second infrared luminous tube 2 according to the current value in the register. The purpose of changing the light emission intensity is to change the detection distance of the first infrared light emitting tube and the second infrared light emitting tube.
The light sensor is used for triggering a wake-up signal according to the received first reflected infrared light and the second reflected infrared light; the wake-up signal is used for executing a wake-up function; the first reflected infrared light is used for representing infrared light generated by reflecting the first infrared light by the operation body, and the second reflected infrared light is used for representing infrared light generated by reflecting the second infrared light by the operation body.
In the embodiment of the invention, the light sensor triggers the wake-up signal according to the received first reflected infrared light and the second reflected infrared light, and the wake-up signal is used for indicating the main controller of the intelligent door lock to execute the wake-up function. The specific wake-up function can be unlocking a main chip of the intelligent door lock and the like.
In the embodiment of the invention, because the first infrared light-emitting tube and the second infrared light-emitting tube are arranged, when an operation body of a user, such as a hand, shakes in front of the door lock awakening device, infrared light emitted by the first infrared light-emitting tube is reflected to the light sensor through the hand, and infrared light emitted by the second infrared light-emitting tube is reflected to the light sensor through the hand, so that the light sensor receives the first reflected infrared light and the second reflected infrared light in a sampling period, and at the moment, an awakening signal is triggered, which means that the user needs to use the intelligent door lock.
The door lock awakening device in the technical scheme of the invention has the advantages that the door lock awakening device adopts the structures of the first infrared light-emitting tube, the second infrared light-emitting tube and the light sensor, so that an awakening signal can be automatically triggered only by reflecting infrared light emitted by the first infrared light-emitting tube and infrared light emitted by the second infrared light-emitting tube to the light sensor by the operation body without manually touching a touch area, the awakening function is convenient to execute, the operation steps are simplified, and the user experience is improved.
Preferably, the first infrared light emitting tube, the second infrared light emitting tube and the infrared receiving tube are located at the same straight line position.
In the embodiment of the invention, the first infrared light-emitting tube, the second infrared light-emitting tube and the infrared receiving tube in the light sensor are positioned at the same straight line position. In the embodiment of the invention, the distance between the first infrared light-emitting tube and the second infrared light-emitting tube cannot be too close due to the limitation of the sampling rate of the light sensor, and the distance can be determined according to the actual size of the door lock awakening device. In order to improve the detection accuracy, it is preferable that the first infrared light emitting tube and the second infrared light emitting tube be disposed at equal intervals with respect to the infrared receiving tube.
Referring to fig. 13, fig. 13 is a schematic structural diagram of a door lock wake-up device according to some embodiments of the present application.
The invention discloses a door lock awakening device, which comprises: a first infrared light emitting tube 1, a second infrared light emitting tube 2 and a light sensor 3 which are arranged on the printed circuit board PCB;
a baffle 4 arranged on the printed circuit board and used for shielding infrared rays; the baffle sets up between first infrared luminotron and between the light sensor and the light sensor with the second infrared luminotron.
Further comprising:
and the panel is fixedly connected with the two side walls 5 of the printed circuit board, is parallel to the printed circuit board, and is arranged between the baffle and the operation body.
The panel is provided with a light transmission area, and the light transmittance of the light transmission area is greater than that of other areas.
In the embodiment of the present invention, a baffle 4 is further provided, and the baffle 4 is made of a black material, so that the infrared light received by the light sensor is the infrared light that is reflected by the operating body, but not the infrared light reflected by other objects. For example, infrared light may be reflected by reflection from the panel, and therefore, a black material shutter is provided.
In the embodiment of the invention, the panel is used as a light transmission and protection part of the door lock awakening device and is provided with a light transmission area, wherein the light transmission area is determined according to the respective emission angles of the first infrared light-emitting tube and the second infrared light-emitting tube. The transmittance of the panel is designed to reduce the attenuation of infrared light, the wavelength of infrared light is different, and the material of the transparent area of the panel is different.
In practical use, referring to fig. 14, fig. 14 is a schematic size diagram of a door lock wake-up device according to some embodiments of the present application, and a specific arrangement manner is to take a first infrared light emitting tube as an example, assuming that a distance between the first infrared light emitting tube and a light sensor is limited by a structure as a, a vertical height of the first infrared light emitting tube from a light transmission area of a panel is h, and a light emitting angle of the first infrared light emitting tube is α, according to an optical reflection principle, a distance from the first infrared light emitting tube to the panel can calculate a diameter of the light transmission area as 2htan (α/2), and can calculate a distance from the first infrared light emitting tube to an obstacle to be greater than (a/2) cot (α/2). The distance between the color baffle of the first infrared light emitting tube is htan (alpha/2).
In fig. 14, the distance from the first infrared light emitting tube to the operating body is denoted by a letter d.
Preferably, the light sensor is further configured to receive natural light, convert the natural light into a natural photoelectric signal, and transmit the natural photoelectric signal to a main controller connected to the light sensor, so that the main controller adjusts brightness of a related display module according to the natural light signal.
In the embodiment of the present invention, the light-sensitive receiving array of the light sensor further receives natural light, performs analog-to-digital conversion, converts the natural light into a natural photoelectric signal, and transmits the natural photoelectric signal to the main controller through, for example, an I2C bus, where the main controller is, for example, the main controller of the intelligent door lock in the foregoing embodiment, and can adjust the brightness of a display device, such as a display screen of an electronic door lock, according to the natural light signal.
It is understood that, in the embodiment of the present invention, the first reflected infrared light and the second reflected infrared light are also used to provide the basis for the main controller to determine the operation track of the operation body, for example, from left to right or from right to left. In actual use, the user only needs to wave the hand once before the door lock awakening device, and the awakening function can be started, so that the user experience is greatly improved.
Note that, in fig. 12 to 14, the first infrared light emitting tube and the second infrared light emitting tube may be both denoted by IR.
The invention also provides an electronic door lock, which comprises the door lock awakening device.
The structure and function of the door lock wake-up device are the same as those of the previous embodiments, and are not described herein.
The invention provides a door lock awakening device and an electronic door lock, wherein the door lock awakening device comprises a first infrared light emitting tube, a second infrared light emitting tube and a light sensor which are arranged on a printed circuit board; the first infrared light emitting tube is used for emitting first infrared light to the operation body, and the second infrared light emitting tube is used for emitting second infrared light to the operation body; the light sensor is used for triggering a wake-up signal according to the received first reflected infrared light and the second reflected infrared light. According to the technical scheme, the door lock awakening device adopts the structures of the first infrared light emitting tube, the second infrared light emitting tube and the light sensor, so that an awakening signal can be automatically triggered only by reflecting infrared light emitted by the first infrared light emitting tube and infrared light emitted by the second infrared light emitting tube to the light sensor through the operation body without manually touching a touch area, an awakening function is conveniently executed, operation steps are simplified, and user experience is improved.
Having thus described the basic concept, it will be apparent to those skilled in the art that the foregoing detailed disclosure is to be considered merely illustrative and not restrictive of the broad application. Various modifications, improvements and adaptations to the present application may occur to those skilled in the art, although not explicitly described herein. Such modifications, improvements and adaptations are proposed in the present application and thus fall within the spirit and scope of the exemplary embodiments of the present application.
Also, this application uses specific language to describe embodiments of the application. 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 present application is included in at least one embodiment of the present application. 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 present application may be combined as appropriate.
Moreover, those skilled in the art will appreciate that aspects of the present application may be illustrated and described in terms of several patentable species or situations, including any new and useful combination of processes, machines, manufacture, or materials, or any new and useful improvement thereon. Accordingly, various aspects of the present application may be embodied entirely in hardware, entirely in software (including firmware, resident software, micro-code, etc.) or in a combination of hardware and software. The above hardware or software may be referred to as "data block," module, "" engine, "" unit, "" component, "or" system. Furthermore, aspects of the present application may be represented as a computer product, including computer readable program code, embodied in one or more computer readable media.
The computer storage medium may comprise a propagated data signal with the computer program code embodied therewith, for example, on baseband or as part of a carrier wave. The propagated signal may take any of a variety of forms, including electromagnetic, optical, etc., or any suitable combination. A computer storage medium may be any computer-readable medium that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code located on a computer storage medium may be propagated over any suitable medium, including radio, cable, fiber optic cable, RF, or the like, or any combination of the preceding.
Computer program code required for the operation of various portions of the present application may be written in any one or more programming languages, including an object oriented programming language such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C + +, C #, VB.NET, Python, and the like, a conventional programming language such as C, Visual Basic, Fortran 2003, Perl, COBOL 2002, PHP, ABAP, a dynamic programming language such as Python, Ruby, and Groovy, or other programming languages, and the like. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any network format, such as a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet), or in a cloud computing environment, or as a service, such as a software as a service (SaaS).
Additionally, the order in which elements and sequences of the processes described herein are processed, the use of alphanumeric characters, or the use of other designations, is not intended to limit the order of the processes and methods described herein, unless explicitly claimed. 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 application, 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 require more features than are expressly recited in the claims. 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.
The entire contents of each patent, patent application publication, and other material cited in this application, such as articles, books, specifications, publications, documents, and the like, are hereby incorporated by reference into this application. Except where the application is filed in a manner inconsistent or contrary to the present disclosure, and except where the claim is filed in its broadest scope (whether present or later appended to the application) as well. It is noted that the descriptions, definitions and/or use of terms in this application shall control if they are inconsistent or contrary to the statements and/or uses of the present application in the material attached to this application.
Finally, it should be understood that the embodiments described herein are merely illustrative of the principles of the embodiments of the present application. Other variations are also possible within the scope of the present application. Thus, by way of example, and not limitation, alternative configurations of the embodiments of the present application can be viewed as being consistent with the teachings of the present application. Accordingly, the embodiments of the present application are not limited to only those embodiments explicitly described and depicted herein.

Claims (40)

  1. An electronic device control system, comprising:
    a storage device storing a set of instructions; and
    one or more processors in communication with the storage device, wherein the one or more processors are configured to cause the control system, when executing the set of instructions, to:
    acquiring a distance signal generated after distance detection is carried out on a detection object;
    determining whether the distance signal meets a preset signal requirement;
    responding to the fact that the distance signal meets the preset signal requirement, and acquiring awakening information;
    determining whether the awakening information meets a preset information requirement or not to obtain a determination result;
    and controlling the electronic equipment to perform specified operation according to the determination result.
  2. The system according to claim 1, wherein the system comprises an information acquisition device for acquiring the wake-up information, the information acquisition device associating preset wake-up configuration information;
    to determine whether the wake-up information meets a preset information requirement, resulting in a determination, the one or more processors are further configured to cause the system to:
    and determining whether the awakening information meets the preset information requirement or not according to the awakening configuration information to obtain a determination result.
  3. The system of claim 2, wherein the wake-up configuration information comprises action information;
    to determine whether the wake-up information satisfies a preset information requirement according to the wake-up configuration information, resulting in a determination result, the one or more processors are further configured to cause the system to:
    determining whether the action indicated by the action information exists according to the awakening information;
    and if the action indicated by the action information does not exist, determining that the awakening information does not meet the preset information requirement.
  4. The system of claim 3, wherein to determine whether the wake-up information satisfies a predetermined information requirement according to the wake-up configuration information, the one or more processors are further configured to cause the system to:
    and if the action indicated by the action information exists, determining that the awakening information meets the preset information requirement.
  5. The system of claim 3, wherein the wake-up configuration information further comprises a trajectory rule corresponding to the action information;
    to determine whether the wake-up information satisfies a preset information requirement according to the wake-up configuration information, resulting in a determination result, the one or more processors are further configured to cause the system to:
    if the action indicated by the action information is determined to exist, further acquiring an action track of the determined action;
    and if the action track conforms to the track rule, determining that the awakening information meets the preset information requirement.
  6. The system of claim 3, wherein the information acquisition device comprises an infrared sensor, the wake-up information comprises infrared sensing data, and the action indicated by the action information is a gesture action;
    to determine, from the wake-up information, whether there is an action indicated by the action information, the one or more processors are further configured to cause the system to:
    judging whether the infrared sensing data acquired by the infrared sensor in a sampling period comprises data larger than a preset reference threshold value or not to obtain a first judgment result;
    judging whether the infrared sensing data comprise data smaller than the reference threshold value or not to obtain a second judgment result;
    if the first judgment result and the second judgment result are both yes, determining that a gesture action exists in the infrared sensing data;
    and if any one of the first judgment result and the second judgment result is not yes, determining that no gesture action exists in the infrared sensing data.
  7. The system of claim 5, wherein the information acquisition device comprises an infrared sensor comprising a first infrared emitting device and a second infrared emitting device, the wake-up information comprises infrared sensing data, and the action indicated by the action information is a gesture action;
    to obtain a motion trajectory for the determined motion, the one or more processors are further configured to cause the system to:
    acquiring first infrared sensing data corresponding to the first infrared emission device and second infrared sensing data corresponding to the second infrared emission device, which are acquired in a sampling period;
    taking a time point corresponding to the first data which is larger than a preset reference threshold value in the first infrared sensing data as a first starting time point, and taking a time point corresponding to the first data which is smaller than the reference threshold value after the first starting time point as a first exit time point;
    taking a time point corresponding to the first data which is greater than the reference threshold value in the second infrared sensing data as a second starting time point, and taking a time point corresponding to the first data which is less than the reference threshold value after the second starting time point as a second exiting time point;
    determining a first strongest time point of the first infrared sensing data according to the first starting time point and the first exit time point;
    determining a second strongest time point of the second infrared sensing data according to the second starting time point and the second exit time point;
    and determining the action track according to the first strongest time point and the second strongest time point.
  8. The system of claim 7, wherein to obtain the motion trajectory of the determined motion, the one or more processors are further configured to cause the system to:
    if the first strongest time point is earlier than the second strongest time point, determining that the action track moves from the direction corresponding to the first strongest time point to the direction corresponding to the second strongest time point;
    and if the first strongest time point is not earlier than the second strongest time point, determining that the action track moves from the direction corresponding to the second strongest time point to the direction corresponding to the first strongest time point.
  9. The system of claim 2, wherein to determine whether the wake-up information satisfies a predetermined information requirement according to the wake-up configuration information, the one or more processors are further configured to cause the system to:
    judging whether the awakening information is matched with the awakening configuration information;
    if the information is matched with the preset information, the awakening information is determined to meet the preset information requirement;
    and if not, determining that the awakening information does not meet the preset information requirement.
  10. The system of claim 1, wherein the preset signal requirements comprise at least one of:
    the distance signal is smaller than a preset detection threshold value;
    and the difference value between the calculation result and the preset parameter is not more than the preset value, and the calculation result is obtained by carrying out weighted average operation on a plurality of distance signals.
  11. The system of claim 1 or 2, wherein to control the electronic device to perform a specified operation based on the determination, the one or more processors are further configured to cause the system to:
    and if the determined result is that the awakening information meets the preset information requirement, controlling the electronic equipment to switch the working state to a normal working state.
  12. The system of claim 11, wherein to obtain wake-up information, the one or more processors are further configured to cause the system to:
    controlling the electronic equipment to be switched from an initial state to a prepared starting state, and acquiring wake-up information sent by the detection object in the prepared starting state; and
    to control the electronic device to switch an operating state to a normal operating state, the one or more processors are further configured to cause the system to:
    controlling the electronic equipment to be switched from a preparation starting state to a normal working state;
    wherein the power consumption of the electronic device in the ready-to-start state is less than the power consumption of the electronic device in the normal operating state.
  13. The system of claim 11, wherein the one or more processors are further configured to cause the system to:
    after the electronic equipment is controlled to switch the working state to the normal working state, if the action of the detection object is detected, determining an action track corresponding to the detected action;
    acquiring an operation instruction corresponding to the determined action track;
    and executing the operation instruction.
  14. The system of claim 13, wherein to obtain operational instructions corresponding to the determined motion trajectory, the one or more processors are further configured to cause the system to:
    determining the interface type of a current display interface of the electronic equipment;
    and obtaining the operation instruction matched with the determined action track in the operation instruction set corresponding to the interface type.
  15. The system of claim 1 or 2, wherein to control the electronic device to perform a specified operation based on the determination, the one or more processors are further configured to cause the system to:
    and if the determined result is that the awakening information does not meet the preset information requirement, adjusting the preset signal requirement according to a preset rule.
  16. The system of claim 15, comprising an information collection device for collecting the wake-up information, the information collection device comprising an infrared sensor comprising a first infrared emitting device and a second infrared emitting device, the wake-up information comprising infrared sensing data;
    to adjust the preset signal requirements in accordance with preset rules, the one or more processors are further configured to cause the system to:
    judging whether first infrared sensing data corresponding to the first infrared emission device and collected in a sampling period comprise data larger than a preset reference threshold value or not, and obtaining a third judgment result;
    judging whether second infrared sensing data corresponding to the second infrared transmitting device and collected in a sampling period comprise data larger than the reference threshold value or not, and obtaining a fourth judgment result;
    and if the third judgment result and/or the fourth judgment result are/is negative, adjusting the preset signal requirement.
  17. The system of claim 16, wherein to adjust the preset signal requirement according to a preset rule, the one or more processors are further configured to cause the system to:
    if the third judgment result and the fourth judgment result are both yes, executing the following processing steps:
    judging whether the first infrared sensing data collected in the sampling period comprises data smaller than the reference threshold value or not to obtain a fifth judgment result;
    judging whether the second infrared sensing data collected in the sampling period comprises data smaller than the reference threshold value or not to obtain a sixth judgment result;
    and if the third judgment result and the fourth judgment result are both yes and the fifth judgment result and the sixth judgment result are no in a preset number of continuous sampling periods, adjusting the preset signal requirement.
  18. The system of claim 16, wherein to adjust the preset signal requirement, the one or more processors are further configured to cause the system to:
    acquiring the maximum value of the first infrared sensing data and the second infrared sensing data;
    and adjusting the detection threshold value in the preset signal requirement according to the maximum value.
  19. The system of claim 15, wherein the preset signal requirement comprises a detection threshold;
    the one or more processors are further configured to cause the system to:
    after the preset signal requirement is adjusted, if the detection threshold value in the adjusted preset signal requirement is smaller than or equal to a preset distance limiting value, the distance signal still meets the adjusted preset signal requirement, and alarm information is sent.
  20. The system of claim 17, wherein the one or more processors are further configured to cause the system to:
    if the third determination result, the fourth determination result, the fifth determination result and the sixth determination result are all yes in the preset number of continuous sampling periods, adjusting the reference threshold according to a preset rule.
  21. The system of claim 20, wherein the one or more processors are further configured to cause the system to:
    after the reference threshold value is adjusted according to a preset rule, if the reference threshold value adjusted in the current sampling period exceeds a preset sensitivity limit value and the third judgment result, the fourth judgment result, the fifth judgment result and the sixth judgment result are all yes in the next sampling period, the electronic equipment is controlled to send out appointed prompt information.
  22. The system of claim 1, comprising a distance sensor, wherein the distance signal is generated by the distance sensor upon distance detection of a detection object.
  23. The system of claim 22, wherein the distance sensor comprises an infrared sensor comprising a first infrared emitting device, a second infrared emitting device, and an infrared receiving device disposed on a printed circuit board;
    the first infrared emitting device, the second infrared emitting device and the infrared receiving device are electrically connected, and the first infrared emitting device and the second infrared emitting device are arranged on two sides opposite to the infrared receiving device; the first infrared emitting device is used for emitting first infrared light to the detection object, and the second infrared emitting device is used for emitting second infrared light to the detection object;
    the infrared receiving device is used for receiving first reflected infrared light and second reflected infrared light, the first reflected infrared light is used for representing infrared light generated by reflecting the first infrared light by the detection object, and the second reflected infrared light is used for representing infrared light generated by reflecting the second infrared light by the detection object.
  24. The system of claim 23, wherein the first ir transmitting device, the second ir transmitting device and the ir receiving device are in the same linear position.
  25. The system of claim 24, wherein the first infrared emitting device and the second infrared emitting device are disposed equidistantly relative to the infrared receiving device.
  26. The system of claim 23, wherein a baffle is disposed on the printed circuit board for blocking infrared light, and the baffle is disposed between the first infrared emitting device and the infrared receiving device and between the infrared receiving device and the second infrared emitting device.
  27. The system of claim 26, wherein two sidewalls of the printed circuit board are fixedly attached to a panel, the panel is parallel to the printed circuit board, and the panel is disposed between the barrier and the test object.
  28. The system of claim 27, wherein the panel is provided with a light transmissive region having a light transmittance greater than that of other regions.
  29. The system of claim 23, wherein the infrared receiving device controls the light intensity of the first infrared emitting device and/or the second infrared emitting device according to the current value stored in the register of the infrared receiving device.
  30. The system of claim 23, wherein the infrared receiving device is further configured to receive natural light and convert the natural light into a natural photoelectric signal;
    the one or more processors are further configured to cause the system to:
    and adjusting the brightness of the related display component according to the natural light signal.
  31. An electronic device control method, comprising:
    acquiring a distance signal generated after distance detection is carried out on a detection object;
    determining whether the distance signal meets a preset signal requirement;
    responding to the fact that the distance signal meets the preset signal requirement, and acquiring awakening information;
    determining whether the awakening information meets a preset information requirement or not to obtain a determination result;
    and controlling the electronic equipment to perform specified operation according to the determination result.
  32. A computer-readable storage medium storing computer instructions that, when executed by one or more processors of a system, cause the system to: acquiring a distance signal generated after distance detection is carried out on a detection object;
    determining whether the distance signal meets a preset signal requirement;
    responding to the fact that the distance signal meets the preset signal requirement, and acquiring awakening information;
    determining whether the awakening information meets a preset information requirement or not to obtain a determination result;
    and controlling the electronic equipment to perform specified operation according to the determination result.
  33. A wake-up method of an electronic device, comprising:
    obtaining a distance signal generated after distance detection is carried out on a detection object;
    if the distance signal meets the preset signal requirement, acquiring awakening information sent by the detection object;
    and when the awakening information is determined to meet the preset information requirement, switching the working state of the electronic equipment to a normal working state.
  34. A wake-up unit of an electronic device, comprising:
    the acquisition module is used for acquiring a distance signal generated after distance detection is carried out on a detection object;
    the first execution module is used for acquiring awakening information sent by the detection object if the distance signal meets a preset signal requirement;
    and the second execution module is used for switching the working state of the electronic equipment to a normal working state when the awakening information is determined to meet the preset information requirement.
  35. An electronic device, comprising an electronic device body and a wake-up component connected to the electronic device body;
    wherein the wake-up component comprises a processor configured to perform:
    obtaining a distance signal generated after distance detection is carried out on a detection object;
    if the distance signal meets the preset signal requirement, acquiring awakening information sent by the detection object;
    and when the awakening information is determined to meet the preset information requirement, switching the working state of the electronic equipment to a normal working state.
  36. A method of controlling an electronic device, comprising:
    obtaining a distance signal generated after distance detection is carried out on a detection object;
    if the distance signal meets the preset signal requirement, acquiring awakening information;
    and if the awakening information is determined to be abnormal, adjusting the preset signal requirement according to a preset rule.
  37. A control apparatus of an electronic device, comprising:
    the acquisition module is used for acquiring a distance signal generated after distance detection is carried out on a detection object;
    the first execution module is used for acquiring awakening information if the distance signal meets the preset signal requirement;
    and the second execution module is used for adjusting the preset signal requirement according to a preset rule if the wakeup information is determined to be abnormal.
  38. An electronic device, comprising an electronic device body and a wake-up component connected to the electronic device body;
    wherein the wake-up component comprises a processor configured to perform:
    obtaining a distance signal generated after distance detection is carried out on a detection object;
    if the distance signal meets the preset signal requirement, acquiring awakening information;
    and if the awakening information is determined to be abnormal, adjusting the preset signal requirement according to a preset rule.
  39. A door lock wake-up unit, comprising:
    the first infrared light emitting tube, the second infrared light emitting tube and the light sensor are arranged on the printed circuit board;
    the first infrared light-emitting tube, the second infrared light-emitting tube and the light sensor are electrically connected, and the first infrared light-emitting tube and the second infrared light-emitting tube are arranged on two sides opposite to the light sensor; the first infrared light emitting tube is used for emitting first infrared light to the operation body, and the second infrared light emitting tube is used for emitting second infrared light to the operation body;
    the light sensor is used for triggering a wake-up signal according to the received first reflected infrared light and the second reflected infrared light; the wake-up signal is used for executing a wake-up function; the first reflected infrared light is used for representing infrared light generated by reflecting the first infrared light by the operation body, and the second reflected infrared light is used for representing infrared light generated by reflecting the second infrared light by the operation body.
  40. An electronic door lock comprising the door lock wake-up unit of claim 39.
CN201980083140.0A 2018-12-14 2019-12-13 Electronic equipment control system and method Pending CN113287081A (en)

Applications Claiming Priority (7)

Application Number Priority Date Filing Date Title
CN201811534619.5A CN109710321A (en) 2018-12-14 2018-12-14 Awakening method, device and the electronic equipment of electronic equipment
CN201811534552.5A CN111325876A (en) 2018-12-14 2018-12-14 Door lock awakening device and electronic door lock
CN201811534616.1A CN111325877B (en) 2018-12-14 2018-12-14 Electronic equipment control method and device and electronic equipment
CN2018115345525 2018-12-14
CN2018115346195 2018-12-14
CN2018115346161 2018-12-14
PCT/CN2019/125332 WO2020119810A1 (en) 2018-12-14 2019-12-13 Electronic device control system and method

Publications (1)

Publication Number Publication Date
CN113287081A true CN113287081A (en) 2021-08-20

Family

ID=71076245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980083140.0A Pending CN113287081A (en) 2018-12-14 2019-12-13 Electronic equipment control system and method

Country Status (2)

Country Link
CN (1) CN113287081A (en)
WO (1) WO2020119810A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117079445A (en) * 2023-10-13 2023-11-17 深圳市微克科技有限公司 Infrared remote control method, system and medium based on intelligent watch
WO2024002282A1 (en) * 2022-07-01 2024-01-04 华为技术有限公司 Method and apparatus for sensing device, and chip and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901088A (en) * 2010-08-06 2010-12-01 鸿富锦精密工业(深圳)有限公司 Infrared control device
CN106650704A (en) * 2017-01-10 2017-05-10 广东美的制冷设备有限公司 Gesture recognition module, gesture recognition method and device and electric equipment
CN107728518A (en) * 2017-10-10 2018-02-23 长沙待电子科技有限公司 Multifunctional intellectual human-computer interactive control system and its control method
CN108845667A (en) * 2018-06-07 2018-11-20 安徽爱依特科技有限公司 A kind of awakening method and its system of intelligence penny bank
CN108881620A (en) * 2018-05-29 2018-11-23 奇酷互联网络科技(深圳)有限公司 Mobile terminal awakening method, device and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727160B (en) * 2009-11-11 2012-10-17 无锡中星微电子有限公司 Method and device for switching working modes of coprocessor system and processor system
CN102520798A (en) * 2011-12-20 2012-06-27 深圳鼎瑄通讯科技有限公司 Gesture recognition system of mobile digital equipment
US9520045B2 (en) * 2014-09-02 2016-12-13 Apple Inc. Establishment and detection of breakage of wireless leash between devices
CN107578765A (en) * 2017-08-24 2018-01-12 得理电子(上海)有限公司 Applied to musical instrument or the controller of musical instruments
CN109710321A (en) * 2018-12-14 2019-05-03 云丁网络技术(北京)有限公司 Awakening method, device and the electronic equipment of electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101901088A (en) * 2010-08-06 2010-12-01 鸿富锦精密工业(深圳)有限公司 Infrared control device
CN106650704A (en) * 2017-01-10 2017-05-10 广东美的制冷设备有限公司 Gesture recognition module, gesture recognition method and device and electric equipment
CN107728518A (en) * 2017-10-10 2018-02-23 长沙待电子科技有限公司 Multifunctional intellectual human-computer interactive control system and its control method
CN108881620A (en) * 2018-05-29 2018-11-23 奇酷互联网络科技(深圳)有限公司 Mobile terminal awakening method, device and mobile terminal
CN108845667A (en) * 2018-06-07 2018-11-20 安徽爱依特科技有限公司 A kind of awakening method and its system of intelligence penny bank

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024002282A1 (en) * 2022-07-01 2024-01-04 华为技术有限公司 Method and apparatus for sensing device, and chip and device
CN117079445A (en) * 2023-10-13 2023-11-17 深圳市微克科技有限公司 Infrared remote control method, system and medium based on intelligent watch
CN117079445B (en) * 2023-10-13 2023-12-15 深圳市微克科技有限公司 Infrared remote control method, system and medium based on intelligent watch

Also Published As

Publication number Publication date
WO2020119810A1 (en) 2020-06-18

Similar Documents

Publication Publication Date Title
CN110291489B (en) Computationally efficient human identification intelligent assistant computer
US11561621B2 (en) Multi media computing or entertainment system for responding to user presence and activity
CN112863510B (en) Method for executing operation on client device platform and client device platform
US9471153B1 (en) Motion detection systems for electronic devices
KR102139795B1 (en) Method for updating biometric feature pattern and the electronic device therefor
EP2688311B1 (en) Method for processing sensor input, in particular for adjusting mobile device state based on user intentions and/or identity
US20180232571A1 (en) Intelligent assistant device communicating non-verbal cues
CN113038470A (en) System and method for multi-mode user equipment authentication
CN110192248A (en) Voice input processing method and electronic equipment for supporting this method
CN106537280A (en) Interactive mirror
US20210318743A1 (en) Sensing audio information and footsteps to control power
KR20180109109A (en) Method of recognition based on IRIS recognition and Electronic device supporting the same
JP2010016432A (en) Digital photograph frame, information processing system, control method, program, and information storage medium
CN106095421B (en) A kind of control method and system of virtual reality device
JP2010079609A (en) Personal authentication device, personal authentication program, and intercom system with personal authentication device
CN113287081A (en) Electronic equipment control system and method
CN109119080A (en) Sound identification method, device, wearable device and storage medium
CN109522706A (en) A kind of information cuing method and terminal device
EP3857545A1 (en) Electronic apparatus and control method thereof
CN111325877A (en) Electronic equipment control method and device and electronic equipment
WO2020175802A1 (en) Electronic apparatus and control method thereof
CN113011234A (en) Method and system for identity confirmation
CN115086094B (en) Equipment selection method and related device
CN115019798A (en) Control method and device of voice recognition equipment, electronic equipment and storage medium
CN114531947A (en) Electronic device and response operation method of electronic device

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