CN113194189B - Method and device for detecting state of rear cover of mobile terminal and intelligent terminal - Google Patents
Method and device for detecting state of rear cover of mobile terminal and intelligent terminal Download PDFInfo
- Publication number
- CN113194189B CN113194189B CN202110417730.1A CN202110417730A CN113194189B CN 113194189 B CN113194189 B CN 113194189B CN 202110417730 A CN202110417730 A CN 202110417730A CN 113194189 B CN113194189 B CN 113194189B
- Authority
- CN
- China
- Prior art keywords
- rear cover
- switch
- detection point
- state
- point signal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000001514 detection method Methods 0.000 claims abstract description 195
- 238000004891 communication Methods 0.000 claims abstract description 48
- 230000000630 rising effect Effects 0.000 claims description 17
- 238000012544 monitoring process Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 7
- 238000004590 computer program Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003116 impacting effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/24—Arrangements for testing
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Abstract
The invention discloses a method and a device for detecting the state of a rear cover of a mobile terminal and an intelligent terminal, wherein the method comprises the following steps: detecting the communication connection state of a WiFi signal of the mobile terminal; when the communication connection state is detected to be disconnected, detecting a rear cover detection point signal of the mobile terminal; determining the state of the rear cover according to the rear cover detection point signal; wherein, the state of the rear cover comprises a rear cover closing cover and a rear cover opening cover. According to the embodiment of the invention, the state of the rear cover is determined by obtaining the detection point signal of the rear cover in real time, so that whether the antenna signal difference is that the rear cover is not tightly covered or not is quickly positioned.
Description
Technical Field
The invention relates to the technical field of communication, in particular to a method and a device for detecting the state of a rear cover of a mobile terminal and an intelligent terminal.
Background
At present, a mobile terminal tends to be exquisite and light and thin, meanwhile, the functions of the mobile terminal are complex and various, including various types of sensing, wifi, Bluetooth and the like, a plurality of devices are arranged on the limited space of the mobile terminal, so that places where the mobile terminal can be placed need to be found out in places except a host of the mobile terminal, and then a rear cover is the preferable place of the devices such as a plurality of antennas.
Thus, there is still a need for improvement and development of the prior art.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method for detecting a state of a rear cover of a mobile terminal, aiming at solving the problems that in the prior art, a situation of an untight cover is likely to occur after the rear cover of the mobile terminal falls, impacts and the like, and it is difficult to locate an insensitive fault of an antenna signal.
The technical scheme adopted by the invention for solving the problems is as follows:
in a first aspect, an embodiment of the present invention provides a method for detecting a state of a rear cover of a mobile terminal, where the method includes:
detecting the communication connection state of a WiFi signal of the mobile terminal;
when the communication connection state is detected to be disconnected, detecting a rear cover detection point signal of the mobile terminal;
determining the state of the rear cover according to the rear cover detection point signal; wherein, the state of the rear cover comprises a rear cover closing cover and a rear cover opening cover.
In one implementation, the detecting a rear cover detection point signal of the mobile terminal when the communication connection state is detected to be disconnected includes:
when the communication connection disconnection is detected, respectively detecting a first level signal, a second level signal and a third level signal;
and detecting a rear cover detection point signal of the mobile terminal according to the first level signal, the second level signal and the third level signal.
In one implementation, the determining a back cover detection point signal according to the first level signal, the second level signal, and the third level signal includes:
determining a switch state according to the first level signal, the second level signal and the third level signal;
and determining a rear cover detection point signal according to the switch state.
In one implementation, the switch states include a first switch state, a second switch state, a third switch state, a fourth switch state, a fifth switch state, a sixth switch state, a seventh switch state, an eighth switch state, and a ninth switch state; the determining the switch state according to the first level signal, the second level signal and the third level signal comprises:
when the first level signal is detected to be a rising edge signal, controlling the first switch, the second switch and the third switch to be connected or disconnected to obtain a first switch state, a second switch state and a third switch state;
when the second level signal is detected to be a rising edge signal, controlling the first switch, the second switch and the third switch to be connected or disconnected to obtain a fourth switch state, a fifth switch state and a sixth switch state;
and when the third level signal is detected to be a rising edge signal, controlling the first switch, the second switch and the third switch to be connected or disconnected to obtain a seventh switch state, an eighth switch state and a ninth switch state.
In one implementation, the back cover detection point signals include a first back cover detection point signal, a second back cover detection point signal, a third back cover detection point signal, a fourth back cover detection point signal, a fifth back cover detection point signal, a sixth back cover detection point signal, a seventh back cover detection point signal, an eighth back cover detection point signal, and a ninth back cover detection point signal; the determining a rear cover detection point signal according to the switch state comprises:
when the first switch state is closed and the second switch state and the third switch state are both open, detecting a first rear cover detection point signal;
when the second switch state is closed and the first switch state and the third switch state are both open, detecting a second rear cover detection point signal;
when the third switch is closed and the first switch state and the second switch state are both open, detecting a third rear cover detection point signal;
when the fourth switch state is closed and the fifth switch state and the sixth switch state are both open, detecting a fourth rear cover detection point signal;
when the fifth switch state is closed and the fourth switch state and the sixth switch state are both open, detecting a fifth rear cover detection point signal;
when the sixth switch is closed and the fourth switch and the fifth switch are both open, detecting a sixth rear cover detection point signal;
when the seventh switch is closed and the eighth switch and the ninth switch are both open, detecting a seventh rear cover detection point signal;
when the eighth switch is closed and the seventh switch and the ninth switch are both open, detecting an eighth rear cover detection point signal;
and detecting a ninth rear cover detection point signal when the ninth switch is closed and the seventh switch and the eighth switch are both open.
In one implementation, the determining a back cover state from the back cover detection point signal includes:
and if any one of the first rear cover detection point signal, the second rear cover detection point signal, the third rear cover detection point signal, the fourth rear cover detection point signal, the fifth rear cover detection point signal, the sixth rear cover detection point signal, the seventh rear cover detection point signal, the eighth rear cover detection point signal and the ninth rear cover detection point signal is detected to be 0, determining that the rear cover state is rear cover open.
In one implementation, the determining a state of a back cover based on the back cover detection point signal comprises:
and if the rear cover state is rear cover opening, displaying the rear cover state.
In a second aspect, an embodiment of the present invention further provides a device for detecting a state of a rear cover of a mobile terminal, where the device includes: the communication connection detection module is used for detecting the communication connection state of the WiFi signal of the mobile terminal;
the rear cover detection point signal determining module is used for detecting a rear cover detection point signal of the mobile terminal when the communication connection state is detected to be disconnected; the rear cover detection point signal determining module comprises a control module and a monitoring module;
the rear cover state determining module is used for determining the state of the rear cover according to the rear cover detection point signal; the rear cover state comprises a rear cover closing cover and a rear cover opening cover; the rear cover state determining module further comprises a display module.
In a third aspect, an embodiment of the present invention further provides an intelligent terminal, including a memory and one or more programs, where the one or more programs are stored in the memory, and configured to be executed by one or more processors includes a processor configured to execute the method for detecting a state of a rear cover of a mobile terminal as described in any one of the above.
In a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method for detecting a state of a rear cover of a mobile terminal as described in any one of the above.
The invention has the beneficial effects that: the embodiment of the invention firstly detects the communication connection state of the WiFi signal of the mobile terminal; then when the communication connection state is detected to be disconnected, detecting a rear cover detection point signal of the mobile terminal; finally, determining the state of the rear cover according to the rear cover detection point signal; the rear cover state comprises a rear cover closing cover and a rear cover opening cover; therefore, in the embodiment of the invention, the state of the rear cover is determined by obtaining the detection point signal of the rear cover in real time so as to quickly position whether the antenna signal difference is that the rear cover is not tightly covered.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for detecting a state of a rear cover of a mobile terminal according to an embodiment of the present invention.
Fig. 2 is a schematic block diagram of a rear cover state detection apparatus of a mobile terminal according to an embodiment of the present invention.
Fig. 3 is a structural diagram of a rear cover detection point of a mobile terminal according to an embodiment of the present invention.
Fig. 4 is a structural diagram of a detection point provided in an embodiment of the present invention.
Fig. 5 is a schematic block diagram of an internal structure of an intelligent terminal according to an embodiment of the present invention.
Detailed Description
The invention discloses a method and a device for detecting the state of a rear cover of a mobile terminal and an intelligent terminal, and further describes the invention in detail by referring to the attached drawings and embodiments in order to make the purpose, the technical scheme and the effect of the invention clearer and clearer. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
In the prior art, the situation of loose covering is easy to occur after the rear cover of the mobile terminal falls, impacts and the like, so that the problem of insensitive faults of antenna signals is difficult to position.
In order to solve the problems in the prior art, this embodiment provides a method for detecting a state of a rear cover of a mobile terminal, which determines a state of the rear cover by obtaining a signal of a detection point of the rear cover in real time, so as to quickly locate whether an antenna signal difference is that the rear cover is not closed tightly. When the method is specifically implemented, firstly, the communication connection state of a WiFi signal of the mobile terminal is detected; then when the communication connection state is detected to be disconnected, detecting a rear cover detection point signal of the mobile terminal; finally, determining the state of the rear cover according to the rear cover detection point signal; wherein, the state of the rear cover comprises a rear cover closing cover and a rear cover opening cover.
Exemplary method
The embodiment provides a method for detecting the state of a rear cover of a mobile terminal, which can be applied to intelligent terminals in the technical field of communication. As shown in fig. 1 in detail, the method includes:
s100, detecting the communication connection state of a WiFi signal of the mobile terminal;
in actual use, the cover is easy to be covered and not tightly closed after falling, impacting and the like, so that the antenna signal is insensitive, the problem of the mobile terminal on the bottom is difficult to see from the surface, and meanwhile, maintenance personnel or a user can mistakenly think that the devices needing the antenna, such as internal wifi and the like, are damaged, and the mobile terminal is usually required to be dismantled. When the communication of the WiFi signal of the mobile terminal is normal, the rear cover of the mobile terminal is closed certainly, and only when the communication of the WiFi signal of the mobile terminal is abnormal, the problem of the rear cover of the mobile terminal may occur. Therefore, the communication connection status of the WiFi signal of the mobile terminal needs to be detected first.
When the communication connection disconnection is detected, the following steps are executed as shown in fig. 1: s200, when the communication connection state is disconnected, detecting a rear cover detection point signal of the mobile terminal;
specifically, since many devices are disposed on the rear cover of the mobile terminal, when the rear cover is in an uncapped state, it may be that an uncapping occurs at a certain point of the rear cover, and in order to accurately locate an uncapping point of the rear cover, when it is detected that the communication connection is disconnected, a rear cover detection point signal of the mobile terminal needs to be detected. Correspondingly, when the communication connection state is detected to be disconnected, the step of detecting a rear cover detection point signal of the mobile terminal comprises the following steps:
s201, when the communication connection is detected to be disconnected, detecting a first level signal PIN _ B1, a second level signal PIN _ B2 and a third level signal PIN _ B3 respectively;
and S202, detecting a rear cover detection point signal of the mobile terminal according to the first level signal PIN _ B1, the second level signal PIN _ B2 and the third level signal PIN _ B3.
Specifically, when the disconnection of the communication connection is detected, at this time, there may be two cases: the rear cover is not tightly covered, and in the other situation, the antenna device needed by WiFi is damaged; in order to avoid unnecessary disassembly, the state of the rear cover needs to be determined firstly, the situation that the rear cover is not tightly closed is eliminated only when the state of the rear cover is determined to be the rear cover closing state, and then whether the antenna device needed by the WiFi is damaged or not is checked through disassembly. In practice, because many devices are arranged on the rear cover of the mobile terminal, the situation that the rear cover is opened or closed only loosely may be that the rear cover is opened at a certain part, so that a plurality of detection points are arranged on the rear cover of the mobile terminal to quickly position which screw or screws are not in place to open the rear cover at the certain part of the rear cover of the mobile terminal. In this embodiment, as shown in fig. 2, when the disconnection of the communication connection is detected, a first level signal PIN _ B1, a second level signal PIN _ B2 and a third level signal PIN _ B3 in the monitoring module are detected, respectively, in this embodiment, the first level signal PIN _ B1 is detected by a first PIN, the second level signal PIN _ B1 is detected by a second PIN, and the third level signal PIN _ B1 is detected by a third PIN; then, a rear cover detection point signal of the mobile terminal is detected according to the first level signal PIN _ B1, the second level signal PIN _ B2, and the third level signal PIN _ B3. Accordingly, the determining of the back cover detection point signal according to the first level signal PIN _ B1, the second level signal PIN _ B2 and the third level signal PIN _ B3 includes the steps of: according to the first, second, and third level signals PIN _ B1, PIN _ B2, and PIN _ B3, a switching state is determined.
In another implementation of the invention, the switching states include a first switching state K1, a second switching state K2, a third switching state K3, a fourth switching state K4, a fifth switching state K5, a sixth switching state K6, a seventh switching state K7, an eighth switching state K8, and a ninth switching state K9; the determining of the switch state according to the first level signal PIN _ B1, the second level signal PIN _ B2 and the third level signal PIN _ B3 comprises the steps of: when the first level signal PIN _ B1 is detected to be a rising edge signal, controlling the first switch KEY1, the second switch KEY2 and the third switch KEY3 to be connected or disconnected, so as to obtain a first switch state K1, a second switch state K2 and a third switch state K3; when the second level signal PIN _ B2 is detected to be a rising edge signal, controlling the first switch KEY1, the second switch KEY2 and the third switch KEY3 to be connected or disconnected, so as to obtain a fourth switch state K4, a fifth switch state K5 and a sixth switch state K6; when the third level signal PIN _ B3 is detected to be a rising edge signal, the first switch KEY1, the second switch KEY2 and the third switch KEY3 are controlled to be connected or disconnected, so that a seventh switch state K7, an eighth switch state K8 and a ninth switch state K9 are obtained.
Specifically, when the level signal in the monitoring module is detected to be a rising edge signal, it indicates that the level signal changes from a low level to a high level (at this time, the reason for determining that the rising edge signal is used as the determination signal is the misjudgment of the signal change caused by signal jitter, and at this time, it may be that a certain device related to the antenna has a problem or a certain part of the rear cover is opened, and in order to accurately discharge the state of the rear cover, as shown in fig. 3, when the first level signal PIN _ B1 is detected to be the rising edge signal, the first switch KEY1 is controlled to be closed, the second switch KEY2 and the third switch KEY3 are controlled to be opened, and the first switch state K1 is closed, and the second switch state K2 and the third switch state K3 are both opened; controlling the second switch KEY2 to be closed, and the first switch KEY1 and the third switch KEY3 to be opened, so that the second switch state K2 is closed, and the first switch state K1 and the third switch state K3 are both opened; the third switch KEY3 is controlled to be closed, the first switch KEY1 and the second switch KEY2 are opened, and the third switch state K3 is closed, and the first switch state K1 and the second switch state K2 are both opened. Besides, it is also excluded whether other detecting points on the rear cover are not tightly covered, and when the second level signal PIN _ B1 is detected to be a rising edge signal, the first switch KEY1 is controlled to be closed, the second switch KEY2 and the third switch KEY3 are controlled to be opened, the fourth switch state K4 is closed, and the fifth switch state K5 and the sixth switch state K6 are both opened; controlling the second switch KEY2 to be closed, and the first switch KEY1 and the third switch KEY3 to be opened, so that the fifth switch state K5 is closed, and the fourth switch state K4 and the sixth switch state K6 are both opened; the third switch KEY3 is controlled to be closed, the first switch KEY1 and the second switch KEY2 are opened, and the sixth switching state K6 is closed, and the fifth switching state K5 and the fourth switching state K4 are both opened. When the third level signal PIN _ B1 is detected to be a rising edge signal, the first switch KEY1 is controlled to be closed, the second switch KEY2 and the third switch KEY3 are controlled to be opened, and a seventh switch state K7 is obtained to be closed, and an eighth switch state K8 and a ninth switch state K9 are both opened; controlling the second switch KEY2 to be closed, and the first switch KEY1 and the third switch KEY3 to be opened, so that the eighth switch state K8 is closed, and the seventh switch state K7 and the ninth switch state K9 are both opened; the third switch KEY3 is controlled to be closed, the first switch KEY1 and the second switch KEY2 are opened, and the ninth switching state K9 is closed, and the seventh switching state K7 and the eighth switching state K8 are both opened.
After the switch state is obtained, a detection point signal of the rear cover can be determined according to the switch state. Correspondingly, the rear cover detection point signals comprise a first rear cover detection point signal, a second rear cover detection point signal, a third rear cover detection point signal, a fourth rear cover detection point signal, a fifth rear cover detection point signal, a sixth rear cover detection point signal, a seventh rear cover detection point signal, an eighth rear cover detection point signal and a ninth rear cover detection point signal; the step of determining a rear cover detection point signal according to the switch state comprises the following steps: detecting a first back cover detection point signal when the first switch state K1 is closed and the second switch state K2 and the third switch state K3 are both open; detecting a second rear cover detection point signal when the second switch state K2 is closed and the first switch state K1 and the third switch state K3 are both open; detecting a third rear cover detection point signal when the third switch state K3 is closed and both the first switch state K1 and the second switch state K2 are open; detecting a fourth back cover detection point signal when the fourth switch state K4 is closed and the fifth switch state K5 and the sixth switch state K6 are both open; detecting a fifth back cover detection point signal when the fifth switch state K5 is closed and the fourth switch state K4 and the sixth switch state K6 are both open; detecting a sixth back cover detection point signal when the sixth switch state K6 is closed and the fourth switch state K4 and the fifth switch state K5 are both open; detecting a seventh back cover detection point signal when the seventh switch state K7 is closed and the eighth switch state K8 and the ninth switch state K9 are both open; detecting an eighth rear cover detection point signal when the eighth switch state K8 is closed and the seventh switch state K7 and the ninth switch state K9 are both open; detecting a ninth back cover detection point signal when the ninth switch state K9 is closed and the seventh switch state K7 and the eighth switch state K8 are both open.
After obtaining the rear cover detection point signal, the following steps can be performed as shown in fig. 1: s300, determining the state of the rear cover according to the rear cover detection point signal; wherein, the state of the rear cover comprises a rear cover closing cover and a rear cover opening cover.
The method comprises the following steps of determining the signal conditions of all detection points of the rear cover of the mobile terminal, determining the covering state of each part of the rear cover according to the signal conditions of the detection points, determining that the rear cover is in an open state as long as a certain part of the rear cover is not tightly covered, and indicating that the rear cover is in a closed state as long as all parts of the rear cover are tightly covered. Correspondingly, the step of determining the state of the rear cover according to the rear cover detection point signal comprises the following steps: if any one of the first rear cover detection point signal, the second rear cover detection point signal, the third rear cover detection point signal, the fourth rear cover detection point signal, the fifth rear cover detection point signal, the sixth rear cover detection point signal, the seventh rear cover detection point signal, the eighth rear cover detection point signal and the ninth rear cover detection point signal is detected to be 0, the rear cover state is determined to be rear cover open, and it is indicated that the nth (n is 1. If the communication connection signal of the WiFi is detected to be bad, the problem that the rear cover is not tightly closed is eliminated by detecting the rear cover detection point, and the machine can be disassembled to find whether the problem is caused by a WIFI antenna related device or not.
In order to improve the use experience of a user, if the rear cover is in the state of being opened, the rear cover may be opened to cause WiFi communication connection terminal, the user is timely reminded at the moment, the terminal displays out-of-position information of which detection point through a display, the user is enabled to quickly troubleshoot the problem, and if the problem is a screw, the problem can be solved through a screwing mode.
Exemplary device
As shown in fig. 4, an embodiment of the present invention provides a mobile terminal back cover state detection apparatus, which includes a communication connection detection module 401, a back cover detection point signal determination module 402, and a back cover state determination module 403, where: a communication connection detection module 401, configured to detect a communication connection state of a WiFi signal of the mobile terminal;
a back cover detection point signal determining module 402, configured to detect a back cover detection point signal of the mobile terminal when detecting that the communication connection state is a disconnection; the rear cover detection point signal determining module comprises a control module and a monitoring module;
a rear cover state determining module 403, configured to determine a rear cover state according to the rear cover detection point signal; the rear cover state comprises a rear cover closing cover and a rear cover opening cover; the rear cover state determining module further comprises a display module.
The embodiment of the invention firstly detects the communication connection state of the WiFi signal of the mobile terminal through a communication connection detection module 401; then, when detecting that the communication connection state is disconnected, a back cover detection point signal determining module 402 detects a back cover detection point signal of the mobile terminal; the rear cover detection point signal determining module comprises a control module and a monitoring module; the control module controls the connection or disconnection of the first switch KEY1, the second switch KEY2 and the third switch KEY3, the monitoring module detects a plurality of rear cover detection point signals of the mobile terminal through a first pin, a second pin and a third pin in the detection module, and finally, the rear cover state determination module 403 determines the rear cover state according to the rear cover detection point signals; the rear cover state comprises a rear cover closing cover and a rear cover opening cover; the rear cover state determining module further comprises a display module, and the display module displays the rear cover state when the rear cover state is that the rear cover is opened, so as to prompt a user to know that the rear cover is opened in time and process the rear cover in time.
Based on the above embodiment, the present invention further provides an intelligent terminal, and a schematic block diagram thereof may be as shown in fig. 5. The intelligent terminal comprises a processor, a memory, a network interface, a display screen and a temperature sensor which are connected through a system bus. Wherein, the processor of the intelligent terminal is used for providing calculation and control capability. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the intelligent terminal is used for being connected and communicated with an external terminal through a network. The computer program is executed by a processor to implement a method for detecting a state of a rear cover of a mobile terminal. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the intelligent terminal is arranged inside the intelligent terminal in advance and used for detecting the operating temperature of internal equipment.
It will be understood by those skilled in the art that the schematic diagram of fig. 5 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the intelligent terminal to which the solution of the present invention is applied, and a specific intelligent terminal may include more or less components than those shown in the figure, or combine some components, or have different arrangements of components.
In one embodiment, an intelligent terminal is provided that includes a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for: detecting the communication connection state of a WiFi signal of the mobile terminal;
when the communication connection state is detected to be disconnected, detecting a rear cover detection point signal of the mobile terminal;
determining the state of the rear cover according to the rear cover detection point signal; wherein, the state of the rear cover comprises a rear cover closing cover and a rear cover opening cover.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In summary, the invention discloses a method, a device and an intelligent terminal for detecting the state of a rear cover of a mobile terminal, wherein the method comprises the following steps: detecting the communication connection state of a WiFi signal of the mobile terminal; when the communication connection state is detected to be disconnected, detecting a rear cover detection point signal of the mobile terminal; determining the state of the rear cover according to the rear cover detection point signal; wherein, the state of the rear cover comprises a rear cover closing cover and a rear cover opening cover. According to the embodiment of the invention, the state of the rear cover is determined by obtaining the detection point signal of the rear cover in real time, so that whether the antenna signal difference is that the rear cover is not tightly covered or not is quickly positioned.
Based on the above embodiments, the present invention discloses a method for detecting a state of a rear cover of a mobile terminal, and it should be understood that the application of the present invention is not limited to the above examples, and it will be obvious to those skilled in the art that modifications and variations can be made in the light of the above description, and all such modifications and variations are intended to fall within the scope of the appended claims.
Claims (5)
1. A method for detecting the state of a rear cover of a mobile terminal is characterized by comprising the following steps:
detecting the communication connection state of a WiFi signal of the mobile terminal;
when the communication connection state is detected to be disconnected, detecting a rear cover detection point signal of the mobile terminal;
when the communication connection state is detected to be disconnected, detecting a rear cover detection point signal of the mobile terminal comprises:
when the communication connection disconnection is detected, respectively detecting a first level signal, a second level signal and a third level signal;
detecting a rear cover detection point signal of the mobile terminal according to the first level signal, the second level signal and the third level signal;
determining a rear cover detection point signal according to the first level signal, the second level signal and the third level signal comprises:
determining a switch state according to the first level signal, the second level signal and the third level signal;
the switch states include a first switch state, a second switch state, a third switch state, a fourth switch state, a fifth switch state, a sixth switch state, a seventh switch state, an eighth switch state, and a ninth switch state; the determining the switch state according to the first level signal, the second level signal and the third level signal comprises:
when the first level signal is detected to be a rising edge signal, controlling the first switch, the second switch and the third switch to be connected or disconnected to obtain a first switch state, a second switch state and a third switch state;
when the second level signal is detected to be a rising edge signal, controlling the first switch, the second switch and the third switch to be connected or disconnected to obtain a fourth switch state, a fifth switch state and a sixth switch state;
when the third level signal is detected to be a rising edge signal, controlling the first switch, the second switch and the third switch to be connected or disconnected to obtain a seventh switch state, an eighth switch state and a ninth switch state;
determining a rear cover detection point signal according to the switch state;
the rear cover detection point signals comprise a first rear cover detection point signal, a second rear cover detection point signal, a third rear cover detection point signal, a fourth rear cover detection point signal, a fifth rear cover detection point signal, a sixth rear cover detection point signal, a seventh rear cover detection point signal, an eighth rear cover detection point signal and a ninth rear cover detection point signal; the determining a rear cover detection point signal according to the switch state comprises:
when the first switch state is closed and the second switch state and the third switch state are both open, detecting a first rear cover detection point signal;
when the second switch state is closed and the first switch state and the third switch state are both open, detecting a second rear cover detection point signal;
when the third switch is closed and the first switch state and the second switch state are both open, detecting a third rear cover detection point signal;
when the fourth switch state is closed and the fifth switch state and the sixth switch state are both open, detecting a fourth rear cover detection point signal;
when the fifth switch state is closed and the fourth switch state and the sixth switch state are both open, detecting a fifth rear cover detection point signal;
when the sixth switch is closed and the fourth switch and the fifth switch are both open, detecting a sixth rear cover detection point signal;
when the seventh switch is closed and the eighth switch and the ninth switch are both open, detecting a seventh rear cover detection point signal;
when the eighth switch is closed and the seventh switch and the ninth switch are both open, detecting an eighth rear cover detection point signal;
when the ninth switch is closed and the seventh switch and the eighth switch are both open, detecting a ninth rear cover detection point signal;
determining the state of the rear cover according to the rear cover detection point signal; the rear cover state comprises a rear cover closing cover and a rear cover opening cover;
the determining the state of the rear cover according to the rear cover detection point signal comprises:
and if any one of the first rear cover detection point signal, the second rear cover detection point signal, the third rear cover detection point signal, the fourth rear cover detection point signal, the fifth rear cover detection point signal, the sixth rear cover detection point signal, the seventh rear cover detection point signal, the eighth rear cover detection point signal and the ninth rear cover detection point signal is detected to be 0, determining that the rear cover state is rear cover open.
2. The method for detecting the state of the rear cover of the mobile terminal according to claim 1, wherein the determining the state of the rear cover according to the rear cover detection point signal comprises:
and if the rear cover state is rear cover opening, displaying the rear cover state.
3. A mobile terminal rear cover state detection device is characterized in that the device comprises:
the communication connection detection module is used for detecting the communication connection state of the WiFi signal of the mobile terminal;
the rear cover detection point signal determining module is used for detecting a rear cover detection point signal of the mobile terminal when the communication connection state is detected to be disconnected; the rear cover detection point signal determining module comprises a control module and a monitoring module;
when the communication connection state is detected to be disconnected, detecting a rear cover detection point signal of the mobile terminal comprises:
when the communication connection disconnection is detected, respectively detecting a first level signal, a second level signal and a third level signal;
detecting a rear cover detection point signal of the mobile terminal according to the first level signal, the second level signal and the third level signal;
the determining a rear cover detection point signal according to the first level signal, the second level signal and the third level signal comprises:
determining a switch state according to the first level signal, the second level signal and the third level signal;
the switch states include a first switch state, a second switch state, a third switch state, a fourth switch state, a fifth switch state, a sixth switch state, a seventh switch state, an eighth switch state, and a ninth switch state; the determining the switch state according to the first level signal, the second level signal and the third level signal comprises:
when the first level signal is detected to be a rising edge signal, controlling the first switch, the second switch and the third switch to be connected or disconnected to obtain a first switch state, a second switch state and a third switch state;
when the second level signal is detected to be a rising edge signal, controlling the first switch, the second switch and the third switch to be connected or disconnected to obtain a fourth switch state, a fifth switch state and a sixth switch state;
when the third level signal is detected to be a rising edge signal, controlling the first switch, the second switch and the third switch to be connected or disconnected to obtain a seventh switch state, an eighth switch state and a ninth switch state;
determining a rear cover detection point signal according to the switch state;
the rear cover detection point signals comprise a first rear cover detection point signal, a second rear cover detection point signal, a third rear cover detection point signal, a fourth rear cover detection point signal, a fifth rear cover detection point signal, a sixth rear cover detection point signal, a seventh rear cover detection point signal, an eighth rear cover detection point signal and a ninth rear cover detection point signal; the determining a rear cover detection point signal according to the switch state comprises:
when the first switch state is closed and the second switch state and the third switch state are both open, detecting a first rear cover detection point signal;
when the second switch state is closed and the first switch state and the third switch state are both open, detecting a second rear cover detection point signal;
when the third switch is closed and the first switch state and the second switch state are both open, detecting a third rear cover detection point signal;
when the fourth switch state is closed and the fifth switch state and the sixth switch state are both open, detecting a fourth rear cover detection point signal;
when the fifth switch state is closed and the fourth switch state and the sixth switch state are both open, detecting a fifth rear cover detection point signal;
when the sixth switch is closed and the fourth switch and the fifth switch are both open, detecting a sixth rear cover detection point signal;
when the seventh switch is closed and the eighth switch and the ninth switch are both open, detecting a seventh rear cover detection point signal;
when the eighth switch is closed and the seventh switch and the ninth switch are both open, detecting an eighth rear cover detection point signal;
when the ninth switch is closed and the seventh switch and the eighth switch are both open, detecting a ninth rear cover detection point signal;
the rear cover state determining module is used for determining the state of the rear cover according to the rear cover detection point signals; the rear cover state comprises a rear cover closing cover and a rear cover opening cover; the rear cover state determining module further comprises a display module;
the determining the state of the rear cover according to the rear cover detection point signal comprises:
and if any one of the first rear cover detection point signal, the second rear cover detection point signal, the third rear cover detection point signal, the fourth rear cover detection point signal, the fifth rear cover detection point signal, the sixth rear cover detection point signal, the seventh rear cover detection point signal, the eighth rear cover detection point signal and the ninth rear cover detection point signal is detected to be 0, determining that the rear cover state is rear cover open.
4. An intelligent terminal comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory, and wherein the one or more programs being configured to be executed by the one or more processors comprises instructions for performing the method of any of claims 1-2.
5. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the method of any of claims 1-2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110417730.1A CN113194189B (en) | 2021-04-19 | 2021-04-19 | Method and device for detecting state of rear cover of mobile terminal and intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110417730.1A CN113194189B (en) | 2021-04-19 | 2021-04-19 | Method and device for detecting state of rear cover of mobile terminal and intelligent terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113194189A CN113194189A (en) | 2021-07-30 |
CN113194189B true CN113194189B (en) | 2022-07-08 |
Family
ID=76977533
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110417730.1A Active CN113194189B (en) | 2021-04-19 | 2021-04-19 | Method and device for detecting state of rear cover of mobile terminal and intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113194189B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103200291A (en) * | 2013-03-05 | 2013-07-10 | 惠州Tcl移动通信有限公司 | Mobile terminal and detection method realizing inspection of cover opening and closing states |
CN103227853A (en) * | 2013-03-14 | 2013-07-31 | Tcl通讯(宁波)有限公司 | Mobile terminal with rear cover dropping reminding function and implementation method of mobile terminal |
CN105681506A (en) * | 2016-03-30 | 2016-06-15 | 惠州Tcl移动通信有限公司 | Mobile terminal, back cover thereof, detection system of back cover and identification method |
CN107147432A (en) * | 2017-06-14 | 2017-09-08 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal and its implementation, storage device that a kind of detection NFC starts |
CN110261082A (en) * | 2019-06-11 | 2019-09-20 | 电子科技大学 | A kind of RFID label tag and the screw loosening condition monitoring system based on it |
CN110958345A (en) * | 2019-12-03 | 2020-04-03 | Tcl 移动通信科技(宁波)有限公司 | Method and device for detecting rear cover of mobile terminal and computer readable storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002111787A (en) * | 2000-10-04 | 2002-04-12 | Nec Corp | Portable telephone set |
JP2010004497A (en) * | 2008-06-23 | 2010-01-07 | Sony Ericsson Mobilecommunications Japan Inc | Radio-communication terminal apparatus, and method, program, and system for preventing disintegration thereof |
CN107547470A (en) * | 2016-06-24 | 2018-01-05 | 中兴通讯股份有限公司 | Mobile terminal and NFC pay control method |
JP6677693B2 (en) * | 2017-10-20 | 2020-04-08 | ファナック株式会社 | Electric motor device |
-
2021
- 2021-04-19 CN CN202110417730.1A patent/CN113194189B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103200291A (en) * | 2013-03-05 | 2013-07-10 | 惠州Tcl移动通信有限公司 | Mobile terminal and detection method realizing inspection of cover opening and closing states |
CN103227853A (en) * | 2013-03-14 | 2013-07-31 | Tcl通讯(宁波)有限公司 | Mobile terminal with rear cover dropping reminding function and implementation method of mobile terminal |
CN105681506A (en) * | 2016-03-30 | 2016-06-15 | 惠州Tcl移动通信有限公司 | Mobile terminal, back cover thereof, detection system of back cover and identification method |
CN107147432A (en) * | 2017-06-14 | 2017-09-08 | Tcl移动通信科技(宁波)有限公司 | Mobile terminal and its implementation, storage device that a kind of detection NFC starts |
CN110261082A (en) * | 2019-06-11 | 2019-09-20 | 电子科技大学 | A kind of RFID label tag and the screw loosening condition monitoring system based on it |
CN110958345A (en) * | 2019-12-03 | 2020-04-03 | Tcl 移动通信科技(宁波)有限公司 | Method and device for detecting rear cover of mobile terminal and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113194189A (en) | 2021-07-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2952864A1 (en) | Thermometer management system | |
EP4169586A1 (en) | Fire extinguishing system and fault determining method | |
CN107832190A (en) | A kind of power consumption abnormal diagnostic method, mobile terminal and storage medium | |
CN103605591A (en) | Method and device for controlling memory initialization of terminal system | |
CN110489259B (en) | Memory fault detection method and equipment | |
US8717049B2 (en) | System and method for testing computer under varying environmental conditions | |
CN113194189B (en) | Method and device for detecting state of rear cover of mobile terminal and intelligent terminal | |
CN105912488B (en) | Computer installation and its control method | |
CN114002587B (en) | Chip supporting workload proving mechanism and testing method thereof | |
CN107422255B (en) | Digital chip fault detection system and detection method thereof | |
CN104102337A (en) | Method and apparatus for determining proximity level between user and electronic device | |
CN103744585A (en) | Information displaying method applied to screen locking state and device thereof | |
CN108801321B (en) | Sensor calibration method, electronic device and computer-readable storage medium | |
CN116436823B (en) | State monitoring method of intelligent network card and related equipment | |
CN218568024U (en) | USB port detection device | |
CN101567767B (en) | Window sampling control method and device | |
CN111782434A (en) | Abnormity detection method and device and electronic equipment | |
CN104198921A (en) | Method for testing printed circuit boards | |
CN114689940A (en) | Substrate impedance testing method, device, system, computer equipment and storage medium | |
CN110377477B (en) | Electronic equipment, functional module, main board of electronic equipment and detection method | |
CN104572366A (en) | Automatic testing method of laptop closing sleep function | |
CN106095623A (en) | Terminal control method and device | |
US20220247621A1 (en) | Method, apparatus, and system for distributed sensor monitoring and management in a system-on-chip | |
CN111182615B (en) | Sensor starting method and device, storage medium and terminal | |
CN113992778B (en) | Equipment detection method, device, chip and module equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231229 Address after: 518000, 109-111, Building 17, Maker Town, No. 4109 Liuxian Avenue, Pingshan Community, Taoyuan Street, Nanshan District, Shenzhen, Guangdong Province Patentee after: Yuanyuan (Shenzhen) Technology Transfer Co.,Ltd. Address before: 6 / F, building 5, Lane 999, Yangfan Road, high tech Zone, Ningbo, Zhejiang 315000 Patentee before: TCL COMMUNICATION (NINGBO) Co.,Ltd. |
|
TR01 | Transfer of patent right |