CN113660149A - Device control method and apparatus, storage medium, and electronic device - Google Patents

Device control method and apparatus, storage medium, and electronic device Download PDF

Info

Publication number
CN113660149A
CN113660149A CN202110932199.1A CN202110932199A CN113660149A CN 113660149 A CN113660149 A CN 113660149A CN 202110932199 A CN202110932199 A CN 202110932199A CN 113660149 A CN113660149 A CN 113660149A
Authority
CN
China
Prior art keywords
state
mobile terminal
target
target equipment
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110932199.1A
Other languages
Chinese (zh)
Other versions
CN113660149B (en
Inventor
李英博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110932199.1A priority Critical patent/CN113660149B/en
Publication of CN113660149A publication Critical patent/CN113660149A/en
Application granted granted Critical
Publication of CN113660149B publication Critical patent/CN113660149B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/284Home automation networks characterised by the type of medium used
    • H04L2012/2841Wireless
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The disclosure provides a device control method, a device control apparatus, a computer-readable storage medium and an electronic device, and relates to the technical field of electronic devices. The equipment control method comprises the following steps: acquiring an operating state of target equipment, and acquiring a first user operation acting on a mobile terminal in the operating state to determine position information of the mobile terminal; if the target equipment meets the switching triggering condition according to the position information of the mobile terminal in the running state, switching the running state of the target equipment in a non-contact mode; the target equipment comprises a near field communication induction device, and is connected with the mobile terminal in a near field communication mode. According to the technical scheme of the embodiment of the disclosure, the target equipment can be switched in a non-contact mode through the mobile terminal, and the reliability and convenience of equipment control are improved.

Description

Device control method and apparatus, storage medium, and electronic device
Technical Field
The present disclosure relates to the field of electronic device technologies, and in particular, to a device control method, a device control apparatus, a computer-readable storage medium, and an electronic device.
Background
With the development of CPE (Customer Premise Equipment) and the popularization of smart home devices, a plurality of applications may be controlled using the Customer Premise Equipment, for example, applications such as video network monitoring, home, security, and the like. Since the power of the customer premises equipment is large, it is necessary to control the operation state of the customer premises equipment for energy saving.
In the related art, the client front-end equipment realizes the power on and off function through the entity key, and in the process of putting in the operation of the entity key, a user needs to contact the client front-end equipment, so that the operation has certain limitation, poor convenience and low safety.
Disclosure of Invention
The present disclosure provides an apparatus control method, an apparatus control device, a computer-readable storage medium, and an electronic apparatus, thereby overcoming, at least to some extent, the problem of inconvenience in apparatus control.
According to an aspect of the present disclosure, there is provided an apparatus control method including: acquiring an operating state of target equipment, and acquiring a first user operation acting on a mobile terminal in the operating state to determine position information of the mobile terminal; if the target equipment meets the switching triggering condition according to the position information of the mobile terminal in the running state, switching the running state of the target equipment in a non-contact mode; the target equipment comprises a near field communication induction device, and is connected with the mobile terminal in a near field communication mode.
According to an aspect of the present disclosure, there is provided an apparatus control device including: the mobile terminal comprises a state determination module, a state detection module and a state detection module, wherein the state determination module is used for acquiring the running state of target equipment and acquiring first user operation acting on the mobile terminal in the running state so as to determine the position information of the mobile terminal; the state switching module is used for determining that the target equipment meets a switching trigger condition according to the position information of the mobile terminal in the running state, and switching the running state of the target equipment in a non-contact mode; the target equipment comprises a near field communication induction device, and is connected with the mobile terminal in a near field communication mode.
According to an aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the apparatus control method as recited in any one of the above.
According to an aspect of the present disclosure, there is provided an electronic device including: the near field communication induction device is used for carrying out near field communication with the mobile terminal; a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform any one of the above-described device control methods via execution of the executable instructions.
In the technical solutions provided in some embodiments of the present disclosure, when it is determined that the target device satisfies the handover trigger condition according to the location information of the mobile terminal in a certain operating state, the target device may be controlled to perform state handover according to a first user operation received by the mobile terminal, so as to implement non-contact power-on or non-contact power-off. The state switching of the target equipment is controlled through the position information of the mobile terminal connected with the target equipment, an entity key arranged on the target equipment is not required to be operated, the target equipment is not required to be contacted, limitation caused by contacting the entity key of the target equipment is avoided, the application range and operation convenience are improved, the operation efficiency is also improved, the operation safety is improved through the non-contact control of the state switching of the target equipment, the power consumption of the target equipment is reduced due to the fact that the target equipment can be switched in the running state in a non-contact mode, the energy-saving function is achieved, and resource waste is avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
fig. 1 is a schematic diagram illustrating an application scenario to which a device control method or a device control apparatus according to an embodiment of the present disclosure may be applied;
FIG. 2 illustrates a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure;
FIG. 3 schematically illustrates a flow chart of a device control method according to an exemplary embodiment of the present disclosure;
FIG. 4 illustrates a block diagram of a target device in an embodiment of the disclosure;
fig. 5 shows a flowchart of switching the operating state of a target device in an embodiment of the present disclosure;
FIG. 6 shows a detailed block diagram of a target device in an embodiment of the disclosure;
fig. 7 schematically shows a block diagram of a device control apparatus in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the steps. For example, some steps may be decomposed, and some steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation. In addition, all of the following terms "first" and "second" are used for distinguishing purposes only and should not be construed as limiting the present disclosure.
The embodiment of the disclosure provides a device control method. Fig. 1 is a schematic diagram illustrating an application scenario to which the device control method or the device control apparatus according to the embodiment of the present disclosure may be applied.
The device control method can be applied to any application scenario of switching the state of the device, as shown in fig. 1, and can be particularly applied to a process of controlling the client front-end device 102 by using the terminal 101. The terminal 101 may be various types of devices capable of performing contactless control, and may be a smart phone or a smart watch, for example. The device 102 may be a target device, and may be, for example, various types of high-power devices, such as a wireless device, a router, a speaker, and the like, without limitation. In the embodiment of the present disclosure, the device 102 specifically refers to a customer premises equipment, and the device 102 may be in communication connection with the device 103, the device 104, and the like, where the device 103 and the device 104 are accessory devices of a target device, and specifically may be any type of device, such as a monitoring device and the like.
In the embodiment of the disclosure, to achieve energy saving of the target device, the target device first obtains an operating state of the target device, then obtains a first user operation of a user acting on the mobile terminal in the operating state, determines whether the target device meets a handover trigger condition according to position information of the mobile terminal after the first user operation, and switches the operating state of the target device according to a non-contact manner of a near field communication sensing device on the target device when the target device meets the handover trigger condition, so as to achieve non-contact control of the target device.
It should be noted that the device control method provided by the embodiment of the present disclosure may be completely executed by the target device.
FIG. 2 shows a schematic diagram of an electronic device suitable for use in implementing exemplary embodiments of the present disclosure. It should be noted that the electronic device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
FIG. 2 shows a schematic diagram of an electronic device suitable for use in implementing exemplary embodiments of the present disclosure. The terminal of the present disclosure may be configured in the form of an electronic device as shown in fig. 2, however, it should be noted that the electronic device shown in fig. 2 is only one example, and should not bring any limitation to the functions and the use range of the embodiment of the present disclosure.
The electronic device of the present disclosure includes at least a processor and a memory for storing one or more programs, which when executed by the processor, cause the processor to implement the method of the exemplary embodiments of the present disclosure.
Specifically, as shown in fig. 2, the electronic device 200 may include: processor 210, internal memory 221, external memory interface 222, Universal Serial Bus (USB) interface 230, charge management module 240, power management module 241, battery 242, mobile communication module 250, wireless communication module 260, display screen 290, indicator 292, keys 294, and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 200. In other embodiments of the present application, the electronic device 200 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units, such as: the Processor 210 may include an Application Processor (AP), a modem Processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband Processor, and/or a Neural Network Processor (NPU), and the like. The different processing units may be separate devices or may be integrated into one or more processors. Additionally, a memory may be provided in processor 210 for storing instructions and data.
The USB interface 230 is an interface conforming to the USB standard specification, and may specifically be a MiniUSB interface, a microsusb interface, a USB type c interface, or the like. The USB interface 230 may be used to connect a charger to charge the electronic device 200, and may also be used to transmit data between the electronic device 200 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface can also be used for connecting other electronic equipment and the like.
The charge management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. The power management module 241 is used for connecting the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives the input of the battery 242 and/or the charging management module 240, and supplies power to the processor 210, the internal memory 221, the display 290, the wireless communication module 260, and the like.
The wireless communication function of the electronic device 200 may be implemented by the mobile communication module 250, the wireless communication module 260, a modem processor, a baseband processor, and the like.
The mobile communication module 250 may provide a solution including 2G/3G/4G/5G wireless communication applied on the electronic device 200.
The wireless Communication module 260 may provide a solution for wireless Communication applied to the electronic device 200, and particularly, may provide a solution for Near Field Communication (NFC) wireless Communication applied to the electronic device. In addition, other types of wireless communication solutions may be provided, and are not particularly limited herein.
The electronic device 200 implements a display function through the GPU, the display screen 290, the application processor, and the like. The GPU is an image-blurring microprocessor, connected to the display screen 290 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information.
Internal memory 221 may be used to store computer-executable program code, including instructions. The internal memory 221 may include a program storage area and a data storage area. The external memory interface 222 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 200.
The keys 294 include a power-on key, a volume key, and the like. The keys 294 may be mechanical keys. Or may be touch keys. Indicator 292 may be an indicator light that may be used to indicate a state of charge, a change in charge, or may be used to indicate a message, missed call, notification, etc.
The electronic device of the present disclosure includes at least a processor and a memory for storing one or more programs, which when executed by the processor, cause the processor to implement the device control method of the exemplary embodiments of the present disclosure.
The present application also provides a computer-readable storage medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device.
A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable storage medium may transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The computer-readable storage medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method as described in the embodiments below.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Fig. 3 schematically shows a flowchart of a device control method according to an exemplary embodiment of the present disclosure, which may be applied in a scenario where a mobile terminal performs handover control on an operation state of a target device itself. Referring to fig. 3, the device control method may include steps S310 to S320, with the target device as the execution subject, described in detail as follows:
in step S310, an operation state of a target device is obtained, and a first user operation acting on a mobile terminal in the operation state is obtained to determine location information of the mobile terminal.
In the embodiment of the present disclosure, the target device may be any type of device, for example, may be a high-power device, and may include, but is not limited to, a customer premises equipment, a wireless device, a router, a sound box, and the like, and the target device is exemplified as the customer premises equipment herein.
The client front-end equipment is mobile signal access equipment which receives mobile signals and forwards the mobile signals by wireless WiFi signals, is also equipment which converts high-speed 4G signals or 5G signals into WiFi signals, and can support a large number of mobile terminals which are connected with the Internet at the same time. The client front-end device can be applied to wireless network access in any scene. Near Field Communication induction means, specifically, an NFC (Near Field Communication) induction coil, is present in the client front-end device. Near field communication is a short-range, high-frequency wireless communication technology that allows contactless point-to-point data transmission and exchange of data between electronic devices.
It should be added that, in order to avoid the problem that the sensing range of the nfc sensing device has a range limitation, in the embodiment of the present disclosure, the number of the nfc sensing devices set on the target device may be increased, so that the client front-end device includes a plurality of nfc sensing devices, thereby expanding the sensing range of the client front-end device and avoiding the limitation caused by the too small sensing range. For a plurality of near field communication induction devices, the near field communication induction devices can be respectively arranged on a plurality of surfaces of the customer premises equipment, and the number of the near field communication induction devices on each surface can be the same or different, so that near field induction is carried out through a plurality of directions, the comprehensiveness and effectiveness of the near field induction are improved, and the induction range of the customer premises equipment is increased. Based on the method, the client front-end equipment can be connected with the mobile terminal in a near field communication mode to realize a data interaction process.
A block diagram of a target device is schematically shown in fig. 4, and referring to the diagram shown in fig. 4, the target device mainly includes the following module units: CPE master power supply 401, NFC chip 402 and DC-DC circuit 403, CPE master chip 404, power adapter 405, NFC inductive coil 406.
The operation state of the target device refers to the operation state of the target device at the current time, and may include, but is not limited to, a power-on state, a power-off state, an abnormal state, and the like.
The mobile terminal may be a terminal having a near field communication function in which a near field communication induction device, such as an NFC chip, is provided. The mobile terminal may be any one of a smart phone, a smart bracelet, and a smart watch, for example, and the smart phone is taken as an example for description herein. The first user operation may be a user operation acting on the mobile terminal, and the operation type of the first user operation may be the same or different according to the operation state, and is not specifically limited herein. When the operation types of the first user operations in all the operating states are the same, the distinguishing control may be performed according to the operation times of the first user operations, for example, the first user operation is performed once when switching in a certain state, and the first user operation is performed multiple times when switching in a certain state, where the operation types of the first user operations in all the operating states are the same as an example.
In this example, the first user operation may be associated with a sensing range of the client front-end device, and is used to adjust the position of the mobile terminal according to the sensing range of the client front-end device. Specifically, the first user operation may include bringing the mobile terminal close to the customer premises equipment. After detecting the first user operation, the mobile terminal may move in response to the first user operation, and thus position information of the mobile terminal may be acquired.
In step S320, if it is determined that the target device meets a handover trigger condition according to the location information of the mobile terminal in the operating state, the operating state of the target device is handed over in a non-contact manner; the target equipment comprises a near field communication induction device, and is connected with the mobile terminal in a near field communication mode.
In the embodiment of the disclosure, the switching trigger condition is used for measuring whether the running state of the target device can be switched, so as to accurately control the target device. When the judgment is made according to the position information of the mobile terminal, if the position information of the mobile terminal is in the sensing range of the target device, the target device can be considered to meet the switching triggering condition. If the position information of the mobile terminal is out of the sensing range of the target device, the target device can be considered not to meet the switching triggering condition. The non-contact mode refers to an operation mode without contacting the target device, for example, a mode that is controllable within a certain range.
Based on this, in each operation state, if the mobile terminal is in the sensing range of the target device, the current operation state of the target device can be switched in a non-contact manner, so as to realize non-contact control of the target device.
Fig. 5 schematically shows a flowchart of the operation state of the handover addressed device, and referring to fig. 5, the method mainly includes the following steps S510 to S530, where:
in step S510, if the operating state is the first state and it is detected that the mobile terminal is within the sensing range of the target device, switching the target device to the second state in a non-contact manner;
in step S520, if the operating state is the second state and it is detected that the mobile terminal is within the sensing range of the target device, the target device is switched to the first state in the non-contact manner;
in step S530, if the operating state is an abnormal state and it is determined that the mobile terminal responds to the first user operation and is within the sensing range of the target device, a restart operation is performed on the target device.
In the embodiment of the present disclosure, the first state and the second state may be one of a power-on state and a power-off state, and the first state and the second state are different. The first state may be a power-off state and the second state may be a power-on state. Therefore, the target device can be switched from the power-off state to the power-on state or from the power-on state to the power-off state or the target device in the abnormal state can be restarted in response to the first user operation of the mobile terminal by the user based on the near field communication sensing device. The abnormal state herein may include an abnormality occurring during the operation of the device. The abnormal state may include one or more of a WAN port communication failure, a WiFi interface failure, and a device over temperature, but is not limited thereto. When the operating state is the power-on state, if the target device is to be switched to the power-off state, all modules in the target device except the NFC function need to be turned off to control the target device to be in the standby state. Because the power consumption of the NFC module is low, low-power-consumption standby can be realized, and resources are saved.
It should be noted that, for the switching between the first state and the second state and the processing of the abnormal state, both can be completed according to the first user operation, and the operation times of the first user operation can be the same or different. Here, the switching between the first state and the second state according to one first user operation and the processing of the abnormal state according to a plurality of first user operations will be described as an example.
On the basis, a normal scene user uses the NFC mobile phone to be close to the NFC area of the CPE, and non-contact starting is achieved. When the CPE equipment is not required to be used, the user uses the NFC mobile phone to be close to the NFC area of the CPE, and non-contact shutdown is achieved. When the CPE equipment works abnormally, a user uses the NFC mobile phone to be close to the NFC area of the CPE twice, and shutdown and restart are achieved, namely restarting operation is achieved.
In addition, if the first user operation is detected and the target device does not meet the switching trigger condition, performing an identifying prompt on the position information. The identification prompt can be a voice prompt or an image prompt, and the specific prompt content can include the moving direction of the mobile terminal to remind a user to continue to perform first user operation on the mobile terminal according to the moving direction, so that the mobile terminal is located in the sensing range of the target device, the target device meets the switching triggering condition, and the operation convenience is improved.
Fig. 6 schematically shows a logical structure diagram of the device control, and referring to fig. 6, the logical structure diagram specifically includes: a power supply chip, an I2C (Inter-Integrated Circuit) handshake protocol, and an NFC chip. Wherein, the power supply chip provides the NFC chip power. I2C handshake protocol: and state interaction between the NFC chip and the CPE main control chip is realized. An NFC chip: handshake communication is carried out with a CPE main control chip through an I2C interface, and according to an interaction result, the GPIO level state of the NFC chip can change, so that the purpose of controlling the CPE to work or not work is realized.
Based on the above structure diagram, the overall working logic of the target device includes: the power adapter supplies power to the DC-DC circuit, the DC-DC outputs the voltage required by the NFC chip, and the NFC chip can work only when the power adapter is plugged in and has voltage. The NFC coil constantly induces energy from the mobile terminal NFC.
When the coil of NFC chip inducted magnetic field energy, can handshake with CPE main control chip through the I2C interface, if handshake succeeds, then explain that CPE is in the power on state, will carry out and close CPE master control action, at this moment the GPIO of NFC chip can cut off the power supply of CPE main control chip, and later the system only has NFC chip work (NFC chip operating current is very little), and the system realizes the low-power consumption standby. If the handshake is unsuccessful, the CPE is in a power-off state, the CPE is required to be executed, and at the moment, the GPIO of the NFC chip turns on the power supply of the CPE main control chip to switch the CPE to the power-on state, so that the CPE main control chip works.
In addition, if it is determined that the target device does not satisfy the handover trigger condition according to the location information of the mobile terminal, in order to avoid limitation, the state of the target device may be handed over in response to a second user operation acting on the target device. The second user operation refers to a gesture operation acting on the target device or a body posture operation (for example, an operation performed by another body part), and the gesture operation is described as an example here. Specifically, the sensing of the user gesture can be realized through a distance sensor P-sensor in the target device to acquire the second user operation. Specifically, the change in the trajectory at the time of the second user operation may be acquired, thereby determining the operation type of the second user operation. The operation type of the second user operation may include, but is not limited to, a left-to-right sliding operation, or a top-to-bottom sliding operation, a clockwise sliding operation, and the like, which is not limited herein. Also, each operation type may correspond to a handover procedure. For example, the sliding operation from left to right is correspondingly switched to the on state, the sliding operation from top to bottom is correspondingly switched to the off state, and the clockwise sliding operation is correspondingly switched to the restart operation.
After determining the operation type of the second user operation, the operation type may be matched with a plurality of reference types stored in advance to determine whether the matching is successful. And when the operation type is successfully matched with one of the prestored multiple reference types, taking the reference state corresponding to the successfully matched reference type as a target state to switch the target equipment into the target state. It should be noted that the gesture operation here may be a non-contact operation, so as to facilitate the user to perform and improve the operation safety.
In the embodiment of the disclosure, when the position information of the mobile terminal is not in the sensing range of the target device, the operating state of the target device is switched through the second user operation acting on the target device, so that the limitation that the switching cannot be performed when the switching triggering condition is not met can be avoided, the operation convenience is improved, the application range is increased, and the operation safety is improved.
In summary, according to the technical scheme in the embodiment of the present disclosure, the state switching of the target device is controlled by the position information of the mobile terminal connected to the target device, and an entity key of the target device does not need to be operated, and since the target device does not need to be contacted, the limitation caused by contacting the entity key of the target device is avoided, the application range and the operation convenience are improved, and the safety and the reliability of the operation are improved by controlling the state of the target device in a non-contact manner. In addition, non-contact control can be performed according to gesture operation acting on the target device, the limitation that switching cannot be performed when the switching triggering condition is not met can be avoided, operation convenience is improved, the application range is enlarged, and operation safety and reliability are improved. The non-contact mode that realizes through NFC replaces the switch on and shut down button, and the complete machine integration is stronger, has reduced the trompil for the target equipment structure is simpler. Interaction is realized through the near field communication induction device on the target equipment, and the cost is reduced. Due to the fact that the running state of the target equipment can be switched in a non-contact mode such as NFC or gesture operation, power consumption of the target equipment is reduced, an energy-saving function is achieved, and resource waste is avoided.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
Fig. 7 schematically shows a block diagram of the device control apparatus of an exemplary embodiment of the present disclosure. Referring to fig. 7, the device control apparatus 700 may include the following modules:
a state determining module 701, configured to obtain an operating state of a target device, and obtain a first user operation acting on a mobile terminal in the operating state, so as to determine location information of the mobile terminal;
a state switching module 702, configured to determine that the target device meets a switching trigger condition according to the location information of the mobile terminal in the operating state, and switch the operating state of the target device in a non-contact manner; the target equipment comprises a near field communication induction device, and is connected with the mobile terminal in a near field communication mode.
In an exemplary embodiment of the present disclosure, the state switching module includes: the first switching module is used for switching the target equipment into a second state in a non-contact mode if the running state is the first state and the mobile terminal is detected to be in the sensing range of the target equipment; the second switching module is used for switching the target equipment into the first state in a non-contact mode if the running state is the second state and the mobile terminal is detected to be in the sensing range of the target equipment; and the third switching module is used for restarting the target equipment if the running state is an abnormal state and the mobile terminal is determined to respond to the first user operation and be in the sensing range of the target equipment.
In an exemplary embodiment of the present disclosure, the apparatus further includes: and the auxiliary switching module is used for switching the state of the target equipment according to a second user operation if the target equipment is determined not to meet the switching triggering condition according to the position information of the mobile terminal.
In an exemplary embodiment of the present disclosure, the auxiliary switching module includes: an operation obtaining module, configured to obtain the second user operation through the target device; and the switching control module is used for determining the target state of the target equipment according to the operation type of the second user operation and switching the target equipment from the running state to the target state.
In an exemplary embodiment of the present disclosure, the handover control module is configured to: and determining the operation type according to the track of the second user operation, and when the operation type is successfully matched with one of the reference types, taking the reference state of the reference type successfully matched as the target state, and switching the target equipment to the target state.
In an exemplary embodiment of the present disclosure, the apparatus further includes: and the prompting module is used for performing identification prompting on the position information if the first user operation is detected and the target device does not meet the switching triggering condition.
In an exemplary embodiment of the present disclosure, the near field communication sensing device is a plurality of near field communication sensing devices, and the plurality of near field communication sensing devices are disposed on a plurality of surfaces of the target device.
Since each functional module of the device control apparatus according to the embodiment of the present disclosure is the same as that in the embodiment of the device control method, it is not described herein again.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (10)

1. An apparatus control method characterized by comprising:
acquiring an operating state of target equipment, and acquiring a first user operation acting on a mobile terminal in the operating state to determine position information of the mobile terminal;
if the target equipment meets the switching triggering condition according to the position information of the mobile terminal in the running state, switching the running state of the target equipment in a non-contact mode; the target equipment comprises a near field communication induction device, and is connected with the mobile terminal in a near field communication mode.
2. The device control method according to claim 1, wherein if it is determined that the target device satisfies a handover trigger condition according to the location information of the mobile terminal in the operating state, switching the operating state of the target device in a non-contact manner includes:
if the running state is the first state and the mobile terminal is detected to be in the sensing range of the target equipment, switching the target equipment into the second state in a non-contact mode;
if the operation state is a second state and the mobile terminal is detected to be in the sensing range of the target equipment, switching the target equipment to the first state in a non-contact mode;
and if the running state is an abnormal state and the mobile terminal is determined to respond to the first user operation within the sensing range of the target equipment, restarting the target equipment.
3. The apparatus control method according to claim 1, characterized in that the method further comprises:
and if the target equipment does not meet the switching trigger condition according to the position information of the mobile terminal, switching the state of the target equipment according to a second user operation.
4. The device control method according to claim 3, wherein the switching the state of the target device according to the second user operation includes:
acquiring the second user operation through the target equipment;
and determining a target state of the target equipment according to the operation type of the second user operation, and switching the target equipment from the running state to the target state.
5. The device control method according to claim 4, wherein the determining a target state of the target device and switching the target device from the running state to the target state according to the operation type of the second user operation includes:
and determining the operation type according to the track of the second user operation, and when the operation type is successfully matched with one of the reference types, taking the reference state of the reference type successfully matched as the target state, and switching the target equipment to the target state.
6. The apparatus control method according to claim 1, characterized in that the method further comprises:
and if the first user operation is detected and the target equipment does not meet the switching trigger condition, performing identification prompt on the position information.
7. The device control method according to claim 1, wherein the near field communication induction device is provided in plurality, and the plurality of near field communication induction devices are provided on a plurality of surfaces of the target device.
8. An apparatus control device, characterized by comprising:
the mobile terminal comprises a state determination module, a state detection module and a state detection module, wherein the state determination module is used for acquiring the running state of target equipment and acquiring first user operation acting on the mobile terminal in the running state so as to determine the position information of the mobile terminal;
the state switching module is used for determining that the target equipment meets a switching trigger condition according to the position information of the mobile terminal in the running state, and switching the running state of the target equipment in a non-contact mode; the target equipment comprises a near field communication induction device, and is connected with the mobile terminal in a near field communication mode.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the device control method according to any one of claims 1 to 7.
10. An electronic device, comprising:
the near field communication induction device is used for carrying out near field communication with the mobile terminal;
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the device control method of any one of claims 1-7 via execution of the executable instructions.
CN202110932199.1A 2021-08-13 2021-08-13 Equipment control method and device, storage medium and electronic equipment Active CN113660149B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110932199.1A CN113660149B (en) 2021-08-13 2021-08-13 Equipment control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110932199.1A CN113660149B (en) 2021-08-13 2021-08-13 Equipment control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113660149A true CN113660149A (en) 2021-11-16
CN113660149B CN113660149B (en) 2023-08-01

Family

ID=78480245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110932199.1A Active CN113660149B (en) 2021-08-13 2021-08-13 Equipment control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113660149B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114265343A (en) * 2021-11-19 2022-04-01 青岛海尔科技有限公司 Target equipment processing method, device, equipment, storage medium and product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714285A (en) * 2013-12-20 2014-04-09 上海卓悠网络科技有限公司 NFC-based method and device for achieving mobile terminal access right control
CN104980882A (en) * 2015-05-12 2015-10-14 上海道臻信息技术有限公司 Method for calling NFC (Near Field Communication) in automatic power-on process of printing equipment and automatic Bluetooth pairing process
CN110430558A (en) * 2019-06-26 2019-11-08 深圳绿米联创科技有限公司 Apparatus control method, device, electronic equipment and storage medium
CN111212412A (en) * 2020-01-03 2020-05-29 RealMe重庆移动通信有限公司 Near field communication method and device, computer readable storage medium and electronic equipment
CN112188461A (en) * 2020-10-20 2021-01-05 Oppo广东移动通信有限公司 Control method and device for near field communication device, medium and electronic equipment
CN112737899A (en) * 2020-11-30 2021-04-30 青岛海尔科技有限公司 Intelligent device management method and device, storage medium and electronic device
CN113438638A (en) * 2021-07-07 2021-09-24 深圳市汇顶科技股份有限公司 Communication control method and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103714285A (en) * 2013-12-20 2014-04-09 上海卓悠网络科技有限公司 NFC-based method and device for achieving mobile terminal access right control
CN104980882A (en) * 2015-05-12 2015-10-14 上海道臻信息技术有限公司 Method for calling NFC (Near Field Communication) in automatic power-on process of printing equipment and automatic Bluetooth pairing process
CN110430558A (en) * 2019-06-26 2019-11-08 深圳绿米联创科技有限公司 Apparatus control method, device, electronic equipment and storage medium
CN111212412A (en) * 2020-01-03 2020-05-29 RealMe重庆移动通信有限公司 Near field communication method and device, computer readable storage medium and electronic equipment
CN112188461A (en) * 2020-10-20 2021-01-05 Oppo广东移动通信有限公司 Control method and device for near field communication device, medium and electronic equipment
CN112737899A (en) * 2020-11-30 2021-04-30 青岛海尔科技有限公司 Intelligent device management method and device, storage medium and electronic device
CN113438638A (en) * 2021-07-07 2021-09-24 深圳市汇顶科技股份有限公司 Communication control method and electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114265343A (en) * 2021-11-19 2022-04-01 青岛海尔科技有限公司 Target equipment processing method, device, equipment, storage medium and product
CN114265343B (en) * 2021-11-19 2023-09-15 青岛海尔科技有限公司 Target equipment processing method, device, equipment, storage medium and product

Also Published As

Publication number Publication date
CN113660149B (en) 2023-08-01

Similar Documents

Publication Publication Date Title
EP3565084B1 (en) Electronic device and method for wireless charging in electronic device
US11463955B2 (en) Method for implementing low power consumption on standby for bluetooth security device and bluetooth security device
CN104899029A (en) Screen control method and apparatus
JP2017529808A (en) Control method for mobile terminal antenna and mobile terminal
CN114638605A (en) Method and electronic equipment for near field wireless communication
CN112567321A (en) Electronic device comprising an electronic pen and method of controlling a communication connection between an electronic device and an electronic pen
CN110365847A (en) A kind of power control system based on NFC, control method and electronic product
CN106532876B (en) Power supply control method and device and computer equipment
US20220303746A1 (en) Bluetooth connection method and apparatus, wearable device, and computer-readable storage medium
CN112269086A (en) Charging cable identification method and device, charging cable and readable storage medium
CN113660149B (en) Equipment control method and device, storage medium and electronic equipment
CN112346553A (en) Electronic device for reducing power consumption and operation method thereof
KR102607172B1 (en) Electronic device and method for wireless charging in the electronic device
CN105159434A (en) Time display method, device and terminal
JP2011034306A (en) Information processor and power supply control method
CN104283289B (en) A kind of Bluetooth charging device and charge control method
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
US9673866B2 (en) Communication system and communication device
CN110896240B (en) Charging control method and device, computer readable storage medium and terminal
US20130194441A1 (en) Electronic device and imaging apparatus
CN109445566B (en) OTG (on-the-go) power-saving processing method and system, storage medium and mobile terminal
KR20210045768A (en) Electronic device including power management integrated circuit and method for recovering abnormal state of the electronic device
CN112449330A (en) Mobile terminal communication method, mobile terminal and storage medium
CN104636287A (en) Data acquisition device and mobile terminal
CN115904851B (en) Terminal equipment and external equipment access detection system

Legal Events

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