Method and device for modifying electronic device status
Through the combination of magnetic coding information and magnetic induction equipment, the power loss and user experience problems of low-power electronic devices during storage and transportation are solved, and more efficient state modification and convenient equipment operation are achieved.
Patent Information
- Application Number
- CN202110192896.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-20
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2041-02-20
AI Technical Summary
In the prior art, low-power electronic devices have large power loss during storage and transportation, and the use of Bluetooth or magnetic signal wake-up schemes has problems such as accidental triggering of magnetic objects, poor portability, poor reliability, and poor user experience.
Magnetic coded information is transmitted through magnetic induction devices, and is used to query and modify the status of electronic devices, avoiding unexpected triggering of magnetic objects in Bluetooth and other solutions and improving the ease of use of the equipment and user experience.
It greatly reduces the power loss of low-power electronic devices during storage and transportation, improves the ease of use and user experience of the equipment, and solves the problems caused by solutions such as Bluetooth.
Smart Images

Figure CN112732069B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic equipment control, and in particular to a method and device for modifying the state of an electronic equipment. Background Art
[0002] With the development of science and technology, low-power electronic devices are increasingly entering people's lives, providing convenience for people's food, clothing, housing, transportation and other aspects. Among them, low-power devices that use batteries and are not easy to replace batteries after being put into use account for a large proportion, such as various IoT terminal products. In the life cycle of such products, from assembly completion to actual user use, it may go through a long storage and transportation process. Therefore, manufacturers and users need to use some technology to modify the state of such electronic devices to achieve the lowest power consumption and reduce power loss during storage and transportation, and then switch to normal working state when users use them to complete the established functions.
[0003] Some low-power electronic devices (such as smoke alarms, Bluetooth tags, etc.) use physical switches to modify the status of electronic devices. However, since physical switches need to expose the electronic device casing, or use thin casing materials to make it soft and easy to deform to achieve the operation of pressing the switch, it is not feasible for outdoor low-power electronic devices with harsh working environments and high protection levels.
[0004] At present, it is common to use Bluetooth to switch the status of such low-power electronic devices. Some manufacturers add a Bluetooth module inside the electronic device and set it to the normally open mode. When the device is assembled, the mobile phone is connected to Bluetooth and a command is sent to make it enter the low-power mode. When the user gets the device, the mobile phone is used to connect to Bluetooth and a command is sent to switch it to the normal mode. Although this method can reduce power consumption to a certain extent, there will still be a certain amount of additional loss because Bluetooth is in the normally open mode. Therefore, some manufacturers have made modifications on this basis, adding another Hall element inside the device and setting Bluetooth to the normally closed mode. When a strong magnetic or active magnetic signal generator is used to transmit a magnetic signal outside the electronic device, it will trigger the Hall element interrupt, wake up the electronic device MCU, and then turn on Bluetooth. Then the manufacturer or user uses a mobile phone to connect to Bluetooth and send instructions to modify the device status. Although this improvement reduces the additional loss of Bluetooth normally open, there are still problems such as accidental triggering of magnetic objects, poor portability of active magnetic signal generators, low reliability, and poor user experience. Summary of the invention
[0005] The purpose of the present invention is to provide a method and device for modifying the state of an electronic device, which is aimed at low-power electronic devices with relatively harsh working environments and whose batteries are not easy to replace after being put into use. It solves the problems caused by the use of solutions such as Bluetooth in related technologies, greatly reduces the power loss during storage and transportation, and improves the usability of the device and the user experience.
[0006] In one aspect, the present invention provides a method for modifying the state of an electronic device, characterized in that it comprises the following steps:
[0007] receiving magnetically encoded information;
[0008] According to the magnetic coding information, query the device status information corresponding to the magnetic coding information in the magnetic coding information device status mapping relationship;
[0009] Setting the electronic device to a second state, the second state being a state corresponding to the device state information;
[0010] Feedback the electronic device status modification result.
[0011] Preferably, before the step of setting the electronic device to the second state, the method further includes:
[0012] Obtaining a first state of the electronic device, where the first state is a state corresponding to original device state information of the electronic device;
[0013] Determining whether the original device status information is consistent with the device status information;
[0014] If they are inconsistent, the step of setting the electronic device to the second state is performed.
[0015] Preferably, after the step of feeding back the electronic device state modification result, the method further includes storing the current state information of the electronic device as the original device state information of the electronic device.
[0016] Specifically, the feedback of the electronic device status modification result only provides feedback on successful modification, and no feedback is provided if the modification fails or is not modified.
[0017] On the other hand, the present invention provides an electronic device state modification device, characterized in that it includes: an information storage device, an information sensing device, an information processing device and a result feedback device;
[0018] The information storage device is used to store different coded information corresponding to different working states and transmit it to the information sensing device in a contactless manner;
[0019] The information sensing device is installed in the electronic device and is used to sense the coded information stored in the information storage device in a non-contact manner and transmit the coded information to the information processing device;
[0020] The information processing device is installed in the electronic device and is used to receive and process the coded information transmitted by the information sensing device;
[0021] The result feedback device is installed in the electronic device, and is used to receive the execution result sent by the electronic device, and provide corresponding feedback according to the execution result.
[0022] Furthermore, the electronic device state modification device also includes a power supply interface, which connects the information sensing device and the information processing device to the power supply port of the electronic device respectively, so as to provide power to the information sensing device and the information processing device respectively.
[0023] Specifically, the information storage device is a magnetic coding label, and the stored coding information is magnetic coding information.
[0024] Specifically, the information sensing device is a magnetic induction device that senses the magnetically encoded information.
[0025] Furthermore, the non-contact method is that the magnetic coding tag passes uniformly at a speed of 2 cm / s (±10%) within a range of 1 cm (±0.5 cm) above the magnetic induction device.
[0026] Furthermore, the result prompting device is a buzzer.
[0027] The electronic device status modification method and device provided by the present invention solve the problems caused by using Bluetooth and other solutions to modify the status of electronic devices in related technologies, greatly reduce the power loss of low-power electronic devices that have a harsh working environment and are difficult to replace batteries during storage and transportation after being put into use, and improve the usability of the equipment and user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The drawings constituting a part of this application are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0029] Figure 1 A flowchart of a method for modifying the state of an electronic device according to an embodiment of the present invention;
[0030] Figure 2 A flowchart of a method for modifying the state of an electronic device according to an embodiment of the present invention;
[0031] Figure 3 The present invention is a structural block diagram of an electronic device status modification device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without creative work should fall within the scope of protection of the present invention.
[0033] Embodiment 1, a method for modifying the state of an electronic device, such as Figure 1 As shown, the following steps are included:
[0034] Step S101, receiving magnetic encoding information;
[0035] Step S102, searching for device status information corresponding to the magnetic coding information in a magnetic coding information device status mapping relationship according to the magnetic coding information;
[0036] Step S103, modifying the state of the electronic device to a state corresponding to the device state information;
[0037] Step S104, waiting for the electronic device status modification result:
[0038] If the modification is successful, execute step S105;
[0039] If the modification fails or is not modified, execute step S101;
[0040] Step S105: Feedback the electronic device status modification result.
[0041] Through the above steps, the state of the electronic device is modified according to the magnetic coding information, and the modification result is fed back, thereby avoiding the problems of accidental triggering of magnetic objects, poor portability, low reliability, and poor user experience of active magnetic signal generators caused by using Bluetooth and other solutions to modify the state of the electronic device in the related technology, and providing a new modification method, which greatly reduces the power loss of low-power electronic devices that have a relatively harsh working environment and are difficult to replace batteries during storage and transportation after being put into use, thereby improving the usability of the equipment and user experience.
[0042] Embodiment 2. A method for modifying the state of an electronic device, such as Figure 2 As shown, the following steps are included:
[0043] Step S201, receiving magnetic encoding information;
[0044] Step S202, searching for device status information corresponding to the magnetic coding information in a magnetic coding information device status mapping relationship according to the magnetic coding information;
[0045] Step S203, reading original device status information of the electronic device;
[0046] Step S204, determining whether the original device status information of the electronic device is consistent with the queried device status information:
[0047] If they are consistent, execute step S201;
[0048] If not, execute step S205;
[0049] Step S205, modifying the state of the electronic device to a state corresponding to the device state information;
[0050] Step S206, waiting for the electronic device status modification result:
[0051] If the modification is successful, execute step S207;
[0052] If the modification fails or is not modified, execute step S201;
[0053] Step S207, feeding back the electronic device status modification result;
[0054] Step S208: storing the current status information of the electronic device as the original device status information.
[0055] Corresponding to the above Figure 2 , Embodiment 3 provides a device for modifying the state of an electronic device, such as Figure 3 As shown, the device includes: a magnetic coding tag 31, a magnetic induction device 32, an information processing device 33, and a buzzer 34.
[0056] The magnetic coding label 31 is used to store different magnetic coding information corresponding to different working states, and transmits it to the magnetic induction device 32 through magnetic induction.
[0057] The magnetic induction device 32 is installed in the electronic device, and is used to sense the magnetic coding information stored in the magnetic coding tag 31 by magnetic induction, and transmit the magnetic coding information to the information processing device 33.
[0058] The information processing device 33 is installed in the electronic device and is used to receive and process the magnetically encoded information transmitted by the magnetic induction device 32 .
[0059] The buzzer 34 is installed in the electronic device, and is used to receive the execution result sent by the electronic device and provide corresponding feedback according to the execution result.
[0060] Furthermore, the electronic device state modification device also has a power supply interface, which connects the magnetic induction device 32 and the information processing device 33 to the power supply port of the electronic device respectively, so as to provide power to the magnetic induction device 32 and the information processing device 33 respectively.
[0061] Specifically, the magnetic coding label 31 is composed of a plurality of small magnetic stripes of 0.5 cm x 3 cm and a hard non-magnetic ruler of 3 cm width. The length of the small magnetic stripes is the same as the width of the ruler, so the small magnetic stripes are horizontally attached to the ruler. On the ruler, each small magnetic strip represents a binary 1, and each 0.5 cm gap represents a binary 0. No matter whether it is a binary 1 or a binary 0, it is not allowed to appear more than 3 times in a row.
[0062] Furthermore, the magnetic coding tag 31 consists of two parts: an activation segment and a data segment. For different magnetic coding tags 31 applied to a certain electronic device, the activation segments should be the same, and only the data segments are different, and both the activation segment and the data segment start with a binary 1 and end with four binary 0s. The specific encoding in the activation segment and the data segment can be designed by the manufacturer according to the needs. The segmented design can effectively avoid false triggering of magnetic objects, greatly reduce the probability of MCU being woken up by mistake in electronic devices, and reduce the corresponding power consumption.
[0063] Specifically, the magnetic induction device 32 uses a PNI three-axis high-precision magnetic induction module, wherein the size of the X-axis and Y-axis sensors is 6.0 x 2.1 x 2.2 mm, and the size of the Z-axis sensor is 3.0 x 3.0 x 5.75 mm, so the magnetic induction device 32 can be very small in size and will not occupy much space inside the electronic device.
[0064] Furthermore, the magnetic induction device 32 has three states: working state, standby state, and dormant state. When in the working state, the sampling frequency of the magnetic induction device 32 is 4Hz; when in the standby state, the sampling frequency of the magnetic induction device 32 is 1Hz; when in the dormant state, the sampling frequency of the magnetic induction device 32 is 0.5Hz. Correspondingly, the higher the sampling frequency of the magnetic induction device 32, the higher its power consumption. However, even in the working state with a sampling frequency of 4Hz, the peak current is less than 10uA, which is much less than the working current of the Bluetooth module in the related technical solution. The state of the magnetic induction device 32 when not working can be set by the electronic device MCU. Generally, when the electronic device is in an ultra-low power dormant state, the magnetic induction device will also be set to the dormant state with a sampling frequency of 0.5Hz; when the electronic device is in a normal standby state, the magnetic induction device will also be set to the standby state with a sampling frequency of 1Hz. No matter what state the magnetic induction device 32 was in before, when it is detected that the surrounding magnetic field strength exceeds the predetermined threshold, it will immediately switch to the working state with a sampling frequency of 4 Hz; when it is detected that the surrounding magnetic field strength is lower than the predetermined threshold again, it will immediately switch back to the original state.
[0065] When the magnetic coding label 31 is placed near the magnetic induction device 32, the surrounding field strength will exceed the predetermined threshold of the magnetic induction device 32, and then it will immediately switch to the working state with a sampling frequency of 4Hz. Since the minimum width of the small magnetic stripe or gap on the magnetic coding label 31 is 0.5cm, when the magnetic coding label 31 passes uniformly at a speed of 2cm / s (±10%) from 1cm (±0.5cm) above the magnetic induction device 32, the encoding rate of the magnetic coding label 31 is also 4Hz, which just matches the sampling frequency of the magnetic induction device 32, and then the magnetic coding information carried by the magnetic coding label 31 can be transmitted to the magnetic induction device 32 by magnetic induction.
[0066] Specifically, the information processing device 33 also uses a processing chip of PNI, and can receive the magnetically coded information sensed by the magnetic induction device 32. Since the activation segment and the data segment of the magnetically coded tag 31 both start with a binary 1 and end with four binary 0s, the information processing device 33 also processes the magnetically coded information in segments. First, it will determine whether the activation segment code is consistent with the pre-set code. If they are consistent, it will continue to determine the data segment; if they are inconsistent, no further determination will be made. When determining the data segment, the information processing device 33 will first query the device status information corresponding to the magnetically coded information of the data segment in the mapping relationship of the magnetically coded information device status. If the device status information is consistent with the original device status information pre-stored in the information processing device 33, no further operation will be performed; if they are inconsistent, the I / O port corresponding to the device status information will be pulled high, thereby waking up the electronic device MCU and modifying the electronic device status.
[0067] Furthermore, when the electronic device MCU has modified the state of the electronic device, it will pull up the I / O port connected to the buzzer 34, and then the buzzer 34 will emit a sharp prompt sound to feedback the modification result to the manufacturer or user. If the state of the electronic device is not modified or the modification fails, the electronic device MCU will not pull up the I / O port of the buzzer 34, so there will be no prompt sound.
[0068] Furthermore, after the electronic device pulls up the I / O interface of the buzzer 34, the electronic device will store the current device status information in the information processing device 33 as the original device status information.
[0069] In this embodiment, when the electronic device is assembled, the manufacturer can use a magnetic coding tag storing sleep information to change the electronic device in a normal working state to a sleep state by means of magnetic induction, and provide feedback through a buzzer; when the user wants to use the electronic device, the magnetic coding tag storing normal working information is used to change the electronic device in a sleep state to a normal working state by means of magnetic induction, and provide feedback through a buzzer. This solves the problems of accidental triggering of magnetic objects, poor portability, low reliability, and poor user experience of active magnetic signal generators caused by the use of Bluetooth and other solutions in related technologies to modify the status of electronic devices, and provides a new modification method, which greatly reduces the power loss during storage and transportation of low-power electronic devices that have a relatively harsh working environment and are difficult to replace batteries after being put into use, thereby improving the ease of use and user experience of the equipment.
[0070] The reader should understand that in the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples without contradiction.
[0071] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for modifying the state of an electronic device, characterized in that: The steps include: The magnetic coding label stores magnetic coding information, and the magnetic coding label is provided with a plurality of magnetic stripes, and the coding is represented by the magnetic stripes and gaps; the electronic device is installed with a magnetic induction device; The magnetic coding tag is located near the magnetic induction device, so that the field strength around the magnetic induction device exceeds a predetermined threshold, and the magnetic induction device is switched to a working state; the coding rate of the magnetic coding tag when passing through the range of the magnetic induction device matches the sampling frequency of the working state of the magnetic induction device, and the magnetic coding information carried by the magnetic coding tag is transmitted to the magnetic induction device by magnetic induction; An information processing device installed in the electronic device receives and processes the magnetically encoded information transmitted by the magnetic induction device; According to the magnetic coding information, query the device status information corresponding to the magnetic coding information in the magnetic coding information device status mapping relationship; Setting the electronic device to a second state, the second state being a state corresponding to the device state information; Feedback the electronic device status modification result.
2. The method for modifying the state of an electronic device according to claim 1, characterized in that: Before the step of setting the electronic device to the second state, the method further includes: Obtaining a first state of the electronic device, where the first state is a state corresponding to original device state information of the electronic device; Determining whether the original device status information is consistent with the device status information; If they are inconsistent, the step of setting the electronic device to the second state is performed.
3. The method for modifying the state of an electronic device according to claim 2, characterized in that: After the step of feeding back the electronic device state modification result, the method further includes storing the current state information of the electronic device as the original device state information of the electronic device.
4. The method for modifying the state of an electronic device according to claim 1 or 3, characterized in that: Feedback of the electronic device status modification result is only for successful modification. If the modification fails or is not modified, no feedback is given.
5. An electronic device status modification device, characterized in that: include: Information storage equipment, information sensing equipment, information processing equipment and result feedback equipment; The information storage device is used to store different coded information corresponding to different working states and transmit it to the information sensing device in a contactless manner; The information sensing device is installed in the electronic device and is used to sense the coded information stored in the information storage device in a non-contact manner and transmit the coded information to the information processing device; The information processing device is installed in the electronic device and is used to receive and process the coded information transmitted by the information sensing device; The result feedback device is installed in the electronic device and is used to receive the execution result sent by the electronic device and provide corresponding feedback according to the execution result; Wherein, the information storage device is a magnetic coding label, and the stored coding information is magnetic coding information; the magnetic coding label is provided with a plurality of magnetic stripes, and the coding is represented by the magnetic stripes and gaps; the information sensing device is a magnetic sensing device; The magnetic coding tag is located near the magnetic induction device, so that the field strength around the magnetic induction device exceeds a predetermined threshold, and the magnetic induction device is switched to a working state; the encoding rate of the magnetic coding tag when passing through the range of the magnetic induction device matches the sampling frequency of the working state of the magnetic induction device, and the magnetic coding information carried by the magnetic coding tag is transmitted to the magnetic induction device by magnetic induction.
6. The electronic device status modification device according to claim 5, characterized in that: It also includes a power supply interface, which connects the information sensing device and the information processing device to the power supply port of the electronic device respectively, so as to provide power to the information sensing device and the information processing device respectively.
7. The electronic device status modification device according to claim 5, characterized in that: The magnetic induction module used in the magnetic induction device has sensors for the X, Y and Z axes.
8. The electronic device status modification device according to claim 5, characterized in that: Each of the magnetic stripes represents a binary 1, each space with a width equal to the width of the magnetic stripe represents a binary 0, and No more than three consecutive binary 1s or binary 0s are allowed.
9. The electronic device status modification device according to claim 8, characterized in that: The width of each magnetic stripe is 0.5 cm; the non-contact method is that the magnetic coding label passes uniformly at a speed of 2 cm / s±10% within a range of 1 cm±0.5 cm above the magnetic induction device.
10. The electronic device status modification device according to claim 9, characterized in that: The result feedback device is a buzzer.
Citation Information
Patent Citations
Magnetic core storage apparatus
CA687278A
Method and device for setting state of electronic equipment
CN101625546A
Method and device for decoding encoded input signal
CN103795364A
Device and method for enabling electronic equipment to enter into a set state in a non-contact manner
CN103824368A
Wireless charging device, wireless charging case and wireless charging method thereof
CN106558895A
