WO2018045715A1 - 一种移动终端关机的方法、装置和系统 - Google Patents
一种移动终端关机的方法、装置和系统 Download PDFInfo
- Publication number
- WO2018045715A1 WO2018045715A1 PCT/CN2017/072974 CN2017072974W WO2018045715A1 WO 2018045715 A1 WO2018045715 A1 WO 2018045715A1 CN 2017072974 W CN2017072974 W CN 2017072974W WO 2018045715 A1 WO2018045715 A1 WO 2018045715A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- correspondence
- power
- battery
- voltage
- switching
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/725—Cordless telephones
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72463—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M19/00—Current supply arrangements for telephone systems
- H04M19/02—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
- H04M19/04—Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72409—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
Definitions
- the present application relates to, but is not limited to, the field of communication technologies, and in particular, to a method, device and system for shutting down a mobile terminal.
- mobile terminals With the popularity of mobile terminals, mobile terminals have become a tool that people carry with them. People use mobile terminals to communicate, obtain information, take photos, store information, and so on. In some cases, using a mobile terminal may present a security risk or information leakage. For example, when flying, the flight attendants need to remind the user to turn off the mobile terminal repeatedly to ensure flight safety, but there may still be some passengers using the mobile terminal, which has potential safety hazards; in some meetings that require confidentiality or in some privacy In strong situations, using a mobile terminal may result in information leakage.
- the mobile terminal is likely to cause security risks or cause information leakage.
- Embodiments of the present invention provide a method, device, and system for shutting down a mobile terminal to prevent information leakage and reduce security risks.
- an embodiment of the present invention provides a method for shutting down a mobile terminal, including:
- the second correspondence includes a correspondence between a power-off value of the battery and a highest voltage value of the battery
- the embodiment of the present invention further provides a device for shutting down a mobile terminal, including:
- a receiving module configured to receive a switching message sent by the transmitting device
- the acquiring module is configured to obtain a second correspondence between the voltage and the power according to the switching message, where the second correspondence includes a correspondence between a power-off value of the battery and a highest voltage value of the battery;
- the switching module is configured to switch the first correspondence between the voltage currently used by the battery and the power amount to the second correspondence relationship
- the shutdown module is configured to determine, according to the second correspondence, that the current power value of the battery is a power-off value, and shut down.
- the embodiment of the present invention further provides a system for shutting down a mobile terminal, including:
- a transmitting device configured to send a handover message to the mobile terminal
- the mobile terminal is configured to acquire a second correspondence between the voltage and the power according to the switching message, where the second correspondence includes a correspondence between a power-off value of the battery and a highest voltage value of the battery;
- the mobile terminal is further configured to switch the first correspondence between the voltage currently used by the battery and the power amount to the second correspondence relationship
- the mobile terminal is further configured to determine, according to the second correspondence, that a current power value of the battery is a power-off value, and shut down.
- the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores one or more programs executable by a computer, and when the one or more programs are executed by the computer, the computer is executed as described above.
- a method for shutting down a mobile terminal is provided.
- One technical solution of the foregoing technical solution has the following advantages or benefits: receiving a handover message sent by the transmitting device, acquiring a second correspondence between the voltage and the power according to the switching message, where the second correspondence includes a power-off value of the battery Corresponding relationship with a highest voltage value of the battery; switching a first correspondence between a voltage currently used by the battery and the power amount to the second correspondence; determining a current power value of the battery according to the second correspondence Turn off the power value and turn it off.
- the corresponding relationship between voltage and power makes the mobile terminal low-power shutdown, which can prevent information leakage and reduce security risks.
- FIG. 1 is a flowchart of a method for shutting down a mobile terminal according to an embodiment of the present invention
- FIG. 2 is a flowchart of another method for shutting down a mobile terminal according to an embodiment of the present invention
- FIG. 3 is a schematic diagram of battery management
- FIG. 4 is a schematic diagram of a battery management process
- 5 is a schematic diagram showing the correspondence between voltage and electric quantity of a battery
- FIG. 6 is a schematic diagram showing a relationship between voltage and electric quantity of two different mobile terminal batteries
- FIG. 7 is a basic schematic diagram of a method and apparatus according to an embodiment of the present invention.
- FIG. 8 is a schematic diagram of a signaling structure of a WIFI (Wireless Fidelity) hotspot
- FIG. 9 is a schematic diagram of a signaling structure of another WIFI hotspot.
- FIG. 10 is a schematic diagram of a method for shutting down a mobile terminal according to an embodiment of the present invention.
- FIG. 11 is a schematic diagram of another method for shutting down a mobile terminal according to an embodiment of the present invention.
- FIG. 12 is a schematic diagram of a mobile terminal shutdown device according to an embodiment of the present invention.
- FIG. 13 is another mobile terminal shutdown device according to an embodiment of the present invention.
- FIG. 14 is another mobile terminal shutdown device according to an embodiment of the present invention.
- FIG. 15 is another mobile terminal shutdown device according to an embodiment of the present invention.
- FIG. 16 is a schematic diagram of a mobile terminal shutdown system according to an embodiment of the present invention.
- FIG. 17 is a schematic block diagram of another apparatus according to an embodiment of the present invention.
- FIG. 1 is a flowchart of a method for shutting down a mobile terminal according to an embodiment of the present invention, including the following steps:
- Step S101 Receive a handover message sent by the transmitting device.
- the mobile terminal In some specific places, it is sometimes necessary to turn off the mobile terminal to prevent the mobile terminal from causing interference or causing information leakage. For example, in the medical area and the flight area, the mobile terminal needs to be turned off to prevent the mobile terminal from causing interference; in the examination area and in a private meeting, the mobile terminal needs to be closed to prevent information leakage and the like. In some specific places, the voltage and power correspondence of the battery of the mobile terminal can be adjusted to turn off the mobile terminal. Therefore, it is possible to transmit a signal to the mobile terminal within the above-mentioned range of the transmission signal using the above-described transmitting device at a place where the mobile terminal needs to be turned off.
- the above transmitting device may be WIFI (Wireless Fidelity), or Bluetooth, or NFC (Near Field Communication).
- the transmitting device may send the switching message once to the mobile terminal connected thereto at regular intervals.
- the mobile terminal that is within the coverage of the signal of the transmitting device may receive the switching message sent by the transmitting device.
- the switching message may include information that switches the first correspondence between the voltage and the power used by the battery to the second correspondence, and may also include the information of the second correspondence.
- Step S102 Acquire a second correspondence between the voltage and the power according to the switching message, where the second correspondence includes a correspondence between a power-off value of the battery and a highest voltage value of the battery.
- the second correspondence between the voltage and the power consumption may be obtained by analyzing the switching message to obtain the second correspondence, or may be: analyzing the switching message acquisition switching instruction, and acquiring the second correspondence pre-stored by the mobile terminal according to the switching instruction. .
- the second correspondence between the pre-stored voltage and the power may be previously received and stored by the mobile terminal, or is factory set, or otherwise set.
- the second corresponding relationship includes the corresponding relationship between the power-off value of the battery and the highest voltage value of the battery, and the second correspondence may include setting the highest voltage value of the battery to a power-off value, so that the terminal is at the highest At the voltage value, the battery value is still the value of the power that triggered the shutdown.
- the shutdown power value may be a power value that triggers the mobile terminal to be turned off. For example, when the power value is 0, the mobile terminal is triggered to shut down.
- the above power value may be that the current remaining battery power accounts for the battery full power
- the percentage of the magnitude is the value of the battery power, and the above voltage may be the output voltage when the battery is used.
- Step S103 Switch the first correspondence between the voltage currently used by the battery and the power amount to the second correspondence.
- the first corresponding relationship between the voltage and the power used by the battery may be a corresponding relationship between the current voltage and the power of the battery of the mobile terminal, and the second correspondence between the voltage and the power may be used to distinguish the first correspondence.
- the above power value may be the value of the battery power or the current remaining battery power as a percentage of the battery full power.
- the above voltage may be the output voltage when the battery is in use.
- Switching the voltage and the amount of the battery from the first correspondence to the second correspondence may be after the switching command sent by the transmitting device is received, and if the mobile terminal has the second corresponding relationship stored in advance, the first correspondence is obtained. Switch to the second correspondence.
- the foregoing switching from the first correspondence to the second correspondence may further be: after receiving the second correspondence sent by the transmitting device, replacing the received second correspondence with the currently used first correspondence.
- the mobile terminal does not have the second correspondence stored in advance, after receiving the handover command transmitted by the transmitting device, the current first correspondence may not be switched.
- Step S104 Determine, according to the second correspondence, that the current power value of the battery is a power-off value, and shut down.
- Determining the current electric quantity value of the battery according to the second correspondence relationship may be that the current electric quantity value is calculated according to the second correspondence relationship between the voltage and the electric quantity and the current battery voltage value, and if the calculated electric quantity value is the shutdown electric quantity value, the mobile terminal is turned off.
- the shutdown power value may be a power that triggers the mobile terminal to be powered off. For example, when the power value is 0, the mobile terminal is powered off.
- the embodiments of the present invention can be applied to mobile terminals, such as a mobile phone, a tablet personal computer, a laptop computer, a personal digital assistant (PDA), and a wearable device (Wearable Device). )Wait.
- mobile terminals such as a mobile phone, a tablet personal computer, a laptop computer, a personal digital assistant (PDA), and a wearable device (Wearable Device).
- PDA personal digital assistant
- Wa wearable Device wearable Device
- the embodiment of the present invention receives a handover message sent by the transmitting device, and acquires a second correspondence between the voltage and the power according to the switching message, where the second correspondence includes a correspondence between a power-off value of the battery and a highest voltage value of the battery. ; the first correspondence between the current voltage and the power of the battery Switching to the second correspondence; determining, according to the second correspondence, that the current power value of the battery is a power-off value, and shutting down.
- turning off the mobile terminal can prevent information leakage and reduce security risks.
- FIG. 2 is a flowchart of another method for shutting down a mobile terminal according to an embodiment of the present invention, including the following steps:
- Step S201 Receive a handover message periodically sent by the transmitting device.
- the above-mentioned transmitting device may be a transmitting device in a specific location, and the specific location may be the location described in step S101, and details are not described herein again.
- the above transmitting device may be WIFI, Bluetooth, NFC, or the like.
- the transmitting device may send the switching message once to the mobile terminal connected thereto at regular intervals.
- the mobile terminal that is within the coverage of the signal of the transmitting device may receive the switching message sent by the transmitting device.
- the switching message may include information that switches the first correspondence between the voltage and the power used by the battery to the second correspondence, and may also include the information of the second correspondence.
- Step S202 Acquire a second correspondence between the voltage and the power according to the switching message, where the second correspondence includes a correspondence between a power-off value of the battery and a highest voltage value of the battery.
- the second correspondence between the voltage and the power consumption according to the switching message may be that the switching message is parsed to obtain the second correspondence, or the switching message acquisition switching instruction may be parsed, and the second correspondence pre-stored by the mobile terminal is obtained according to the switching instruction. relationship.
- the second correspondence between the pre-stored voltage and the power may be previously received and stored by the mobile terminal, or is factory set, or otherwise set.
- the second corresponding relationship includes the corresponding relationship between the power-off value of the battery and the highest voltage value of the battery, and the second correspondence may include setting a highest voltage value of the battery to a power-off value, so that the terminal is even At the highest voltage value, the battery value is still the value of the power that triggered the shutdown.
- the shutdown power value may be a power value that triggers the mobile terminal to be turned off. For example, when the power value is 0, the mobile terminal is triggered to shut down.
- the above power value may be a percentage of the current remaining battery power as a percentage of the battery full power value or a battery power amount, and the above voltage may be an output voltage when the battery is used.
- the switching message includes a switching signal, where the switching signal is located before the check bit in the switching message, and the second correspondence between the voltage and the power according to the switching message includes:
- the switching message may include a switching signal, and the switching signal may be a switching command for switching a first correspondence between a voltage currently used by the mobile terminal battery and the power amount to a second correspondence.
- the above switching signal may be located before the parity bit in the handover message.
- the above switching message is parsed to obtain the above switching signal.
- Obtaining a second correspondence between the pre-stored voltage and the electric quantity according to the switching signal after determining the switching signal, determining whether there is a second correspondence between the pre-stored voltage and the electric quantity, and if the second correspondence is present, acquiring the foregoing The second correspondence.
- the second correspondence between the pre-stored voltage and the power may be previously received and stored by the mobile terminal, or may be factory-set, or otherwise stored.
- the switching message is parsed, the switching signal is acquired, and the second correspondence between the pre-stored voltage and the power is obtained according to the switching signal, so that the first correspondence between the current used voltage and the power is switched to the second.
- Corresponding relationship, and determining the current power value as the power-off state according to the second correspondence triggering the mobile terminal to shut down, so that the mobile terminal is shut down in a place with strong privacy or high security, protecting the privacy of information and reducing security risks.
- the switching message includes a second correspondence between the voltage and the power, the second correspondence is located before the check bit in the switching message, and the second is to obtain a voltage and a quantity according to the switching message.
- Correspondence including:
- the foregoing switching message may further include a second correspondence between the voltage and the power, and the second correspondence may be located before the check bit of the handover message, and the second synchronization relationship may be obtained by parsing the handover message.
- the second correspondence relationship between the voltage and the power amount of the switching message is analyzed, so that the first correspondence between the voltage and the power amount currently used by the battery is switched to the second correspondence, and Determining the current power value as the power-off state according to the second correspondence, triggering the mobile terminal to shut down, so that the mobile terminal is shut down in a place with strong privacy or high security, protecting the privacy of information and reducing security risks.
- Step S203 Switching the first correspondence between the voltage currently used by the battery and the power amount to the second correspondence.
- the first correspondence between the voltage and the power used by the battery may be a correspondence between the current voltage and the power of the battery of the mobile terminal, where the power may be the value of the battery power or the current remaining battery power accounts for the battery full battery. percentage.
- the above voltage may be the output voltage when the battery is in use.
- the second correspondence includes a relationship between a power-off value of the battery and a highest voltage value of the battery, where the second correspondence may include setting a highest voltage value of the battery to a power-off value, so that the terminal is even at At the highest voltage value, the battery value is still the value of the power that triggered the shutdown.
- Switching the voltage and the amount of the battery from the first correspondence to the second correspondence may be after the switching command sent by the transmitting device is received, and if the mobile terminal has the second corresponding relationship stored in advance, the first correspondence is obtained. Switch to the second correspondence.
- the foregoing switching from the first correspondence to the second correspondence may further be: after receiving the second correspondence sent by the transmitting device, replacing the received second correspondence with the currently used first correspondence.
- the mobile terminal does not have the second correspondence stored in advance, after receiving the handover command transmitted by the transmitting device, the current first correspondence may not be switched.
- the switching information sent by the transmitting device to switch the first correspondence to the second correspondence relationship can switch the voltage and power relationship of the current battery to a new voltage and power relationship, and use the new Corresponding relationship between voltage and power determines that the current power value is the shutdown voltage, triggering the mobile terminal to shut down, so that the mobile terminal is shut down in a place with strong privacy or high security requirements, protecting the privacy of information and reducing security risks.
- the first corresponding relationship between the voltage currently used by the battery and the power is switched to the second correspondence, including:
- the first correspondence between the voltage currently used by the battery and the amount of power is switched to the second correspondence in the battery service.
- the second correspondence between the pre-stored voltage and the power is obtained according to the switching message, and the first correspondence between the current voltage and the power used by the battery may be switched to the The second correspondence.
- receiving a switching message where the second correspondence between the voltage and the power is obtained, and the first correspondence between the current voltage and the power used by the battery may be switched to the second corresponding in the battery service. relationship.
- the battery driver and battery service can be seen in the battery management diagram shown in Figure 3 for the drive and battery service (battery service).
- Step S204 Determine, according to the second correspondence, that the current power value of the battery is a power-off value, and shut down.
- the second correspondence may be a correspondence relationship sent by the receiving device or a corresponding relationship pre-stored by the mobile terminal, and determining the current power value of the battery by using the second correspondence may be a second correspondence between the voltage and the power.
- the current power value is calculated according to the current battery voltage value. If the calculated power value is the power-off value, the mobile terminal is turned off.
- the shutdown includes:
- the preset shutdown state may be that the mobile terminal is powered off, but still maintains power to the communication module connected to the transmitting device, so that the module remains in operation, maintains connection with the transmitting device, and detects signals transmitted by the transmitting device.
- Switching the mobile terminal to the preset shutdown state may be to shut down the mobile terminal but still power the communication module connected to the transmitting device to maintain the connection of the mobile device with the transmitting device and detect the signal transmitted by the transmitting device.
- the mobile terminal is powered off and the partial module is kept working, detecting whether the connection between the mobile terminal and the transmitting device is interrupted, and detecting whether the signal transmitted by the transmitting device is received, so that the mobile terminal can recognize whether the current region is the above.
- the area of a particular place thus controlling the movement The state of the terminal being turned on or off, protecting the privacy of information and reducing security risks.
- Step S205 If the connection between the communication module and the transmitting device is interrupted or the communication module cannot detect the signal sent by the transmitting device, the device is powered on.
- the communication module detects that the connection with the transmitting device is interrupted, or the signal transmitted by the transmitting device cannot be detected, at this time, it can be considered that the specific location is left, and the mobile terminal is not required to be turned off. For example, when the communication module detects that the connected WIFI is interrupted, the boot process is started.
- booting including:
- the connection between the communication module and the transmitting device is interrupted or the signal transmitted by the transmitting device cannot be detected, it may be considered that the specific location is removed, and the mobile terminal does not need to be turned off, and the voltage of the mobile terminal battery is secondarily associated with the power.
- Switching to the first correspondence calculating a current battery value according to the first correspondence, determining that the power value is not a power-off value, and may be a power-on value, triggering the mobile terminal to power on.
- the above power-on value may be a power value that can trigger the mobile terminal to be powered on, and may be greater than the power-off value.
- the correspondence between the voltage and the power of the battery is switched back to the first correspondence by the second correspondence, and the power value of the battery is determined according to the first correspondence, so that the mobile terminal is powered on, so that the mobile can be controlled.
- the terminal only shuts down in the above specific place. After leaving the above location, the mobile terminal automatically turns on to control the mobile terminal to receive unread information in time.
- the mobile terminal when the mobile terminal is in a specific area, the correspondence between the voltage and the power of the mobile terminal is replaced, so that the mobile terminal is powered off due to low power.
- the mobile terminal restores the power and restores the power on state. In this way, the mobile terminal is controlled to be shut down in a specific area, and the power is turned on after leaving the area, which can protect the privacy of information and reduce security risks.
- the battery management of Android system is implemented hierarchically.
- the bottom layer is the hardware and driver level; above the Linux kernel, JNI (local code in the Linux kernel, written in C++) uses the SYS file to get and transfer various information about the battery, such as status, health, capacity, voltage, Temperature, etc.;
- the top layer is the battery service of the Android framework level, which mainly obtains the underlying battery events, promptly changes the battery display, alarms, and performs shutdown protection under low or overheat conditions.
- FIG. 3 is a schematic diagram of battery management, and their hierarchical relationship can be represented by FIG. 3.
- 4 is a schematic diagram of a battery management process.
- the battery management of the Android system is also taken as an example.
- an event source occurs on the hardware level, such as low power, high temperature, and USB (Universal Serial Bus)
- an interrupt is generated and the event is reported to the upper layer Android.
- the Linux kernel level will report the current battery information, such as working in USB mode, charging mode, battery mode, current voltage, current, temperature, etc., to the Android level through the SYS file, so that the Android level can be based on the event type and The latest battery information is handled correctly.
- the correspondence between the battery power and the battery voltage may be a voltage and a power curve in the drive, which is generally developed by a hardware driver of a mobile terminal manufacturer.
- the correspondence between voltage and power is usually saved as an array in the battery driver in Android.
- FIG. 5 is a schematic diagram of the correspondence between voltage and electric quantity of a battery.
- the percentage of capacity in the figure can be a percentage of the current battery to the battery capacity.
- FIG. 6 is a schematic diagram showing the relationship between the voltage and the amount of electricity of two different mobile terminal batteries.
- the abscissa is the percentage of power consumption, and the 0 is the battery's 100%.
- the shutdown of the Android system is usually based on the percentage of the power being 0 as the trigger condition, when the correspondence between the voltage and the power in the drive changes, the corresponding shutdown voltage also changes.
- the maximum battery voltage of the terminal battery is 4.2 volts (V). If the voltage higher than 4.2 volts is set to a power percentage of 0, the battery will be broadcasted as soon as the battery is turned on and the battery service of the Android system is started. The news makes the Android system immediately enter the process of low power shutdown.
- the upper layer is usually judged by the voltage number corresponding to the battery power percentage of 0 as the threshold value (the different terminal setting values may be different, often between 3.5 volts and 3.8 volts), when the bottom layer voltage reaches the power percentage is 0. At voltage, the shutdown process is initiated.
- the embodiment of the present invention temporarily disables the voltage-to-electricity correspondence of the battery in a specific area, so that the mobile terminal in the specific area is powered off, and after leaving the area, the power-on is resumed.
- the method provided by the embodiment of the present invention is not limited to the Android system, and is applicable to other systems.
- FIG. 7 is a basic schematic diagram of a method and apparatus according to an embodiment of the present invention.
- the transmitting device in FIG. 7 may be a WIFI hotspot device, a Bluetooth device, or an NFC radio frequency identification transmitting device.
- the above transmitting device can be fixed every time during normal signal transmission Interval, transmitting specific information to the terminal A and the terminal B that are in the range of the signal coverage and connected thereto, wherein the specific information may be information including a correspondence between voltage and electric quantity or a relationship between the triggering switching voltage and the electric quantity Information.
- WIFI is introduced to send the above specific information to the terminal in data transmission, and the specific information can be implemented in the process of connection.
- the WIFI connection establishment process is as follows:
- the WIFI connection establishment process is as follows:
- the WIFI hotspot sends a broadcast to the mobile terminal in the coverage area. After the terminal responds, the WIFI hotspot further sends its own authentication type to the terminal, initiates authentication, and further initiates a connection request after establishing the authentication, establishes a data connection, and sends the data connection to the mobile terminal. Send the above specific information.
- FIG. 8 is a schematic diagram of a signaling structure of a WIFI hotspot, which includes a frame control, a duration ID, a destination address, and a resource address.
- Source address service set identifier (BSSID), sequence control field (seq-ctl), service set identifier, support rate, extended support rate, check digit (FCS).
- BSSID service set identifier
- sequence control field service set identifier
- FCS check digit
- FCS check digit
- FIG. 9 is a schematic diagram of signaling structure of another WIFI hotspot, and sequence control.
- Frame control duration ID, Destination address, resource address, service set identifier (BSSID), sequence control field (seq-ctl), authentication algorithm number (auth algorithm number), authentication (auth transaction sequence No.), Status code (status code), challenge text (challenge text), check digit (FCS).
- the data bits therein also have a specific use, so that a new field can be added before the check digit to transmit the data of the second voltage and the power corresponding to the embodiment of the present invention. Or controlling the mobile terminal to perform specific information of the first correspondence and the second correspondence switching.
- the transmitting device is an NFC radio frequency identification device
- data transmission may be performed when the mobile terminal is close to the NFC device for identification, and the specific information is transmitted to the mobile terminal.
- FIG. 10 is an example of a method for shutting down a mobile terminal according to an embodiment of the present invention.
- the method includes the following steps:
- Step 1001 Detect whether there is a signal source for signal transmission, and the signal source may be sent by a transmitting device such as Bluetooth, WIFI, or NFC.
- a transmitting device such as Bluetooth, WIFI, or NFC.
- Step 1002 Detect whether the received signal includes specific trigger information corresponding to the switching voltage and the power.
- the relevant signal source is searched, it is polled one by one, and it is checked whether the received signal contains information for switching the relationship between the voltage used by the current battery and the power.
- Step 1003 If the information is received, determine whether there is a second correspondence between the battery except the first correspondence between the current voltage and the power, and if there is the second correspondence, the current The first correspondence between the electric quantity and the voltage is switched to the second correspondence relationship; if the second corresponding relationship does not exist, the correspondence between the voltage and the electric quantity is not switched.
- Step 1004 The terminal determines, according to the second correspondence relationship and the voltage value, that the current power is the power-off state.
- Step 1005 The terminal initiates a low power shutdown. After the mobile terminal is powered off, unlike the normal shutdown, the terminal still maintains power supply to the module connected to the transmitting device after the low power shutdown due to the change of the voltage and the power relationship in the embodiment of the present invention. Detection of the above connections and detection of signals.
- Step 1006 If the disconnection is detected or the signal cannot be detected, the mobile terminal may leave the signal coverage area, and the terminal restores the first correspondence between the original voltage and the power, and re-determines according to the first correspondence between the voltage and the power. The power is triggered after the power is not turned off.
- the mobile terminal outside the coverage of the transmitting device signal cannot receive the above-mentioned specific information including the switching voltage and the electric quantity correspondence message and the correspondence between the voltage and the electric quantity, and the electric quantity is not affected.
- the mobile terminal after detecting the signal coverage area of the transmitting device, the mobile terminal is automatically powered on, the original default power management mode of the terminal is restored, and the original voltage and power relationship curve is used to determine the power.
- the signal coverage area of the leaving transmitter may be such that the signal from the transmitting device is not detected or is disconnected from the area.
- the terminal cannot be powered on in a specific area, thereby achieving the purpose of protecting information privacy or reducing security risks.
- FIG. 11 is an example of another method for shutting down a mobile terminal according to an embodiment of the present invention, where the method includes the following steps:
- Step 1101 Detect whether there is a signal source for transmitting a signal, and the signal source may be sent by a transmitting device such as Bluetooth, WIFI, or NFC.
- a transmitting device such as Bluetooth, WIFI, or NFC.
- Step 1102 Detect whether the received signal includes information corresponding to the voltage and the power.
- the relevant signal source is searched, it is polled one by one, and it is detected whether the received signal contains information corresponding to the voltage and the electric quantity.
- Step 1103 After receiving the information, the mobile terminal transmits the received voltage and the power relationship to the upper battery service.
- the battery service calculates the current power value according to the voltage reported by the bottom layer according to the voltage reported by the bottom layer, and replaces the bottom drive. The reported battery level value.
- Step 1104 The terminal determines, according to the received voltage and power relationship and the reported voltage value, that the current power is the power-off state.
- Step 1105 The terminal starts a low power shutdown. After the mobile terminal is powered off, unlike the normal shutdown, the terminal still maintains power supply to the module connected to the transmitting device after the low power shutdown due to the change of the voltage and the power relationship in the embodiment of the present invention. Detection of the above connections and detection of signals.
- Step 1106 If the disconnection is detected or the signal cannot be detected, the mobile terminal may leave the signal coverage area at this time, and the terminal restores the first correspondence between the original voltage and the power, and re-determines according to the first correspondence between the voltage and the power. The power is triggered after the power is not turned off.
- the mobile terminal outside the coverage of the transmitting device signal cannot receive the above-mentioned specific information including the switching voltage and the electric quantity correspondence message and the correspondence between the voltage and the electric quantity, and the electric quantity is not affected.
- the embodiment of the present invention achieves the purpose of changing the current power of the battery by switching the voltage and the power of the battery, thereby controlling the shutdown of the mobile terminal.
- the embodiment of the present invention turns off the mobile terminal in a manner that interferes with the communication signal in a specific area. The way is more secure and better protects the privacy of information.
- FIG. 12 is a mobile terminal shutdown device 1200 according to an embodiment of the present invention.
- the mobile terminal shutdown device 1200 includes: a receiving module 1201, an obtaining module 1202, a switching module 1203, and a shutdown module 1204, where:
- the receiving module 1201 is configured to receive a handover message sent by the transmitting device.
- the obtaining module 1202 is configured to obtain a second correspondence between the voltage and the power according to the switching message, where the second correspondence includes a correspondence between a power-off value of the battery and a highest voltage value of the battery;
- the switching module 1203 is configured to switch the first correspondence between the voltage currently used by the battery and the power amount to the second correspondence relationship
- the shutdown module 1204 is configured to determine, according to the second correspondence, that the current power value of the battery is a power-off value, and shut down.
- the receiving module 1201 is configured to receive a handover message that is periodically sent by the transmitting device.
- the handover message includes a handover signal, where the handover signal is located before a parity bit in the handover message, and the acquiring module 1202 includes:
- the parsing unit 12021 is configured to parse the switching message to acquire a switching signal
- the obtaining unit 12022 is configured to acquire a second correspondence relationship between the pre-stored voltage and the power amount according to the switching signal.
- the switching message includes a second correspondence between the voltage and the power, where the second correspondence is located before the check digit in the handover message, and the acquiring module 1202 is configured to parse the handover message to obtain The second correspondence between the voltage and the amount of electricity.
- the shutdown module 1204 is configured to switch the mobile terminal to a preset shutdown state, where the communication module that establishes a connection with the transmitting device is in an active state in the preset shutdown state. .
- the mobile terminal shutdown apparatus 1200 further includes:
- the booting module 1205 is configured to be powered on if the connection between the communication module and the transmitting device is interrupted or the communication module cannot detect the signal sent by the transmitting device.
- the booting module 1205 includes:
- the switching unit 12051 is configured to switch the second correspondence to the first correspondence if the connection between the communication module and the transmitting device is interrupted or the communication module cannot detect the signal sent by the transmitting device ;
- the booting unit 12052 is configured to determine, according to the first correspondence, that a current power value of the battery is a power-on value, and turn on the power.
- the switching module 1203 is configured to switch, in the battery driving, a first correspondence between a voltage currently used by the battery and a power amount to the second correspondence;
- the switching module 1203 is configured to switch the first correspondence between the voltage currently used by the battery and the power amount to the second correspondence in the battery service.
- the mobile terminal shutdown device 1200 can implement various processes implemented by the mobile terminal in the method embodiment corresponding to FIG. 1 to FIG. 2 . To avoid repetition, details are not described herein again.
- the mobile terminal shutdown device 1200 can prevent information leakage and reduce security risks.
- FIG. 16 is a mobile terminal shutdown system according to an embodiment of the present invention.
- the mobile terminal shutdown system includes: a transmitting device 1601, and a mobile terminal 1602, wherein:
- the transmitting device 1601 is configured to send a handover message to the mobile terminal
- the mobile terminal 1602 is configured to acquire a second correspondence between the voltage and the power according to the switching message, where the second correspondence includes a correspondence between a power-off value of the battery and a highest voltage value of the battery;
- the mobile terminal 1602 is further configured to switch a first correspondence between a voltage currently used by the battery and a power amount to the second correspondence relationship;
- the mobile terminal 1602 is further configured to determine, according to the second correspondence, that a current power value of the battery is a power-off value, and shut down.
- the mobile terminal shutdown system 1600 can implement various processes implemented by the mobile terminal shutdown device 1200.
- the mobile terminal shutdown system 1600 can shut down the mobile terminal, prevent information leakage, protect the privacy of information, and reduce security risks.
- FIG. 17 is a schematic block diagram of another apparatus according to an embodiment of the present invention.
- the transmitting device in the figure may be a wireless device such as Bluetooth, WIFI, NFC or the like.
- the mobile terminal includes a communication connection module 1701 connected to the above-mentioned transmitting device, a data authentication module 1702, and a battery management module 1703.
- the above battery management module takes the Android system as an example, and can be divided into three layers: a battery driver, a kernel framework, and an upper battery management API (application programming interface).
- the terminal communication connection module 1701 receives the above information and forwards the data to the data authentication module 1702 for authentication. If the authentication passes, the data authentication module 1702 forwards the above information to the battery management module 1703.
- the data authentication module 1702 forwards it to the battery driver 17033 of the bottom layer of the battery management module, and instructs the battery driver 17033 to switch the voltage and power correspondence.
- the above information includes the data corresponding to the voltage and the electric quantity, it is forwarded to the upper battery service 17031, so that the new battery voltage percentage value is calculated and broadcasted using the new voltage and electric quantity correspondence relationship, thereby achieving the specificity.
- the second correspondence includes a correspondence between a power-off value of the battery and a highest voltage value of the battery
- the handover message sent by the receiving and transmitting device includes:
- a handover message periodically transmitted by the transmitting device is received.
- the switching message includes a switching signal, where the switching signal is located before the check bit in the switching message, and the second correspondence between the voltage and the power according to the switching message includes:
- the switching message includes a second correspondence between the voltage and the power, the second correspondence is located before the check bit in the switching message, and the second is to obtain a voltage and a quantity according to the switching message.
- Correspondence including:
- the shutdown includes:
- the method further includes:
- the device If the connection of the communication module to the transmitting device is interrupted or the communication module cannot detect the signal sent by the transmitting device, the device is powered on.
- booting including:
- the first corresponding relationship between the voltage currently used by the battery and the power is switched to the second correspondence, including:
- the first correspondence between the voltage currently used by the battery and the amount of power is switched to the second correspondence in the battery service.
- the storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
- the mobile terminal in some places with strong privacy or places with high security requirements, by switching the correspondence between voltage and power, the mobile terminal is powered off, which can prevent information leakage and reduce security risks.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本文公布一种移动终端关机的方法、装置和系统,其中方法包括:接收发射装置发送的切换消息;根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括电池的关机电量值与所述电池的最高电压值的对应关系;将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关机。
Description
本申请涉及但不限于通信技术领域,尤指一种移动终端关机的方法、装置和系统。
随着移动终端的普及,移动终端已经成为人们随身携带的工具,人们使用移动终端进行通信、获取信息、拍照、存储信息等。在有些场合使用移动终端可能存在安全隐患或者信息泄露。例如,在乘坐飞机时,乘务人员需要再三提醒用户关闭移动终端,以确保飞行安全,但是仍然可能存在部分乘客使用移动终端,存在安全隐患;在某些需要保密的会议或者在某些私密性较强的场合中,使用移动终端可能会导致信息泄露。
可见,移动终端容易导致安全隐患或者导致信息泄露。
发明概述
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本发明实施例提供一种移动终端关机的方法、装置和系统,以防止信息泄露,减少安全隐患。
第一方面,本发明实施例提供一种移动终端关机的方法,包括:
接收发射装置发送的切换消息;
根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括电池的关机电量值与所述电池的最高电压值的对应关系;
将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;
根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关
机。
第二方面,本发明实施例还提供一种移动终端关机的装置,包括:
接收模块,设置为接收发射装置发送的切换消息;
获取模块,设置为根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括电池的关机电量值与所述电池的最高电压值的对应关系;
切换模块,设置为将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;
关机模块,设置为根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关机。
第三方面,本发明实施例还提供一种移动终端关机的系统,包括:
发射装置,设置为向所述移动终端发送切换消息;
所述移动终端,设置为根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括电池的关机电量值与所述电池的最高电压值的对应关系;
所述移动终端还设置为将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;
所述移动终端还设置为根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关机。
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行的一个或多个程序,所述一个或多个程序被所述计算机执行时使所述计算机执行如上述提供的一种移动终端关机的方法。
上述技术方案中的一个技术方案具有如下优点或有益效果:接收发射装置发送的切换消息;根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括电池的关机电量值与所述电池的最高电压值的对应关系;将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关机。这样,在一些私密性较强的场所或者安全性要求较高的场所,通过切换
电压与电量的对应关系,使移动终端低电关机,能够防止信息泄露,减少安全隐患。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图概述
图1为本发明实施例提供的一种移动终端关机的方法流程图;
图2为本发明实施例提供的另一种移动终端关机的方法流程图;
图3为一种电池管理示意图;
图4为一种电池管理流程示意图;
图5为一种电池的电压与电量对应关系示意图;
图6为两种不同移动终端电池的电压与电量关系曲线示意图;
图7为本发明实施例中所述的方法和装置的基本原理图;
图8为一种WIFI(Wireless Fidelity,无线保真)热点的信令结构示意图;
图9是另一种WIFI热点的信令结构示意图;
图10为本发明实施例提供的一种移动终端关机的方法的举例;
图11为本发明实施例提供的另一种移动终端关机的方法的举例;
图12为本发明实施例提供的一种移动终端关机装置;
图13为本发明实施例提供的另一种移动终端关机装置;
图14为本发明实施例提供的另一种移动终端关机装置;
图15为本发明实施例提供的另一种移动终端关机装置;
图16为本发明实施例提供的一种移动终端关机系统;
图17为本发明实施例提供的另一种装置的模块示意图。
详述
下面将结合附图及实施例进行详细描述。
如图1所示,图1为本发明实施例提供的一种移动终端关机的方法流程图,包括以下步骤:
步骤S101、接收发射装置发送的切换消息。
在一些特定的场所中,有时候需要关闭移动终端,以防止移动终端带来干扰或者造成信息泄露。例如,在医疗区域、飞行区域,需要关闭移动终端,防止移动终端造成干扰;在考试区域、私密的会议中,需要关闭移动终端,防止信息泄露等等。在一些特定的场所可以对移动终端的电池的电压与电量对应关系进行调整,以使移动终端关闭。因此,可以在需要将移动终端关闭的场所,使用上述发射装置向处于上述发射信号范围内的移动终端发射信号。
其中,上述发射装置可以是WIFI(Wireless Fidelity,无线保真),或者是蓝牙,也可以是NFC(Near Field Communication,近距离无线通信技术)等等。上述发射装置可以是每隔固定间隔向与之连接的移动终端发送一次上述切换消息。处于上述发射装置信号覆盖范围内的移动终端可以接收上述发射装置发送的切换消息。上述切换消息可以包含将电池当前使用的电压与电量的第一对应关系切换为第二对应关系的信息,也可以包含上述第二对应关系的信息。
步骤S102、根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括电池的关机电量值与所述电池的最高电压值的对应关系。
上述根据切换消息获取电压与电量的第二对应关系可以是解析上述切换消息获取第二对应关系,也可以是解析上述切换消息获取切换指令,根据上述切换指令获取移动终端预先存储的第二对应关系。上述预先存储的电压与电量的第二对应关系可以是移动终端预先接收并存储的,或者是出厂设置的,或者是其他方式设置的等等。
上述第二对应关系包括上述电池的关机电量值与上述电池的最高电压值的对应关系可以是在第二对应关系中包含将上述电池的最高电压值设置为关机电量值,使终端即使在处于最高电压值时,电量值仍然为触发关机的电量值。上述关机电量值可以是触发移动终端关机的电量值,例如电量值为0时,触发移动终端关机。上述电量值可以是当前剩余电池电量占电池满电
量值的百分比或者是电池电量的值,上述电压可以是电池使用时的输出电压。
步骤S103、将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系。
上述电池当前使用的电压与电量的第一对应关系可以是移动终端的电池当前使用的电压与电量的对应关系,上述电压与电量的第二对应关系可以是用于区别于上述第一对应关系的对应关系,上述电量值可以是电池电量的值或者是当前剩余电池电量占电池满电量的百分比。上述电压可以是电池使用时的输出电压。
将电池的电压与电量从上述第一对应关系切换为上述第二对应关系可以是在接收到发射装置发送的切换命令后,若移动终端存在上述预先存储的第二对应关系,将第一对应关系切换为第二对应关系。上述从第一对应关系切换为第二对应关系还可以是在接收到发射装置发送的第二对应关系后,将接收到的第二对应关系替换当前使用的第一对应关系。
另外,若移动终端不存在上述预先存储的第二对应关系,在接收到发射装置发射的切换命令后,可以不切换当前的第一对应关系。
步骤S104、根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关机。
根据上述第二对应关系确定上述电池的当前电量值可以是根据上述电压与电量的第二对应关系和当前电池的电压值计算当前电量值,若计算的电量值为关机电量值,移动终端关机。上述关机电量值可以是触发移动终端低电关机的电量,例如,电量值为0时,移动终端关机。
本发明实施例可以应用于移动终端,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、可穿戴式设备(Wearable Device)等。
本发明实施例接收发射装置发送的切换消息;根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括电池的关机电量值与所述电池的最高电压值的对应关系;将电池当前使用的电压与电量的第一对应关
系切换为所述第二对应关系;根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关机。这样,在一些私密性较强的场所或者安全性要求较高的场所,关闭移动终端,能够防止信息泄露,减少安全隐患。
如图2所示,图2为本发明实施例提供的另一种移动终端关机的方法流程图,包括以下步骤:
步骤S201、接收发射装置周期性地发送的切换消息。
上述发射装置可以是特定的场所中的发射装置,上述特定的场所可以是在步骤S101中描述的场所,此处不再赘述。上述发射装置可以是WIFI、蓝牙、NFC等等。
上述发射装置可以是每隔固定间隔向与之连接的移动终端发送一次上述切换消息。处于上述发射装置信号覆盖范围内的移动终端可以接收上述发射装置发送的切换消息。上述切换消息可以包含将电池当前使用的电压与电量的第一对应关系切换为第二对应关系的信息,也可以包含上述第二对应关系的信息。
步骤S202、根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括电池的关机电量值与所述电池的最高电压值的对应关系。
上述根据切换消息获取电压与电量的第二对应关系可以是解析上述切换消息,获取第二对应关系,也可以是解析上述切换消息获取切换指令,根据上述切换指令获取移动终端预先存储的第二对应关系。上述预先存储的电压与电量的第二对应关系可以是移动终端预先接收并存储的,或者是出厂设置的,或者是其他方式设置的等等。
上述第二对应关系包括所述电池的关机电量值与所述电池的最高电压值的对应关系可以是在第二对应关系中包含将上述电池的最高电压值设置为关机电量值,使终端即使在处于最高电压值时,电量值仍然为触发关机的电量值。上述关机电量值可以是触发移动终端关机的电量值,例如电量值为0时,触发移动终端关机。上述电量值可以是当前剩余电池电量占电池满电量值的百分比或者是电池电量的值,上述电压可以是电池使用时的输出电压。
可选的,所述切换消息包括切换信号,所述切换信号位于所述切换消息中的校验位之前,所述根据所述切换消息获取电压与电量的第二对应关系,包括:
解析所述切换消息,获取切换信号;
根据所述切换信号获取预先存储的电压与电量的第二对应关系。
其中,上述切换消息中可以包含切换信号,上述切换信号可以是用于将移动终端电池当前使用的电压与电量的第一对应关系切换为第二对应关系的切换命令。上述切换信号可以是位于切换消息中的校验位之前。
解析上述切换消息,可以获取上述切换信号。根据上述切换信号获取预先存储的电压与电量的第二对应关系可以是在获取上述切换信号后,判断是否存在预先存储的电压与电量的第二对应关系,若存在上述第二对应关系,获取上述第二对应关系。上述预先存储的电压与电量的第二对应关系可以是移动终端预先接收并存储的,也可以是出厂设置的,或者是其他方式存储的等等。
在该实施方式中,解析上述切换消息,获取切换信号,并根据切换信号获取预先存储的电压与电量的第二对应关系,从而将电池当前使用的电压与电量的第一对应关系切换为第二对应关系,并根据第二对应关系确定当前电量值为关机电量,触发移动终端关机,使移动终端在私密性较强或者安全性较高的场所关机,保护信息的私密性,降低安全隐患。
可选的,所述切换消息包括电压与电量的第二对应关系,所述第二对应关系位于所述切换消息中的校验位之前,所述根据所述切换消息获取电压与电量的第二对应关系,包括:
解析所述切换消息,获取所述电压与电量的第二对应关系。
上述切换消息还可以包括电压与电量的第二对应关系,上述第二对应关系可以位于切换消息的校验位之前,解析上述切换消息,可以获取上述第二对应关系。
在该实施方式中,解析上述切换消息获取电压与电量的第二对应关系,从而将电池当前使用的电压与电量的第一对应关系切换为第二对应关系,并
根据第二对应关系确定当前电量值为关机电量,触发移动终端关机,使移动终端在私密性较强或者安全性较高的场所关机,保护信息的私密性,降低安全隐患。
步骤S203、将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系。
其中,上述电池当前使用的电压与电量的第一对应关系可以是移动终端的电池当前使用的电压与电量的对应关系,上述电量可以是电池电量的值或者是当前剩余电池电量占电池满电量的百分比。上述电压可以是电池使用时的输出电压。
上述第二对应关系包括所述电池的关机电量值与所述电池的最高电压值的对应关系可以是第二对应关系中包含将上述电池的最高电压值设置为关机电量值,使终端即使在处于最高电压值时,电量值仍然为触发关机的电量值。
将电池的电压与电量从上述第一对应关系切换为上述第二对应关系可以是在接收到发射装置发送的切换命令后,若移动终端存在上述预先存储的第二对应关系,将第一对应关系切换为第二对应关系。上述从第一对应关系切换为第二对应关系还可以是在接收到发射装置发送的第二对应关系后,将接收到的第二对应关系替换当前使用的第一对应关系。
另外,若移动终端不存在上述预先存储的第二对应关系,在接收到发射装置发射的切换命令后,可以不切换当前的第一对应关系。
在该实施方式中,接收发射装置发送的将第一对应关系切换为第二对应关系的切换信息,能够将当前电池使用的电压与电量对应关系切换为新的电压与电量对应关系,并使用新的电压与电量对应关系确定当前电量值为关机电压,触发移动终端关机,使移动终端在私密性较强或者安全性要求较高的场所关机,保护信息的私密性,降低安全隐患。
可选的,所述将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系,包括:
在电池驱动中将所述电池当前使用的电压与电量的第一对应关系切换
为所述第二对应关系;或者
在电池服务中将所述电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系。
例如:收到切换消息时,根据所述切换消息获取预先存储的电压与电量的第二对应关系,可以在电池驱动中将所述电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系。或者接收到切换消息,在该切换消息中获取所述电压与电量的第二对应关系,可以在电池服务中将所述电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系。其中,电池驱动和电池服务可以参见图3所示的电池管理示意图中的驱动和电池服务(battery service)。
步骤S204、根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关机。
该第二对应关系可以是接收发射装置发送的对应关系或者是移动终端预先存储的对应关系,使用上述第二对应关系确定上述电池的当前电量值可以是使用上述电压与电量的第二对应关系,并根据当前电池的电压值计算当前电量值,若计算的电量值为关机电量值,移动终端关机。
可选的,所述关机,包括:
将所述移动终端切换到预设的关机状态,其中,在所述预设的关机状态下,保持与所述发射装置建立连接的通信模块为工作状态。
上述预设的关机状态可以是移动终端关机,但是仍然保持对与上述发射装置连接的通信模块供电,使该模块仍然保持工作状态,保持与发射装置的连接,并检测发射装置发射的信号。
将移动终端切换到预设的关机状态可以是将移动终端关机但仍然对与上述发射装置连接的通信模块供电,使移动终端保持与发射装置的连接,并检测发射装置发射的信号。
在该实施方式中,将移动终端关机并保持部分模块工作,检测移动终端与发射装置的连接是否中断以及检测是否接收到发射装置发射的信号,使移动终端能够识别当前所处的区域是否为上述特定场所的区域,从而控制移动
终端开机或者关机的状态,保护信息的私密性,减少安全隐患。
步骤S205、若所述通信模块与所述发射装置的连接中断或者所述通信模块无法检测到所述发射装置发送的信号,则开机。
若上述通信模块检测到与上述发射装置的连接中断,或者无法检测到发射装置发送的信号,此时,可以认为是离开了上述特定的场所,不需要再关闭移动终端,则开机。例如,当通信模块检测到与连接的WIFI中断了,则启动开机程序。
可选的,所述若所述通信模块与所述发射装置的连接中断或者所述通信模块无法检测到所述发射装置发送的信号,则开机,包括:
若所述通信模块与所述发射装置的连接中断或者所述通信模块无法检测到所述发射装置发送的信号,将所述第二对应关系切换为所述第一对应关系;
根据所述第一对应关系确定所述电池的当前电量值为开机电量值,并开机。
若上述通信模块与上述发射装置的连接中断或者无法检测到上述发射装置发送的信号时,可以认为离开了上述特定的场所,不需要关闭移动终端,将移动终端电池的电压与电量第二对应关系切换为上述第一对应关系,根据上述第一对应关系计算电池当前的电量值,确定该电量值不为关机电量值,可以为开机电量值,触发移动终端开机。上述开机电量值可以是能够触发移动终端开机的电量值,可以大于关机电量值。
在该实施方式中,将电池的电压与电量的对应关系由第二对应关系切换回第一对应关系,并按照该第一对应关系确定电池的电量值,使移动终端开机,这样,可以控制移动终端只在上述特定的场所关机,离开上述场所后,移动终端自动开机,以控制移动终端及时接收未读信息。
本发明实施例通过对移动终端在特定区域时,对移动终端的电压与电量对应关系进行更换,使移动终端由于电量低关机,当移动终端离开上述特定区域,则移动终端恢复电量,恢复开机状态,这样,控制移动终端在特定区域关机,离开该区域后开机,能够保护信息的私密性,减少安全隐患。
以安卓系统的电池管理为例,安卓系统的电池管理是分层实现的。最下层是硬件与驱动层面;之上在Linux内核中以JNI(Linux内核中的本地代码,以C++编写)通过SYS文件获取和传递电池的各种信息,例如状态,健康程度,容量,电压,温度等;最上层是安卓框架层面的电池服务,主要获取底层的电池事件,及时更改电池显示,报警,执行低电或过热状态下的关机保护等。
如图3,图3为一种电池管理示意图,它们的层级关系可以用图3表示。图4为一种电池管理流程示意图。
同样以安卓系统的电池管理为例,当硬件层面发生事件源,如低电,高温,插拔USB(Universal Serial Bus,通用串行总线),电量发生变化时,产生中断并向上层安卓上报事件,同时,Linux内核层面将当前的电池信息,如工作在USB模式,充电模式,电池模式,当前的电压,电流,温度等通过SYS文件上报给安卓层面,这样,安卓层面就能够根据事件类型以及最新的电池信息作出正确的处理。
所传递的电池信息可以包括如下字段:
#define AC_ONLINE_PATH"/sys/class/power_supply/ac/online"AC电源连接状态
#define USB_ONLINE_PATH"/sys/class/power_supply/usb/online"USB电源连接状态
#define BATTERY_STATUS_PATH"/sys/class/power_supply/battery/status"充电状态
#define BATTERY_HEALTH_PATH"/sys/class/power_supply/battery/health"电池状态
#define BATTERY_PRESENT_PATH"/sys/class/power_supply/battery/present"使用状态
#define BATTERY_CAPACITY_PATH"/sys/class/power_supply/battery/capacity"电池电量
#define BATTERY_VOLTAGE_PATH"/sys/class/power_supply/battery/ba
tt_vol"电池电压
#define BATTERY_TEMPERATURE_PATH"/sys/class/power_supply/battery/batt_temp"电池温度
#define BATTERY_TECHNOLOGY_PATH"/sys/class/power_supply/battery/technology"电池技术
当电池电量值为零时,或者电池温度过高时,上层电池服务会直接启动关机保护。而关于电池电量和电池电压的对应关系可以是驱动中的电压与电量曲线,一般是由移动终端厂商的硬件驱动开发制作。电压与电量的对应关系通常在安卓系统中的电池驱动中以数组的形式保存。
如图5所示,图5为一种电池的电压与电量对应关系示意图。图中的容量百分比可以是当前电量与电池容量的百分比。
图6为两种不同移动终端电池的电压与电量关系曲线示意图。横坐标是电量消耗的百分比,0处表示电量为100%。
由于安卓系统关机通常是根据电量的百分比为0作为触发条件的,所以当驱动中的电压与电量对应关系发生改变,对应的关机电压也会发生改变。通常终端电池的最高使用电压为4.2伏(V),如果将高于4.2伏的电压被设置为电量百分比为0时,电池只要开机启动了安卓系统的电池服务,该服务就会广播电量为零的消息,使安卓系统立即进入低电关机的流程。
上层对于低电关机的判断通常是由电池电量百分比为0对应的电压数字作为阈值(不同终端设置值可能会不同,常常在3.5伏至3.8伏之间),当底层电压到达电量百分比为0的电压时,则启动关机过程。
根据上述电池管理方法,本发明实施例通过在特定区域内临时修改电池的电压与电量对应关系,使特定区域内的移动终端低电关机,且离开该区域后,恢复开机。本发明实施例提供的方法不仅限于安卓系统,也适用于其他的系统。
如图7所示,图7为本发明实施例中所述的方法和装置的基本原理图。
图7中的发射装置可以是WIFI热点装置,蓝牙装置,也可以是NFC射频识别发射装置等。上述发射装置在正常的信号传输过程中,可以每隔固定
间隔,向处于信号覆盖范围内并与之连接的的终端A和终端B传输一次特定的信息,其中,该特定的信息可以是包含电压与电量对应关系的信息或者是触发切换电压与电量对应关系的信息。
以WIFI为例,介绍WIFI在数据传输中向终端发送上述特定的信息,上述特定的信息可以在连接的过程中实现。WIFI连接建立过程如下:
WIFI连接建立过程如下:
STA------------>Probe Request---------------->AP//广播自身数据
STA<------------Probe Response<-------------AP
STA------------>Authentication Request-------->AP//认证Auth类型,开放系统,共享密钥等
STA------------>Authentication Response------>AP
STA------------->Association Request------------>AP//请求与AP建立关联,从而可以进行数据交互
STA<------------Association Response<------------AP
WIFI热点向处于覆盖范围内的移动终端发送广播,终端回应后,WIFI热点进一步将自身鉴权类型发送给终端,启动鉴权,鉴权成功后进一步发起连接请求,建立数据连接,并向移动终端发送上述特定信息。
如图8所示,图8为一种WIFI热点的信令结构示意图,该结构中包含了序列控制项(frame control),持续时间标识(duration ID),目的地址(destination address),资源地址(source address),服务集标识(BSSID),顺序控制字段(seq-ctl),服务集标识,支持速率(support rate),扩展支持速率(extended support rate),校验位(FCS)。可以看出,其中并没有可以进一步加以利用的保留位,在本发明实施例中,可以在最后的校验位之前加入本发明实施例所述的第二电压与电量对应关系的数据,或者控制移动终端进行第一对应关系和第二对应关系切换的特定信号。
同样也可以在认证的过程中加入本发明实施例中所添加的信息,WIFI热点向终端发送的认证信令如图9所示,图9是另一种WIFI热点的信令结构示意图,序列控制项(frame control),持续时间标识(duration ID),目
的地址(destination address),资源地址(source address),服务集标识(BSSID),顺序控制字段(seq-ctl),身份验证算法编号(auth algorithm number),身份验证(auth transaction sequence No.),状态码(status code),质疑文字(challenge text),校验位(FCS)。由图可知,其中的数据位也都有特定的用途,因此同上可以在校验位之前加入新的字段,用来传输本发明实施例提出的所述的第二电压与电量对应关系的数据,或者控制移动终端进行第一对应关系和第二对应关系切换的特定信息。
若上述发射装置为NFC射频识别装置,可以在移动终端靠近NFC装置,进行识别时,进行数据传输,向移动终端发送上述特定信息。
如图10所示,图10为本发明实施例提供的一种移动终端关机的方法的举例。
该方法包括以下步骤:
步骤1001、检测是否存在信号发射的信号源,该信号源可以是蓝牙、WIFI、NFC等发射装置发送的。
步骤1002、检测接收到的信号中是否包含切换电压与电量对应关系的特定触发信息。
如果搜索到相关的信号源后,对其进行逐个轮询,检查接收到的信号中是否包含切换当前电池使用的电压与电量对应关系的的信息。
步骤1003、若接收到上述信息,判断电池中除当前电压与电量的第一对应关系外是否还存在用于切换的第二对应关系,若存在上述第二对应关系,可以在电池驱动中将当前电量与电压的第一对应关系切换为第二对应关系;若不存在上述第二对应关系,则不切换电压与电量对应关系。
步骤1004、终端根据上述第二对应关系和电压值,确定当前电量为关机电量。
步骤1005、终端启动低电关机。在移动终端关机后,与普通关机不同的是,本发明实施例所述的由于电压与电量对应关系改变而导致低电关机后,终端仍然保持对于发射装置连接部分的模块供电,使之保持对上述连接的检测以及对信号的检测。
步骤1006、若检测到断开连接或者不能检测到信号,此时移动终端可能离开上述信号覆盖区域,终端恢复原有的电压与电量第一对应关系,按照上述电压与电量第一对应关系重新确定电量不为关机电量后,触发开机。
另外,在发射装置信号覆盖范围之外的移动终端,由于无法接收到上述包含切换电压与电量对应关系消息和电压与电量对应关系的特定信息,电量不受到影响。
本发明实施例也可以在检测到离开上述发射装置信号覆盖区域后,触发移动终端自动开机,恢复终端原有默认的电量管理方式,使用原有的电压电量关系曲线确定电量。上述离开发射装置信号覆盖区域可以是检测不到上述发射装置发出的信号或者是检测到与之断开连接时,为离开上述区域。
这样通过接收外部信号控制终端电量,使终端在特定区域内无法开机使用,达到保护信息私密性或者减少安全隐患的目的。
如图11所示,图11为本发明实施例提供的另一种移动终端关机的方法的举例,该方法包括以下步骤:
步骤1101、检测是否存在发射信号发射的信号源,该信号源可以是蓝牙、WIFI、NFC等发射装置发送的。
步骤1102、检测接收到的信号中是否包含电压与电量对应关系的信息。
如果搜索到相关的信号源后,对其进行逐个轮询,检测接收到的信号中是否包含电压与电量对应关系的信息。
步骤1103、移动终端接收到该信息后,将接收到的电压与电量对应关系传送给上层的电池服务,电池服务根据底层上报的电压,按照该电压与电量对应关系计算当前电量值,替换底层驱动上报的电池电量值。
步骤1104、终端根据上述接收到的电压与电量对应关系和上报的电压值,确定当前电量为关机电量。
步骤1105、终端启动低电关机。在移动终端关机后,与普通关机不同的是,本发明实施例所述的由于电压与电量对应关系改变而导致低电关机后,终端仍然保持对于发射装置连接部分的模块供电,使之保持对上述连接的检测以及对信号的检测。
步骤1106、若检测到断开连接或者不能检测到信号,此时移动终端可能离开上述信号覆盖区域,终端恢复原有的电压与电量第一对应关系,按照上述电压与电量第一对应关系重新确定电量不为关机电量后,触发开机。
另外,在发射装置信号覆盖范围之外的移动终端,由于无法接收到上述包含切换电压与电量对应关系消息和电压与电量对应关系的特定信息,电量不受到影响。
本发明实施例通过切换电池的电压与电量对应关系来达到改变电池当前电量的目的,从而控制移动终端关机,相比已有通过在特定区域干扰通讯信号的方式,本发明实施例将移动终端关机的方式更加安全,更好地保护信息的私密性。
如图12所示,图12为本发明实施例提供的一种移动终端关机装置1200,移动终端关机装置1200包括:接收模块1201、获取模块1202,切换模块1203,关机模块1204,其中:
接收模块1201,设置为接收发射装置发送的切换消息;
获取模块1202,设置为根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括电池的关机电量值与所述电池的最高电压值的对应关系;
切换模块1203,设置为将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;
关机模块1204,设置为根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关机。
可选的,所述接收模块1201设置为接收发射装置周期性地发送的切换消息。
可选的,如图13所示,所述切换消息包括切换信号,所述切换信号位于所述切换消息中的校验位之前,所述获取模块1202包括:
解析单元12021,设置为解析所述切换消息,获取切换信号;
获取单元12022,设置为根据所述切换信号获取预先存储的电压与电量的第二对应关系。
可选的,所述切换消息包括电压与电量的第二对应关系,所述第二对应关系位于所述切换消息中的校验位之前,所述获取模块1202设置为解析所述切换消息,获取所述电压与电量的第二对应关系。
可选的,所述关机模块1204设置为将所述移动终端切换到预设的关机状态,其中,在所述预设的关机状态下,保持与所述发射装置建立连接的通信模块为工作状态。
可选的,如图14所示,移动终端关机装置1200还包括:
开机模块1205,设置为若所述通信模块与所述发射装置的连接中断或者所述通信模块无法检测到所述发射装置发送的信号,则开机。
可选的,如图15所示,所述开机模块1205,包括:
切换单元12051,设置为若所述通信模块与所述发射装置的连接中断或者所述通信模块无法检测到所述发射装置发送的信号,将所述第二对应关系切换为所述第一对应关系;
开机单元12052,设置为根据所述第一对应关系确定所述电池的当前电量值为开机电量值,并开机。
可选的,切换模块1203设置为在电池驱动中将所述电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;或者
切换模块1203设置为在电池服务中将所述电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系。
移动终端关机装置1200能够实现图1至图2对应的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。移动终端关机装置1200能够防止信息泄露,减少安全隐患。
如图16所示,图16为本发明实施例提供的一种移动终端关机系统,移动终端关机系统包括:发射装置1601,移动终端1602,其中:
发射装置1601,设置为向所述移动终端发送切换消息;
所述移动终端1602,设置为根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括所述电池的关机电量值与所述电池的最高电压值的对应关系;
所述移动终端1602还设置为将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;
所述移动终端1602还设置为根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关机。
移动终端关机系统1600能够实现移动终端关机装置1200实现的各个过程,移动终端关机系统1600能够将移动终端关闭,防止信息泄露,保护信息的私密性,减少安全隐患。
如图17所示,图17为本发明实施例提供的另一种装置的模块示意图。
图中的发射装置可以是蓝牙、WIFI、NFC等无线装置。
在移动终端包含与上述发射装置连接的通信连接模块1701,数据鉴权模块1702,电池管理模块1703。上述电池管理模块以安卓系统为例,可以分为电池驱动、内核框架以及上层电池管理API(应用程序编程接口)三层。
当发射装置发射触发电池的电压与电量对应关系切换的信息或者直接发送新的电压与电量对应关系的信息时,终端通信连接模块1701接收上述信息,并将其转发数据鉴权模块1702进行鉴权,如果鉴权通过,则数据鉴权模块1702将上述信息转发给电池管理模块1703。
当上述信息中只包含了切换电压与电量对应关系的指令时,数据鉴权模块1702将其转发给电池管理模块底层的电池驱动17033,指示电池驱动17033进行电压与电量对应关系的切换。当上述信息中包含电压与电量对应关系的数据时,则将其转发给上层的电池服务17031,使之使用新的电压与电量对应关系计算电池的电量百分比值,并广播出去,从而达到在特定区域中临时修改电池电量的百分比的目的。
本领域普通技术人员可以理解实现上述实施例方法的全部或者部分步骤是可以通过程序指令相关的硬件来完成,所述的程序可以存储于一计算机可读取介质中,该程序在执行时,包括以下步骤:
接收发射装置发送的切换消息;
根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括电池的关机电量值与所述电池的最高电压值的对应关系;
将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;
根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关机。
可选的,所述接收发射装置发送的切换消息包括:
接收发射装置周期性地发送的切换消息。
可选的,所述切换消息包括切换信号,所述切换信号位于所述切换消息中的校验位之前,所述根据所述切换消息获取电压与电量的第二对应关系,包括:
解析所述切换消息,获取切换信号;
根据所述切换信号获取预先存储的电压与电量的第二对应关系。
可选的,所述切换消息包括电压与电量的第二对应关系,所述第二对应关系位于所述切换消息中的校验位之前,所述根据所述切换消息获取电压与电量的第二对应关系,包括:
解析所述切换消息,获取所述电压与电量的第二对应关系。
可选的,所述关机,包括:
将所述移动终端切换到预设的关机状态,其中,在所述预设的关机状态下,保持与所述发射装置建立连接的通信模块为工作状态。
可选的,该程序在执行时,在所述将所述移动终端切换到预设的关机状态之后,所述方法还包括:
若所述通信模块与所述发射装置的连接中断或者所述通信模块无法检测到所述发射装置发送的信号,则开机。
可选的,所述若所述通信模块与所述发射装置的连接中断或者所述通信模块无法检测到所述发射装置发送的信号,则开机,包括:
若所述通信模块与所述发射装置的连接中断或者所述通信模块无法检测到所述发射装置发送的信号,将所述第二对应关系切换为所述第一对应关系;
根据所述第一对应关系确定所述电池的当前电量值为开机电量值,并开机。
可选的,所述将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系,包括:
在电池驱动中将所述电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;或者
在电池服务中将所述电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系。
所述的存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
以上所述是本发明的实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。
通过本发明实施例,在一些私密性较强的场所或者安全性要求较高的场所,通过切换电压与电量的对应关系,使移动终端低电关机,能够防止信息泄露,减少安全隐患。
Claims (17)
- 一种移动终端关机的方法,包括:接收发射装置发送的切换消息;根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括电池的关机电量值与所述电池的最高电压值的对应关系;将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关机。
- 如权利要求1所述的方法,其中,所述接收发射装置发送的切换消息包括:接收发射装置周期性地发送的切换消息。
- 如权利要求1或2所述的方法,其中,所述切换消息包括切换信号,所述切换信号位于所述切换消息中的校验位之前,所述根据所述切换消息获取电压与电量的第二对应关系,包括:解析所述切换消息,获取切换信号;根据所述切换信号获取预先存储的电压与电量的第二对应关系。
- 如权利要求1或2所述的方法,其中,所述切换消息包括电压与电量的第二对应关系,所述第二对应关系位于所述切换消息中的校验位之前,所述根据所述切换消息获取电压与电量的第二对应关系,包括:解析所述切换消息,获取所述电压与电量的第二对应关系。
- 如权利要求1或2所述的方法,其中,所述关机,包括:将所述移动终端切换到预设的关机状态,其中,在所述预设的关机状态下,保持与所述发射装置建立连接的通信模块为工作状态。
- 如权利要求5所述的方法,其中,在所述将所述移动终端切换到预设的关机状态之后,所述方法还包括:若所述通信模块与所述发射装置的连接中断或者所述通信模块无法检 测到所述发射装置发送的信号,则开机。
- 如权利要求6所述的方法,其中,所述若所述通信模块与所述发射装置的连接中断或者所述通信模块无法检测到所述发射装置发送的信号,则开机,包括:若所述通信模块与所述发射装置的连接中断或者所述通信模块无法检测到所述发射装置发送的信号,将所述第二对应关系切换为所述第一对应关系;根据所述第一对应关系确定所述电池的当前电量值为开机电量值,并开机。
- 如权利要求1或2所述的方法,其中,所述将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系,包括:在电池驱动中将所述电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;或者在电池服务中将所述电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系。
- 一种移动终端关机的装置,包括:接收模块,设置为接收发射装置发送的切换消息;获取模块,设置为根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括电池的关机电量值与所述电池的最高电压值的对应关系;切换模块,设置为将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;关机模块,设置为根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关机。
- 如权利要求9所述的装置,其中,所述接收模块设置为接收发射装置周期性地发送的切换消息。
- 如权利要求9或10所述的装置,其中,所述切换消息包括切换信 号,所述切换信号位于所述切换消息中的校验位之前,所述获取模块包括:解析单元,设置为解析所述切换消息,获取切换信号;获取单元,设置为根据所述切换信号获取预先存储的电压与电量的第二对应关系。
- 如权利要求9或10所述的装置,其中,所述切换消息包括电压与电量的第二对应关系,所述第二对应关系位于所述切换消息中的校验位之前,所述获取模块设置为解析所述切换消息,获取所述电压与电量的第二对应关系。
- 如权利要求9或10所述的装置,其中,所述关机模块设置为将所述移动终端切换到预设的关机状态,其中,在所述预设的关机状态下,保持与所述发射装置建立连接的通信模块为工作状态。
- 如权利要求13所述的装置,所述装置还包括:开机模块,设置为若所述通信模块与所述发射装置的连接中断或者所述通信模块无法检测到所述发射装置发送的信号,则开机。
- 如权利要求14所述的装置,其中,所述开机模块,包括:切换单元,设置为若所述通信模块与所述发射装置的连接中断或者所述通信模块无法检测到所述发射装置发送的信号,将所述第二对应关系切换为所述第一对应关系;开机单元,设置为根据所述第一对应关系确定所述电池的当前电量值为开机电量值,并开机。
- 如权利要求9或10所述的装置,其中,所述切换模块设置为在电池驱动中将所述电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;或者所述切换模块设置为在电池服务中将所述电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系。
- 一种移动终端关机的系统,包括:发射装置,设置为向所述移动终端发送切换消息;所述移动终端,设置为根据所述切换消息获取电压与电量的第二对应关系,所述第二对应关系包括电池的关机电量值与所述电池的最高电压值的对应关系;所述移动终端还设置为将电池当前使用的电压与电量的第一对应关系切换为所述第二对应关系;所述移动终端还设置为根据所述第二对应关系确定所述电池的当前电量值为关机电量值,并关机。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610815579.6 | 2016-09-08 | ||
CN201610815579.6A CN107809519B (zh) | 2016-09-08 | 2016-09-08 | 一种移动终端关机的方法、装置和系统 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018045715A1 true WO2018045715A1 (zh) | 2018-03-15 |
Family
ID=61561694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2017/072974 WO2018045715A1 (zh) | 2016-09-08 | 2017-02-06 | 一种移动终端关机的方法、装置和系统 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107809519B (zh) |
WO (1) | WO2018045715A1 (zh) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101707736A (zh) * | 2009-11-13 | 2010-05-12 | 中兴通讯股份有限公司 | 基于gps的在禁止使用区域实现自动关机的系统和方法 |
CN103402026A (zh) * | 2013-07-25 | 2013-11-20 | Tcl通讯(宁波)有限公司 | 移动终端闲置模式的处理方法及移动终端 |
US20130308520A1 (en) * | 2012-05-18 | 2013-11-21 | Qualcomm Incorporated | Battery power reporting for ue relays |
CN103516873A (zh) * | 2012-06-25 | 2014-01-15 | 联想(北京)有限公司 | 一种信息处理方法及一种电子设备 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2965007B2 (ja) * | 1997-08-11 | 1999-10-18 | 日本電気株式会社 | 携帯電話システム |
CN201263176Y (zh) * | 2008-09-08 | 2009-06-24 | 厦门盛华电子科技有限公司 | 一种用于强制手机关机的实现装置 |
CN101969510A (zh) * | 2010-10-29 | 2011-02-09 | 东莞宇龙通信科技有限公司 | 自动调节手机状态的方法、设备及系统 |
CN103905645B (zh) * | 2014-03-28 | 2018-05-08 | 努比亚技术有限公司 | 移动终端及其关机方法 |
CN105653002B (zh) * | 2014-11-14 | 2019-04-12 | 东莞宇龙通信科技有限公司 | 电池电量的显示方法、装置和电子设备 |
-
2016
- 2016-09-08 CN CN201610815579.6A patent/CN107809519B/zh active Active
-
2017
- 2017-02-06 WO PCT/CN2017/072974 patent/WO2018045715A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101707736A (zh) * | 2009-11-13 | 2010-05-12 | 中兴通讯股份有限公司 | 基于gps的在禁止使用区域实现自动关机的系统和方法 |
US20130308520A1 (en) * | 2012-05-18 | 2013-11-21 | Qualcomm Incorporated | Battery power reporting for ue relays |
CN103516873A (zh) * | 2012-06-25 | 2014-01-15 | 联想(北京)有限公司 | 一种信息处理方法及一种电子设备 |
CN103402026A (zh) * | 2013-07-25 | 2013-11-20 | Tcl通讯(宁波)有限公司 | 移动终端闲置模式的处理方法及移动终端 |
Also Published As
Publication number | Publication date |
---|---|
CN107809519B (zh) | 2021-11-26 |
CN107809519A (zh) | 2018-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110557777B (zh) | 网络连接的控制方法、终端及存储介质 | |
EP3873004B1 (en) | Method for establishing classic bluetooth connection between dual-mode bluetooth devices, and dual-mode bluetooth device | |
EP3836642B1 (en) | Proximity communication method and apparatus | |
CN110636593B (zh) | 连接模式的控制方法、终端及存储介质 | |
JP5973594B2 (ja) | デバイス起動方法及び装置 | |
US11895364B2 (en) | Bluetooth connection method and television | |
RU2608539C2 (ru) | Устройство связи, способ управления устройством связи, система связи и носитель данных | |
CN105373713B (zh) | 车载终端唤醒方法、车载终端及车辆 | |
EP2765483B1 (en) | Method and device for controlling shutdown of terminal | |
CN108496403B (zh) | 一种工作模式的切换方法及用户设备 | |
CN110677869B (zh) | 网络连接的控制方法、终端及存储介质 | |
US20140185511A1 (en) | Mobile terminal and power saving method thereof | |
US20140219148A1 (en) | Method and Apparatus for Waking Up a Device | |
US20230189291A1 (en) | Method for monitoring physical downlink control channel, and device | |
JP2017515324A (ja) | 無線apのためのエネルギー節約方法およびウェイクアップ方法、並びに関連デバイスおよびシステム | |
KR102186552B1 (ko) | 통신 모듈 제어를 위한 장치 및 방법 | |
US11818789B2 (en) | Communication equipment, control method, program, and communication system | |
JP5792753B2 (ja) | 通信装置および通信装置動作状態移行方法 | |
WO2018045715A1 (zh) | 一种移动终端关机的方法、装置和系统 | |
US20140357266A1 (en) | Using application feedback to optimize plmn search | |
CN109983422B (zh) | 用于管理电器的电力消耗的系统 | |
US20240147426A1 (en) | Paging method and apparatus, and communication device | |
JP2008042661A (ja) | 基地局及び基地局制御方法 | |
BR112016028258B1 (pt) | Método e sistema para controlar um dispositivo inteligente vestível, e dispositivo terminal | |
KR20110008802A (ko) | 전원 자원을 절약하는 멀티밴드 멀티모드 단말 및 이를 위한 방법 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 17847891 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 17847891 Country of ref document: EP Kind code of ref document: A1 |