Electronic equipment, methods and devices for detecting the condition of electronic equipment, and media

By separating the display and host computing functions in electronic devices and utilizing impedance detection and induction coil coupling sensing technology, the problem of increased power consumption in 5G mobile phones has been solved, achieving thinner and lighter designs and improved battery life, thus enhancing the user experience.

CN113934675BActive Publication Date: 2026-05-26BEIJING XIAOMI MOBILE SOFTWARE CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
BEIJING XIAOMI MOBILE SOFTWARE CO LTD
Filing Date
2020-06-29
Publication Date
2026-05-26

AI Technical Summary

Technical Problem

In the 5G era, increased power consumption in mobile phones leads to increased size and weight, affecting user experience. A balance needs to be struck between battery life and a slim, lightweight feel.

Method used

The user display and operation functions are separated from the host computing and communication functions. The combination and separation of the first and second parts are realized through impedance detection circuit and connection components. The matching is determined by using induction coil coupling to sense the identification information of the sensing device.

Benefits of technology

This has resulted in thinner and lighter electronic devices, improved hand feel and battery life, reduced the need for manual confirmation by users, and enhanced user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113934675B_ABST
    Figure CN113934675B_ABST
Patent Text Reader

Abstract

This disclosure relates to an electronic device, a method and apparatus for detecting the state of an electronic device, and a medium. The electronic device includes: a first part comprising a first connection component, an impedance detection circuit, and a processing component; a second part comprising a second connection component and an impedance element; the first part and the second part are combined, the first connection component and the second connection component interact to fix the first part and the second part, and the impedance element is connected to the impedance detection circuit; the first part and the second part are separated, the interaction between the first connection component and the second connection component is canceled, and the impedance element is disconnected from the impedance detection circuit; the processing component is connected to the impedance detection circuit and is used to determine whether the first part and the second part are separated or combined based on the impedance detected by the impedance detection circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of electronic equipment technology, and in particular to an electronic device, a method and apparatus for detecting the state of an electronic device, and a medium. Background Technology

[0002] With the development of mobile internet, more and more electronic devices are appearing in users' lives, especially mobile phones, which have become indispensable electronic products. With the arrival of the 5th Generation Mobile Networks (5G) era, mobile phone data communication rates will increase to the Gbit / s level. At the same time, mobile phone communication carrier frequencies will use millimeter waves, a type of radio wave with significant spatial attenuation. This will collectively lead to a significant increase in mobile phone power consumption in the 5G era.

[0003] Increasing the size and weight of mobile phones to make room for batteries has become a practical necessity. However, the increased size and weight negatively impact the user experience. On one hand, the increased thickness makes the grip feel uncomfortable; on the other hand, the increased weight causes wrist pain and discomfort during use. Therefore, a balance needs to be struck between battery life and a slim, lightweight design.

[0004] In one approach, by separating user display and operation functions from host computing and communication functions, the host computing system can increase the battery life of the mobile terminal by increasing battery weight; at the same time, the handheld display module can achieve a thinner and lighter feel because it is no longer burdened by a large-capacity battery. Summary of the Invention

[0005] This disclosure provides an electronic device, a method and apparatus for detecting the state of an electronic device, and a medium.

[0006] According to a first aspect of the present disclosure, an electronic device is provided, comprising:

[0007] The first part includes a first connection component, an impedance detection circuit, and a processing component;

[0008] The second part includes a second connection assembly and an impedance element;

[0009] The first part and the second part are combined, the first connecting component and the second connecting component interact to fix the first part and the second part, and the impedance element is connected to the impedance detection circuit;

[0010] The first part and the second part are separated, the interaction between the first connecting component and the second connecting component is cancelled, and the impedance element is disconnected from the impedance detection circuit;

[0011] The processing component is connected to the impedance detection circuit and is used to determine, based on the impedance detected by the impedance detection circuit, whether the first part and the second part are separate or the first part and the second part are combined.

[0012] Optionally, the first part includes a first induction coil, and the second part includes a second induction coil;

[0013] The first induction coil is used to generate a first electromagnetic signal after being powered on and to receive a second electromagnetic signal fed back by the second induction coil;

[0014] The second induction coil, when the first part and the second part are combined, is coupled to the first induction coil and is used to generate a second electromagnetic signal carrying the device identification information based on the device identification information stored in the second part under the excitation of the first electromagnetic signal based on coil coupling induction;

[0015] The processing component is connected to the first induction coil and is used to receive the second electromagnetic signal from the first induction coil and determine whether the second part matches the first part based on the device identification information carried by the second electromagnetic signal.

[0016] Optionally, both the first connecting component and the second connecting component are magnetic components; the magnetic properties of the magnetic components corresponding to the first connecting component and the second connecting component at corresponding positions in the first part and the second part are opposite.

[0017] Optionally, the first part and the second part are the same polygonal structure; the first connecting component and the second connecting component are both arranged adjacent to the vertices of the polygonal structure.

[0018] Optionally, the impedance element in the second part includes a first element and a second element; the impedance detection circuit in the first part includes a first detection circuit and a second detection circuit independent of the first detection circuit.

[0019] The first part and the second part are combined, with the first element connected to the first detection circuit and the second element connected to the second detection circuit.

[0020] The processing component is connected to the first detection circuit and the second detection circuit respectively, and is used to determine whether the first part and the second part are separate or combined based on the impedance of the first detection circuit and the impedance of the second detection circuit.

[0021] Optionally, the second part includes a display component; the processing component of the first part is at least used to control the display of the display component.

[0022] According to a second aspect of the present disclosure, a state detection method for an electronic device is provided, applied to the electronic device described in the first aspect, comprising:

[0023] Determine the impedance value detected by the impedance detection circuit;

[0024] Based on the impedance value, it is determined whether the first part and the second part are separate or combined.

[0025] Optionally, the method further includes:

[0026] If the first part and the second part are combined, the device identification information carried by the electromagnetic signal is obtained; the electromagnetic signal is the signal induced by the coupling of the first induction coil in the first part and the second induction coil in the second part.

[0027] Based on the device identification information, determine whether the first part and the second part match.

[0028] Optionally, determining whether the first part and the second part match based on the device identification information includes:

[0029] If the device identification information matches the preset device identification information, it is determined that the first part and the second part match.

[0030] If the device identification information does not match the preset device identification information, it is determined that the first part and the second part do not match.

[0031] Optionally, determining the impedance value detected by the impedance detection circuit includes:

[0032] Determine the first impedance value detected by the first detection circuit of the impedance detection circuit and the second impedance value detected by the second detection circuit of the impedance detection circuit;

[0033] The step of determining whether the first part and the second part are separate or combined based on the impedance value includes:

[0034] If the first impedance value is within a preset first impedance threshold range, determine the combination between the first part and the second part;

[0035] If the first impedance value is not within the preset first impedance threshold range, the first part and the second part are determined to be separate or combined, depending on whether the electromagnetic signal is coupled and sensed.

[0036] Optionally, determining whether the first part and the second part are separated or combined based on whether the electromagnetic signal is coupled and sensed includes:

[0037] If the first impedance value is not within the preset first impedance threshold range and no electromagnetic signal is coupled and sensed, it is determined that the first part and the second part are separated;

[0038] If the first impedance value is not within the preset first impedance threshold range, and the electromagnetic signal is coupled and sensed, the device identification information is obtained from the electromagnetic signal, and it is determined whether the first part and the second part are separated or the first part and the second part are combined.

[0039] Optionally, determining whether the first part and the second part are separate or combined based on whether the device identification information is obtained from the electromagnetic signal includes:

[0040] If the device identification information is not obtained, it is determined that the first part and the second part are separated;

[0041] If the device identification information is obtained, the combination of the first part and the second part is determined.

[0042] Optionally, the method further includes:

[0043] Based on the first impedance value, the second impedance value, and the electromagnetic signal, an alert message is output indicating that the electronic device is malfunctioning or that the first part and the second part are mismatched.

[0044] Optionally, the step of outputting a prompt message indicating an abnormality in the electronic device based on the first impedance value, the second impedance value, and the electromagnetic signal includes:

[0045] If the first impedance value is within the range of the preset first impedance threshold, the second impedance value is within the range of the preset second impedance threshold, and no electromagnetic signal is coupled and sensed, a first prompt message for cleaning the first induction coil and the second induction coil is output;

[0046] If the first impedance value is within the preset first impedance threshold range, the second impedance value is within the preset second impedance threshold range, and no device identification information carried by the electromagnetic signal is obtained, output the first prompt message or the second prompt message indicating that the electronic device is damaged;

[0047] If the first impedance value is within the preset first impedance threshold range and the second impedance value is not within the preset second impedance threshold range, output a third prompt message to clean the first connection component and the second connection component or a fourth prompt message to prompt the first part to align with the second part;

[0048] If the first impedance value is not within the preset first impedance threshold range, the electromagnetic signal is coupled and sensed, but the device identification information is not obtained from the electromagnetic signal, the first prompt message or the second prompt message is output;

[0049] If the first impedance value is not within the preset first impedance threshold range, and the device identification information carried by the electromagnetic signal matches the preset device identification information, the third prompt message or the fourth prompt message is output.

[0050] Optionally, the step of outputting a prompt message indicating a mismatch between the first part and the second part based on the first impedance value, the second impedance value, and the electromagnetic signal includes:

[0051] If the first impedance value is within the range of the preset first impedance threshold, the second impedance value is within the range of the preset second impedance threshold, and the device identification information carried by the electromagnetic signal does not match the preset device identification information, the prompt message indicating that the first part and the second part do not match is output.

[0052] If the first impedance value is not within the preset first impedance threshold range, and the device identification information carried by the electromagnetic signal does not match the preset device identification information, the prompt message indicating that the first part and the second part do not match is output.

[0053] According to a third aspect of the present disclosure, a state detection device for an electronic device is provided, applied in the electronic device described in the first aspect, comprising:

[0054] The first determining module is configured to determine the impedance value detected by the impedance detection circuit;

[0055] The second determining module is configured to determine, based on the impedance value, whether the first part and the second part are separate or the first part and the second part are combined.

[0056] Optionally, the device further includes:

[0057] The acquisition module, if the first part and the second part are combined, acquires the device identification information carried by the electromagnetic signal; the electromagnetic signal is the signal induced by the coupling of the first induction coil in the first part and the second induction coil in the second part.

[0058] The matching module is configured to determine whether the first part and the second part match based on the device identification information.

[0059] Optionally, the matching module is specifically configured to determine that the first part and the second part match if the device identification information matches the preset device identification information; and to determine that the first part and the second part do not match if the device identification information does not match the preset device identification information.

[0060] Optionally, the first determining module is specifically configured to determine the first impedance value detected by the first detection circuit of the impedance detection circuit and the second impedance value detected by the second detection circuit of the impedance detection circuit.

[0061] The second determining module is specifically configured to determine a combination between the first part and the second part if the first impedance value is within a preset first impedance threshold range; and to determine whether the first part and the second part are separated or combined, depending on whether the electromagnetic signal is coupled and sensed, if the first impedance value is not within the preset first impedance threshold range.

[0062] Optionally, the second determining module is specifically configured to determine that the first part and the second part are separated if the first impedance value is not within the preset first impedance threshold range and the electromagnetic signal is not coupled and sensed; and if the first impedance value is not within the preset first impedance threshold range and the electromagnetic signal is coupled and sensed, determine whether the first part and the second part are separated or the first part and the second part are combined based on whether the device identification information is obtained from the electromagnetic signal.

[0063] Optionally, the second determining module is specifically configured to determine that the first part and the second part are separated if the device identification information is not obtained; and to determine that the first part and the second part are combined if the device identification information is obtained.

[0064] Optionally, the device further includes:

[0065] The prompting module is configured to output a prompt message indicating that the electronic device is malfunctioning or that the first part and the second part are mismatched, based on the first impedance value, the second impedance value, and the electromagnetic signal.

[0066] Optionally, the prompting module is specifically configured to: if the first impedance value is within the preset first impedance threshold range, the second impedance value is within the preset second impedance threshold range, and no electromagnetic signal is coupled and sensed, output a first prompt message to clean the first induction coil and the second induction coil; if the first impedance value is within the preset first impedance threshold range, the second impedance value is within the preset second impedance threshold range, and no device identification information carried by the electromagnetic signal is obtained, output the first prompt message or a second prompt message indicating that the electronic device is damaged; if the first impedance value is within the preset first impedance threshold range and the second impedance value is not within the preset second impedance threshold range, output a third prompt message to clean the first connection component and the second connection component or a fourth prompt message indicating that the first part and the second part are aligned; if the first impedance value is not within the preset first impedance threshold range, the electromagnetic signal is coupled and sensed, but no device identification information is obtained from the electromagnetic signal, output the first prompt message or the second prompt message; if the first impedance value is not within the preset first impedance threshold range, and the device identification information carried by the electromagnetic signal matches the preset device identification information, output the third prompt message or the fourth prompt message.

[0067] Optionally, the prompting module is specifically configured to output a prompt message indicating a mismatch between the first and second parts if the first impedance value is within the range of a preset first impedance threshold, the second impedance value is within the range of a preset second impedance threshold, and the device identification information carried by the electromagnetic signal does not match the preset device identification information; and if the first impedance value is not within the range of the preset first impedance threshold, and the device identification information carried by the electromagnetic signal does not match the preset device identification information.

[0068] According to a fourth aspect of the present disclosure, a storage medium is provided, comprising:

[0069] When the instructions in the storage medium are executed by the processor of a computer, the computer is able to perform the state detection device of the electronic device as described in the second aspect above.

[0070] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0071] In this embodiment, the first part and the second part are combined, and the first connecting component and the second connecting component interact to fix the first part and the second part, with the impedance element connected to the impedance detection circuit. When the first part and the second part are separated, the interaction between the first connecting component and the second connecting component is canceled, causing the impedance element to disconnect from the impedance detection circuit. Therefore, the first connecting component and the second connecting component not only combine the separated first part and the second part, but also affect whether the impedance element is connected to the impedance detection circuit, changing the impedance detected by the impedance detection circuit. This allows the electronic device to determine whether the first part and the second part are combined or separated based on the impedance detected by the impedance detection circuit, resulting in a simple solution. Furthermore, this solution allows the electronic device to automatically confirm whether the first part and the second part are combined or separated, eliminating the need for manual confirmation by the user and improving the user experience.

[0072] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0073] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0074] Figure 1 This is a schematic diagram of an electronic device structure shown in an embodiment of this disclosure.

[0075] Figure 2 This is a structural example diagram of two parts of an electronic device in an embodiment of this disclosure.

[0076] Figure 3 This is a flowchart illustrating a state detection method for an electronic device according to an embodiment of this disclosure.

[0077] Figure 4 This is a flowchart illustrating a state detection method for an electronic device according to an embodiment of this disclosure.

[0078] Figure 5 This is a diagram illustrating a state detection device for an electronic device according to an exemplary embodiment.

[0079] Figure 6 This is a block diagram of a device shown in an embodiment of this disclosure. Detailed Implementation

[0080] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0081] Figure 1 This is a schematic diagram of an electronic device structure shown in an embodiment of this disclosure, such as... Figure 1 As shown, the electronic device 100 includes:

[0082] The first part 101 includes a first connection component 101a, an impedance detection circuit 101b, and a processing component 101c;

[0083] The second part 102 includes a second connection assembly 102a and an impedance element 102b;

[0084] The first part 101 and the second part 102 are combined, the first connecting component 101a and the second connecting component 102a interact to fix the first part 101 and the second part 102, and the impedance element 102b is connected to the impedance detection circuit 101b.

[0085] The first part 101 and the second part 102 are separated, the interaction between the first connecting component 101a and the second connecting component 102a is cancelled, and the impedance element 102b is disconnected from the impedance detection circuit 101b.

[0086] The processing component 101c is connected to the impedance detection circuit 101b and is used to determine, based on the impedance of the impedance detection circuit 101b, whether the first part 101 and the second part 102 are separate or combined.

[0087] In embodiments of this disclosure, the electronic device 100 includes: a mobile phone, a tablet computer, or a wearable device, etc.

[0088] The electronic device 100 comprises two parts: a first part 101 and a second part 102, which perform different functions. For example, one part includes a host processing module (central processing unit), a charging management module, and a memory module, mainly responsible for data processing, charging management, and data storage; the other part includes a microcontroller unit (MCU) and a display module, mainly responsible for display, communication, and some data processing. This is merely an example illustrating the included structure of the two parts; the actual implementation is not limited to this.

[0089] By separating display functions from host computing functions, the electronic device 100 can increase battery life and achieve a thinner and lighter feel.

[0090] The first part 101 and the second part 102 of the electronic device 100 can be used together to form an integral structure; the first part 101 and the second part 102 can also be used separately, for example, the user can hold the second part 102 while putting the first part 101 in his pocket.

[0091] It should be noted that the first part 101 and the second part 102 are separate, and the first part 101 and the second part 102 are not connected through a physical medium. At this time, the first part 101 and the second part 102 can communicate wirelessly, for example, through Bluetooth, Wireless Fidelity (Wi-Fi), ZigBee, or infrared.

[0092] When the first part 101 and the second part 102 are combined, they are connected using a tangible medium. In embodiments of this disclosure, the tangible medium is a first connecting component 101a included in the first part 101 and a second connecting component 102a included in the second part 102. The first part 101 and the second part 102 are fixed based on the interaction of the first connecting component 101a and the second connecting component 102a.

[0093] In the embodiments of this disclosure, the first connecting component 101a and the second connecting component 102a can be metal connecting components, such as metal patches; or they can be magnetic components, such as magnetic springs or magnets. Furthermore, the first connecting component 101a can be distributed at any position in the first portion 101, and the second connecting component 102 is located in the second portion 102 at a corresponding position to the first portion 101. The first portion 101 and the second portion 102 can be aligned using the first connecting component 101a and the second connecting component 102a. Taking a mobile phone as an example, the first portion of the phone has two metal patches at its upper left and lower right corners, and the second portion of the phone also has two metal patches at its upper left and lower right corners.

[0094] The first part 101 also includes an impedance detection circuit 101b, and the second part 102 also includes an impedance element 102b. When the first part 101 and the second part 102 are fixed by the interaction of the first connecting component 101a and the second connecting component 102a, the impedance element 102b is connected to the impedance detection circuit 101b; when the first part 101 and the second part 102 are separated, the interaction of the first connecting component 101a and the second connecting component 102a is canceled, and the impedance element 102b is disconnected from the impedance detection circuit 101b.

[0095] It is understood that when the first part 101 and the second part 102 are combined, the impedance detection circuit 101b detects the impedance including the impedance element 102b; while when the first part 101 and the second part 102 are separated, the impedance detected by the impedance detection circuit 101b does not include the impedance of the impedance element 102b. In this disclosure, the first connecting component 101a and the second connecting component 102a provide a path for the impedance detection circuit 101b to detect impedance.

[0096] It should be noted that, in the embodiments of this disclosure, the impedance element 102b may be a resistor. Furthermore, in one embodiment, an impedance path may be formed by the first connecting component 101a and the second connecting component 102a. If the first connecting component 101a and the second connecting component 102a are magnets, the impedance detected by the impedance detection circuit 101b may also include the impedance of the first connecting component 101a and the second connecting component 102a.

[0097] In one embodiment, if the first connecting component 101a and the second connecting component 102a are conductive structures of metal or alloy, the first connecting component 101a and the second connecting component 102a can be connected by a snap-fit ​​mechanism. For example, the first connecting component 101a is a metal slot, and the second connecting component 102a can extend and retract within the second portion 102. When the second connecting component 102a extends, it can snap into the metal slot. It is understood that this method not only allows the first portion 101 and the second portion 102 to be combined, but also allows the first portion 101 and the second portion 102 to be combined in a fixed position, improving the accuracy of the combination.

[0098] In addition, in another embodiment of this disclosure, conductive contact points may be provided at both ends of the impedance element 102b in the second part 102. After the first part 101 and the second part 102 are combined through the first connecting component 101a and the second connecting component 102a, the impedance detection circuit 101b forms an impedance path based on the conductive contact points at both ends of the impedance element 102b, and the impedance detection circuit 101b can detect the impedance between the impedance elements 102b.

[0099] In embodiments of this disclosure, the first part 101 further includes a processing component 101c connected to the impedance detection circuit 101b. The processing component 101c can determine whether the first part 101 and the second part 102 are separate or combined based on the impedance detected by the impedance detection circuit 101b.

[0100] It is understood that the electronic device of this disclosure enables the impedance element to be connected to or disconnected from the impedance detection circuit through the first connection component and the second connection component, so that the electronic device can determine the combination or separation between the first part and the second part based on the impedance detected by the impedance detection circuit, and the solution is simple.

[0101] In embodiments of this disclosure, once the electronic device determines whether the first part and the second part are combined or separated, targeted control can be performed. For example, the charging and discharging of the batteries in the first part and the second part can be controlled according to the state of combination or separation between the first part and the second part to improve the battery life of the electronic device.

[0102] It should be noted that the first and second parts of the electronic device disclosed herein have the same shape, and their thicknesses may be the same or different. For example, if the first part has a high power demand, its battery life can be increased by increasing its thickness to accommodate a battery with a larger rated capacity; if the second part has a low power demand, a thinner and lighter structure can be used to improve the user experience. In this disclosure, the first and second parts can be stacked together.

[0103] In one embodiment, the second part 102 includes a display component 102c; the processing component 101c of the first part 101 is at least used to control the display component 102c.

[0104] In this embodiment, the second part 102 is mainly responsible for display, call functions, and some data processing functions, while the first part 101 is mainly responsible for data processing, charging management, and data storage functions. The processing component 101c in the first part 101 is a central processing unit that can control the display component 102c in the second part 102. The display component 102c is, for example, a mobile phone display screen.

[0105] It should be noted that in the embodiments of this disclosure, since the first part 101 is mainly responsible for most of the data calculations, while the second part 102 is mainly responsible for display functions, the rated capacity of the battery in the first part 101 may be relatively larger than the rated capacity of the battery in the second part 102. Therefore, this disclosure utilizes the larger rated capacity of the battery to determine whether to combine or separate them, which can reduce the power consumption of the second part 102 with a smaller rated capacity, thereby balancing the power consumption of the first part 101 and the second part 102 and improving the battery life of the electronic device.

[0106] Of course, in another embodiment, the first part 101 can be responsible for functions such as display, call, and some data processing, while the second part 102 can be responsible for functions such as data calculation, charging management, and data storage. In this embodiment, the processing component 101c in the first part 101 is an MCU.

[0107] In one embodiment, the first portion 101 includes a first induction coil 101d, and the second portion 102 includes a second induction coil 102d.

[0108] The first induction coil 101d is used to generate a first electromagnetic signal after being powered on and to receive a second electromagnetic signal fed back by the second induction coil 102d;

[0109] When the first part 101 and the second part 102 are combined, the second induction coil 102d is coupled to the first induction coil 101d, and is used to generate the second electromagnetic signal carrying the device identification information based on the device identification information stored in the second part 102 under the excitation of the first electromagnetic signal based on coil coupling induction.

[0110] The processing component 101c is connected to the first induction coil 101d and is used to receive the second electromagnetic signal from the first induction coil 101d and determine whether the second part 102 matches the first part 101 based on the device identification information carried by the second electromagnetic signal.

[0111] In this embodiment, the first part 101 and the second part 102 may each include an induction coil. The first induction coil 101d in the first part 101 can be powered and generate a first electromagnetic signal under the control of the processing component 101c. The second induction coil 102d in the second part 102, based on coil coupling induction, generates a second electromagnetic signal carrying device identification information under the excitation of the first electromagnetic signal. This device identification information is stored in the second part 102 and may include: manufacturer, device serial number, or system identifier, etc. The system identifier can characterize the functions supported by the second part 102; for example, a system identifier of "0" indicates that the second part 102 supports a display function.

[0112] The second electromagnetic signal generated by the first induction coil 102d is fed back to the first induction coil 101d. The processing component 101c located in the first part 101 is connected to the first induction coil 101d, and can receive the second electromagnetic signal from the first induction coil 101d and determine whether the second part 102 matches the first part 101 based on the device identification information carried by the second electromagnetic signal.

[0113] It should be noted that, in the embodiments of this disclosure, the first part 101 also stores device identification information. After obtaining the device identification information stored in the second part 102 carried by the second electromagnetic signal, the processing component 101c in the first part 101 compares the device identification information of the second part 102 carried by the second electromagnetic signal with its own stored device identification information to determine whether the second part 102 matches the first part 101.

[0114] For example, if the manufacturer and device serial number in the device identification information received by the processing component 101c are consistent with the manufacturer and device serial number stored in the first part 101, and the system identifier in the device identification information received by the processing component 101c is different from the system identifier stored in the first part 101, then it indicates that the second part 102 matches the first part 101.

[0115] It is understood that by incorporating induction coils in the first and second parts, when the first and second parts are combined, the second part can generate a second electromagnetic signal carrying device identification information under the excitation of the first electromagnetic signal through coupling induction via the induction coils. This allows the first part to determine whether the second part matches the first part based on the received device identification information, thereby reducing problems such as device damage or information leakage caused by mismatched combinations. For example, combining two parts from different manufacturers may lead to device burnout due to voltage or current mismatch in the combined operating circuit; or, combining the first and second parts from different users may result in information leakage.

[0116] It should be noted that once the first and second parts are determined to be matched, the electronic device operates in the combined state. In the combined state, the first and second parts communicate via a wired connection, and the wireless communication mode can be turned off. However, if the first and second parts are combined but do not match, the electronic device does not operate in the combined state; in this case, the first and second parts still communicate via wireless communication.

[0117] In one embodiment, both the first connecting component 101a and the second connecting component 102a are magnetic components; the magnetic properties of the magnetic components corresponding to the first connecting component 101a and the second connecting component 102a at corresponding positions of the first portion 101 and the second portion 102 are opposite.

[0118] In this embodiment, both the first connecting component 101a and the second connecting component 102a are magnetic components, such as magnets. The magnetic components corresponding to the first connecting component 101a and the second connecting component 102a at corresponding positions of the first part 101 and the second part 102 have opposite magnetic properties, thereby enabling the first part 101 and the second part 102 to combine with each other based on magnetic force.

[0119] In one embodiment, the first part 101 and the second part 102 are the same polygonal structure; the first connecting component 101a and the second connecting component 102a are both arranged adjacent to the vertices of the polygonal structure.

[0120] In this embodiment, the first part 101 and the second part 102 are the same polygonal structure. The first connecting component 101a and the second connecting component 102a are both arranged adjacent to the vertices of the polygonal structure, that is, located near the corners of the polygonal structure, thus improving the stability of the combination of the first part 101 and the second part 102.

[0121] In one embodiment, the impedance element 102b in the second part 102 includes a first element 102b1 and a second element 102b2; the impedance detection circuit 101b in the first part 101 includes a first detection circuit 101b1 and a second detection circuit 101b2 that is independent of the first detection circuit 101b1.

[0122] The first part 101 and the second part 102 are combined, with the first element 102b1 connected to the first detection circuit 101b1 and the second element 102b2 connected to the second detection circuit 101b2.

[0123] The processing component 101c is connected to the first detection circuit 101b1 and the second detection circuit 101b2 respectively, and is used to determine whether the first part 101 and the second part 102 are separated or combined based on the impedance detected by the first detection circuit 101b1 and the second detection circuit 101b2.

[0124] In this embodiment, the impedance element 102b in the second part 102 includes multiple elements, and the impedance detection circuit 101b in the first part 101 also includes the same number of detection circuits as the number of elements, so that the impedance of different parts can be detected when the first part 101 and the second part 102 are combined, and the combination or separation between the first part 101 and the second part 102 can be determined according to the impedance detected by each detection circuit.

[0125] Because the first and second parts of the electronic device disclosed herein are separable based on connecting components, the first and second connecting components are easily affected by foreign objects. This causes a significant difference between the impedance detected by the detection circuit and the impedance of the impedance element itself when the first and second parts are combined, leading to errors in determining the combination or separation of the first and second parts based on impedance. To address this, this disclosure provides two components and two detection circuits to detect the impedance of the detection circuit containing each component, and determines the combination or separation of the first and second parts based on the two impedance values, thereby improving the accuracy of detecting the combination or separation of the first and second parts.

[0126] Figure 2 This is a structural example diagram of two parts of the electronic device in an embodiment of this disclosure, such as... Figure 2 As shown, the left side represents the second part 102 of this disclosure. The second part 102 has four magnets at its four corners, forming the second connecting assembly 102a. The second part 102 also includes R1 and R2, where R1 is the first element 102b1 and R2 is the second element 102b2. The magnetic pole of the magnet connecting the two ends of R1 is the north (N) pole, and the magnetic pole of the magnet connecting the two ends of R2 is the south (S) pole. The second part 102 also includes a second induction coil 102d. Figure 2 The right side represents the first part 101 of this disclosure. The first part 101 also has four magnets at its four corners, namely the first connecting assembly 101a. The first part 101 also includes a first induction coil 101d and an impedance detection circuit 101b. It should be noted that the impedance detection circuit 101b may include two independent detection circuits. When the first part 101 and the second part 102 are combined based on the magnets, the two detection circuits are activated, and can detect the impedance including resistors R1 and R2. The impedance value detected by the detection circuit includes not only the impedance of R1 and R2, but also the impedance of the magnets.

[0127] Figure 3 This is a flowchart illustrating a state detection method for an electronic device according to an embodiment of this disclosure. This state detection method is applied to the aforementioned electronic device of this disclosure, such as... Figure 3 As shown, the method includes:

[0128] S11. Determine the impedance value detected by the impedance detection circuit;

[0129] S12. Based on the impedance value, determine whether the first part and the second part are separate or the first part and the second part are combined.

[0130] In this embodiment, the electronic device forms an impedance path through the first connection component and the second connection component, enabling the electronic device to determine whether the first part and the second part are combined or separated based on the impedance detected by the impedance detection circuit. The solution is simple.

[0131] Once the combination or separation between the first and second parts is determined, the electronic device can be controlled in a targeted manner. For example, the charging and discharging of the batteries in the first and second parts can be controlled according to the combination or separation state between the first and second parts to improve the battery life of the electronic device.

[0132] In one embodiment, the method further includes:

[0133] If the first part and the second part are combined, the device identification information carried by the electromagnetic signal is obtained; the electromagnetic signal is the signal induced by the coupling of the first induction coil in the first part and the second induction coil in the second part.

[0134] Based on the device identification information, determine whether the first part and the second part match.

[0135] In this embodiment, the electronic device acquires device identification information carried by an electromagnetic signal. This electromagnetic signal can be an electromagnetic signal carrying device identification information generated by the second induction coil in the second part, based on coil coupling induction and excited by the first electromagnetic signal. The first electromagnetic signal can be an electromagnetic signal generated after the first induction coil in the first part is powered.

[0136] The device identification information acquired by the electronic device is stored in the second part. This device identification information may include: manufacturer, device serial number, or system identifier, etc. The system identifier can represent the functions supported by the second part; for example, a system identifier of "0" indicates that the second part 102 supports display functions.

[0137] After obtaining the device identification information, the electronic device will determine whether the first part and the second part match based on the obtained device identification information.

[0138] It is understood that this disclosure generates an electromagnetic signal carrying device identification information by means of induction coupling of an induction coil, so that the electronic device can obtain the device identification information from the electromagnetic signal and determine whether the second part matches the first part based on the device identification information obtained from the electromagnetic signal, thereby improving the correctness of the electronic device assembly.

[0139] In one embodiment, determining whether the first part and the second part match based on the device identification information includes:

[0140] If the device identification information matches the preset device identification information, it is determined that the first part and the second part match.

[0141] If the device identification information does not match the preset device identification information, it is determined that the first part and the second part do not match.

[0142] In this embodiment, the preset device identification information may be device information stored in the first part of the electronic device. If the device identification information obtained by the electronic device from the electromagnetic signal from the second part matches the preset device identification information, then the first part and the second part are determined to match; otherwise, the first part and the second part do not match.

[0143] For example, if the manufacturer and device serial number in the device identification information received by the electronic device are consistent with the manufacturer and device serial number stored in the first part, and the received system identifier is different from the system identifier stored in the first part, then the second part matches the first part; if either the manufacturer or the device serial number is inconsistent, then the second part does not match the first part, or if the received system identifier is consistent with the system identifier stored in the first part, then the second part does not match the first part.

[0144] It is understood that this disclosure generates an electromagnetic signal carrying device identification information by means of induction coupling of an induction coil, so that the electronic device can obtain the device identification information from the electromagnetic signal and determine whether the second part matches the first part based on the device identification information obtained from the electromagnetic signal, thereby improving the correctness of the electronic device assembly.

[0145] In one embodiment, determining the impedance value detected by the impedance detection circuit includes:

[0146] Determine the first impedance value detected by the first detection circuit of the impedance detection circuit and the second impedance value detected by the second detection circuit of the impedance detection circuit;

[0147] The step of determining whether the first part and the second part are separate or combined based on the impedance value includes:

[0148] If the first impedance value is within a preset first impedance threshold range, determine the combination between the first part and the second part;

[0149] If the first impedance value is not within the preset first impedance threshold range, the first part and the second part are determined to be separate or combined, depending on whether the electromagnetic signal is coupled and sensed.

[0150] In this embodiment, the impedance element in the second part includes multiple elements, and the impedance detection circuit in the first part also includes the same number of detection circuits as the number of elements. When the first and second parts are combined, the first detection circuit can detect the first impedance value of the first element, and the second detection circuit can detect the second impedance value of the second element. It should be noted that, in the embodiments of this disclosure, the first impedance value and the second impedance value are only used to distinguish the impedances detected by different detection circuits.

[0151] After determining the first impedance value and the second impedance value, the electronic device can determine whether the first part and the second part are combined or separated based on one of the impedance values, such as the first impedance value; or it can determine whether the first part and the second part are combined or separated based on both impedance values.

[0152] Because the impedance element is only connected to the impedance detection circuit during the assembly of electronic devices, if either the first impedance value or the second impedance value is within the corresponding preset impedance threshold range, it indicates that the first part and the second part are assembled. However, because the first and second connecting components may be affected by foreign objects, or because the first and second connecting components that enable the impedance detection circuit are not aligned, there may be cases where the first impedance value and / or the second impedance value are not within the preset impedance threshold range. It is understandable that when neither the first nor the second impedance value is within the preset impedance threshold range, it does not necessarily mean that the first part and the second part are separated; further judgment using other methods is required.

[0153] In this embodiment of the present disclosure, in order to more accurately determine whether the first part and the second part are combined or separated, one of the impedance values ​​is used as a reference, specifically the first impedance value. When the first impedance value is within the range of a preset first impedance threshold, it is determined that the first part and the second part are combined; if the first impedance value is not within the range of the preset first impedance threshold, it is determined whether the first part and the second part are combined or separated by combining whether there is electromagnetic signal coupled between the first induction coil and the second induction coil.

[0154] In one embodiment, determining whether the first part and the second part are separated or combined based on whether the electromagnetic signal is coupled and sensed includes:

[0155] If the first impedance value is not within the preset first impedance threshold range and no electromagnetic signal is coupled and sensed, it is determined that the first part and the second part are separated;

[0156] If the first impedance value is not within the preset first impedance threshold range, and the electromagnetic signal is coupled and sensed, the device identification information is obtained from the electromagnetic signal, and it is determined whether the first part and the second part are separated or the first part and the second part are combined.

[0157] Since there is no coil coupling induction between the first induction coil and the second induction coil when the first part and the second part of the electronic device are separated, it can be determined that the first part and the second part are separated when the first impedance value is not within the preset first impedance threshold range and no electromagnetic signal is coupled induction.

[0158] If the electronic device couples and senses an electromagnetic signal, it could be because another device containing a coil has approached the first or second part of the electronic device. Therefore, in the embodiments of this disclosure, when the first impedance value is not within the preset first impedance threshold range, in order to determine whether the first and second parts are combined or separated, it is also necessary to consider whether device identification information can be obtained from the electromagnetic signal.

[0159] It should be noted that both the first and second parts of the electronic device disclosed herein store device identification information, and thus, during coupling induction, an electromagnetic signal carrying the device identification information can be generated.

[0160] It is understood that in the embodiments of this disclosure, when the first impedance value is not within the preset first impedance threshold range, further determination is made based on whether an electromagnetic signal is sensed. Specifically, when an electromagnetic signal is sensed, the determination is also based on whether device identification information is obtained from the electromagnetic signal, which can improve the accuracy of determining whether the first part and the second part are separated or combined.

[0161] In one embodiment, determining whether the first part and the second part are separate or combined based on whether the device identification information is obtained from the electromagnetic signal includes:

[0162] If the device identification information is not obtained, it is determined that the first part and the second part are separated;

[0163] If the device identification information is obtained, the combination of the first part and the second part is determined.

[0164] In this embodiment, if the first impedance value is not within the preset first impedance threshold range and an electromagnetic signal is coupled induction, then if no device identification information is obtained from the electromagnetic signal, it is determined that the first part and the second part are separated; and if device identification information is obtained from the electromagnetic signal, it is determined that the first part and the second part are combined.

[0165] It should be noted that in the embodiments of this disclosure, when the first impedance value is not within the preset first impedance threshold range, and the electronic device couples and senses an electromagnetic signal but does not obtain device identification information from the electromagnetic signal, it is also possible that the first part and the second part are combined, but due to conductive foreign objects in the first induction coil and the second induction coil, the electromagnetic signal coupled and sensed does not carry device identification information; or, the electronic device is damaged and cannot parse the device identification information from the electromagnetic signal carrying device identification information.

[0166] In one embodiment, the method further includes:

[0167] Based on the first impedance value, the second impedance value, and the electromagnetic signal, an alert message is output indicating that the electronic device is malfunctioning or that the first part and the second part are mismatched.

[0168] In this embodiment, during the process of determining the assembly or separation of electronic devices, a prompt message indicating an electronic device malfunction or a mismatch between the first and second parts can be output based on the first impedance value, the second impedance value, and the electromagnetic signal. This approach enhances the user experience.

[0169] In embodiments of this disclosure, electronic device malfunctions include foreign objects at the first connection component and / or the second connection component, foreign objects at the first induction coil and / or the second induction coil, and misalignment of the first portion and the second portion.

[0170] In one embodiment, the step of outputting a prompt message indicating an electronic device malfunction based on the first impedance value, the second impedance value, and the electromagnetic signal includes:

[0171] If the first impedance value is within the range of the preset first impedance threshold, the second impedance value is within the range of the preset second impedance threshold, and no electromagnetic signal is coupled and sensed, a first prompt message for cleaning the first induction coil and the second induction coil is output;

[0172] If the first impedance value is within the preset first impedance threshold range, the second impedance value is within the preset second impedance threshold range, and no device identification information carried by the electromagnetic signal is obtained, output the first prompt message or the second prompt message indicating that the electronic device is damaged;

[0173] If the first impedance value is within the preset first impedance threshold range and the second impedance value is not within the preset second impedance threshold range, output a third prompt message to clean the first connection component and the second connection component or a fourth prompt message to prompt the first part to align with the second part;

[0174] If the first impedance value is not within the preset first impedance threshold range, the electromagnetic signal is coupled and sensed, but the device identification information is not obtained from the electromagnetic signal, the first prompt message or the second prompt message is output;

[0175] If the first impedance value is not within the preset first impedance threshold range, and the device identification information carried by the electromagnetic signal matches the preset device identification information, the third prompt message or the fourth prompt message is output.

[0176] In this embodiment, as described above, the first impedance value is within a preset first impedance threshold range, and the second impedance value is within a preset second impedance threshold range, indicating a combination of the first part and the second part. If no electromagnetic signal is coupled and sensed in this case, it is possible that there is a conductive foreign object in the induction coil. Therefore, the electronic device can output a first prompt message to clean the first and second induction coils.

[0177] If the first impedance value is within a preset first impedance threshold range and the second impedance value is within a preset second impedance threshold range, but no device identification information is obtained from the electromagnetic signal, it is possible that a conductive foreign object in the induction coil couples with the first or second part, generating an electromagnetic signal that cannot carry device identification information. Alternatively, it could be that the electronic device is damaged, thus preventing the generation of an electromagnetic signal carrying device identification information. Therefore, in this case, the electronic device can output a first prompt message indicating that the first and second induction coils are being cleaned, or a second prompt message indicating that the electronic device is damaged.

[0178] As mentioned above, when the first impedance value is within a preset first impedance threshold range and the second impedance value is not within a preset second impedance threshold range, it indicates that the first part and the second part are combined. The second impedance value being outside the preset second impedance threshold range may be due to conductive foreign objects in the first and second connecting components, or it may be because the connecting components that enable the second detection circuit are not aligned, causing the impedance value detected by the second detection circuit to be outside the preset second impedance threshold range. Therefore, in this case, the electronic device may output a third prompt message to clean the first and second connecting components or a fourth prompt message indicating that the first part and the second part are aligned.

[0179] As mentioned earlier, if the first impedance value is not within the preset first impedance threshold range, and an electromagnetic signal is induced but no device identification information is obtained from the electromagnetic signal, it is determined that the first part and the second part are separated. This separation may be due to conductive foreign objects in the induction coil affecting the generation of the electromagnetic signal, or it may be due to damage to the electronic device, making it impossible to parse the device identification information from the electromagnetic signal. Therefore, a first prompt message indicating the cleaning of the first and second induction coils, or a second prompt message indicating damage to the electronic device, can be output.

[0180] As mentioned above, if the first impedance value is not within the preset first impedance threshold range, but the device identification information carried by the electromagnetic signal matches the preset device identification information, it indicates that the first part and the second part are combined. The first impedance value not being within the preset first impedance threshold range may be due to conductive foreign objects in the first and second connecting components, or it may be because the connecting components that enable the first detection circuit are not aligned, causing the impedance value detected by the first detection circuit to be outside the preset first impedance threshold range. Therefore, in this case, the electronic device may output a third prompt message to clean the first and second connecting components, or a fourth prompt message indicating that the first part and the second part are aligned.

[0181] In one embodiment, the step of outputting a prompt message indicating a mismatch between the first portion and the second portion based on the first impedance value, the second impedance value, and the electromagnetic signal includes:

[0182] If the first impedance value is within the range of the preset first impedance threshold, the second impedance value is within the range of the preset second impedance threshold, and the device identification information carried by the electromagnetic signal does not match the preset device identification information, the prompt message indicating that the first part and the second part do not match is output.

[0183] If the first impedance value is not within the preset first impedance threshold range, and the device identification information carried by the electromagnetic signal does not match the preset device identification information, the prompt message indicating that the first part and the second part do not match is output.

[0184] In this embodiment, if the first impedance value is within a preset first impedance threshold range and the second impedance value is within a preset second impedance threshold range, it indicates that the first part and the second part are combined. However, if the device identification information carried by the electromagnetic signal does not match the preset device identification information, for example, if the device serial number is inconsistent, it may be that the first part and the second part do not match. Therefore, the electronic device can output a prompt message indicating that the first part and the second part do not match.

[0185] As mentioned earlier, if the first impedance value is not within the preset first impedance threshold range, but the electronic device couples and senses an electromagnetic signal and can obtain device identification information from the electromagnetic signal, it indicates that the first part and the second part are combined. If the device identification information carried by the electromagnetic signal does not match the preset device identification information, for example, the device serial number is inconsistent, it may also be because the first part and the second part do not match. Therefore, the electronic device can output a prompt message indicating that the first part and the second part do not match.

[0186] Figure 4 This is a flowchart illustrating a state detection method for an electronic device according to an embodiment of this disclosure, such as... Figure 4 As shown, it includes the following steps:

[0187] S101. Are R1 equal to the set range? If yes, proceed to step S102; if no, proceed to step S112.

[0188] In this embodiment, R1 is the first impedance value of this disclosure, and whether R1 is equal to the set range, i.e. whether the first impedance value is within the preset first impedance threshold range.

[0189] S102. If R1 is within the set range, determine whether R2 is equal to the set range; if not, proceed to step S104; if yes, proceed to step S105.

[0190] In this embodiment, R2 is the second impedance value of this disclosure, and whether R2 is equal to the set range, i.e. whether the second impedance value is within the preset second impedance threshold range.

[0191] S103. If R2 is not within the set range, prompt the user to ensure proper installation or clean the magnet, and return to execute S101.

[0192] In this embodiment, the user is prompted to ensure proper installation, i.e., a fourth prompt message indicating alignment of the first and second parts is output by this disclosure; the user is also prompted to clean the magnets, i.e., a third prompt message indicating cleaning of the first and second connecting components is output by this disclosure. When the first impedance value is within a preset first impedance threshold range and the second impedance value is outside a preset second impedance threshold range, either the third or fourth prompt message is output.

[0193] S104. If R2 is within the set range, enable coil detection and identify the subsystem module.

[0194] In this embodiment, if R2 is within the set range, coil detection is enabled, and the identification subsystem module is activated. That is, in this disclosure, when the first part and the second part are combined, it is determined whether the first part and the second part match.

[0195] It should be noted that a subsystem module can be the part that mainly performs the display function, such as the second part of this disclosure.

[0196] S105. Has the load on the main system coil changed? If not, proceed to step S106; if yes, proceed to step S107.

[0197] It should be noted that the main system can be the part that primarily performs data processing functions, such as the first part of this disclosure. In this embodiment, the question is whether the load on the main system coil changes, i.e., whether the electronic device couples and senses an electromagnetic signal.

[0198] S106. The main system coil load remains unchanged. The user is prompted to clean the coil area and the process returns to execute S101.

[0199] In this embodiment, the load on the main system coil remains unchanged, prompting the user to clean the coil area. That is, in this disclosure, if the first impedance value is within the preset first impedance threshold range, the second impedance value is within the preset second impedance threshold range, and no electromagnetic signal is coupled and sensed, a first prompt message for cleaning the first and second induction coils is output.

[0200] S107. Is there a subsystem response? If not, proceed to step S108; if yes, proceed to step S109.

[0201] In this embodiment, the question is whether there is a subsystem response, i.e. whether the electromagnetic signal carries device identification information.

[0202] S108. If there is no response from the subsystem, prompt the user to check if there is dirt on the coil surface or if the subsystem is damaged, and return to execute S101.

[0203] In this embodiment, if no subsystem responds, the user is prompted to check whether the coil surface is dirty or the subsystem is damaged. That is, in this disclosure, if the first impedance value is within the preset first impedance threshold range, the second impedance value is within the preset second impedance threshold range, and no device identification information carried by the electromagnetic signal is obtained, a first prompt message or a second prompt message indicating that the electronic device is damaged is output.

[0204] S109. Is it a correct subsystem? If yes, proceed to step S110; if no, proceed to step S111.

[0205] In this embodiment, the correct subsystem is determined by whether the first part and the second part match.

[0206] S110. If it is the correct subsystem, report to the main system. The subsystem has been correctly connected.

[0207] In this embodiment, if the first part and the second part are determined to match in the second part, the second part can be reported to the first part.

[0208] S111. If it is not the correct subsystem, prompt the user that it is a non-standard subsystem.

[0209] In this embodiment, if it is not the correct subsystem, the user is prompted that it is a non-standard subsystem, that is, the first impedance value of this disclosure is within the preset first impedance threshold range, the second impedance value is within the preset second impedance threshold range, and the device identification information carried by the electromagnetic signal does not match the preset device identification information, and a prompt message indicating that the first part and the second part do not match is output.

[0210] S112. If R1 is not within the set range, enable coil detection to check if a load is connected.

[0211] In this embodiment, if R1 is not within the set range, the coil is activated to detect whether a load is connected. That is, if the first impedance value is not within the preset first impedance threshold range, the first part and the second part are determined to be separated or combined based on whether an electromagnetic signal is coupled and induced.

[0212] S113. Has the load on the main system coil changed? If not, proceed to step S114; if yes, proceed to step S115.

[0213] In this embodiment, the main system coil load changes, i.e., the electronic device determines whether it couples and senses an electromagnetic signal when the first impedance value is not within the preset first impedance threshold range.

[0214] S114. If the main system coil load does not change, the subsystem is not connected and the process returns to step S101.

[0215] In this embodiment, if the load of the main system coil does not change, it is determined that the subsystem is not connected. That is, in this disclosure, if the first impedance value is not within the preset first impedance threshold range and no electromagnetic signal is coupled and sensed, it is determined that the first part and the second part are separated.

[0216] S115. If the load of the main system coil does not change, does the subsystem respond? If not, proceed to step S116; if yes, proceed to step S117.

[0217] In this embodiment, the question is whether there is a subsystem response, i.e. whether the electromagnetic signal carries device identification information.

[0218] S116. If there is no response from the subsystem, prompt the user to check if there is dirt on the coil surface or if the subsystem is damaged, and return to execute S114.

[0219] In this embodiment, if there is no response from the subsystem, the user is prompted to check whether there is dirt on the coil surface or damage to the subsystem. That is, in this embodiment of the present disclosure, if the first impedance value is not within the preset first impedance threshold range, an electromagnetic signal is coupled and sensed, but no device identification information is obtained from the electromagnetic signal, and a first prompt message or a second prompt message is output.

[0220] S117. If a subsystem responds, determine whether it is the correct subsystem; if yes, proceed to step S118; if no, proceed to step S119.

[0221] In this embodiment, the correct subsystem is determined by whether the first part and the second part match.

[0222] S118. If it is the correct subsystem, prompt the user to ensure that the installation is in place and to clean up any debris in the magnet area.

[0223] In this embodiment, the correct subsystem prompts the user to ensure proper installation. That is, in this disclosure, if the first impedance value is not within the preset first impedance threshold range, and the device identification information carried by the electromagnetic signal matches the preset device identification information, a third prompt message or a fourth prompt message is output.

[0224] S119. If it is not the correct subsystem, prompt the user that it is a non-standard subsystem.

[0225] In this embodiment, if it is not the correct subsystem, the user is prompted that it is a non-standard subsystem. That is, if the first impedance value is not within the preset first impedance threshold range and the device identification information carried by the electromagnetic signal does not match the preset device identification information, a prompt message indicating that the first part and the second part do not match is output.

[0226] It should be noted that, in the embodiments of this disclosure, the electronic device will perform the process from S111 to S119 at preset intervals.

[0227] In this embodiment, the electronic device uses the impedance value obtained by the impedance detection circuit and the coil to determine whether the main system and the subsystem are combined or separated. Furthermore, when the main system and the subsystem are combined, the electromagnetic signal induced by the coil coupling can be used to determine whether the main system and the subsystem are matched. In addition, during the process of determining whether the main system and the subsystem are combined or separated, and whether they are matched, prompt information is output to inform the user of possible abnormalities in the current combined or separated state of the electronic device, thereby improving the user experience.

[0228] Figure 5 This is a diagram illustrating a state detection device for an electronic device according to an exemplary embodiment. The state detection device for the electronic device is applied in the electronic device of this disclosure, as shown below. Figure 5 The status detection device of the electronic device includes:

[0229] The first determining module 201 is configured to determine the impedance value detected by the impedance detection circuit;

[0230] The second determining module 202 is configured to determine, based on the impedance value, whether the first part and the second part are separate or the first part and the second part are combined.

[0231] Optionally, the device further includes:

[0232] The acquisition module 203, if the first part and the second part are combined, acquires the device identification information carried by the electromagnetic signal; the electromagnetic signal is the signal induced by the coupling of the first induction coil in the first part and the second induction coil in the second part.

[0233] The matching module 204 is configured to determine whether the first part and the second part match based on the device identification information.

[0234] Optionally, the matching module 204 is specifically configured to determine that the first part and the second part match if the device identification information matches the preset device identification information; and to determine that the first part and the second part do not match if the device identification information does not match the preset device identification information.

[0235] Optionally, the first determining module 201 is specifically configured to determine the first impedance value detected by the first detection circuit of the impedance detection circuit and the second impedance value detected by the second detection circuit of the impedance detection circuit.

[0236] The second determining module 202 is specifically configured to determine a combination between the first part and the second part if the first impedance value is within a preset first impedance threshold range; and to determine whether the first part and the second part are separated or combined based on whether the electromagnetic signal is coupled and sensed, if the first impedance value is not within the preset first impedance threshold range.

[0237] Optionally, the second determining module 202 is specifically configured to determine that the first part and the second part are separated if the first impedance value is not within the preset first impedance threshold range and the electromagnetic signal is not coupled and sensed; and if the first impedance value is not within the preset first impedance threshold range and the electromagnetic signal is coupled and sensed, determine whether the first part and the second part are separated or the first part and the second part are combined based on whether the device identification information is obtained from the electromagnetic signal.

[0238] Optionally, the second determining module 202 is specifically configured to determine that the first part and the second part are separated if the device identification information is not obtained; and to determine that the first part and the second part are combined if the device identification information is obtained.

[0239] Optionally, the device further includes:

[0240] The prompting module 205 is configured to output a prompt message indicating that the electronic device is malfunctioning or that the first part and the second part are mismatched, based on the first impedance value, the second impedance value, and the electromagnetic signal.

[0241] Optionally, the prompting module 205 is specifically configured to: if the first impedance value is within the preset first impedance threshold range, the second impedance value is within the preset second impedance threshold range, and no electromagnetic signal is coupled and sensed, output a first prompt message to clean the first induction coil and the second induction coil; if the first impedance value is within the preset first impedance threshold range, the second impedance value is within the preset second impedance threshold range, and no device identification information carried by the electromagnetic signal is obtained, output the first prompt message or a second prompt message indicating that the electronic device is damaged; if the first impedance value is within the preset first impedance threshold range and the second impedance value is not within the preset second impedance threshold range, output a third prompt message to clean the first connection component and the second connection component or a fourth prompt message indicating that the first part and the second part are aligned; if the first impedance value is not within the preset first impedance threshold range, the electromagnetic signal is coupled and sensed, but no device identification information is obtained from the electromagnetic signal, output the first prompt message or the second prompt message; if the first impedance value is not within the preset first impedance threshold range, and the device identification information carried by the electromagnetic signal matches the preset device identification information, output the third prompt message or the fourth prompt message.

[0242] Optionally, the prompting module 205 is specifically configured to output a prompt message indicating a mismatch between the first part and the second part if the first impedance value is within the range of a preset first impedance threshold, the second impedance value is within the range of a preset second impedance threshold, and the device identification information carried by the electromagnetic signal does not match the preset device identification information; and if the first impedance value is not within the range of the preset first impedance threshold, and the device identification information carried by the electromagnetic signal does not match the preset device identification information, the prompt message indicating a mismatch between the first part and the second part is also output.

[0243] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0244] Figure 6 This is a block diagram illustrating a device 800 according to an exemplary embodiment. For example, device 800 may be a smartphone, mobile computer, etc.

[0245] Reference Figure 6 The device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0246] Processing component 802 typically controls the overall operation of device 800, such as operations associated with second, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

[0247] Memory 804 is configured to store various types of data to support the operation of device 800. Examples of this data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0248] The power supply component 806 provides power to the various components of the device 800. The power supply component 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to the device 800.

[0249] Multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0250] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

[0251] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0252] Sensor assembly 814 includes one or more sensors for providing status assessments of various aspects of device 800. For example, sensor assembly 814 may detect the on / off state of device 800, the relative positioning of components such as the secondary device and keypad of device 800, changes in the position of device 800 or a component of device 800, the presence or absence of user contact with device 800, the orientation or acceleration / deceleration of device 800, and temperature changes of device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0253] Communication component 816 is configured to facilitate wired or wireless communication between device 800 and other devices. Device 800 can access wireless networks based on communication standards, such as Wi-Fi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0254] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0255] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of the device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0256] A non-transitory computer-readable storage medium, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a state detection method, the method comprising:

[0257] Determine the impedance value detected by the impedance detection circuit;

[0258] Based on the impedance value, it is determined whether the first part and the second part are separate or combined.

[0259] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0260] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

Claims

1. An electronic device, characterized in that, include: The first part includes a first connection component, an impedance detection circuit, a first induction coil, and a processing component; The second part includes a second connection assembly, a second induction coil, and an impedance element; The impedance element in the second part includes a first element and a second element; The impedance detection circuit in the first part includes a first detection circuit and a second detection circuit that is independent of the first detection circuit; The first part and the second part are combined, the first connecting component and the second connecting component interact to fix the first part and the second part, the first element is connected to the first detection circuit, and the second element is connected to the second detection circuit; The first part and the second part are separated, the interaction between the first connecting component and the second connecting component is cancelled, the first element is disconnected from the first detection circuit, and the second element is disconnected from the second detection circuit; The processing component is connected to the first induction coil, the first detection circuit and the second detection circuit respectively, and is used to determine the first impedance value detected by the first detection circuit and the second impedance value detected by the second detection circuit. If the first impedance value is outside the preset first impedance threshold range and the second impedance value is outside the preset second impedance threshold range, the first part and the second part are separated or the first part and the second part are combined, depending on whether an electromagnetic signal is coupled and induced; wherein, the electromagnetic signal is the signal induced by the coupling of the first induction coil in the first part and the second induction coil in the second part.

2. The electronic device according to claim 1, characterized in that, The first induction coil is used to generate a first electromagnetic signal after being powered on and to receive a second electromagnetic signal fed back by the second induction coil; The second induction coil, when the first part and the second part are combined, is coupled to the first induction coil and is used to generate a second electromagnetic signal carrying the device identification information based on the device identification information stored in the second part under the excitation of the first electromagnetic signal based on coil coupling induction; The processing component is configured to receive the second electromagnetic signal from the first induction coil and determine whether the second part matches the first part based on the device identification information carried by the second electromagnetic signal.

3. The electronic device according to claim 1, characterized in that, Both the first connecting component and the second connecting component are magnetic components; the magnetic properties of the magnetic components corresponding to the first connecting component and the second connecting component at corresponding positions in the first part and the second part are opposite.

4. The electronic device according to claim 3, characterized in that, The first part and the second part are the same polygonal structure; the first connecting component and the second connecting component are both arranged adjacent to the vertices of the polygonal structure.

5. The electronic device according to claim 1, characterized in that, The second part includes a display component; the processing component of the first part is at least used to control the display of the display component.

6. A method for detecting the state of an electronic device, characterized in that, Applied to the electronic device according to any one of claims 1 to 5, the method comprises: Determine the first impedance value detected by the first detection circuit and the second impedance value detected by the second detection circuit; If the first impedance value is outside the preset first impedance threshold range and the second impedance value is outside the preset second impedance threshold range, the first part and the second part are separated or the first part and the second part are combined, depending on whether an electromagnetic signal is coupled and induced. The electromagnetic signal is a signal induced by the coupling of the first induction coil in the first part and the second induction coil in the second part.

7. The method according to claim 6, characterized in that, The method further includes: If the first part and the second part are combined, the device identification information carried by the electromagnetic signal is obtained; Based on the device identification information, determine whether the first part and the second part match.

8. The method according to claim 7, characterized in that, The step of determining whether the first part and the second part match based on the device identification information includes: If the device identification information matches the preset device identification information, it is determined that the first part and the second part match. If the device identification information does not match the preset device identification information, it is determined that the first part and the second part do not match.

9. The method according to claim 7, characterized in that, The method further includes: If the first impedance value is within the preset first impedance threshold range, a combination between the first part and the second part is determined.

10. The method according to claim 7, characterized in that, The step of determining whether the first part and the second part are separated or combined based on whether the electromagnetic signal is coupled and sensed includes: If the first impedance value is outside the preset first impedance threshold range and the second impedance value is outside the preset second impedance threshold range, and no electromagnetic signal is coupled and sensed, then the first part and the second part are determined to be separated. If the first impedance value is outside the preset first impedance threshold range and the second impedance value is outside the preset second impedance threshold range, and the electromagnetic signal is coupled and sensed, the device identification information is obtained from the electromagnetic signal, and it is determined whether the first part and the second part are separated or the first part and the second part are combined.

11. The method according to claim 10, characterized in that, The step of determining whether the first part and the second part are separate or combined based on whether the device identification information is obtained from the electromagnetic signal includes: If the device identification information is not obtained, it is determined that the first part and the second part are separated; If the device identification information is obtained, the combination of the first part and the second part is determined.

12. The method according to claim 9, characterized in that, The method further includes: Based on the first impedance value, the second impedance value, and the electromagnetic signal, an alert message is output indicating that the electronic device is malfunctioning or that the first part and the second part are mismatched.

13. The method according to claim 12, characterized in that, The step of outputting a fault message for the electronic device based on the first impedance value, the second impedance value, and the electromagnetic signal includes: If the first impedance value is within the range of the preset first impedance threshold, the second impedance value is within the range of the preset second impedance threshold, and no electromagnetic signal is coupled and sensed, a first prompt message for cleaning the first induction coil and the second induction coil is output; If the first impedance value is within the preset first impedance threshold range, the second impedance value is within the preset second impedance threshold range, and no device identification information carried by the electromagnetic signal is obtained, output the first prompt message or the second prompt message indicating that the electronic device is damaged; If the first impedance value is within the preset first impedance threshold range and the second impedance value is not within the preset second impedance threshold range, output a third prompt message to clean the first connection component and the second connection component or a fourth prompt message to prompt the first part to align with the second part; If the first impedance value is not within the preset first impedance threshold range, the electromagnetic signal is coupled and sensed, but the device identification information is not obtained from the electromagnetic signal, the first prompt message or the second prompt message is output; If the first impedance value is not within the preset first impedance threshold range, and the device identification information carried by the electromagnetic signal matches the preset device identification information, the third prompt message or the fourth prompt message is output.

14. The method according to claim 12, characterized in that, The step of outputting a prompt message indicating a mismatch between the first part and the second part based on the first impedance value, the second impedance value, and the electromagnetic signal includes: If the first impedance value is within the range of the preset first impedance threshold, the second impedance value is within the range of the preset second impedance threshold, and the device identification information carried by the electromagnetic signal does not match the preset device identification information, the prompt message indicating that the first part and the second part do not match is output. If the first impedance value is not within the preset first impedance threshold range, and the device identification information carried by the electromagnetic signal does not match the preset device identification information, the prompt message indicating that the first part and the second part do not match is output.

15. A state detection device for an electronic device, characterized in that, Applied to the electronic device according to any one of claims 1 to 5, the means comprises: The first determining module is configured to determine the first impedance value detected by the first detection circuit and the second impedance value detected by the second detection circuit. The second determining module is configured to determine whether the first part and the second part are separated or combined, based on whether an electromagnetic signal is coupled and induced, if the first impedance value is outside a preset first impedance threshold range and the second impedance value is outside a preset second impedance threshold range; wherein the electromagnetic signal is a signal coupled and induced by the first induction coil in the first part and the second induction coil in the second part.

16. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the state detection method of the electronic device as described in any one of claims 6 to 14.

17. A non-transitory computer-readable storage medium, wherein when instructions in the storage medium are executed by a processor of a computer, the computer is able to perform the state detection method of an electronic device as claimed in any one of claims 6 to 14.