CN116701099A - Electronic equipment and method for controlling working state of electronic equipment - Google Patents

Electronic equipment and method for controlling working state of electronic equipment Download PDF

Info

Publication number
CN116701099A
CN116701099A CN202211389762.6A CN202211389762A CN116701099A CN 116701099 A CN116701099 A CN 116701099A CN 202211389762 A CN202211389762 A CN 202211389762A CN 116701099 A CN116701099 A CN 116701099A
Authority
CN
China
Prior art keywords
magnetic field
field strength
field intensity
preset
range
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
CN202211389762.6A
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.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211389762.6A priority Critical patent/CN116701099A/en
Publication of CN116701099A publication Critical patent/CN116701099A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3041Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is an input/output interface
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/66Testing of connections, e.g. of plugs or non-disconnectable joints
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R33/00Arrangements or instruments for measuring magnetic variables
    • G01R33/02Measuring direction or magnitude of magnetic fields or magnetic flux
    • G01R33/06Measuring direction or magnitude of magnetic fields or magnetic flux using galvano-magnetic devices
    • G01R33/07Hall effect devices
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V3/00Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation
    • G01V3/08Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation operating with magnetic or electric fields produced or modified by objects or geological structures or by detecting devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations

Abstract

The embodiment of the application provides electronic equipment and a method for controlling the working state of the electronic equipment, relates to the technical field of electronic equipment, and can realize the effects of reducing the cost of the electronic equipment and reducing the occupied internal space of the electronic equipment. The electronic equipment provided by the embodiment of the application comprises: a magnetometer for detecting the magnetic field strength; the external interface is used for carrying out data interaction and/or electric energy transmission with external equipment; the processing module is used for collecting the magnetic field intensity and controlling the working state of the electronic equipment according to the magnetic field intensity; wherein, according to the magnetic field intensity, the operating condition of control electronic equipment includes: when a first condition is met, controlling the external interface to be in a power-on state, wherein the first condition at least comprises that the magnetic field intensity is positioned in a first preset magnetic field intensity range; when the second condition is met, the external interface is controlled to be in a power-on state, the display screen of the electronic equipment is in a screen-off state, and the second condition at least comprises that the magnetic field intensity is located in a second preset magnetic field intensity range.

Description

Electronic equipment and method for controlling working state of electronic equipment
Technical Field
The present application relates to the field of electronic devices, and in particular, to an electronic device and a method for controlling a working state of the electronic device.
Background
A plurality of hall devices are generally arranged in electronic equipment (such as a tablet personal computer), and each hall device has a corresponding function. The tablet personal computer is internally provided with two Hall devices, wherein one Hall device can be matched with a magnet in a protective sleeve of the tablet personal computer to realize screen on/off detection; the other Hall device can be matched with a magnet in the keyboard, so that the detection of the electric connection between the keyboard and the tablet personal computer is realized.
However, the multiple hall devices result in higher cost of the electronic device, and occupy larger internal space of the electronic device, which is not beneficial to other structures.
Disclosure of Invention
In order to solve the technical problems, the application provides electronic equipment and a method for controlling the working state of the electronic equipment.
In a first aspect, an embodiment of the present application provides an electronic device, including: a magnetometer for detecting the magnetic field strength; the external interface is used for carrying out data interaction and/or electric energy transmission with external equipment; the processing module is used for collecting the magnetic field intensity and controlling the working state of the electronic equipment according to the magnetic field intensity; wherein, according to the magnetic field intensity, the operating condition of control electronic equipment includes: when a first condition is met, controlling the external interface to be in a power-on state, wherein the first condition at least comprises that the magnetic field intensity is positioned in a first preset magnetic field intensity range; when the second condition is met, the external interface is controlled to be in a power-on state and the display screen of the electronic equipment is controlled to be in a screen-off state, and the second condition at least comprises that the magnetic field intensity is located in a second preset magnetic field intensity range.
The magnetometer has the characteristics of size and direction, and can detect magnetic field intensity components in different directions, so that when the positions of the magnet on the external equipment are different, the magnetic field intensity is also different, whether the external equipment is connected with an external interface of the electronic equipment or not and whether the external equipment is covered on a display screen of the electronic equipment or not is determined according to the different magnetic field intensities, and the working state of the electronic equipment is further controlled. Therefore, the functions of disconnection detection of the external interface, disconnection detection of the external interface and detection of whether the external equipment is covered on the display screen of the display panel can be realized through the magnetometer.
The magnetic field intensity range may be a value or a section, and when the magnetic field intensity range is a section, the influence of fluctuation can be avoided, so that the result is more accurate.
It should be noted that, the processing module may directly control the working state of the electronic device, or may indirectly control the working state of the electronic device, where when the processing module indirectly controls the working state of the electronic device, it may send a corresponding signal to other modules of the electronic device when the first condition or the second condition is met, so that the other modules of the electronic device control the external interface to be in a power-on state, or control the external interface to be in a power-on state and the display screen of the electronic device to be in a screen-off state.
According to a first aspect, controlling the operating state of the electronic device according to the magnetic field strength, further comprises: when a third condition is met, the display screen of the electronic equipment is controlled to be in a screen-off state, and the third condition at least comprises that the magnetic field intensity is located in a third preset magnetic field intensity range.
The magnetometer can also realize the function of detecting whether the external equipment is covered on the display screen of the display panel.
According to a first aspect, or any implementation of the first aspect above, the number of magnetometers is one.
Namely, the magnetometer has the advantages of small number, low cost and small occupied space. The number of magnetometers is only one, and a single magnetometer can realize the functions of disconnection detection of an external interface and detection of whether external equipment is covered on a display screen of a display panel. Because single magnetometer compares in a plurality of hall devices, with low costs, and occupy electronic equipment inner space less, consequently, can realize reducing electronic equipment's cost to and reduce the effect that occupies electronic equipment inner space.
It should be noted that, as long as the working state of the electronic device is controlled based on the magnetic field strength detected by the magnetometer, the working state is within the protection scope of the present application.
According to a first aspect, or any implementation of the first aspect above, the magnetic field strength comprises a three-dimensional magnetic field strength comprising a first direction magnetic field strength, a second direction magnetic field strength and a third direction magnetic field strength; the first condition at least comprises that the magnetic field intensity is in a first preset magnetic field intensity range, namely the first condition at least comprises that the magnetic field intensity in the first direction is in a first preset magnetic field intensity range in the first direction, the magnetic field intensity in the second direction is in a first preset magnetic field intensity range in the second direction, and/or the magnetic field intensity in the third direction is in a first preset magnetic field intensity range in the third direction; the second condition at least comprises that the magnetic field intensity is within a second preset magnetic field intensity range, and the second condition at least comprises that the magnetic field intensity in the first direction is within a second preset magnetic field intensity range in the first direction, the magnetic field intensity in the second direction is within a second preset magnetic field intensity range in the second direction, and/or the magnetic field intensity in the third direction is within a second preset magnetic field intensity range in the third direction.
The magnetometer has directivity, so that the magnetometer can detect the magnetic field intensity in different directions, and the embodiment of the application can control the working state of the electronic equipment according to the magnetic field intensity in one direction, can control the working state of the electronic equipment according to the magnetic field intensity in two directions, and can control the working state of the electronic equipment according to the magnetic field intensity in three directions.
Illustratively, the first direction is, for example, an X-axis direction in the embodiment, the second direction is, for example, a Y-axis direction in the embodiment, and the third direction is, for example, a Z-axis direction in the embodiment.
According to a first aspect, or any implementation manner of the first aspect, on the basis that the magnetic field strength includes a three-dimensional magnetic field strength, the first condition that the magnetic field strength is at least within a first preset magnetic field strength range means that the magnetic field strength in the first direction is at least within a first preset magnetic field strength range in the first direction, or that the magnetic field strength in the second direction is within a first preset magnetic field strength range in the second direction, or that the magnetic field strength in the third direction is within a first preset magnetic field strength range in the third direction; the second condition that the magnetic field strength is within the second preset magnetic field strength range at least means that the second condition at least includes that the magnetic field strength in the first direction is within the second preset magnetic field strength range in the first direction, or that the magnetic field strength in the second direction is within the second preset magnetic field strength range in the second direction, or that the magnetic field strength in the third direction is within the second preset magnetic field strength range in the third direction.
The working state of the electronic equipment is controlled according to the magnetic field intensity in one direction, so that the operation of the electronic equipment is simpler, and the operation rate of the electronic equipment is improved.
According to a first aspect, or any implementation manner of the first aspect, on the basis that the magnetic field strength includes a three-dimensional magnetic field strength, the first condition that the magnetic field strength is at least within a first preset magnetic field strength range means that the first condition that the magnetic field strength in the first direction is at least within a first preset magnetic field strength range in the first direction, the magnetic field strength in the second direction is within a first preset magnetic field strength range in the second direction, and the magnetic field strength in the third direction is within a first preset magnetic field strength range in the third direction; the second condition at least comprises that the magnetic field intensity is in a second preset magnetic field intensity range, namely the second condition at least comprises that the magnetic field intensity in the first direction is in a second preset magnetic field intensity range in the first direction, the magnetic field intensity in the second direction is in a second preset magnetic field intensity range in the second direction, and the magnetic field intensity in the third direction is in a second preset magnetic field intensity range in the third direction.
Namely, the working state of the electronic equipment is controlled according to the magnetic field intensities in three directions, so that the detection precision can be improved.
According to the first aspect, or any implementation manner of the first aspect, a corresponding relation between a preset magnetic field intensity range and an operating state of the electronic device is stored in the processing module; the corresponding relation between the preset magnetic field intensity range and the working state of the electronic equipment at least comprises that the first preset magnetic field intensity range corresponds to the external interface in a power-on state, and the second preset magnetic field intensity range corresponds to the external interface in the power-on state and the display screen of the electronic equipment in a screen-off state.
When the magnetic field intensity collected by the processing module is in the first preset magnetic field intensity range, the processing module can control the external interface to be in the power-on state according to the first preset magnetic field intensity range and the corresponding power-on state of the external interface.
When the magnetic field intensity collected by the processing module is in the second preset magnetic field intensity range, the processing module can control the external interface to be in the power-on state and the display screen of the electronic device to be in the screen-off state according to the second preset magnetic field intensity range, wherein the display screen of the electronic device is in the power-on state and the display screen of the external interface is in the screen-off state.
According to a first aspect, or any implementation manner of the first aspect, the electronic device includes a system on a chip, and the system on a chip includes a low power consumption processing unit, where the low power consumption processing unit is multiplexed into a processing module. The low-power processing unit with lower power consumption is used for processing the magnetic field intensity, on one hand, a processing module is not required to be arranged independently, the cost of the electronic equipment is reduced, and on the other hand, the low-power processing unit always works and the power consumption is reduced, so that when the magnetic field intensity is detected, the whole system of the electronic equipment is not required to be awakened, and the standby time of the electronic equipment is prolonged.
According to the first aspect, or any implementation manner of the first aspect, the processing module is an embedded controller, a single chip microcomputer, a micro control unit or the like, and the processing module is not required to be set independently, so that the cost of the electronic equipment is reduced.
According to a first aspect, or any implementation manner of the first aspect, the acquiring the magnetic field strength comprises: the magnetic field strength is acquired at a preset frequency. The processing module can acquire the magnetic field intensity detected by the magnetometer in real time or periodically acquire the magnetic field intensity at a preset frequency, and can reduce the power consumption of the processing module when the processing module periodically acquires the magnetic field intensity detected by the magnetometer at the preset frequency, so that the standby time of the electronic equipment is prolonged.
According to a first aspect, or any implementation manner of the first aspect, on the basis of the above-mentioned acquisition of the magnetic field strength at a preset frequency, the preset frequency is 4Hz to 6Hz. By way of example, the preset frequency may be, for example, 4Hz, 5Hz, 6Hz, etc.
According to a first aspect, or any implementation of the first aspect above, an electronic device comprises opposing first and second edges; the distance of the magnetometer from the first edge is different from the distance of the magnetometer from the second edge.
I.e. the position of the magnetometer can be set according to the actual situation. When the keyboard is in a covering state, the second edge is positioned at one side of the first edge away from the connecting part; the distance from the magnetometer to the first edge is different from the distance from the magnetometer to the second edge, and the distance from the magnetometer to the first edge is smaller than the distance from the magnetometer to the second edge, so that the distance between the magnet positioned in the keyboard and the magnetometer is relatively short when the keyboard is opened and closed, the magnetic field intensity detected by the magnetometer is relatively large, and the detection precision is guaranteed.
In a second aspect, an embodiment of the present application provides a method for controlling an operating state of an electronic device, where the method is applied to the electronic device of the first aspect, and the method includes: collecting the magnetic field intensity detected by a magnetometer; when a first condition is met, controlling the external interface to be in a power-on state, wherein the first condition at least comprises that the magnetic field intensity is positioned in a first preset magnetic field intensity range; when the second condition is met, the external interface is controlled to be in a power-on state and the display screen of the electronic equipment is controlled to be in a screen-off state, and the second condition at least comprises that the magnetic field intensity is located in a second preset magnetic field intensity range.
Any implementation manner of the second aspect and the second aspect corresponds to any implementation manner of the first aspect and the first aspect, respectively. The technical effects corresponding to the second aspect and any implementation manner of the second aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
According to a second aspect, a method for controlling an operating state of an electronic device further comprises: when a third condition is met, the display screen of the electronic equipment is controlled to be in a screen-off state, and the third condition at least comprises that the magnetic field intensity is located in a third preset magnetic field intensity range.
According to a second aspect, or any implementation of the second aspect above, collecting the magnetic field strength detected by the magnetometer comprises: the magnetic field strength detected by the magnetometer is acquired at a preset frequency.
In a third aspect, embodiments of the present application provide a computer-readable storage medium. The computer readable storage medium comprises a computer program which, when run on an electronic device, causes the electronic device to perform the second aspect and the method of controlling the operating state of the electronic device of any of the second aspects.
The third aspect corresponds to the second aspect and any implementation manner of the second aspect, respectively. The technical effects corresponding to the third aspect may be referred to the technical effects corresponding to any implementation manner of the second aspect and the second aspect, which are not described herein.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed on an electronic device, cause the computer to perform a method of controlling an operational state of the electronic device as in any of the second or second aspects.
The fourth aspect corresponds to any one of the implementations of the second aspect and the second aspect, respectively. The technical effects corresponding to the fourth aspect may be referred to the technical effects corresponding to any implementation manner of the second aspect and the second aspect, which are not described herein.
In a fifth aspect, the present application provides a chip comprising processing circuitry, transceiver pins. Wherein the transceiver pin and the processing circuit communicate with each other via an internal connection path, the processing circuit executing the method of controlling the operating state of the electronic device as in any one of the second aspect or the second aspect to control the receiving pin to receive signals and the transmitting pin to transmit signals.
The fifth aspect corresponds to any one of the implementations of the second aspect and the second aspect, respectively. The technical effects corresponding to the fifth aspect may be referred to the technical effects corresponding to any implementation manner of the second aspect and the second aspect, which are not described herein.
In a sixth aspect, the present application further provides an apparatus system, where the apparatus system includes an external device and an electronic device in a first direction; at least one magnet is arranged in the external equipment, and when the part of the external equipment provided with the magnet is contacted with the electronic equipment, the magnetic field at the periphery of the magnetometer changes.
Any implementation manner of the sixth aspect corresponds to any implementation manner of the first aspect and the first aspect, respectively. Technical effects corresponding to any implementation manner of the sixth aspect may be referred to the technical effects corresponding to any implementation manner of the first aspect, and are not described herein.
According to a sixth aspect, the electronic device comprises a tablet computer and the external device comprises a keyboard. Of course, the electronic device is not limited to a tablet computer, and the external device is not limited to a keyboard.
According to a sixth aspect, or any implementation manner of the sixth aspect, the keyboard includes a support portion and a keyboard main body portion, the support portion is provided with a first connection module and a first magnet, and the keyboard main body portion is provided with a second magnet; the tablet personal computer is provided with a second connecting module; when the first connecting module is connected with the second connecting module, the magnetic field strength meets a first condition, and the processing module is used for controlling the external interface to be in a power-on state; when the first connecting module is connected with the second connecting module, and the keyboard main body part is covered on the display screen of the tablet personal computer, the magnetic field strength meets the second condition, and the processing module is used for controlling the external interface to be in a power-on state and the display screen of the electronic equipment to be in a screen-off state.
When the first connection module is connected with the second connection module, the first magnet approaches to the magnetometer, the magnetic field at the periphery of the magnetometer changes, the magnetometer can collect the magnetic field intensity at the periphery of the magnetometer, and the processing module controls the working state of the electronic equipment based on the magnetic field intensity, namely, controls the external interface to be in a power-on state.
When the first connecting module is connected with the second connecting module, and the keyboard main body is covered on the display screen of the tablet personal computer, the first magnet and the second magnet are close to the magnetometer, the peripheral magnetic field of the magnetometer changes, the magnetometer can acquire the peripheral magnetic field intensity of the magnetometer, the magnetic field intensity at the moment is different from the magnetic field intensity acquired by the magnetometer when the first magnet approaches the magnetometer, and the processing module controls the working state of the electronic equipment based on the magnetic field intensity, namely controls the external interface to be in an electrified state and controls the display screen of the electronic equipment to be in a screen-off state.
According to a sixth aspect, or any implementation manner of the sixth aspect, when the keyboard main body portion is covered on the display screen of the tablet computer, the magnetic field strength meets a third condition, and the processing module is configured to control the display screen of the electronic device to be in a screen-off state, where the third condition at least includes that the magnetic field strength is located in a third preset magnetic field strength range.
When the keyboard main body is covered on the display screen of the tablet personal computer, the second magnet approaches the magnetometer, the peripheral magnetic field of the magnetometer changes, the magnetometer can acquire the peripheral magnetic field intensity of the magnetometer, the magnetic field intensity at the moment is different from the magnetic field intensity acquired by the magnetometer when the first magnet approaches the magnetometer, and the magnetic field intensity acquired by the magnetometer when both the first magnet and the second magnet approach the magnetometer, and the processing module controls the working state of the electronic equipment based on the magnetic field intensity, namely, controls the display screen of the electronic equipment to be in a screen-off state.
According to a sixth aspect, or any implementation manner of the sixth aspect above, when the first connection module is connected with the second connection module, a projection of the first magnet on the reference plane overlaps with a projection of the magnetometer on the reference plane; when the keyboard main body part is covered on the display screen of the tablet personal computer, the projection of the second magnet on the reference surface overlaps with the projection of the magnetometer on the reference surface. By the arrangement, the magnetometer can detect larger magnetic field intensity in a certain direction (such as the Z-axis direction), and the detection accuracy is improved.
According to a sixth aspect, or any implementation manner of the above sixth aspect, the electronic device includes a first edge and a second edge opposite to each other; the keyboard also comprises a connecting part for connecting the supporting part and the keyboard main body part; when the keyboard is in the covering state, the second edge is positioned at one side of the first edge away from the connecting part; the magnetometer is less distant from the first edge than the second edge. The setting like this, when the keyboard opens and shuts, can guarantee that the distance of magnet and magnetometer that is located the keyboard is nearer, and then makes the magnetic field intensity that the magnetometer detected great, guarantees the detection precision.
According to a sixth aspect, or any implementation manner of the above sixth aspect, the magnetic field strength comprises a three-dimensional magnetic field strength, the three-dimensional magnetic field strength comprising a first direction magnetic field strength, a second direction magnetic field strength and a third direction magnetic field strength; the first condition at least comprises that the magnetic field intensity is within a first preset magnetic field intensity range, and the first condition at least comprises that the magnetic field intensity of the third direction is within the first preset magnetic field intensity range of the third direction; the second condition at least comprises that the magnetic field intensity is within a second preset magnetic field intensity range, namely the second condition at least comprises that the magnetic field intensity of the third direction is within the second preset magnetic field intensity range of the third direction; the third direction is perpendicular to the reference plane.
The third direction is, for example, a Z-axis direction in the embodiment.
When the third direction is perpendicular to the reference plane, the magnetic field intensity detected by the magnetometer in the third direction is maximum, and the processing module can only process the larger magnetic field intensity, so that the detection precision can be ensured while the operation steps are reduced.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 2 is a cross-sectional view taken along the BB' direction of FIG. 1;
FIG. 3 is a schematic diagram of magnetometer axial data according to an embodiment of the application;
fig. 4 is a circuit diagram of an electronic device according to an embodiment of the present application;
fig. 5 is one of application scenarios of an electronic device provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a back structure of a tablet pc according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a keyboard according to an embodiment of the present application;
fig. 8 is one of application scenarios of an electronic device provided in an embodiment of the present application;
fig. 9 is a partial circuit diagram of an electronic device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a connection between a female pogo-pin of a keyboard and a male pogo-pin of a tablet computer according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of the keyboard main body portion according to the embodiment of the present application when the keyboard main body portion is covered on the display screen and the female end pogo-pin of the keyboard is connected with the male end pogo-pin of the tablet computer;
fig. 12 is a schematic structural diagram of a tablet computer provided by the embodiment of the application, wherein the tablet computer is not connected with a keyboard and the keyboard is not covered on the tablet computer;
fig. 13 is a schematic structural diagram of the keyboard body according to the embodiment of the present application when the keyboard body is covered on the display screen;
fig. 14 is a flowchart of a method for controlling an operating state of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms first and second and the like in the description and in the claims of embodiments of the application, are used for distinguishing between different objects and not necessarily for describing a particular sequential order of objects. For example, the first target object and the second target object, etc., are used to distinguish between different target objects, and are not used to describe a particular order of target objects.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more. For example, the plurality of processing units refers to two or more processing units; the plurality of systems means two or more systems.
When using a smart terminal (such as a tablet computer), an input device is generally used to improve input efficiency and input accuracy. The input device includes, for example, a keyboard, a stylus, and the like. The keyboard (also referred to as a keyboard protective cover) may include, for example: the keyboard comprises a keyboard main body part and a supporting part, wherein the keyboard main body part is connected with the supporting part. The support part is provided with a connecting module (such as pogo pin) electrically connected with the tablet personal computer, and the keyboard main body part is provided with keys, a touch pad and the like for user operation. When the keyboard is used, the connecting module (such as pogo pin) of the tablet computer is electrically connected with the connecting module on the supporting part, so that the keyboard is electrically connected with the tablet computer, and further, electric energy transmission and/or data transmission are realized; meanwhile, the supporting part can support the tablet personal computer. When the tablet personal computer is stored, the tablet personal computer is clamped between the supporting part and the keyboard main body part, and the tablet personal computer can be protected.
To ensure the effectiveness of the power transfer and/or data transmission between the tablet computer and the keyboard, a first hall device (also called hall sensor) is generally disposed in the tablet computer and near the connection module, and correspondingly, the keyboard is disposed with a first magnet at the location where the connection module is disposed, where the first magnet is opposite to the first hall device when the connection module of the tablet computer contacts the connection module on the keyboard. Whether the connection module of the tablet computer and the connection module of the keyboard are successfully connected or not is detected through the magnetic field intensity detected by the first Hall device, electric energy transmission can be carried out between the tablet computer and the keyboard only when the connection module of the tablet computer and the connection module of the keyboard are successfully connected, so that the situation of electric leakage is prevented, and/or data transmission can be carried out between the tablet computer and the keyboard, so that the failure of data transmission is prevented. The specific principle that whether the connection module of the tablet personal computer and the connection module of the keyboard are successfully connected is that the magnetic field intensity detected by the first Hall device is used for detecting whether the connection module of the tablet personal computer and the connection module of the keyboard are successfully connected or not is that the first Hall device is provided with a first threshold value (the first threshold value is determined before delivery and cannot be adjusted in the using process), the first magnet is close to the first Hall device, the magnetic field intensity detected by the first Hall device is increased, when the magnetic field intensity exceeds the first threshold value, the first Hall device sends a trigger signal to a processing module in the electronic equipment, and the processing module can determine that the connection module of the tablet personal computer and the connection module of the keyboard are successfully connected according to the trigger signal.
In addition, some intelligent terminals (such as tablet computers or mobile phones) combine the opening or closing of a keyboard with the on-screen and off-screen of the intelligent terminal. For example, when the keyboard is covered on the display screen of the tablet computer, the screen of the tablet computer is turned off, and when the keyboard is taken off from the display screen of the tablet computer, the screen of the tablet computer is lightened.
The bright screen and the screen-off detection of the intelligent terminal are realized through the Hall device. The second hall device is disposed in the tablet computer, for example, at an edge of an outer contour of the tablet computer, and the second magnet is disposed at a portion of the keyboard cover on the display screen of the tablet computer, for example, opposite to the second hall device when the keyboard cover is on the display screen of the tablet computer. Whether the keyboard is covered on the display screen of the tablet personal computer is detected through the magnetic field intensity detected by the second Hall device, and then the display screen is controlled to be turned off or on, wherein when the keyboard is covered, the distance between the second magnet and the second Hall device is short, the magnetic field intensity detected by the second Hall device is large, and when the keyboard is opened, the distance between the second magnet and the second Hall device is long, and the magnetic field intensity detected by the second Hall device is small. The specific principle that whether the keyboard is covered on the display screen of the tablet personal computer is detected through the magnetic field intensity detected by the second Hall device is that the second Hall device is provided with a second threshold value (the threshold value is determined before delivery and cannot be adjusted in the use process), when the second magnet approaches to the second Hall device, the magnetic field intensity detected by the second Hall device is increased, when the magnetic field intensity exceeds the second threshold value, the second Hall device sends a trigger signal to a processing module in the electronic equipment, the processing module can determine that the keyboard is covered on the display screen of the tablet personal computer according to the trigger signal, when the magnetic field intensity does not exceed the second threshold value, the second Hall device does not send the trigger signal to the processing module in the electronic equipment, and the processing module determines that the keyboard is not covered on the display screen of the tablet personal computer.
That is, when the tablet computer matches the keyboard to realize pogo pin connection detection and detection of whether the keyboard is covered on the display screen, two hall devices must be set (because only one hall device is provided, the hall device only has one threshold value, that is, only can realize pogo pin connection detection or detection of whether the keyboard is covered on the display screen, and can not realize pogo pin connection detection and detection of whether the keyboard is covered on the display screen at the same time), and the two hall devices result in higher cost of the electronic device, occupy larger internal space of the electronic device, and are unfavorable for setting of other structures.
Based on the above, the embodiment of the application provides an electronic device, in which a magnetometer is arranged, and because the magnetometer has the characteristics of size and direction, the magnetic field intensity components in different directions can be detected, so when the positions of the magnets on the keyboard are different, the detected magnetic field intensities are different, and the detection type is determined according to the different magnetic field intensities. Therefore, the dual functions of pogo pin disconnection detection and detection of whether the keyboard is covered on the display screen can be realized through a single magnetometer. Because single magnetometer compares in a plurality of hall devices, with low costs, and occupy electronic equipment inner space less, consequently, can realize reducing electronic equipment's cost to and reduce the effect that occupies electronic equipment inner space.
The electronic device provided by the embodiment of the application can be a tablet personal computer, a mobile phone, a computer, a personal digital assistant (personal digital assistant, PDA for short), a vehicle-mounted computer, a television, an intelligent wearable device, an intelligent home device and the like, and the specific form of the electronic device is not particularly limited.
The specific structure of the electronic device according to the embodiment of the present application is described below. The following examples are all described with the electronic device being a tablet computer.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and fig. 2 is a cross-sectional view along BB' in fig. 1. As shown in fig. 1 and 2, the tablet pc 100 includes a display screen 10, a middle frame 20, and a rear case 30. The display screen 10, the middle frame 20, and the rear case 30 may enclose a receiving cavity. The accommodating cavity is internally provided with a printed circuit board (Printed Circuit Board, PCB) 40, a processor 50 (also may be a system on chip SoC), a magnetometer 60 and other structures, wherein the processor 50, the magnetometer 60 and the like are arranged on the PCB 40, a bottom surface 61 (a surface provided with solder balls) of the magnetometer 60 is in contact with the PCB 40, and a top surface 62 (also a screen printed surface of the magnetometer) of the magnetometer 60 is positioned on one side of the bottom surface 61 facing away from the PCB 40.
Referring to fig. 3, fig. 3 is a schematic diagram of axial data of a magnetometer according to an embodiment of the application. As shown in FIG. 3, magnetometer 60 has the size and orientation characteristics that allows the detection of magnetic field strength components in different directions, i.e., the detection of magnetic field strength in three dimensions (X-axis, Y-axis, and Z-axis) based on the magnetic field around it. The screen printing surface is, for example, a surface perpendicular to the Z axis and located on the +z axis in magnetometer 60, i.e., the surface marked with AA in fig. 3. The surface opposite to the screen printed surface is provided with solder balls by which the magnetometer 60 is soldered to the PCB 40 and an electrical connection is made to the PCB 40. It should be noted that, the PCB 40 includes a first surface 41 and a second surface 42 opposite to each other, and fig. 3 illustrates that the magnetometer 60 is disposed on the first surface 41 of the PCB 40, but the present application is not limited thereto, and in other alternative embodiments, the magnetometer 60 may be disposed on the second surface 42. It will be appreciated that whether magnetometer 60 is disposed on first surface 41 or second surface 42, bottom surface 61 thereof is in contact with PCB 40.
It will be appreciated that when the magnetometer 60 is disposed on the first surface 41 of the PCB 40, the magnetic field strength detected by the magnetometer 60 is positive when a magnet is located at the position of the display screen 10, i.e. at the position of the magnetometer 60 in the +z-axis direction; when a magnet is located at the position of the rear case 30, i.e., at the position of the magnetometer 60 in the-Z axis direction, the intensity of the magnetic field detected by the magnetometer 60 is negative. When the magnetometer 60 is disposed on the second surface 42, the intensity of the magnetic field detected by the magnetometer 60 is negative when a magnet is located at the position of the display screen 10, i.e., at the position of the magnetometer 60 in the-Z axis direction; when a magnet is located at the position of the rear case 30, that is, at the position of the +z-axis direction of the magnetometer 60, the magnetic field intensity detected by the magnetometer 60 is positive.
The display screen 10 includes, for example, a liquid crystal display (Liquid Crystal Display, LCD) panel, an organic light emitting diode (Organic Light Emitting Diode, OLED) display screen, an LED display screen, and the like, wherein the LED display screen includes, for example, a Micro-LED display screen, a Mini-LED display screen, and the like. The type of display screen 10 is not limited in this embodiment of the application.
The material of the rear case 30 may include, for example, a light-impermeable material such as plastic, a plain skin, and glass fiber; light-transmitting materials such as glass may also be included. The material of the rear case 30 is not limited in the embodiment of the present application.
Referring to fig. 4, fig. 4 is a circuit diagram of an electronic device according to an embodiment of the present application. As shown in fig. 4, the tablet computer 100 further includes an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, and a user identification module (subscriber identification module, SIM) card interface 195, an external interface 70, a switching circuit 80, and a processing module 90, wherein the external interface 70 may be, for example, an interface different from the USB interface 130, and the sensor module 180 may include the magnetometer 60 described above.
The external interface 70 is electrically connected with the processing module 90 through the switch circuit 80, the magnetometer 60 is also electrically connected with the processing module 90, and the processing module 90 can receive the magnetic field intensity detected by the magnetometer 60.
The external interface 70 enables the tablet pc 100 to be coupled with an external device (such as the input device described above), so as to implement data interaction and/or power transfer between the tablet pc 100 and the external device.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
It should be understood that the tablet computer 100 shown in fig. 4 is only one example of a tablet computer, and that the tablet computer 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in fig. 4 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
For example, referring to fig. 5, fig. 5 is one of application scenarios of an electronic device provided in an embodiment of the present application. As shown in fig. 5, tablet 100 is coupled to keyboard 200 through external interface 70. The keyboard 200 may include, for example: a support portion 210 and a keyboard main body portion 220, the keyboard main body portion 220 being connected to the support portion 210.
Referring to fig. 6 and fig. 7, fig. 6 is a schematic diagram of a back structure of a tablet pc according to an embodiment of the present application, and fig. 7 is a schematic diagram of a keyboard according to an embodiment of the present application. As shown in fig. 6 and fig. 7, the external interface 70 of the tablet pc 100 may be, for example, a pogo-pin, which is disposed on the rear surface of the tablet pc 100, and correspondingly, a pogo-pin is also disposed on the supporting portion 210 of the keyboard 200 for placing the tablet pc 100, where the pogo-pin of the external interface 70 is, for example, a male pogo-pin, and the pogo-pin disposed on the keyboard 200 is a female pogo-pin. In use (as shown in fig. 5), the female pogo-pin of the keyboard 200 is in contact with the male pogo-pin of the tablet computer 100, so that the keyboard 200 can be electrically connected with the tablet computer 100; meanwhile, the supporting part 210 can support the tablet pc. When stored (as shown in fig. 8), the tablet pc 100 is sandwiched between the support portion 210 and the keyboard main body portion 220, so that the tablet pc 100 can be protected.
In order to reduce the number of pins exposed to the outside of the pogo-pin and thus make the appearance of the tablet pc 100 more attractive, the male pogo-pin includes three pins, which are the data transmission pin 71, the power pin 72 and the ground pin 73, for example. Correspondingly, the female pogo pin of the keyboard 200 also comprises three pins, namely a data transmission pin 201, a power pin 202 and a ground pin 203. Referring to fig. 9, fig. 9 is a partial circuit diagram of an electronic device according to an embodiment of the present application, as shown in fig. 9, three pins of a female pogo pin are in one-to-one correspondence with three pins on a male pogo pin (a data transmission pin 11 is in contact with a data transmission pin 201, a power supply pin 12 is in contact with a power supply pin 202, and a ground pin 13 is in contact with a ground pin 203), so as to realize electrical connection between a tablet pc 100 and a keyboard 200.
The above example is described by taking the pogo pin provided on the rear surface of the tablet pc 100 as an example, but the present application is not limited thereto. In other alternative embodiments, the pogo pin may also be located on the middle frame of the tablet pc 100, and accordingly, the position of the pogo pin in the keyboard 200 needs to be changed correspondingly, for example, the pogo pin is disposed on the keyboard body 220, so as to adapt to the position of the pogo pin of the tablet pc 100, and further facilitate connection.
In order to cooperate with the magnetometer 60 to simultaneously realize the pogo pin disconnection detection and the detection of whether the keyboard is covered on the display screen, a first magnet is provided on the support portion 210 of the keyboard 200, and a second magnet is provided on the keyboard main body portion 220 of the keyboard 200.
The principle of implementing pogo pin disconnection detection and detection of whether a keyboard is covered on a display screen by combining the structure is described below.
From the foregoing, it will be appreciated that the magnetometer 60 has the size and direction characteristics that it is possible to detect the magnetic field intensity components in different directions, i.e., it is possible to detect the magnetic field intensity in three dimensions (X-axis direction, Y-axis direction, and Z-axis direction) based on the magnetic field around it, and it is possible to send the detected magnetic field intensity to the processing module 90 in real time, without being limited to a threshold value. Because the first magnet and the second magnet are located at different positions of the keyboard, the magnetic field strength detected by the magnetometer 60 is different when the first magnet is close (i.e., the female end pogo-pin of the keyboard 200 is connected to the male end pogo-pin of the tablet 100), the second magnet is close (i.e., the keyboard body 220 is overlaid on the display 10), or the first magnet and the second magnet are close together (i.e., the female end pogo-pin of the keyboard 200 is connected to the male end pogo-pin of the tablet 100 and the keyboard body 220 is overlaid on the display 10). Correspondingly, the corresponding relation between the preset magnetic field intensity range and the working state of the electronic device is stored in the processing module 90, wherein the corresponding relation between the preset magnetic field intensity range and the working state of the electronic device at least comprises that the first preset magnetic field intensity range corresponds to the external interface being in the power-on state, the second preset magnetic field intensity range corresponds to the external interface being in the power-on state and the display screen of the electronic device being in the screen-off state, and the third preset magnetic field intensity range corresponds to the display screen of the electronic device being in the screen-off state. The processing module 90 can collect the magnetic field strength detected by the magnetometer 60 in real time, compare the magnetic field strength with a preset magnetic field strength range, and further control the working state of the electronic device, where the working state includes a first state, a second state and a third state, the first state is that the external interface is in a power-on state, the second state is that the external interface is in a power-on state and the display screen of the electronic device is in a screen-off state, and the third state is that the display screen of the electronic device is in a screen-off state
When the magnetic field strength collected by the processing module 90 is within the first preset magnetic field strength range, it indicates that the female end pogo-pin of the keyboard 200 is connected with the male end pogo-pin of the tablet pc 100, and the requirement of powering on the external interface is needed at this time, so based on this, the processing module 90 controls the control switch circuit 80 to be turned on for electric energy transmission and/or data interaction. When the magnetic field intensity collected by the processing module 90 is within the second preset magnetic field intensity range, it indicates that the female end pogo-pin of the keyboard 200 is connected with the male end pogo-pin of the tablet pc 100 and the keyboard main body 220 is covered on the display screen 10, and at this time, the requirement of powering on and off the external interface is needed, so based on this, the processing module 90 controls the switch circuit 80 to be turned on for electric energy transmission and/or data interaction, and controls the display screen 10 to be turned off. When the magnetic field intensity collected by the processing module 90 is within the third preset magnetic field intensity range, it indicates that the keyboard main body 220 is covered on the display screen 10, and at this time, there is a screen-off requirement, so the processing module 90 controls the display screen 10 to be turned off based on the requirement.
It should be noted that, the correspondence between the pre-stored magnetic field intensity range and the working state of the electronic device may be obtained through verification in the early test. For example, in the early test, when the support portion contacts the back surface of the tablet computer, that is, when the first magnet approaches the magnetometer, the magnetometer may detect a magnetic field strength, so as to avoid the influence caused by signal fluctuation, a magnetic field range may be determined based on the magnetic field strength, and the range may be stored in the processing module 90, where the magnetic field range is the first preset magnetic field strength range. When the keyboard main body portion is covered on the display screen of the tablet computer and the supporting portion is in contact with the rear shell surface of the tablet computer, namely, the first magnet and the second magnet are simultaneously close to the magnetometer, the magnetometer can detect a magnetic field intensity, in order to avoid the influence caused by signal fluctuation, a magnetic field range can be determined based on the magnetic field intensity, and the range is stored in the processing module 90, and the magnetic field range is the second preset magnetic field intensity range. When the keyboard main body portion is covered on the display screen of the tablet computer, that is, when the second magnet approaches the magnetometer, the magnetometer detects a magnetic field intensity, in order to avoid the influence caused by signal fluctuation, a magnetic field range can be determined based on the magnetic field intensity, and the range is stored in the processing module 90, and the magnetic field range is the third preset magnetic field intensity range.
It will be appreciated that the orientation of the magnets during the early test should be consistent with the orientation of the magnets during later use. For example, in the early test, the first preset magnetic field intensity range, the second preset magnetic field intensity range and the third preset magnetic field intensity range are determined based on the approach or the separation of the N pole of the first magnet to the magnetometer and the approach or the separation of the N pole of the second magnet to the magnetometer, and then in the later use, the N pole of the first magnet and the N pole of the second magnet are required to be arranged to be opposite to the magnetometer.
In the early test, the S pole of the first magnet and the S pole of the second magnet are required to be arranged to be opposite to the magnetometer when the S pole of the first magnet approaches or departs from the magnetometer and the S pole of the second magnet approaches or departs from the magnetometer to determine the first preset magnetic field intensity range, the second preset magnetic field intensity range and the third preset magnetic field intensity range. In the early test, the first preset magnetic field intensity range, the second preset magnetic field intensity range and the third preset magnetic field intensity range are determined based on the fact that the N pole of the first magnet approaches or is far away from the magnetometer and the S pole of the second magnet approaches or is far away from the magnetometer, and then the N pole of the first magnet and the S pole of the second magnet are required to be arranged to be opposite to the magnetometer in the later use. In the early test, the S pole of the first magnet and the N pole of the second magnet are required to be opposite to the magnetometer when the S pole of the first magnet approaches or departs from the magnetometer and the N pole of the second magnet approaches or departs from the magnetometer to determine the first preset magnetic field intensity range, the second preset magnetic field intensity range and the third preset magnetic field intensity range. The embodiment of the application is described by taking the example that the N pole of the first magnet and the N pole of the second magnet are opposite to the magnetometer.
It will be appreciated that the magnetic field strength at the periphery of the magnetometer is related to the magnetic field strength of the first and second magnets themselves, and therefore the magnets used in the early test should be consistent with the magnets used in the later test. And the magnetic field strengths of the first magnet and the second magnet may be the same or different.
In an actual use scenario, referring to fig. 10, fig. 10 is a schematic structural diagram of a connection between a female pogo-pin of a keyboard and a male pogo-pin of a tablet computer according to an embodiment of the present application. As shown in fig. 5 and 10, when a user needs to control the tablet pc 100 through the keyboard 200, that is, when the user needs to power up the external interface 70, the supporting portion 210 of the keyboard 200 is contacted with the rear surface of the tablet pc 100, so that the female end pogo-pin of the keyboard 200 is connected with the male end pogo-pin of the tablet pc 100, and the tablet pc 100 is supported by the supporting portion 210. When the female pin of the keyboard 200 is connected to the male pin of the tablet 100, the first magnet 204 is close to the magnetometer 60 along the Z-axis direction, and the N-pole of the first magnet 204 passes through the bottom surface 602 of the magnetometer 60, based on which the magnetometer 60 detects a magnetic field intensity of a large negative value (-Z-axis direction), for example, -B2. B2 is the magnetic field strength (also referred to as the first magnetic field strength) detected by the magnetometer 60 when the female pogo-pin of the keyboard 200 is connected to the male pogo-pin of the tablet computer 100. The processing module 90 collects the first magnetic field strength, compares the first magnetic field strength with a first preset magnetic field strength range, a second preset magnetic field strength range and a third preset magnetic field strength range stored in the processing module 90, and when the first magnetic field strength is within the first preset magnetic field strength range, the processing module 90 controls the switch circuit 80 to be turned on so as to power up the keyboard 200 through the power pin 72 of the external interface 70, and/or realizes interaction of data signals.
Referring to fig. 11, fig. 11 is a schematic structural diagram of the keyboard according to the embodiment of the present application when the main body of the keyboard is covered on the display screen and the female end pogo-pin of the keyboard is connected to the male end pogo-pin of the tablet computer. As shown in fig. 11, when the user uses the tablet pc 100 and needs the tablet pc 100 to be in a standby state, the keyboard main body 220 can be covered on the display screen 10 of the tablet pc 200 on the basis of keeping the connection between the female end pogo-pin of the keyboard and the male end pogo-pin of the tablet pc. When the keyboard main body 220 is covered on the display screen 10 of the tablet pc 200, the second magnet 205 approaches the magnetometer 60 along the Z-axis direction, and the N pole of the second magnet 205 passes through the top surface 601 of the magnetometer 60, so that the magnetometer 60 detects a magnetic field intensity of a positive value (+z-axis direction), for example +b1. Meanwhile, since the female pin of the keyboard 200 is connected to the male pin of the tablet pc 100, the first magnet 204 approaches the magnetometer 60 along the Z-axis direction, and the N-pole of the first magnet 204 passes through the bottom 602 of the magnetometer 60, the magnetometer 60 also detects a magnetic field intensity-B2 with a large negative value (-Z-axis direction). B1+ (-B2) is the magnetic field intensity (also referred to as the second magnetic field intensity) detected by the magnetometer 60 when the keyboard main body 220 is covered on the display screen 10 of the tablet pc 200 and the female end pogo-pin of the keyboard 200 is connected with the male end pogo-pin of the tablet pc 100. The processing module 90 collects the second magnetic field intensity, compares the second magnetic field intensity with the first preset magnetic field intensity range, the second preset magnetic field intensity range and the third preset magnetic field intensity range stored in the interior, when the second magnetic field intensity is within the second preset magnetic field intensity range, the processing module 90 controls the display screen 10 to be turned off so as to reduce power consumption, and the processing module 90 controls the switching circuit 80 to be turned on so as to power on the keyboard 200 through the power pin 72 of the external interface 70, and/or to realize interaction of data signals.
Referring to fig. 12, fig. 12 is a schematic structural diagram of a tablet computer according to an embodiment of the present application, where the tablet computer is not connected to a keyboard and the keyboard is not covered on the tablet computer. As shown in fig. 12, when the user does not use the keyboard 200, the keyboard can be removed from the tablet pc 100, and at this time, the male end pogo-pin of the tablet pc 100 is not connected to the female end pogo-pin of the keyboard 200, and the keyboard main body 220 of the keyboard 200 is not covered on the display screen 10 of the tablet pc 100, the magnetic field strength detected by the magnetometer 60 is changed from b1+ (-B2) to the original magnetic field strength. When the processing module 90 collects the magnetic field strength, the magnetic field strength is neither in the first preset magnetic field strength range nor in the second preset magnetic field strength range nor in the third preset magnetic field strength range, and therefore, the tablet pc 100 controls the display screen 10 to be turned on and controls the switch circuit 80 to be turned off.
Referring to fig. 13, fig. 13 is a schematic structural diagram of the display screen according to the embodiment of the present application. As shown in fig. 13, when the user simply puts the tablet pc 100 in a standby state through the keyboard 200, only the keyboard main body 220 may be covered on the display screen 10 of the tablet pc 200, and the female pogo-pin of the keyboard is not connected to the male pogo-pin of the tablet pc. When the keyboard main body 220 is covered on the display screen 10 of the tablet pc 200, the second magnet 205 approaches the magnetometer 60 along the Z-axis direction, and the N pole of the second magnet 205 passes through the top surface 601 of the magnetometer 60, based on which the magnetometer 60 detects a magnetic field intensity of a large positive value (+z-axis direction), for example, B1. B1 is the magnetic field strength (also referred to as the third magnetic field strength) detected by the magnetometer 60 when the keyboard main body 220 is covered on the display screen 10 of the tablet pc 200. The processing module 90 collects the third magnetic field intensity, compares the third magnetic field intensity with the first preset magnetic field intensity range, the second preset magnetic field intensity range and the third preset magnetic field intensity range stored in the processing module 90, and controls the display screen 10 to be turned off when the third magnetic field intensity is within the third preset magnetic field intensity range so as to reduce power consumption.
Therefore, the dual functions of the pogo pin disconnection detection and the detection of whether the keyboard main body part is covered on the display screen are realized through the single magnetometer, and the working state of the electronic equipment is controlled according to the detection result. Because single magnetometer compares in a plurality of hall devices, with low costs, and occupy electronic equipment inner space less, consequently, can realize reducing electronic equipment's cost to and reduce the effect that occupies electronic equipment inner space.
From the foregoing, it can be seen that magnetometer 60 can detect the magnetic field intensity in three dimensions (X-axis direction, Y-axis direction, and Z-axis direction) based on the magnetic field around it. The above examples are described by taking the comparison of the magnetic field intensity in one dimension as an example, but the present application is not limited thereto. In other alternative embodiments, to further improve the accuracy of the detection, the processing module 90 may further collect at least two of the X-axis direction (also referred to as a first direction) magnetic field strength, the Y-axis direction (also referred to as a second direction) magnetic field strength, and the Z-axis direction (also referred to as a third direction) magnetic field strength, and control the working state of the electronic device according to the correspondence between the pre-stored first preset magnetic field strength range, the pre-stored second preset magnetic field strength range, the pre-stored third preset magnetic field strength range, and the working state of the electronic device.
It is understood that when the magnetic field strength collected by the processing module 90 is at least two directions, the first preset magnetic field strength range, the second preset magnetic field strength range and the third preset magnetic field strength range also include the magnetic field strength ranges of at least two directions. In a possible implementation manner, the processing module 90 is specifically configured to collect the magnetic field strength in the first direction, the magnetic field strength in the second direction, and the magnetic field strength in the third direction, that is, collect the magnetic field strengths in the three directions, and control the working state of the electronic device according to the corresponding relationship between the magnetic field strength in the first direction, the magnetic field strength in the second direction, the magnetic field strength in the third direction, the pre-stored first preset magnetic field strength range, the pre-stored second preset magnetic field strength range, the pre-stored third preset magnetic field strength range, and the working state of the electronic device.
That is, the processing module 90 collects the magnetic field intensities of the magnetometer 60 in three directions, and correspondingly, the first preset magnetic field intensity range, the second preset magnetic field intensity range and the third preset magnetic field intensity range stored in the magnetometer also include the magnetic field intensity ranges of the three directions, that is, the first preset magnetic field intensity range of the first direction, the first preset magnetic field intensity range of the second direction, the first preset magnetic field intensity range of the third direction, the second preset magnetic field intensity range of the first direction, the second preset magnetic field intensity range of the second direction, the second preset magnetic field intensity range of the third direction, the third preset magnetic field intensity range of the first direction, the third preset magnetic field intensity range of the second direction and the third preset magnetic field intensity range of the third direction, so that the detection accuracy can be further improved.
With respect to the specific location of magnetometer 60 on PCB 40, embodiments of the present application do not limit the specific location of magnetometer 60.
In one possible implementation, with continued reference to fig. 11, when the female end pogo-pin of the keyboard 200 is connected to the male end pogo-pin of the tablet computer 100, the projection of the first magnet 204 on the plane of the PCB 40 overlaps with the projection of the magnetometer 60 on the plane of the PCB 40; when the keyboard main body 220 is covered on the display screen 10, the projection of the second magnet 205 on the plane of the PCB 40 overlaps with the projection of the magnetometer 60 on the plane of the PCB 40, so that the magnetometer 60 can detect a larger magnetic field strength in a certain direction (such as the Z-axis direction), and the detection accuracy is improved.
On this basis, when the processing module 90 collects only the magnetic field intensity in one-dimensional direction, and compares the magnetic field intensity in the one-dimensional direction with the preset magnetic field intensity range, the one-dimensional direction may be the Z-axis direction.
In yet another possible implementation, with continued reference to fig. 5, the tablet computer 100 includes opposite first and second edges 101 and 102, and the keyboard 200 further includes a connection portion 230, and the keyboard body portion 220 is connected to the support portion 210 by the connection portion 230. Referring to fig. 8, when the keyboard 200 is in the covering state, the first edge 101 contacts the connection portion 230, and the second edge 102 is located on a side of the first edge 101 facing away from the connection portion 230. The magnetometer 60 is less distant from the first edge 101 than the second edge 102.
So set up, when first magnet 204 is close (keyboard 200 covers on display screen 10) or keep away (keyboard 200 opens) to magnetometer 60, first magnet 204 is nearer to magnetometer 60, and magnetometer 60 can all detect great magnetic field intensity, and be unlikely when keyboard 200 opens and shuts the angle too big, first magnet 204 is farther from magnetometer 60, and magnetometer 60 can not acquire magnetic field intensity, and can not control display screen 10 to lighten.
The processing module 90 may be a single module, or may be a device in the tablet pc 100, which is not limited in the embodiment of the present application.
In one possible implementation, since a low power processing unit (sensor hub) is provided inside SOC 50, a magnetometer may be electrically connected to the sensor hub, which collects the magnetic field strength detected by the magnetometer. I.e., the sensor hub is multiplexed into the processing module 90. When the sensor hub is multiplexed into the processing module 90, the processing module 90 does not need to be separately provided, so that the cost can be reduced, and the occupation of the PCB 40 can be reduced.
In yet another possible implementation, the processing module 90 is an embedded controller (Embedded Controller, EC), a single chip or micro control unit ((Microcontroller Unit, MCU)), or the like. When the EC, the singlechip or the MCU is multiplexed into the processing module 90, the processing module 90 does not need to be separately provided, so that the cost can be reduced, and the occupation of the PCB 40 can be reduced.
The processing module 90 may collect the magnetic field strength of the magnetometer 60 in real time, or may collect the magnetic field strength periodically at a preset frequency, for example, the preset frequency is 4Hz to 6Hz, for example, the preset frequency is 4Hz, 5Hz, or 6Hz, etc.
When the processing module 90 periodically collects the magnetic field intensity at a preset frequency, the power consumption can be reduced, and the standby time of the tablet pc 100 can be prolonged.
It was verified that when periodic detection is performed at a frequency of 5Hz, standby power consumption is expected to increase by only less than 1mA.
The embodiment of the present application further provides a method for controlling an operating state of an electronic device, which may be applied to, for example, the electronic device in this embodiment, and has the same beneficial effects, and details that are not described in detail in this embodiment may refer to the above-mentioned embodiment of the electronic device. The method for controlling the operation state of the electronic device will be described below with reference to the above-described structure of the electronic device.
As shown in fig. 14, the method for controlling the operation state of the electronic device may be implemented by the following steps:
s1401, collecting the magnetic field intensity detected by a magnetometer at a preset frequency.
Wherein the magnetometer can detect the magnetic field intensities in three directions (X-axis direction, Y-axis direction and Z-axis direction) based on the change of the surrounding magnetic field.
The processing module 90 may collect the magnetic field strength detected by the magnetometer in real time, or may collect the magnetic field strength detected by the magnetometer 60 at a preset frequency (5 Hz), and when collected at 5Hz, may reduce the power consumption of the electronic device.
In addition, the processing module 90 may collect magnetic field intensity in one direction, magnetic field intensity in two directions, or magnetic field intensity in three directions, which is not limited in the embodiment of the present application. When the magnetic field intensity detection precision in three directions is higher, and when the magnetic field intensity in one direction is acquired, the later processing of the processing module 90 is facilitated, and the operation rate is improved.
S1402, controlling the working state of the electronic equipment based on the magnetic field intensity, wherein when a first condition is met, the external interface is controlled to be in a power-on state, and the first condition at least comprises that the magnetic field intensity is in a first preset magnetic field intensity range; when a second condition is met, controlling the external interface to be in a power-on state and the display screen of the electronic equipment to be in a screen-off state, wherein the second condition at least comprises that the magnetic field intensity is in a second preset magnetic field intensity range; and when a third condition is met, controlling the display screen of the electronic equipment to be in a screen-off state, wherein the third condition at least comprises that the magnetic field intensity is in a third preset magnetic field intensity range.
When the magnetic field strength collected by the processing module 90 is the magnetic field strength in one direction, the first preset magnetic field strength range, the second preset magnetic field strength range and the third preset magnetic field strength range stored in the processing module 90 are all, for example, preset magnetic field strength ranges in a corresponding direction, and, illustratively, when the magnetic field strength collected by the processing module 90 is the magnetic field strength in the Z-axis direction, the first preset magnetic field strength range, the second preset magnetic field strength range and the third preset magnetic field strength range stored in the processing module 90 are all, for example, preset magnetic field strength ranges in the Z-axis direction. The processing module 90 then compares the collected magnetic field intensity in one direction with a first preset magnetic field intensity range (magnetic field intensity range in the Z-axis direction), a second preset magnetic field intensity range (magnetic field intensity range in the Z-axis direction), and a third preset magnetic field intensity range (magnetic field intensity range in the Z-axis direction) to control the working state of the electronic device, wherein when the electronic device is located in the first preset magnetic field intensity range, the external interface is controlled to be in a power-on state, when the electronic device is located in the second preset magnetic field intensity range, the external interface is controlled to be in a power-on state, and the display screen of the electronic device is controlled to be in a screen-off state, and when the electronic device is located in the third preset magnetic field intensity range, the display screen of the electronic device is controlled to be in a screen-off state.
When the magnetic field strength collected by the processing module 90 is the magnetic field strength in two directions, the first preset magnetic field strength range, the second preset magnetic field strength range and the third preset magnetic field strength range stored in the processing module 90 are, for example, two magnetic field strength ranges in corresponding directions, and when the magnetic field strength collected by the processing module 90 is the magnetic field strength in the Z-axis direction and the Y-axis direction, the first preset magnetic field strength range, the second preset magnetic field strength range and the third preset magnetic field strength range stored in the processing module 90 are, for example, the first preset magnetic field strength range in the Z-axis direction, the first preset magnetic field strength range in the Y-axis direction, the second preset magnetic field strength range in the Z-axis direction, the second preset magnetic field strength range in the Y-axis direction, the third preset magnetic field strength range in the Z-axis direction and the third preset magnetic field strength range in the Y-axis direction. The processing module 90 then compares the collected magnetic field intensities in the Z-axis direction and the Y-axis direction with a first preset magnetic field intensity range (a preset magnetic field intensity range in the Z-axis direction and a preset magnetic field intensity range in the Y-axis direction), a second preset magnetic field intensity range (a preset magnetic field intensity range in the Z-axis direction and a preset magnetic field intensity range in the Y-axis direction), and a third preset magnetic field intensity range (a preset magnetic field intensity range in the Z-axis direction and a preset magnetic field intensity range in the Y-axis direction), to control the operation state of the electronic device, wherein when the magnetic field intensity in the Z-axis direction is within the first preset magnetic field intensity range in the Z-axis direction and the magnetic field intensity in the Y-axis direction is within the first preset magnetic field intensity range in the Y-axis direction, the external interface is controlled to be in the power-on state, and when the magnetic field intensity in the Z-axis direction is within the second preset magnetic field intensity range in the Z-axis direction and the magnetic field intensity in the Y-axis direction is within the second preset magnetic field intensity range in the Y-axis direction, the display screen of the electronic device is controlled to be in the power-on state.
When the magnetic field strength collected by the processing module 90 is the magnetic field strength in three directions, the first preset magnetic field strength range, the second preset magnetic field strength range and the third preset magnetic field strength range stored in the processing module 90 are, for example, three magnetic field strength ranges in corresponding directions, and, illustratively, when the magnetic field strength collected by the processing module 90 is the magnetic field strength in the Z-axis direction, the Y-axis direction and the X-axis direction, the first preset magnetic field strength range, the second preset magnetic field strength range and the third preset magnetic field strength range stored in the processing module 90 are, for example, all preset magnetic field strength ranges in the Z-axis direction, the Y-axis direction and the X-axis direction. Then, the processing module 90 compares the collected magnetic field intensities in the Z-axis direction, the Y-axis direction, and the X-axis direction with a first preset magnetic field intensity range (the preset magnetic field intensity range in the Z-axis direction, the preset magnetic field intensity range in the Y-axis direction, and the preset magnetic field intensity range in the X-axis direction), a second preset magnetic field intensity range (the preset magnetic field intensity range in the Z-axis direction, the preset magnetic field intensity range in the Y-axis direction, and the preset magnetic field intensity range in the X-axis direction), and a third preset magnetic field intensity range (the preset magnetic field intensity range in the Z-axis direction, the preset magnetic field intensity range in the Y-axis direction, and the third magnetic field intensity range in the Z-axis direction) to control the operation state of the electronic device, wherein when the magnetic field intensity in the X-axis direction is in the first preset magnetic field intensity range in the X-axis direction, and the magnetic field intensity in the Z-axis direction is in the first preset magnetic field intensity range in the Z-axis direction, and the magnetic field intensity in the Y-axis direction is in the third preset magnetic field intensity range in the Y-axis direction is in the Y-axis direction, and the external interface is controlled to be in the electrical state in the electronic device is in the electronic state in the X-axis direction, and controlling the display screen of the electronic equipment to be in a screen-off state.
The embodiment of the application also provides an electronic system, which comprises the first electronic device and the second electronic device. Wherein the first electronic device is electrically connected to the second electronic device, for example, through an external interface 70. The first electronic device executes the method for controlling the working state of the electronic device provided by the embodiment to determine the state of the second electronic device, and further completes the pogo pin disconnection detection and the screen on-off detection.
The first electronic device is the electronic device, the second electronic device is the keyboard, and the second electronic device is not limited to the keyboard.
The present embodiment also provides a computer storage medium having stored therein computer instructions which, when executed on an electronic device, cause the electronic device to perform the above-described related method steps to implement the method for controlling an operating state of an electronic device in the above-described embodiments.
The present embodiment also provides a computer program product which, when run on a computer, causes the computer to perform the above-mentioned related steps to implement the method of controlling the operating state of the electronic device in the above-mentioned embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be embodied as a chip, component or module, which may include a processor and a memory coupled to each other; the memory is configured to store computer-executable instructions, and when the apparatus is running, the processor may execute the computer-executable instructions stored in the memory, so that the chip executes the method for controlling the working state of the electronic device in the above method embodiments.
The electronic device (such as a tablet pc), the computer storage medium, the computer program product, or the chip provided in this embodiment are used to execute the corresponding method provided above, so that the beneficial effects that can be achieved by the electronic device can refer to the beneficial effects in the corresponding method provided above, and are not described herein.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (23)

1. An electronic device, comprising:
a magnetometer for detecting the magnetic field strength;
the external interface is used for carrying out data interaction and/or electric energy transmission with external equipment;
the processing module is used for collecting the magnetic field intensity and controlling the working state of the electronic equipment according to the magnetic field intensity;
wherein, according to the magnetic field intensity, controlling the working state of the electronic device includes:
when a first condition is met, controlling the external interface to be in a power-on state, wherein the first condition at least comprises that the magnetic field intensity is in a first preset magnetic field intensity range;
and when a second condition is met, controlling the external interface to be in a power-on state and the display screen of the electronic equipment to be in a screen-off state, wherein the second condition at least comprises that the magnetic field intensity is positioned in a second preset magnetic field intensity range.
2. The electronic device of claim 1, wherein the controlling the operating state of the electronic device according to the magnetic field strength further comprises:
and when a third condition is met, controlling the display screen of the electronic equipment to be in a screen-off state, wherein the third condition at least comprises that the magnetic field intensity is in a third preset magnetic field intensity range.
3. The electronic device of claim 1, wherein the number of magnetometers is one.
4. The electronic device of claim 1, wherein the magnetic field strength comprises a three-dimensional magnetic field strength comprising a first direction magnetic field strength, a second direction magnetic field strength, and a third direction magnetic field strength;
the first condition at least comprises that the magnetic field intensity is within a first preset magnetic field intensity range, namely that the first condition at least comprises that the magnetic field intensity in the first direction is within a first preset magnetic field intensity range in the first direction, the magnetic field intensity in the second direction is within a first preset magnetic field intensity range in the second direction, and/or the magnetic field intensity in the third direction is within a first preset magnetic field intensity range in the third direction;
The second condition that the magnetic field strength is within a second preset magnetic field strength range at least means that the second condition at least includes that the first direction magnetic field strength is within a second preset magnetic field strength range of the first direction magnetic field strength, the second direction magnetic field strength is within a second preset magnetic field strength range of the second direction magnetic field strength, and/or the third direction magnetic field strength is within a second preset magnetic field strength range of the third direction magnetic field strength.
5. The electronic device of claim 4, wherein the first condition at least includes that the magnetic field strength is within a first predetermined magnetic field strength range, meaning that the first condition at least includes that the first direction magnetic field strength is within a first predetermined magnetic field strength range of a first direction, or that the second direction magnetic field strength is within a first predetermined magnetic field strength range of a second direction, or that the third direction magnetic field strength is within a first predetermined magnetic field strength range of a third direction;
the second condition that the magnetic field strength is within a second preset magnetic field strength range at least means that the second condition at least includes that the magnetic field strength in the first direction is within a second preset magnetic field strength range in the first direction, or that the magnetic field strength in the second direction is within a second preset magnetic field strength range in the second direction, or that the magnetic field strength in the third direction is within a second preset magnetic field strength range in the third direction.
6. The electronic device of claim 4, wherein the first condition comprising at least the magnetic field strength lying within a first predetermined magnetic field strength range means that the first condition comprises at least the first direction magnetic field strength lying within a first predetermined magnetic field strength range of a first direction, the second direction magnetic field strength lying within a first predetermined magnetic field strength range of a second direction, and the third direction magnetic field strength lying within a first predetermined magnetic field strength range of a third direction;
the second condition that the magnetic field strength is within a second preset magnetic field strength range at least means that the second condition that the magnetic field strength in the first direction is within a second preset magnetic field strength range in the first direction, the magnetic field strength in the second direction is within a second preset magnetic field strength range in the second direction, and the magnetic field strength in the third direction is within a second preset magnetic field strength range in the third direction.
7. The electronic device of claim 1, wherein the processing module stores a correspondence between a preset magnetic field strength range and an operating state of the electronic device;
the corresponding relation between the preset magnetic field intensity range and the working state of the electronic equipment at least comprises that the first preset magnetic field intensity range corresponds to the external interface in a power-on state, and the second preset magnetic field intensity range corresponds to the external interface in a power-on state and the display screen of the electronic equipment in a screen-off state.
8. The electronic device of any of claims 1-7, wherein the electronic device comprises a system-on-chip comprising a low power processing unit multiplexed into the processing module.
9. The electronic device of any of claims 1-7, wherein the processing module is an embedded controller, a single-chip microcomputer, or a micro-control unit.
10. The electronic device of any of claims 1-7, wherein the acquiring the magnetic field strength comprises:
the magnetic field strength is acquired at a preset frequency.
11. The electronic device of claim 10, wherein the predetermined frequency is 4Hz to 6Hz.
12. The electronic device of claim 1, wherein the electronic device comprises opposing first and second edges;
the magnetometer is a different distance from the first edge than the magnetometer is from the second edge.
13. A method of controlling the operating state of an electronic device, characterized in that it is applied to an electronic device as claimed in any one of claims 1-12, the method comprising:
collecting the magnetic field intensity detected by a magnetometer;
When a first condition is met, controlling the external interface to be in a power-on state, wherein the first condition at least comprises that the magnetic field intensity is in a first preset magnetic field intensity range; and when a second condition is met, controlling the external interface to be in a power-on state and the display screen of the electronic equipment to be in a screen-off state, wherein the second condition at least comprises that the magnetic field intensity is positioned in a second preset magnetic field intensity range.
14. The method of controlling the operational state of an electronic device of claim 13, further comprising:
and when a third condition is met, controlling the display screen of the electronic equipment to be in a screen-off state, wherein the third condition at least comprises that the magnetic field intensity is in a third preset magnetic field intensity range.
15. A method of controlling the operation of an electronic device according to claim 13 or 14, wherein the acquisition of the magnetic field strength detected by the magnetometer comprises:
the magnetic field strength detected by the magnetometer is acquired at a preset frequency.
16. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed on an electronic device, cause the electronic device to perform the method of controlling the operational state of the electronic device of any of claims 13-15.
17. A device system comprising an external device and the electronic device of any one of claims 1-12;
at least one magnet is arranged in the external equipment, and when the part of the external equipment provided with the magnet is contacted with the electronic equipment, the magnetic field at the periphery of the magnetometer changes.
18. The device system of claim 17, wherein the electronic device comprises a tablet computer and the external device comprises a keyboard.
19. The device system of claim 18, wherein the keyboard comprises a support portion and a keyboard body portion, the support portion having a first connection module and a first magnet disposed thereon, the keyboard body portion having a second magnet disposed thereon; the tablet personal computer is provided with a second connecting module;
when the first connection module is connected with the second connection module, the magnetic field strength meets the first condition, and the processing module is used for controlling the external interface to be in a power-on state;
when the first connection module is connected with the second connection module and the keyboard main body part is covered on the display screen of the tablet personal computer, the magnetic field strength meets the second condition, and the processing module is used for controlling the external interface to be in a power-on state and the display screen of the electronic equipment to be in a screen-off state.
20. The device system of claim 19, wherein the magnetic field strength satisfies the third condition when the keyboard body portion is covered on the display screen of the tablet computer, and the processing module is configured to control the display screen of the electronic device to be in a deactivated state, wherein the third condition includes at least that the magnetic field strength is within a third preset magnetic field strength range.
21. The device system of claim 19, wherein a projection of the first magnet onto a reference plane overlaps a projection of the magnetometer onto a reference plane when the first connection module is connected with the second connection module;
when the keyboard main body part is covered on the display screen of the tablet personal computer, the projection of the second magnet on the reference surface overlaps with the projection of the magnetometer on the reference surface.
22. The device system of claim 19, wherein the electronic device comprises opposing first and second edges;
the keyboard further comprises a connecting part for connecting the supporting part and the keyboard main body part;
when the keyboard is in a covering state, the second edge is positioned at one side of the first edge away from the connecting part; the magnetometer is less distant from the first edge than the second edge.
23. The device system of claim 21, wherein the magnetic field strength comprises a three-dimensional magnetic field strength comprising a first direction magnetic field strength, a second direction magnetic field strength, and a third direction magnetic field strength;
the first condition at least comprising that the magnetic field intensity is within a first preset magnetic field intensity range means that the first condition at least comprises that the magnetic field intensity in the third direction is within a first preset magnetic field intensity range in the third direction;
the second condition at least comprising the magnetic field strength being within a second preset magnetic field strength range means that the second condition at least comprises the magnetic field strength in the third direction being within a second preset magnetic field strength range in the third direction;
the third direction is perpendicular to the reference plane.
CN202211389762.6A 2022-11-08 2022-11-08 Electronic equipment and method for controlling working state of electronic equipment Pending CN116701099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211389762.6A CN116701099A (en) 2022-11-08 2022-11-08 Electronic equipment and method for controlling working state of electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211389762.6A CN116701099A (en) 2022-11-08 2022-11-08 Electronic equipment and method for controlling working state of electronic equipment

Publications (1)

Publication Number Publication Date
CN116701099A true CN116701099A (en) 2023-09-05

Family

ID=87834537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211389762.6A Pending CN116701099A (en) 2022-11-08 2022-11-08 Electronic equipment and method for controlling working state of electronic equipment

Country Status (1)

Country Link
CN (1) CN116701099A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618821A (en) * 2013-10-30 2014-03-05 广东欧珀移动通信有限公司 A method and an apparatus for controlling the screen status of an electronic device
CN106502318A (en) * 2015-09-04 2017-03-15 苹果公司 Flexible keyboard annex for portable electron device
CN109950955A (en) * 2019-03-29 2019-06-28 努比亚技术有限公司 Charging method, device and terminal device based on cradle
CN111432068A (en) * 2020-03-10 2020-07-17 北京小米移动软件有限公司 Display state control method and device, electronic equipment and storage medium
CN112650406A (en) * 2019-10-10 2021-04-13 北京小米移动软件有限公司 Electronic device and electronic device protection system
WO2022232384A1 (en) * 2021-04-30 2022-11-03 Popsockets Llc System and method for providing a magnetic-based controller for a mobile electronic device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103618821A (en) * 2013-10-30 2014-03-05 广东欧珀移动通信有限公司 A method and an apparatus for controlling the screen status of an electronic device
CN106502318A (en) * 2015-09-04 2017-03-15 苹果公司 Flexible keyboard annex for portable electron device
CN109950955A (en) * 2019-03-29 2019-06-28 努比亚技术有限公司 Charging method, device and terminal device based on cradle
CN112650406A (en) * 2019-10-10 2021-04-13 北京小米移动软件有限公司 Electronic device and electronic device protection system
CN111432068A (en) * 2020-03-10 2020-07-17 北京小米移动软件有限公司 Display state control method and device, electronic equipment and storage medium
WO2022232384A1 (en) * 2021-04-30 2022-11-03 Popsockets Llc System and method for providing a magnetic-based controller for a mobile electronic device

Similar Documents

Publication Publication Date Title
ES2815802T3 (en) Electronic device with metal frame antenna
US11714451B2 (en) Foldable electronic device including electronic pen
EP3700175A1 (en) Electronic component arrangement structure and electronic device including same
KR102094889B1 (en) Mobile terminal
WO2019088650A1 (en) Antenna for electromagnetic interference detection and portable electronic device including the same
KR102567412B1 (en) Shield-film including a plurality of layers and electric device using the same
KR20150026264A (en) An electronic device including removable component
US20190273386A1 (en) Infrared intelligent control wireless charging bracket
KR20200052611A (en) An electronic device comprising an antenna module
US20230187971A1 (en) Electronic device
KR20150125485A (en) Electrical Device having Connector for connecting External Device and Method for the same
CN111246112B (en) Power supply circuit and power supply method of camera module and electronic equipment
KR20150120101A (en) Method for providing electric power to wearable device
KR20150125214A (en) Watch type mobile terminal
WO2021045480A1 (en) Electronic device comprising photosensor module
CN116701099A (en) Electronic equipment and method for controlling working state of electronic equipment
KR20140130006A (en) Portable electronic device, flip type cover thereof and method for controlling flip type cover
CN114567055B (en) Charging method and related equipment
US20220260832A1 (en) Wearable electronic device
CN212784840U (en) Placement box, wearable equipment and wearable equipment assembly
CN210075302U (en) Electronic device
KR102457138B1 (en) Electronic device with connector
CN114845034B (en) Camera assembly and terminal equipment
CN219717258U (en) High-speed transmission line assembly, screen assembly and electronic equipment
US11456557B2 (en) Electronic device including housing in which protective structure is disposed

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