WO2021239144A1 - Positioning method and related apparatus - Google Patents

Positioning method and related apparatus Download PDF

Info

Publication number
WO2021239144A1
WO2021239144A1 PCT/CN2021/097044 CN2021097044W WO2021239144A1 WO 2021239144 A1 WO2021239144 A1 WO 2021239144A1 CN 2021097044 W CN2021097044 W CN 2021097044W WO 2021239144 A1 WO2021239144 A1 WO 2021239144A1
Authority
WO
WIPO (PCT)
Prior art keywords
chip
positioning
electronic device
processor
antenna
Prior art date
Application number
PCT/CN2021/097044
Other languages
French (fr)
Chinese (zh)
Inventor
朱欣
张文铿
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021239144A1 publication Critical patent/WO2021239144A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Definitions

  • This application relates to the field of electronic technology, and in particular to a positioning method and related devices.
  • the electronic device can send its own location information to the cloud server.
  • the user can access the cloud server through another electronic device to obtain the location information of the lost electronic device, so as to retrieve the lost electronic device.
  • the lost electronic device if the lost electronic device is in the shutdown state, the electronic device cannot be located after it is lost, nor can it send its own location information to the cloud server. In this way, it is not conducive for the user to obtain the location information of the electronic device.
  • This application discloses a positioning method and related devices, which can improve the accuracy and measurement efficiency of PPG signal measurement.
  • an embodiment of the present application provides a positioning system
  • the positioning system includes a processor, an IoT chip, an antenna, and a positioning chip, wherein: the connection between the processor and the antenna is conducted through an antenna switch, and the processing The connection between the device and the positioning chip is conducted through a chip switch; the antenna switch is also connected to the IoT chip, and the chip switch is also connected to the IoT chip; the positioning chip is used for positioning to obtain the first positioning Information; the processor is used to obtain the first positioning information from the positioning chip and send the first positioning information through the antenna; the processor is also used to control the antenna switch in response to a user operation for shutting down
  • the connection between the Internet of Things chip and the antenna is turned on, and the chip switch is controlled to turn on the connection between the Internet of Things chip and the positioning chip; the positioning chip is used for positioning to obtain second positioning information;
  • the Internet of Things chip is configured to obtain the second positioning information from the positioning chip through the connection with the positioning chip, and send the second positioning information through the connection with the antenna.
  • the first aspect of implementation provides a positioning system. Even if the device containing the positioning system is turned off, the IoT chip can still send the positioning information to the cloud server through the antenna to inform the user. When the device containing the positioning system is in the power-on state, the positioning system can also use the processor to send the positioning information to the cloud server through the antenna. In this way, the situation that the positioning information cannot be obtained after the device is lost is reduced, and the accuracy and convenience of positioning are improved.
  • the positioning system further includes a battery, the battery is connected to a power switch, the power switch is connected to the Internet of Things chip; the processor is also used to respond to the user for shutting down In operation, the power switch is controlled to conduct the connection between the Internet of Things chip and the battery.
  • the battery can be used to power the IoT chip.
  • the processor can control the power switch to connect the battery and the Internet of Things chip before sleeping, so that the Internet of Things chip is still working when the electronic device is turned off.
  • the processor can also control the antenna switch to disconnect the connection between the processor and the antenna before sleeping, and control the antenna switch to turn on the connection between the IoT chip and the antenna.
  • the IoT chip can instruct the positioning chip (such as a Bluetooth module, GPS, Wi-Fi module or Beidou positioning chip) to perform positioning, and send positioning information through the antenna.
  • the shutdown instruction received by the processor may be a received user operation for shutdown (for example, a long press of the power button), or it may be detected that the power of the battery is lower than a set threshold.
  • the positioning system further includes a crystal oscillator system connected to the processor and connected to the IoT chip, wherein: the crystal oscillator system is used to provide the IoT chip Clock signal, and provide a clock signal for the processor.
  • the crystal oscillator system is connected to the processor through the power supply chip, and is connected to the Internet of Things chip through the power supply chip.
  • the power chip can also include a frequency divider circuit, which can divide the clock signal output by the crystal oscillator to obtain clock signals of different frequencies. For example, the power chip divides the clock signal output by the crystal oscillator with a frequency of f1 to obtain a working clock signal with a frequency of f2 and a sleep clock signal with a frequency of f3.
  • the working clock signal and the dormant clock signal are respectively output to the IoT chip.
  • the working clock signal is used to provide a reference when the Internet of Things chip is working (for example, when sending positioning information through an antenna), so that each module works in a unified step.
  • the frequency of the working clock signal is, for example, 38 MHz.
  • the dormant clock signal can be continuously output to the IoT chip or processor in the shutdown state, used to maintain the continuity of time in the electronic device, and also used to provide a reference for each module when the working clock signal is not required.
  • the frequency of the sleep clock signal is, for example, 32.768KHz.
  • the clock signal of frequency f1 output by the crystal oscillator system is frequency-divided by the power chip, which can also provide a clock signal for the processor.
  • the positioning system further includes a crystal oscillator system and a power chip
  • the power switch is connected to the power chip
  • the power chip is connected to the Internet of Things chip
  • the power chip is also connected to the crystal oscillator system
  • the processor is specifically configured to control the power switch to turn on the connection between the power chip and the battery in response to the user operation for shutting down, so that the battery supplies power to the Internet of Things chip through the power chip , And supply power to the crystal oscillator system; the crystal oscillator system is used to provide a clock signal for the IoT chip.
  • the positioning system may send the first positioning information/second positioning information to the cloud server, and the cloud server forwards it to the second electronic device.
  • the positioning system may also send the first positioning information/second positioning information to the second electronic device.
  • the positioning system sends the positioning information to the cloud server
  • the cloud server may store the association relationship between the device information of the first electronic device (including the positioning system) and the first account.
  • the processor in the first electronic device can instruct the positioning chip to perform positioning, and send the first positioning information to the cloud server through the antenna to achieve positioning.
  • the IoT chip in the first electronic device can instruct the positioning chip to perform positioning, and send positioning information to the cloud server through the antenna to achieve positioning.
  • the positioning system sends the positioning information to the second electronic device
  • a short-range wireless connection can be established between the first electronic device and the second electronic device, such as a Wi-Fi direct connection or a Bluetooth connection.
  • the first electronic device can send positioning information to the second electronic device through the short-range wireless connection.
  • both the second electronic device and the first electronic device may log in to the first account.
  • the cloud server may store the association relationship between the device information of the first electronic device and the first account.
  • the second electronic device can obtain the device information of the first electronic device through the cloud server, and establish a short-distance wireless connection with the first electronic device.
  • the second electronic device may send an instruction for obtaining positioning information to the first electronic device through a short-range wireless connection.
  • the processor in the first electronic device obtains positioning information, and sends the positioning information to the second electronic device through the short-range wireless connection via the antenna.
  • the IoT chip in the first electronic device can obtain positioning information, and send the positioning information to the second electronic device through the short-distance wireless connection via the antenna.
  • the IoT chip in the first electronic device can still be in working state, and real-time positioning information can be obtained from the positioning chip, and sent to the cloud server via the antenna to achieve positioning. In this way, the situation that the user cannot obtain the real-time positioning information of the lost device when the lost device is shut down is reduced, and the convenience of device positioning is improved.
  • the processor may only obtain the positioning information (for example, the first positioning information, the second positioning information) from the positioning chip in response to receiving a request for obtaining positioning information (for example, the second request).
  • the processor may also periodically obtain positioning information from the positioning chip and send it out.
  • the connection between the battery and the processor is still conductive.
  • the processor and the IoT chip may both be in working state. If the connection between the battery and the processor is turned on and the processor is working on the dormant clock signal, the processor can also enter the dormant state. When receiving a user operation for booting, the processor enters the booting state from the dormant state.
  • the power switch can be controlled by the processor to disconnect the connection between the battery and the processor. After the connection between the battery and the processor is disconnected, the processor can enter a sleep state.
  • the processor is specifically configured to perform the following operations in response to a user operation for shutting down: controlling the antenna switch to turn on the connection between the IoT chip and the antenna, And disconnect the connection between the processor and the antenna; control the chip switch to conduct the connection between the IoT chip and the positioning chip, and disconnect the connection between the processor and the positioning chip .
  • the IoT chip is also used to control the antenna switch to turn on the connection between the processor and the antenna in response to a user operation for booting, and to control the chip switch
  • the connection between the processor and the positioning chip is conducted; the positioning chip is used for positioning to obtain third positioning information; the processor is used for obtaining third positioning information from the positioning chip through the connection with the positioning chip And send the third positioning information through the connection with the antenna.
  • the processor in the positioning system of the first electronic device can be in the working state again, and real-time positioning information can be obtained from the positioning chip.
  • the antenna is sent to the cloud server to achieve positioning, which improves the accuracy and convenience of positioning.
  • the processor is also connected to the IoT chip; the processor is also used to store the security authentication information of the user identification module SIM, and perform authentication according to the security authentication information of the SIM, If the authentication is passed, the cellular network is accessed; the cellular network is used to send the first positioning information; the processor is also used to send the security authentication information of the SIM to the Internet of Things chip; the Internet of Things chip is also used to The security authentication information of the SIM is authenticated, and if the authentication is passed, the Internet of Things network is accessed, and the Internet of Things network is used to send the second positioning information.
  • the IoT chip can be connected to the processor through any one or more of the following interfaces: UART/SPI/I2C/GPIO.
  • the processor can transmit the latest positioning information, the startup file of the positioning chip, etc. to the IoT chip through the above-mentioned wired connection before going to sleep.
  • the memory provided by the processor may include a security unit, and the security unit may store eSIM information.
  • the eSIM information can be used to provide operator authentication for the electronic device to access the cellular network, and if the authentication is passed, the electronic device can access the cellular network.
  • the Internet of Things chip can obtain eSIM information stored in the security unit, and the Internet of Things chip can use the eSIM information to perform operator authentication and access the cellular network or the Internet of Things network in the shutdown state.
  • the positioning chip may include one or more of the following: Bluetooth module, GPS, Wi-Fi chip and Beidou positioning chip.
  • the Bluetooth, GPS, and Wi-Fi chips receive electromagnetic waves via the antenna, frequency modulate and filter the electromagnetic wave signals, and send the processed signals to the processor.
  • the Bluetooth, GPS, and Wi-Fi chips can also receive the signal to be sent from the processor, perform frequency modulation, amplify, and radiate electromagnetic waves through the antenna.
  • the IoT chip includes the following states: a activated state; b standby state; c deep sleep state. in:
  • the IoT chip is specifically configured to periodically obtain the second positioning information from the positioning chip and send the second positioning information to the cloud server.
  • the second electronic device may directly obtain the positioning information of the first electronic device from the cloud server.
  • the IoT chip is specifically configured to, in response to receiving a request (for example, a second request) for obtaining positioning information, obtain the second positioning information from the positioning chip and send the second positioning information .
  • a request for example, a second request
  • the IoT chip in the standby state, may also periodically obtain the second positioning information from the positioning chip and send the second positioning information.
  • the cycle may be greater than the cycle of sending positioning information in the active state.
  • the IoT chip In the deep sleep state, the IoT chip is specifically used to be in a sleep state.
  • the IoT chip can be in a dormant state under the action of a dormant clock signal.
  • the IoT chip In the deep sleep state, the IoT chip can periodically wake up to the working state (the clock signal is switched to the working clock signal), and obtain real-time positioning information and send it to the cloud server. Or, when the IoT chip receives the second request, it wakes up and obtains the positioning information and sends it to the cloud server.
  • the IoT chip is also used to be in the activated state when the remaining battery power is greater than or equal to the first set threshold; the IoT chip is also used when the battery remaining When the power is greater than or equal to the first set threshold, it is in the activated state; the IoT chip is also used to switch from the activated state when the remaining battery power is greater than or equal to the second set threshold and less than the first set threshold Switch to the standby state; the Internet of Things chip is also used to switch from the standby state to the deep sleep state when the remaining battery power is less than the second set threshold.
  • the IoT chip when the second request is not received, the IoT chip may be in a standby state or a deep sleep state. For example, first the IoT chip is in the standby state, and the second request is not received within the first set time, then the IoT chip enters the deep sleep state. When the second request is received through the antenna, the second request is used to obtain the positioning information of the first electronic device, and the IoT chip can enter the activated state. When the second request is not received for the second set time, the IoT chip may enter the standby state. When the duration of the standby state is greater than or equal to the first set time, the IoT chip may enter a deep sleep state.
  • the IoT chip may be in a standby state or a deep sleep state when it does not receive a request for obtaining positioning information, so as to save power consumption. In this way, the battery life of the electronic device can be increased without affecting the reporting of positioning information.
  • the remaining power setting threshold of the battery is, for example, 8%, which is higher than 3% in a normal scenario.
  • the first electronic device may send positioning information through other networks. In this way, the first electronic device can select a network with good signal quality from the cellular network signal, the Internet of Things signal, the Beidou positioning signal, and the Bluetooth signal, and send the positioning information.
  • the processor may obtain positioning information from the positioning chip, and send the positioning information to the cloud server through the cellular network.
  • the processor can control the power switch to turn on the battery and the IoT chip, and control the antenna switch to connect the IoT chip and the antenna Turn on, control the chip switch to turn on the connection between the Internet of Things chip and the positioning chip, and realize positioning through the Internet of Things chip using the Internet of Things network.
  • the processor can also send the positioning information to the cloud server through the antenna connected to the Beidou positioning chip (ie, the Beidou antenna).
  • the Beidou positioning chip ie, the Beidou antenna
  • the processor can send a Bluetooth broadcast carrying positioning information through the Bluetooth module and antenna, and the periphery of the first electronic device receives the Bluetooth broadcast The device of the device sends the positioning information to the cloud server.
  • the Internet of Things chip supports the Internet of Things network and also supports the cellular network.
  • the first electronic device may send positioning information through other networks. In this way, in the off state, the first electronic device can select a network with good signal quality from the cellular network signal, the Internet of Things signal, the Beidou positioning signal, and the Bluetooth signal, and send the positioning information.
  • the first electronic device when the first electronic device is turned off or the signal quality of the cellular network is poor, the first electronic device can still obtain positioning information through the IoT chip, and send the positioning information to the cloud server, and the cloud server will send the positioning information Send to the second electronic device. In this way, the situation that positioning information cannot be obtained due to shutdown or low signal quality after the first electronic device is lost is reduced, and the convenience of positioning is improved.
  • an embodiment of the present application provides a positioning method, which is applied to an electronic device.
  • the electronic device includes a processor, an Internet of Things chip, an antenna, and a positioning chip.
  • the method includes: the processor and the positioning chip in the electronic device.
  • the connection between the antennas is conducted through an antenna switch, and the connection between the processor and the positioning chip is conducted through a chip switch; wherein, the antenna switch is also connected to the Internet of Things chip, and the chip switch is also connected to the Internet of Things chip.
  • the electronic device performs positioning through the positioning chip to obtain first positioning information; the electronic device obtains the first positioning information from the positioning chip through the processor, and transmits the first positioning information through the antenna; the electronic device Receive a user operation for shutdown; in response to the user operation for shutdown, the electronic device controls the antenna switch through the processor to turn on the connection between the IoT chip and the antenna, and controls the chip switch to The connection between the IoT chip and the positioning chip is conducted; the electronic device is positioned by the positioning chip to obtain second positioning information; the electronic device obtains the second positioning information from the positioning chip through the IoT chip, and The second positioning information is sent through the antenna.
  • the electronic device is the first electronic device in the embodiment of the application.
  • the electronic device can still use the IoT chip to send the location information to the cloud server to inform the user.
  • the electronic device can also use the processor to send the positioning information to the cloud server through the antenna. In this way, the situation that the positioning information cannot be obtained after the device is lost is reduced, and the accuracy and convenience of positioning are improved.
  • the electronic device further includes a battery, the battery is connected to a power switch, and the power switch is connected to the Internet of Things chip; after the electronic device receives a user operation for shutting down, the method also The method includes: in response to the user operation for shutting down, the electronic device controls the power switch through the processor to turn on the connection between the Internet of Things chip and the battery.
  • the electronic device further includes a crystal oscillator system connected to the processor and connected to the IoT chip, and the crystal oscillator system is used to provide a clock signal for the IoT chip, And provide a clock signal for the processor.
  • the electronic device further includes a crystal oscillator system and a power chip, the power switch is connected to the power chip, the power chip is connected to the Internet of Things chip, and the power chip is also connected to the crystal oscillator system
  • the electronic device controls the power switch through the processor to conduct the connection between the IoT chip and the battery, including: the electronic device controls the power switch through the processor to control the power switch between the power chip and the battery
  • the connection is turned on, so that the battery supplies power to the Internet of Things chip through the power chip and powers the crystal oscillator system; the crystal oscillator system is used to provide a clock signal for the Internet of Things chip.
  • the electronic device controls the antenna switch through the processor to turn on the connection between the IoT chip and the antenna, and controls the chip switch to connect the IoT chip to the positioning chip
  • the conducting of the connection includes: the electronic device controls the antenna switch through the processor to conduct the connection between the Internet of Things chip and the antenna, and disconnect the connection between the processor and the antenna; The electronic device controls the chip switch through the processor to conduct the connection between the Internet of Things chip and the positioning chip, and disconnect the connection between the processor and the positioning chip.
  • the electronic device controls the antenna switch through the processor to turn on the connection between the IoT chip and the antenna, and controls the chip switch to connect the IoT chip to the positioning chip
  • the method further includes: the electronic device receives a user operation for booting; in response to the user operation for booting, the electronic device controls the antenna switch to the processor through the Internet of Things chip
  • the connection with the antenna is turned on, and the chip switch is controlled to turn on the connection between the processor and the positioning chip;
  • the electronic device is positioned by the positioning chip to obtain third positioning information; the electronic device is passed through the The processor obtains the third positioning information from the positioning chip, and sends the third positioning information through the antenna.
  • the processor in the positioning system of the first electronic device can be in the working state again, and real-time positioning information can be obtained from the positioning chip.
  • the antenna is sent to the cloud server to achieve positioning, which improves the accuracy and convenience of positioning.
  • the processor is further connected to the Internet of Things chip; before the electronic device transmits the first positioning information through the antenna, the method further includes: the electronic device uses the processor according to the The security authentication information of the SIM is authenticated, and if the authentication is passed, the cellular network is accessed; the cellular network is used to send the first positioning information; before the electronic device receives a user operation for shutting down, the method further includes: the processor The security authentication information of the SIM is sent to the IoT chip; after the electronic device receives the user operation for shutting down, the method further includes: the electronic device authenticates according to the security authentication information of the SIM through the IoT chip, and then the authentication is passed Access to the Internet of Things network, and the Internet of Things network is used to send the second positioning information.
  • the IoT chip includes the following states: an active state, a standby state, and a deep sleep state; the electronic device obtains the second positioning information from the positioning chip through the IoT chip, and passes The antenna sending the second positioning information includes: in the activated state, the electronic device periodically obtains the second positioning information from the positioning chip through the Internet of Things chip and sends the second positioning information; in the standby state Next, in response to receiving a request for obtaining positioning information, the electronic device obtains the second positioning information from the positioning chip through the Internet of Things chip and sends the second positioning information; in the deep sleep state, the thing The networking chip is in a dormant state.
  • the method further includes: the electronic device The remaining battery power is obtained through the Internet of Things chip; when the remaining battery power is greater than or equal to the first set threshold, the Internet of Things chip in the electronic device is in the activated state; when the remaining battery power is greater than or equal to the second set
  • the electronic device is controlled by the IoT chip to switch from the active state to the standby state; when the remaining battery power is less than the second set threshold, the IoT chip passes the The IoT chip controls the switch from the standby state to the deep sleep state.
  • the IoT chip may be in a standby state or a deep sleep state when it does not receive a request for obtaining positioning information, so as to save power consumption. In this way, the battery life of the electronic device can be increased without affecting the reporting of positioning information.
  • an embodiment of the present application provides an electronic device that includes: one or more processors, an IoT chip, an antenna, and a positioning chip; the connection between the processor and the antenna is conducted through an antenna switch , The connection between the processor and the positioning chip is conducted through a chip switch; the antenna switch is also connected to the Internet of Things chip, the chip switch is also connected to the Internet of Things chip; the memory is connected to the one or more processors Coupled, the memory is used to store computer program code, the computer program code includes computer instructions; when the one or more processors execute the computer instructions, the electronic device is made to perform the second aspect or any possible aspect of the second aspect Implementation of the positioning method described in the way.
  • an embodiment of the present application provides a device positioning system.
  • the system includes a first electronic device, a second electronic device, and a cloud server.
  • the second electronic device establishes a communication connection with the cloud server, and the first The electronic device has established a communication connection with the cloud server; the second electronic device is used to receive a first user operation, and the first user operation is used to obtain positioning information of the first electronic device; the second electronic device is also used to In response to the first user operation, send a first request to the cloud server; the cloud server is configured to send a second request to the first electronic device in response to the first request; the second request is used to obtain the first request Positioning information of an electronic device; the first electronic device is used to execute the positioning method described in the second aspect or any one of the possible implementations of the second aspect.
  • the first electronic device may carry an identifier when sending positioning information to the cloud server, and the identifier may indicate whether the first electronic device is currently shut down, signal quality, power level, and so on.
  • the cloud server sends the positioning information to the second electronic device
  • the identification may also be sent to the second electronic device.
  • the second electronic device may display a prompt, which may indicate whether the first electronic device is currently turned off and whether the signal quality is good or bad.
  • the first electronic device is in a power-on state, and the cellular network signal is good.
  • the processor in the first electronic device is in a working state, and the processor can obtain positioning information and send the positioning information, device status, power, etc. to the cloud server through the antenna.
  • the IoT chip in the first electronic device may be in a dormant state.
  • the second electronic device may display a status prompt, which is used to prompt whether the first electronic device is currently turned on and whether the signal quality is good or bad. For example, it prompts "The device is on and online.”
  • the processor may control the switch to make the IoT chip take over the positioning chip and the antenna.
  • the IoT chip can obtain updated positioning information and updated identification, and send it to the cloud server, and the cloud server sends it to the second electronic device.
  • the update identifier indicates, for example, that the first electronic device is in a power-on state and the signal quality of the Internet of Things is good.
  • the processor may control the switch so that the IoT chip takes over the positioning chip and the antenna.
  • the IoT chip can obtain the updated positioning information and the updated identification again, and send them to the cloud server.
  • the re-update indicator indicates, for example, that the first electronic device is in a shutdown state and the signal quality of the Internet of Things is good.
  • the second electronic device can respond to the user's operation to request the first electronic device to ring, lock or erase the private data.
  • the IoT chip in the first electronic device can activate the speaker to ring, lock or erase private data.
  • the IoT chip can notify the processor, and the processor activates the speaker to ring, lock the first electronic device, or erase private data.
  • the first electronic device can still be controlled by the second electronic device to perform operations in the shutdown state, so as to protect the security of the user's private data on the first electronic device.
  • an embodiment of the present application provides a computer storage medium, including computer instructions, which when the computer instruction runs on a computing device, cause the computing device to execute the second aspect or any one of the second aspect of the embodiments of the present application.
  • the embodiments of the present application provide a computer program product, which when the computer program product runs on a computing device, causes the computing device to execute the second aspect or any one of the implementation manners of the second aspect of the embodiments of the present application The positioning method provided.
  • the system provided in the fourth aspect described above is used to implement the positioning method provided in the second aspect or any one of the second aspect implementations. Therefore, the beneficial effects that can be achieved can refer to the second aspect provided Beneficial effects in positioning methods.
  • the electronic equipment provided by the third aspect, the computer storage medium provided by the fifth aspect, and the computer program product provided by the sixth aspect are all used to execute the positioning method provided by the second aspect or any one of the second aspects. Therefore, The beneficial effects that can be achieved can refer to the beneficial effects in the measurement method provided in the second aspect, which will not be repeated here.
  • FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of an electronic device 10 provided by an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of another electronic device 10 provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a positioning method provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of yet another electronic device 10 provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of an electronic device 10 provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another electronic device 10 provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another electronic device 10 provided by an embodiment of the present application.
  • FIGS. 9A to 9D are schematic diagrams of some user interfaces provided by embodiments of the present application.
  • FIG. 10 is a schematic diagram of a positioning method provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of another positioning method provided by an embodiment of the present application.
  • the electronic device can locate and send its own location information to the cloud server.
  • the user can access the cloud server through another electronic device to obtain the location information of the lost electronic device.
  • the following describes the principle of positioning after the electronic device is lost in combination with the system architecture.
  • FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present application. As shown in FIG. 1, specifically, the system includes a first electronic device 101, a cloud server 102 and a second electronic device 103 that are lost. in:
  • the processor in the first electronic device 101 may be in a working state, and the processor in the first electronic device 101 may communicate with the cloud server 102 through an antenna. In this way, the first electronic device 101 can perform positioning and send the positioning information to the cloud server 102.
  • the first electronic device 101 may bind the device information with the first account in response to a user operation. That is, the association relationship between the device information of the first electronic device 101 and the first account can be stored on the cloud server 102. This association relationship can be used by another electronic device (for example, the second electronic device 103) to obtain the positioning information of the first electronic device 101 from the cloud server 102. The first account can be logged in to the first electronic device 101.
  • the device information of the first electronic device 101 may be a media access control (MAC) address, and the first account is, for example, a Huawei account "136********".
  • the cloud server 102 stores the association relationship between the MAC address of the first electronic device 101 and the Huawei account number "136********”.
  • the cloud server 102 may also store verification information (such as a login password) corresponding to the Huawei account "136********", which is used to verify the login request.
  • the first electronic device 101 can log in to the first account "136********”.
  • the first electronic device 101 may request the cloud server 102 to log in to the first account "136********", and the cloud server 102 may verify the login request of the first electronic device 101, and the verification is passed. Then the first electronic device 101 logs in to the first account "136********”.
  • the cloud server 102 may be used to store the association relationship between the device information of the first electronic device 101 and the first account.
  • the cloud server 102 may also store the verification information of the first account.
  • the cloud server 102 can also obtain the positioning information of the first electronic device 101.
  • the second electronic device 103 can also log in to the first account. After logging in to the first account, the second electronic device 103 can respond to user operations and send a request to the cloud server 102 for requesting to obtain the positioning information of the first electronic device 101.
  • the first electronic device 101 may be in a boot-up state, and may send the positioning information of the first electronic device 101 to the cloud server 102.
  • the cloud server 102 can send the positioning information of the first electronic device 101 to the second electronic device 103 according to the association relationship between the device information of the first electronic device 101 and the first account in response to the received request.
  • the second electronic device 103 obtains the positioning information of the first electronic device 101.
  • both the first electronic device 101 and the second electronic device 103 may be devices such as mobile phones, smart bracelets, tablets, smart watches, etc., which are not limited in the embodiments of the present application.
  • the processor in the first electronic device 101 may be in a dormant state, and the processor in the first electronic device 101 cannot obtain positioning information, and cannot report the positioning information to the cloud server 102. After the first electronic device 101 is lost, it cannot perform positioning and cannot send its own positioning information to the cloud server. In this way, it is not conducive for the user to obtain the location of the first electronic device.
  • an embodiment of the present application provides a positioning system and a positioning method.
  • the positioning system is used for the aforementioned first electronic device 101, and the positioning system includes a processor and an Internet of Things chip.
  • the processor may be used to obtain positioning information from the positioning chip and send it to the cloud server through the antenna when the first electronic device is turned on.
  • the IoT chip can obtain positioning information from the positioning chip and send it to the cloud server through the antenna. In this way, even if the first electronic device is in the shutdown state, the positioning information can still be sent to the cloud server to inform the user. In this way, the situation that the positioning information cannot be obtained after the first electronic device is lost is reduced, and the accuracy and convenience of positioning are improved.
  • the positioning system of the embodiment of the present application is a chip architecture including a processor and an Internet of Things chip in the first electronic device.
  • FIG. 2 is a schematic structural diagram of an electronic device 10 according to an embodiment of the present application.
  • the electronic device 10 may be the lost first electronic device 101 described in FIG. 1.
  • the electronic device 10 may additionally include an Internet of Things chip 301. When the electronic device 10 is turned off, the Internet of Things chip 301 is still in a working state, instructs the positioning chip to perform positioning, and transmits the positioning information through an antenna.
  • the structure of the electronic device 10 will be specifically described below.
  • the electronic device 10 may include an IoT chip 301, a processor 302 and a battery 303, among which:
  • the Internet of Things chip 301 can instruct the positioning chip (such as Bluetooth module, GPS, Wi-Fi module or Beidou positioning chip) to perform positioning when the electronic device 10 is turned off and still in the working state, and send the positioning information to the cloud server.
  • the positioning chip such as Bluetooth module, GPS, Wi-Fi module or Beidou positioning chip
  • the processor 302 can control the power switch 1 to connect the battery 303 and the IoT chip 301 before going to sleep, so that when the electronic device 10 is in the shutdown state, the IoT chip is still in working state .
  • the processor 302 can also control the antenna switch 2 to disconnect the connection between the processor 302 and the antenna 1...antenna n, and control the antenna switch 1 to connect the IoT chip 301 with Antenna 1...The connection between antenna n is open.
  • the IoT chip 301 can instruct the positioning chip (such as Bluetooth module, GPS, Wi-Fi module or Beidou positioning chip 3) to perform positioning, and pass the positioning information through any one of antenna 1...antenna n Or multiple transmissions to the cloud server 102.
  • the positioning chip such as Bluetooth module, GPS, Wi-Fi module or Beidou positioning chip 3
  • the shutdown instruction received by the processor 302 may be a received user operation for shutdown, or it may be detected that the power of the battery 303 is lower than a set threshold.
  • the processor 302 may include one or more processing units.
  • the processor 302 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and image signal processing.
  • Image signal processor (ISP) image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • baseband processor baseband processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 10.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
  • a memory may also be provided in the processor 302 to store instructions and data.
  • the memory in the processor 302 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 302. If the processor 302 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 302 is reduced, and the efficiency of the system is improved.
  • the memory provided by the processor 302 may store embedded subscriber identity module (eSIM) information.
  • the eSIM information can be used to provide operator authentication for the electronic device 10 to access the cellular network. If the authentication is passed, the electronic device 10 can access the cellular network.
  • the eSIM information includes, for example, security authentication information.
  • the security authentication information includes, for example, an eSIM number segment, which is bound to a mobile phone number, and the eSIM number segment is used for authentication. If the authentication succeeds, it will access a cellular network or an Internet of Things network.
  • the processor 302 can establish a connection with the Internet of Things chip 301, and the Internet of Things chip 301 can obtain eSIM information stored in the memory set by the processor 302, so that the Internet of Things chip 301 can use the eSIM information to perform operator authentication and connection in the shutdown state. Enter the cellular network.
  • the processor 302 may also include one or more interfaces.
  • the interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the antenna can be used to transmit and receive electromagnetic wave signals.
  • the antenna in the electronic device 10 may include antenna 1, antenna 2,...antenna n.
  • n is a positive integer greater than or equal to 2.
  • Each antenna can be used to cover single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the battery 303 can be used to supply power to various devices in the electronic device 10 (for example, the processor 302 and the IoT chip 301).
  • the processor 302 may control the power switch 2 to disconnect the connection between the battery 303 and the processor 302, so that the processor 302 enters a sleep state.
  • the processor 302 may first control the antenna switch 1, the antenna switch 2, and the power switch 1, and then control the power switch 2 to disconnect the battery 303 and the processor 302.
  • the electronic device 10 may also include a mobile communication module, and the mobile communication module may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 10.
  • the mobile communication module may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc.
  • the mobile communication module can be connected to an antenna (for example, one or more of antenna 1, antenna 2...antenna n) to filter and amplify the electromagnetic wave received by the antenna, and transmit it to the modem processor for demodulation.
  • the mobile communication module can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation by the antenna.
  • at least part of the functional modules of the mobile communication module may be provided in the processor 302.
  • at least part of the functional modules of the mobile communication module and at least part of the modules of the processor 302 may be provided in the same device.
  • the antenna switch 1 and the antenna switch 2 may be integrated in one module, or they may be integrated in two separate modules, which is not limited in the embodiment of the present application.
  • the power switch 1 and the power switch 2 can also be integrated in one module, or they can be integrated in two separate modules.
  • the following describes a schematic structural diagram of another electronic device 10 provided by an embodiment of the present application.
  • the Internet of Things chip 301 is in the working state, instructs one or more of the Bluetooth module, GPS, Wi-Fi module, or Beidou positioning chip to perform positioning, and transmits positioning information through the antenna.
  • FIG. 3 is a schematic structural diagram of another electronic device 10 according to an embodiment of the present application.
  • the electronic device 10 may include an Internet of Things chip 301, a processor 302, a battery 303, Bluetooth, GPS, Wi-Fi chip 304, Beidou positioning chip 305, SIM card 306, an antenna (may include one or more One antenna, for example, includes antenna 1, antenna 2...antenna k and antenna k+1). in:
  • the IoT chip 301 the processor 302, and the battery 303, please refer to the example described in FIG. 3, and will not be repeated here.
  • the memory provided by the processor 302 may include a security unit 3021, and the security unit 3021 may store eSIM information.
  • the eSIM information can be used to provide operator authentication for the electronic device 10 to access the cellular network. If the authentication is passed, the electronic device 10 can access the cellular network.
  • the eSIM information can be sent to the IoT chip 301 by the processor 302 in advance, or can be sent to the IoT chip 301 by the processor 302 when the electronic device is shut down.
  • the Internet of Things chip 301 can obtain the eSIM information stored in the security unit 3021, and the Internet of Things chip 301 can use the eSIM information to perform operator authentication and access the cellular network or the Internet of Things network in the shutdown state.
  • the antenna in the electronic device 10 may include antenna 1, antenna 2,..., antenna k, and antenna k+1.
  • k is a positive integer greater than or equal to 1.
  • Each antenna can be used to cover single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • antenna 1, antenna 2,...antenna k can be used to implement cellular network communication.
  • the electronic device 10 may also include a mobile communication module, and the mobile communication module may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 10.
  • the mobile communication module may include at least one filter, switch, power amplifier, LNA, etc.
  • the mobile communication module can be connected to an antenna (for example, one or more of antenna 1, antenna 2, ..., antenna k), and perform filtering, amplifying, and other processing on the electromagnetic wave received by the antenna, and then transmitting it to the modem processor for demodulation.
  • the mobile communication module can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves to radiate it through the antenna, so as to realize cellular network communication.
  • the Bluetooth, GPS, and Wi-Fi chip 304 can provide one or more of the following wireless communication solutions applied to the electronic device 10: Bluetooth (BT), global positioning system (GPS), wireless local area network (wireless local area networks, WLAN) (such as wireless fidelity (Wi-Fi) networks).
  • the Bluetooth, GPS, and Wi-Fi chip 304 may integrate at least one communication processing module.
  • the Bluetooth, GPS, and Wi-Fi chip 304 receives electromagnetic waves via the antenna k+1, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 302.
  • the Bluetooth, GPS, and Wi-Fi chip 304 can also receive the signal to be sent from the processor 302, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna k+1.
  • the Beidou positioning chip 305 can provide a Beidou navigation satellite system (BDS) solution applied to the electronic device 10.
  • BDS Beidou navigation satellite system
  • the Beidou positioning chip 305 can receive electromagnetic waves via the antenna n+1, frequency-modulate and filter the electromagnetic wave signals, and send the processed signals to the processor 302.
  • the Beidou positioning chip 305 can also receive the signal to be sent from the processor 302, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna k+1.
  • Bluetooth GPS, Wi-Fi communication, frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication technologies can also be communicated through corresponding communication technologies.
  • the module is coupled with the antenna k+1 and the processor 302 for implementation, which is not limited in the embodiment of the present application.
  • the mobile communication module in the electronic device 10 is respectively coupled with the processor 302, the antenna 1...antenna k, and the Bluetooth, GPS, and Wi-Fi chips 304 are respectively coupled with the processor 302 and the antenna k+1, so that the electronic device 10 It can communicate with the network and other devices through wireless communication technology when it is powered on.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), BDS, quasi-zenith satellite system (QZSS) and/or satellite Satellite based augmentation systems (SBAS).
  • the processor 302 when the processor 302 receives a shutdown instruction, the processor 302 can control the power switch 1 to connect the battery 303 and the Internet of Things chip 301 before going to sleep, so that the electronic device 10 is in the working state in the shutdown state .
  • the processor 302 can also control the antenna switch 2 to disconnect the connection between the processor 302 and the antenna 1...antenna k, and control the antenna switch 1 to connect the IoT chip 301 with Antenna 1...The connection between antenna k is conducted.
  • the processor 302 can also control the chip switch to disconnect the connection between the processor 302 and the Bluetooth, GPS, Wi-Fi chip 304, and disconnect the processor 302 from the Beidou positioning chip before sleeping. And control the chip switch to turn on the connection between the IoT chip 301 and the Bluetooth, GPS, Wi-Fi chip 304, and turn on the connection between the IoT chip 301 and the Beidou positioning chip 305.
  • the IoT chip 301 in the shutdown state, the IoT chip 301 is in a working state, and the Bluetooth, GPS, Wi-Fi chip 304 or the Beidou positioning chip 305 can be instructed to perform positioning.
  • the IoT chip 301 can also send the positioning information to the cloud server 102 via any one or more of the antenna 1...the antenna k.
  • the electronic device 10 described in FIGS. 2 and 3 is only an example, and the electronic device 10 may have more or less components than those shown in FIGS. 2 and 3, for example, the electronic device 10 It also includes a sensor module, a storage module, a camera, a display screen, an audio module, etc., which can be connected to the processor 302 respectively.
  • an embodiment of the present application provides a positioning method.
  • the lost first electronic device 101 can send the positioning information to the second electronic device 103 via the cloud server 102 in both the startup state and the shutdown state. In this way, the positioning information of the lost first electronic device 101 can be provided to the user on the side of the second electronic device 103.
  • FIG. 4 is a schematic flowchart of a positioning method provided by an embodiment of the present application.
  • the positioning method may include steps S101 to S121.
  • the positioning process provided by the embodiments of this application is introduced in the following three parts: (1) the positioning process in the boot-up state; (2) the positioning process when the boot-up state is switched to the shutdown state; (3) the positioning process in the restart state.
  • the processor 302 in the first electronic device 101 can instruct the positioning chip to perform positioning, and send the positioning information to the cloud server 102 through the antenna to achieve positioning, refer to steps S101 to S108 .
  • the processor 302 is connected to the antenna 1...antenna k through the antenna switch 2, and the battery 303 supplies power to the processor 302 through the power switch 2, and the processor 302 is connected to Bluetooth, GPS, and Wi-Fi through the chip switch. Fi chip 304 and Beidou positioning chip 305 are connected.
  • the processor 302 instructs one or more of the Bluetooth, GPS, Wi-Fi chip 304, and the Beidou positioning chip 305 to perform positioning to obtain first positioning information.
  • the second electronic device 103 receives a user operation for acquiring the positioning information of the first electronic device 101.
  • the first electronic device 101 that is lost may have logged in to the first account.
  • the first electronic device 101 may request the cloud server 102 to log in to the first account, and the cloud server 102 may verify the first account.
  • the cloud server may store a password corresponding to the account set by the user and pass the password verification. If the verification is passed, the first electronic device 101 logs in to the first account.
  • the association relationship between the device information of the first electronic device and the first account can be stored on the cloud server.
  • the cloud server can still request the first electronic device to obtain positioning information.
  • the second electronic device 103 can also log in to the first account, and the user interface of the second electronic device 103 can display a control for obtaining the positioning information of the first electronic device 101, and the user operation acting on the control can be. In response to a user operation on the control, the second electronic device 103 executes step S104.
  • the second electronic device 103 sends a first request to the cloud server 102, where the first request is used to request to obtain the positioning information of the first electronic device 101.
  • the cloud server 102 sends a second request to the first electronic device 101, and the second request is used to obtain the positioning information of the first electronic device 101.
  • the processor 302 sends the first positioning information to the cloud server 102 through the antenna.
  • the processor 302 can establish a wireless connection with the cloud server 102 via an antenna via a cellular network.
  • the SIM card 306 (see FIG. 3) may store security authentication information, and the processor 302 may send a message carrying the security authentication information to the base station or server of the operator through the antenna, and the base station or server of the operator may check the security authentication information Perform authentication, and if the authentication is passed, the processor 302 can communicate with the cloud server 102 via an antenna. For example, if the authentication is passed, the cloud server 102 may perform step S105 to send a second request to the first electronic device 101, and the processor 302 may perform step S106 to send the first positioning information to the cloud server 102.
  • the processor 302 may execute a message carrying the security authentication information through an antenna.
  • the first electronic device 101 cannot establish a wireless connection with the cloud server 102 through the cellular network.
  • the cellular network may include a GSM network.
  • the embodiment of the present application takes a cellular network as an example for introduction, but it is not limited to a cellular network.
  • the first electronic device 10 may also communicate with the cloud server 102 through other wireless methods, such as Wi-Fi, Bluetooth, or various wireless methods.
  • the method of combining communication modes, etc., is not limited in the embodiment of the present application.
  • the server 102 sends the first positioning information to the second electronic device 103.
  • the second electronic device 103 may display the first positioning information for the user to view.
  • the positioning information of the first electronic device 101 may be updated over time.
  • the first electronic device 101 may report the positioning information to the cloud server 102 periodically.
  • the IoT chip 301 in the first electronic device 101 can instruct the positioning chip to perform positioning, and send positioning information to the cloud server 102 through the antenna to achieve positioning. Refer to the steps S108 ⁇ S115.
  • the power switch 1 In response to a user operation for shutting down, the power switch 1 is controlled by the processor 302 to turn on the battery 303 and the IoT chip 301.
  • the user operation for shutting down is, for example, long pressing the power button. It is not limited to the user operation for shutting down, and other instructions may trigger the processor 302 to control the power switch 1 to turn on the battery 303 and the IoT chip 301, and perform steps S109 to S111.
  • the processor 302 may control the power switch 1 to turn on the battery 303 and the IoT chip 301, and perform steps S109-S111.
  • the antenna switch 2 is controlled by the processor 302 to disconnect the connection between the processor 302 and the antenna 1...antenna k, and the antenna switch 1 is controlled by the processor 302 to disconnect the object.
  • the connection between the networking chip 301 and the antenna 1...the antenna k is conducted.
  • the chip switch is controlled by the processor 302 to disconnect the processor 302 from the Bluetooth, GPS, and Wi-Fi chip 304, and to disconnect the processor 302 from the Beidou positioning chip 305
  • the connection between the chip is disconnected, the chip switch is controlled by the processor 302 and the connection between the IoT chip 301 and the Bluetooth, GPS, Wi-Fi chip 304 is turned on, and the IoT chip 301 and the Beidou positioning chip 305 are connected. The connection is turned on.
  • steps S108, S109, and S110 is not limited.
  • the power switch 2 can be controlled by the processor 302 to disconnect the connection between the battery 303 and the processor 302.
  • the connection between the battery 303 and the processor 302 is still conductive.
  • the processor 302 and the IoT chip 301 may both be in working state.
  • the processor 302 may enter a sleep state.
  • the connection between the battery 303 and the processor 302 is turned on and the processor 302 is working on the dormant clock signal, the processor 302 can also enter the dormant state.
  • the processor 302 When receiving a user operation for booting, the processor 302 enters the booting state from the sleep state.
  • the antenna switch 2, the chip switch, and the power switch are not limited to being controlled by the processor 301 to perform corresponding actions.
  • the antenna switch 2, chip switch and power switch in steps S109 to S110 may also be controlled by the IoT chip 301 to perform corresponding actions.
  • the IoT chip 301 can control the antenna switch 2 to disconnect the connection between the processor 302 and the antenna 1...antenna k, and conduct the connection between the IoT chip 301 and the antenna 1...antenna k.
  • the IoT chip 301 can also control the chip switch to disconnect the connection between the processor 302 and the positioning chip, and turn on the connection between the IoT chip 301 and the positioning chip.
  • the IoT chip 301 instructs one or more of the Bluetooth, GPS, Wi-Fi chip 304, and the Beidou positioning chip 305 to perform positioning to obtain second positioning information.
  • steps S108 to S110 are executed.
  • the IoT chip 301 can obtain positioning information from the positioning chip, and periodically send the positioning information to the cloud server 102.
  • the cloud server 102 receives the request for obtaining the positioning information of the first electronic device 101, it can send the latest positioning information obtained from the first electronic device 101 to the second electronic device 103.
  • the cloud server 102 may send a second request to the IoT chip 301 in the first electronic device 101, Request to update location information.
  • the first electronic device 101 may also actively report its own positioning information to the cloud server 102 periodically.
  • the processor 302 can store eSIM information, which can be used to provide operator authentication for accessing the cellular network, and the first electronic device 101 can access the cellular network if the authentication is passed.
  • the eSIM information includes, for example, security authentication information.
  • the processor 302 can establish a connection with the Internet of Things chip 301, and the Internet of Things chip 301 can obtain the eSIM information stored by the processor 302, so that the Internet of Things chip 301 can use the eSIM information to perform operator authentication and access the cellular network in the shutdown state.
  • the IoT chip 301 can perform operator authentication again according to the eSIM information, and if the authentication is passed, the IoT chip 301 can establish a connection with the cloud server 102 through the cellular network.
  • the IoT chip 301 sends second positioning information to the cloud server 102 through an antenna.
  • the cloud server 102 sends the second positioning information to the second electronic device 103.
  • steps S108-S113 when the lost first electronic device 101 is shut down, the IoT chip 301 in the first electronic device 101 can still be in working state, and can obtain real-time positioning information from the positioning chip, and send it to Cloud server to achieve positioning. In this way, the situation that the user cannot obtain the real-time positioning information of the lost device when the lost device is shut down is reduced, and the convenience of device positioning is improved.
  • the IoT chip 301 can work in any of three modes: active and standby. , Deep sleep (deepsleep).
  • the IoT chip 301 can periodically obtain positioning information and send it to the cloud server 102.
  • the second electronic device 103 receives the first request, it can directly obtain the positioning information of the first electronic device 101 from the cloud server 102.
  • the power consumption is the largest in the active mode.
  • the IoT chip 301 In the standby mode, the IoT chip 301 can still work under the working clock, can increase the period of sending positioning information, or send the positioning information only when the second request is received.
  • the power consumption in standby mode is less than in active mode and greater than in deep sleep mode. In the deep sleep mode, the IoT chip 301 can be in a sleep state under the action of the sleep clock signal.
  • the IoT chip 301 can periodically wake up to the working state (the clock signal is switched to the working clock signal), and obtain real-time positioning information and send it to the cloud server 102. Or, when the IoT chip receives the second request, it wakes up and obtains the positioning information and sends it to the cloud server. Compared with the other two modes, the deep sleep mode has the least power consumption.
  • the IoT chip 301 may be in a standby state or a deep sleep state. For example, first, the IoT chip 301 is in a standby state, and the second request is not received within a first set time, then the IoT chip 301 enters a deep sleep state. When the second request is received through the antenna, the second request is used to obtain the positioning information of the first electronic device 101, and the IoT chip 301 can enter the activated state. When the second request is not received for the second set time, the IoT chip 301 may enter the standby state. When the duration of the standby state is greater than or equal to the first set time, the IoT chip 301 may enter a deep sleep state.
  • the IoT chip 301 may be in a standby state or a deep sleep state when it does not receive a request for obtaining positioning information, so as to save power consumption. In this way, the battery life of the electronic device can be increased without affecting the reporting of positioning information.
  • the IoT chip 301 can also obtain the remaining power of the battery 303 and adjust the working mode according to the remaining power of the battery 303. For example, when the remaining power is greater than or equal to a set threshold (for example, 30% remaining), the IoT chip 301 may be in an active state or a standby state. When it is detected that the remaining power is less than the set threshold, the IoT chip 301 can work in a deep sleep mode. It is not limited to setting one battery remaining power threshold, and it can also be multiple. For example, when the remaining power is greater than or equal to the first set threshold (for example, 50% remaining), the IoT chip 301 may be in an activated state.
  • a set threshold for example, 30% remaining
  • the IoT chip 301 may be in an active state or a standby state.
  • the IoT chip 301 can work in a deep sleep mode. It is not limited to setting one battery remaining power threshold, and it can also be multiple.
  • the remaining power is greater than or equal to the first set threshold (for
  • the IoT chip 301 When the remaining power is greater than or equal to the second set threshold (for example, the remaining 10%) and less than the first set threshold, the IoT chip 301 can be switched from the active state to the standby state. When the remaining power is less than the second set threshold, the IoT chip 301 can switch from the standby state to the deep sleep state.
  • the second set threshold for example, the remaining 10%
  • the first electronic device 101 may enter the shutdown state from the startup state when the remaining power of the battery 303 is lower than the set threshold.
  • the set threshold is, for example, the remaining 3%.
  • the remaining power setting threshold of the first electronic device 101 is, for example, 8%, which is higher than the aforementioned 3%. It is understandable that the above example of setting a threshold value for the remaining power is only used to explain the embodiment of the present application, and should not constitute a limitation.
  • the second positioning information may be the same as or different from the first positioning information.
  • the processor 302 in the first electronic device 101 can instruct the positioning chip to perform positioning, and send the positioning information to the cloud server 102 through the antenna to achieve positioning. Refer to the steps S114 ⁇ S120.
  • the power switch 2 is controlled by the IoT chip 301 to conduct the connection between the battery 303 and the processor 302.
  • the antenna switch 1 is controlled by the IoT chip 301 to conduct the connection between the processor 302 and the antenna 1...antenna k
  • the antenna switch 2 is controlled by the IoT chip 301 Disconnect the connection between the IoT chip 301 and antenna 1...antenna k.
  • the antenna switch 1 and the antenna switch 2 may be implemented by one module, or may be implemented by different modules, respectively, which is not limited in the embodiment of the present application.
  • the chip switch is controlled by the IoT chip 301 to conduct the connection between the processor 302 and the Bluetooth, GPS, and Wi-Fi chip 304, and connect the processor 302 to the Beidou positioning chip
  • the connection between 305 is turned on, and the connection between the IoT chip 301 and the Bluetooth, GPS, and Wi-Fi chip 304 is disconnected, and the connection between the IoT chip 301 and the Beidou positioning chip 305 is disconnected.
  • steps S114, S115, and S116 is not limited.
  • the power switch 1 is controlled by the IoT chip 301 to disconnect the connection between the battery 303 and the IoT chip 301.
  • the IoT chip 301 After disconnecting the connection between the battery 303 and the IoT chip 301, the IoT chip 301 enters a sleep state.
  • the processor 302 instructs one or more of the Bluetooth, GPS, Wi-Fi chip 304, and the Beidou positioning chip 305 to perform positioning to obtain third positioning information.
  • the processor 302 sends third positioning information to the cloud server 102 through the antenna.
  • the server 102 sends the third positioning information to the second electronic device 103.
  • the antenna switch 1, the antenna switch 2, the chip switch, and the power switch 1 in steps S115 to S117 may be controlled by the processor 302 to implement steps S115 to S117.
  • the third positioning information may be the same as or different from the first positioning information.
  • steps S116 to S120 when the lost first electronic device 101 is restarted from the shutdown state, the processor 302 in the first electronic device 101 can be in the working state again, and can obtain real-time positioning information from the positioning chip.
  • the antenna is sent to the cloud server for positioning.
  • the crystal oscillator system in the first electronic device 101 when the first electronic device 101 is shut down from the boot-up state, the crystal oscillator system in the first electronic device 101 is still in the working state and provides a clock signal for the IoT chip 301.
  • the crystal oscillator system can provide a clock signal for the IoT chip 301 in the shutdown state, and provide a clock signal for the processor 302 in the startup state.
  • the IoT chip 301 in the shutdown state, can use a set of crystal oscillator system alone. The following respectively introduces the case where the shared crystal oscillator system and the IoT chip 301 use a set of crystal oscillator system separately.
  • the IoT chip 301 and the processor 302 share a crystal oscillator system
  • FIG. 5 is a schematic structural diagram of another electronic device 10 according to an embodiment of the present application.
  • the following describes the conditions of the electronic device 10 in the shutdown state and the startup state.
  • the electronic device 10 may further include a power chip 307 and a crystal oscillator 308.
  • the crystal oscillator 308 can provide a clock signal of frequency f1.
  • the power chip 307 may be a power management unit (PMU), which may be used to provide different working voltages to supply power to each module in the electronic device 10.
  • the crystal oscillator 308 can be connected to the power chip 307.
  • the power chip 307 can also include a frequency divider circuit, which can divide the clock signal output by the crystal oscillator 308 to obtain clock signals of different frequencies.
  • the power chip 307 divides the clock signal with the frequency f1 output by the crystal oscillator 308 to obtain a working clock signal with a frequency f2 and a sleep clock signal with a frequency f3.
  • the working clock signal and the sleep clock signal are output to the IoT chip 301 respectively. in:
  • the working clock signal is used to provide a reference when the Internet of Things chip 301 is working (for example, when sending positioning information through an antenna), so that all modules work in a unified step.
  • the frequency of the working clock signal is, for example, 38 MHz.
  • the dormant clock signal can be continuously output to the IoT chip 301 or the processor 302 in the shutdown state to maintain the continuity of time in the electronic device 10, and also to provide a reference for each module when the working clock signal is not required.
  • the frequency of the sleep clock signal is, for example, 32.768KHz.
  • the battery 303 when the electronic device 10 is in the shutdown state, the battery 303 can be coupled with the crystal oscillator 308 to supply power to the crystal oscillator 308, so that the crystal oscillator 308 provides a clock signal.
  • the power chip 307 when the electronic device 10 is in the startup state, the power chip 307 is also used to output the electric energy of the battery 303 to the processor 302 to supply power to the processor 302.
  • the clock signal of the frequency f1 output by the crystal oscillator 308 is divided by the power chip 307 to provide a clock signal for the processor 302.
  • the power chip 307 divides the clock signal with the frequency f1 output by the crystal oscillator 308 to obtain a working clock signal with a frequency f4 and a sleep clock signal with a frequency f5.
  • the working clock signal and the sleep clock signal are respectively output to the processor 302.
  • the working clock signal is used to provide a reference when the Internet of Things chip 301 is working (for example, when sending positioning information through an antenna), so that all modules work in a unified step.
  • IoT chip 301 uses a set of crystal oscillator system alone
  • FIG. 6 is a schematic structural diagram of an electronic device 10 according to an embodiment of the present application.
  • the description of the IoT chip 301, the processor 302, the antenna, the battery 303, the SIM card 306, the power switch 1, and the antenna switch can refer to the examples described in FIGS. 2 and 3, which will not be repeated here.
  • the power chip 3071 may be a PMU, which may be used to provide different working voltages when the electronic device 10 is in a shutdown state, and to supply power to various modules such as the IoT chip 301.
  • the power chip 3071 can be coupled with the power switch 1.
  • the processor 302 can control the power switch 1 to turn on the connection between the battery 303 and the power chip 3071, so that the battery 303 supplies power to the IoT chip 301, the crystal oscillator system, etc. through the power chip 3071 .
  • the electronic device 10 may also include a 32KHz crystal oscillator 312 and a temperature-compensated crystal oscillator 313.
  • the 32KHz crystal oscillator 312 and the temperature-compensated crystal oscillator 313 can provide a clock signal for the IoT chip 301 when the electronic device 10 is in the shutdown state. .
  • the 32KHz crystal oscillator 312 is coupled with the IoT chip 301 to provide a sleep clock signal for the IoT chip 301.
  • the power chip 3071 is coupled with the 32KHz crystal oscillator 312 to supply power to the 32KHz crystal oscillator 312 when the electronic device 10 is in the off state.
  • the processor 302 can control the power switch 1 to turn on the connection between the battery 303 and the power chip 3071, so that the battery 303 supplies power to the 32KHz crystal oscillator 312 through the power chip 3071.
  • the temperature-compensated crystal oscillator 313 is coupled to the IoT chip 301 and is used to provide a working clock signal for the IoT chip 301.
  • the power chip 3071 is also coupled with the temperature-compensated crystal oscillator 313 for powering the temperature-compensated crystal oscillator 313.
  • the processor 302 can control the power switch 1 to turn on the connection between the battery 303 and the power chip 3071, so that the battery 303 supplies power to the temperature-compensated crystal oscillator 313 through the power chip 3071.
  • the IoT chip 301 can be connected to the processor 302 through any one or more of the following interfaces: UART/serial peripheral interface (SPI)/I2C/GPIO.
  • Data can be transmitted between the IoT chip 301 and the processor 302 through a wired connection.
  • the processor 302 may transmit the latest positioning information, the startup file of the positioning chip, etc. to the IoT chip 301 through the above-mentioned wired connection before going to sleep.
  • the latest positioning information can be sent by the IoT chip 301 to the cloud server 102 via an antenna for transmission to the second electronic device 103.
  • the startup file of the positioning chip can be used by the chip switch to connect the connection between the positioning chip and the Internet of Things chip 301 and configure it to the positioning chip to increase the startup speed of the positioning chip.
  • the electronic device 10 may further include a power amplifier 309, a first filter 310 and a second filter 311.
  • the IoT chip 301 can also be coupled to the antenna switch 1 through the power amplifier 309 and the first filter 310 in sequence.
  • the path composed of the IoT chip 301, the power amplifier 309, the first filter 310 and the antenna switch 1 is used to amplify the positioning information through the power amplifier 309 and filter through the first filter 310 when the electronic device 10 is turned off And output to the antenna.
  • the antenna switch 1 is coupled with the antenna.
  • the antenna switch can be coupled to the IoT chip 301 through the second filter 311, and is used to filter the signal received from the antenna through the second filter 311 and transmit it to the IoT chip 301.
  • the signal received from the antenna is, for example, a second request from the cloud server 102, and the second request is used to obtain the positioning information of the electronic device 10.
  • the IoT chip 301 can be coupled to the second filter 311 through pins RX_P and RX_N.
  • the SIM card 306 can be coupled with the IoT chip 301.
  • the IoT chip 301 can use the security authentication information in the SIM card 306 to provide operator authentication for the electronic device 10 to access the cellular network. If the authentication is passed, the electronic device 10 can access the cellular network.
  • the coupling relationship between the positioning chip and the IoT chip 301 and the processor 302 can be referred to the embodiment described in FIG. 3, which is not repeated here.
  • FIG. 7 is a schematic structural diagram of another electronic device 10 according to an embodiment of the present application.
  • the Internet of Things chip 301, processor 302, antenna (for example, including antenna 1...antenna k), antenna k+1, battery 303, Bluetooth, GPS, Wi-Fi chip 304, Beidou positioning chip 305 The description of the SIM card 306, the power switch 1, and the antenna switch can refer to the examples described in FIG. 2 and FIG. 3, and the crystal oscillator 308 can refer to the example described in FIG.
  • the power chip 3071 can be used to supply the power of the battery 303 to the IoT chip 301 when the electronic device 10 is in the shutdown state.
  • the power chip 3072 is used to provide a clock signal for the IoT chip 301.
  • the power chip 3072 is also used to supply power from the battery 303 to the processor 302 when the electronic device 10 is turned on.
  • the processor 302 may control the power switch to turn on the connection between the battery 303 and the power chip 3071, so that the battery 303 supplies power to the IoT chip 301 through the power chip 3071.
  • the power chip 3072 may also include a frequency divider circuit for dividing the clock signal output by the crystal oscillator 308 to obtain clock signals of different frequencies. For example, the power chip 3072 divides the frequency f1 clock signal output by the crystal oscillator 308 to obtain a working clock signal with a frequency f2 and a sleep clock signal with a frequency f3.
  • the working clock signal TCXO and the sleep clock signal 32KHz are output to the IoT chip 301 respectively.
  • the power switch connects the battery 303 to the power chip 3072, so that the battery 303 supplies power to the processor 302 through the power chip 3072.
  • the reset interface RST between the IoT chip 301 and the processor 302 can also be connected.
  • the processor 302 and the IoT chip 301 are both in a working state, and the reset interface RST of the processor 302 can provide a reset signal to the IoT chip 301 to reset the IoT chip 301.
  • the IoT chip 301 can be connected to the processor 302 through any one or more of the following interfaces: UART/SPI/I2C/GPIO. Data can be transmitted between the IoT chip 301 and the processor 302 through a wired connection.
  • the processor 302 and the chip switch can be connected through any one or more of the following interfaces: high-speed serial computer expansion bus standard (peripheral component interconnect express, PCIE)/secure digital input and output (secure digital input and output, SDIO)/ SPI/I2C/GPIO.
  • PCIE peripheral component interconnect express
  • SDIO secure digital input and output
  • the IoT chip 301 and the chip switch can be connected through any one or more of the following interfaces: PCIE/SDIO/SPI/I2C/GPIO.
  • the power chip 3071 is coupled with the chip switch, and the power chip 3072 is also coupled with the chip switch.
  • the electronic device 10 may be the first electronic device in the system shown in FIG. 1. Please refer to FIG. 8, which is a schematic structural diagram of another electronic device 10 according to an embodiment of the present application.
  • the electronic device 10 shown in FIG. 8 is only an example, and the electronic device 10 may have more or fewer components than those shown in FIG. 8, two or more components may be combined, or Can have different component configurations.
  • the various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
  • the electronic device 10 may include: a processor 110, an IoT chip 190, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, Antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, A display screen 194, and a subscriber identification module (SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 10.
  • the electronic device 10 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic description, and does not constitute a structural limitation of the electronic device 10.
  • the electronic device 10 may also adopt different interface connection modes or a combination of multiple interface connection modes in the foregoing embodiments.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 10. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 10 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 10 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 10.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the antenna 1 can represent one or more antennas, and the function of the antenna 1 can refer to antenna 1...antenna k in FIG. 3.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 may provide a wireless communication solution including WLAN (such as a Wi-Fi network), Bluetooth, GNSS, FM, NFC, IR, etc., applied on the electronic device 10.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
  • antenna 2 may represent one or more antennas, and the function of antenna 2 may include the function of antenna k+1 in FIG. 3.
  • the antenna 1 of the electronic device 10 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 10 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies.
  • the GNSS may include GPS, GLONASS, BDS, QZSS and/or SBAS.
  • the electronic device 10 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is a microprocessor for image processing, connected to the display 194 and the application processor.
  • the processor 110 may include one or more GPUs.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the electronic device 10 may include one or N display screens 194, and N is a positive integer greater than one.
  • the electronic device 10 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back from the camera 193.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • the electronic device 10 may include one or N cameras 193, and N is a positive integer greater than one.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals.
  • Video codecs are used to compress or decompress digital video.
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • applications such as intelligent cognition of the electronic device 10 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the electronic device 10.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 10 by running instructions stored in the internal memory 121.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the electronic device 10 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the receiver 170B also called a “handset”, is used to convert audio electrical signals into sound signals.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 10 may be provided with at least one microphone 170C.
  • the earphone interface 170D is used to connect wired earphones.
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 10. In some embodiments, the angular velocity of the electronic device 10 around three axes (ie, x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyro sensor 180B can be used for image stabilization. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 10 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 10 may use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 10 in various directions (generally three axes). When the electronic device 10 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching, pedometers and so on.
  • the electronic device 10 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 10 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • LED light emitting diode
  • photodiode a light detector
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 10 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 10 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 10 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be provided on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 10.
  • the electronic device 10 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 can also be compatible with external memory cards.
  • the electronic device 10 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 10 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 10 and cannot be separated from the electronic device 10.
  • the IoT chip 190 is also coupled with the mobile communication module 150 and the wireless communication module 160 respectively.
  • the switch in the mobile communication module 150 can be used to control the processor 110 to disconnect the connection between the processor 110 and the antenna when a user operation for shutdown is received, and to disconnect the IoT chip 190 and the antenna 1
  • the connection is on.
  • the power management module 141 is coupled with the IoT chip 190 and the processor 110 via a power switch.
  • the function description of the power switch can refer to the description of FIG. 2 to FIG. 7.
  • the power switch is controlled by the processor 110 to turn on the power management module 141 and the IoT chip 301.
  • the IoT chip 190 is also coupled with the aforementioned SIM card. In the shutdown state, the IoT chip 190 can use the security authentication information in the SIM card to provide operator authentication for the electronic device 10 to access the cellular network. If the authentication is passed, the electronic device 10 can access the cellular network.
  • the first electronic device 101 can obtain positioning information through the positioning of the positioning chip.
  • the processor 302 in the first electronic device 101 may select a network with good signal quality (for example, the signal strength is greater than the first strength threshold) to send the positioning information according to the connection status of the network signal.
  • the IoT chip 301 in the first electronic device 101 can also select the signal quality to be good (for example, the signal strength is greater than the first strength) according to the connection status of the network signal. Threshold) to send location information to the network.
  • Table 1 is an example of a positioning principle in a startup state of a first electronic device according to an embodiment of the present application.
  • Table 1 is an example of the positioning principle in the startup state of the first electronic device provided by the embodiment of the present application.
  • the processor can obtain positioning information from the positioning chip, and send the positioning information to the cloud through the cellular network Server 102.
  • the positioning method is, for example, any one or more of GPS positioning/Wi-Fi positioning/Bluetooth positioning/Beidou positioning.
  • the signal quality of the cellular network is poor (for example, the signal strength is less than the first intensity threshold), and the signal quality of the Internet of Things (IoT) is good (for example, the signal strength is greater than the second intensity threshold).
  • the user carries the first electronic device.
  • the device 101 is in an underground garage, basement or other place where the signal quality of the cellular network is poor.
  • the processor can control the power switch 1 to turn on the battery 303 and the IoT chip 301, and control the antenna switch to connect the IoT chip and the antenna
  • the connection between the chip is turned on, and the chip switch is controlled to turn on the connection between the IoT chip 301 and the positioning chip.
  • the IoT chip can obtain positioning information through any one or more of the following: GPS positioning/Wi-Fi positioning/Bluetooth positioning/Beidou positioning, and send positioning information to the cloud server 102 through the IoT network.
  • both the cellular network signal and the IoT signal quality are not good.
  • the signal strength of the cellular network signal is less than the first strength threshold
  • the signal strength of the IoT signal is less than the second strength threshold.
  • the processor may perform Beidou positioning through the Beidou positioning chip 305 to obtain positioning information.
  • the processor may also send the positioning information to the cloud server 102 through the antenna connected to the Beidou positioning chip 305 (ie, the Beidou antenna).
  • the Beidou positioning chip 305 and the Beidou antenna may refer to the Beidou positioning chip 305 and the antenna k+1 in the example described in FIG. 7. In scenario 3, it is not limited to obtaining positioning information through Beidou positioning, and the processor may also obtain positioning information through GPS positioning/Wi-Fi positioning/Bluetooth positioning.
  • the quality of the cellular network signal and the signal of the Internet of Things is poor, and the quality of the Beidou positioning signal is also poor.
  • the signal strength of the cellular network signal is less than the first strength threshold
  • the signal strength of the IoT signal is less than the second strength threshold
  • the signal strength of the Beidou positioning signal is less than the third strength threshold.
  • the processor can obtain positioning through Bluetooth positioning information.
  • the processor may send a Bluetooth broadcast carrying the positioning information through the Bluetooth module and the antenna, and a device that receives the Bluetooth broadcast around the first electronic device sends the positioning information to the cloud server.
  • the processor may also obtain positioning information through GPS positioning/Wi-Fi positioning/Beidou positioning.
  • the processor may send positioning information in other ways.
  • the first electronic device when the first electronic device is in an environment where the signal quality of the cellular network is not good, or the signal quality of the Internet of Things is not good, or the quality of the Beidou positioning signal is not good, the first electronic device can send the positioning information to the cloud server , The server sends to the second electronic device to inform the user of the location information of the first electronic device. In this way, the situation that the positioning information cannot be obtained after the first electronic device is lost is reduced, and the convenience of positioning is improved.
  • Table 2 is an example of the positioning principle in the shutdown state of the first electronic device according to an embodiment of the present application.
  • Table 2 is an example of the positioning principle in the shutdown state of the first electronic device provided by the embodiment of the present application.
  • the first electronic device in Table 2 is in the shutdown state, and the processor in the first electronic device sleeps, and the IoT chip replaces the processor to obtain positioning information and send it out through the antenna.
  • the Internet of Things chip supports the Internet of Things network and also supports the cellular network.
  • the IoT chip can obtain positioning information from the positioning chip, and send the positioning information to the cloud server 102 via the cellular network.
  • the positioning method is, for example, any one or more of GPS positioning/Wi-Fi positioning/Bluetooth positioning/Beidou positioning.
  • the signal quality of the cellular network is poor (for example, the signal strength is less than the first intensity threshold), and the signal quality of the Internet of Things is good (for example, the signal strength is greater than the second intensity threshold).
  • the user carries the first electronic device 101 that is turned off in an underground garage. , Or other places where the signal quality of the cellular network is not good.
  • the IoT chip can obtain positioning information through any one or more of the following: GPS positioning/Wi-Fi positioning/Bluetooth positioning/Beidou positioning, and through the Internet of Things
  • the network sends positioning information to the cloud server 102.
  • the quality of the cellular network signal and the IoT signal is not good.
  • the signal strength of the cellular network signal is less than the first strength threshold
  • the signal strength of the IoT signal is less than the second strength threshold.
  • the IoT chip can perform Beidou positioning through the Beidou positioning chip 305 to obtain positioning information.
  • the IoT chip can also send positioning information to the cloud server 102 through an antenna connected to the Beidou positioning chip 305 (ie, the Beidou antenna).
  • the Beidou positioning chip 305 and the Beidou antenna may refer to the Beidou positioning chip 305 and the antenna k+1 in the example described in FIG. 7. In scenario 7, it is not limited to obtaining positioning information through Beidou positioning.
  • the IoT chip can also obtain positioning information through GPS positioning/Wi-Fi positioning/Bluetooth positioning.
  • the quality of the cellular network signal and the signal of the Internet of Things is poor, and the quality of the Beidou positioning signal is also poor.
  • the signal strength of the cellular network signal is less than the first strength threshold
  • the signal strength of the IoT signal is less than the second strength threshold
  • the signal strength of the Beidou positioning signal is less than the third strength threshold.
  • the IoT chip can be obtained through Bluetooth positioning Positioning information.
  • the IoT chip can send a Bluetooth broadcast carrying the positioning information through a Bluetooth module and an antenna, and devices that receive the Bluetooth broadcast around the first electronic device send the positioning information to the cloud server.
  • it is not limited to obtaining positioning information through Bluetooth positioning.
  • the IoT chip can also obtain positioning information through GPS positioning/Wi-Fi positioning/Beidou positioning.
  • the IoT chip can send positioning information in other ways.
  • the first electronic device can also send location information to the cloud server, and the server can send the location information to the second electronic device to inform the user of the location information of the first electronic device. In this way, the situation that the positioning information cannot be obtained after the first electronic device is lost is reduced, and the convenience of positioning is improved.
  • the first electronic device when the first electronic device is turned off or the signal quality of the cellular network is poor, the first electronic device can still obtain positioning information through the IoT chip, and send the positioning information to the cloud server, and the cloud server will send the positioning information Send to the second electronic device. In this way, the situation that positioning information cannot be obtained due to shutdown or low signal quality after the first electronic device is lost is reduced, and the convenience of positioning is improved.
  • the first electronic device 101 may not need to send the positioning information to the second electronic device 103 via the cloud server 102.
  • a short-range wireless connection can be established between the first electronic device 101 and the second electronic device 103, such as a Wi-Fi direct connection or a Bluetooth connection.
  • the first electronic device 101 can send positioning information to the second electronic device 103 through the short-range wireless connection.
  • the second electronic device 103 and the first electronic device 101 may both log in to the first account.
  • the cloud server 102 may store the association relationship between the device information of the first electronic device 101 and the first account.
  • the second electronic device 103 can obtain the device information of the first electronic device 101 through the cloud server 102 and establish a short-distance wireless connection with the first electronic device 101.
  • the second electronic device 103 may send an instruction for obtaining positioning information to the first electronic device 101 through a short-range wireless connection.
  • the processor in the first electronic device 101 obtains positioning information, and sends the positioning information to the second electronic device 103 via the antenna through the short-range wireless connection.
  • the IoT chip in the first electronic device 101 can obtain positioning information, and send the positioning information to the second electronic device 103 through the short-range wireless connection via the antenna.
  • the first electronic device may carry an identifier when sending positioning information to the cloud server, and the identifier may indicate whether the first electronic device is currently shut down, signal quality, power level, and so on.
  • the cloud server sends the positioning information to the second electronic device
  • the identification may also be sent to the second electronic device.
  • the second electronic device may display a prompt, which may indicate whether the first electronic device is currently turned off, whether the signal quality is good or bad, and so on.
  • FIGS. 9A to 9D are schematic diagrams of some user interfaces provided by embodiments of the present application.
  • the second electronic device can display a user interface 100.
  • the user interface 100 is, for example, a user interface for searching a mobile phone application.
  • the second electronic device and the first electronic device can both be searching for a mobile phone application and log in to the first account.
  • the user interface 100 may include device options 1001.
  • the device option 1001 may indicate the first electronic device.
  • the second electronic device may send a first request to the cloud server.
  • the first request is associated with the first account
  • the cloud server can find the device information of the device associated with the first account (for example, the device information of the first electronic device) according to the first request and the first account.
  • the cloud server may send the second request to the first electronic device according to the device information of the first electronic device.
  • the cloud server After receiving the positioning information from the first electronic device, the cloud server sends the positioning information to the second electronic device.
  • the positioning information for example, carries an identifier, which indicates that the first electronic device is in a power-on state and the cellular signal quality is good.
  • the identifier may also indicate the remaining power of the first electronic device, for example, 87%.
  • the second electronic device displays the user interface 200.
  • the user interface 200 may include a battery indicator 2001, a status indicator 2002, a device location indicator 2003, a navigation control 2004, a positioning control 2005, a ringing control 2006, a locking control 2007, and a data erasing control 2008. in:
  • the power prompt 2001 is used to prompt the current remaining power of the first electronic device, and the remaining power can be carried in the identifier and sent from the first electronic device via the cloud server, for example, the remaining power is 87%.
  • the status prompt 2002 is used to prompt whether the first electronic device is currently turned on and the signal quality is good or bad. For example, it prompts "The device is on and online.” Similarly, the status can also be carried in the identifier and sent from the first electronic device via the cloud server. For example, the first electronic device is currently in a power-on state and the cellular network signal is good. At this time, the processor in the first electronic device is in a working state, and the processor can obtain positioning information and send the positioning information, device status, power, etc. to the cloud server through the antenna. At this time, the IoT chip in the first electronic device may be in a dormant state.
  • the device location indicator 2003 is used to indicate the location of the first electronic device according to the location information from the first electronic device.
  • the positioning information can be obtained from the positioning chip by the processor in the first electronic device.
  • the navigation control 2004 is used for navigation based on the location information of the first electronic device and the current location information of the second electronic device.
  • the positioning control 2005 is used to retrieve the positioning information of the first electronic device.
  • the ringing control 2006 is used to send a ringing instruction to the first electronic device via the cloud server.
  • the second electronic device may send a ringing instruction to the cloud server, and the cloud server may forward the ringing instruction to the first electronic device via the cellular network.
  • the processor in the first electronic device can activate the speaker to ring according to the ringing instruction.
  • the lock control 2007 is used to send a lock instruction to the first electronic device via the cloud server.
  • the second electronic device may send a lock instruction to the cloud server, and the cloud server may forward the lock instruction to the first electronic device via the cellular network.
  • the processor in the first electronic device can lock the first electronic device according to the lock instruction. After the first electronic device is locked, the interface of the application is no longer displayed, for example, the photo album application, the payment application, etc. are locked and cannot be opened.
  • the data erasure control 2008 is used to send a data erasure instruction to the first electronic device via the cloud server.
  • the second electronic device may send a data erasure instruction to the cloud server, and the cloud server may forward the data erasure instruction to the first electronic device via the cellular network.
  • the processor in the first electronic device can delete the private data in the first electronic device according to the data erasure instruction.
  • Private data includes, for example, image data, account data for application logins, and the like.
  • the second electronic device in response to a user operation acting on the positioning control 2005, may resend the first request to the cloud server, and the cloud server may resend the second request to the first electronic device to obtain an updated device information.
  • the cloud server After receiving the updated positioning information from the first electronic device, the cloud server sends the updated positioning information to the second electronic device.
  • the updated positioning information carries, for example, an updated identifier.
  • the processor may control the switch to make the IoT chip 301 take over the positioning chip and the antenna.
  • the IoT chip can obtain updated positioning information and updated identification, and send it to the cloud server.
  • the update identifier indicates, for example, that the first electronic device is in a power-on state and the signal quality of the Internet of Things is good.
  • the identifier may also indicate the remaining power of the first electronic device, for example, 85%.
  • the second electronic device refreshes the user interface 200.
  • the battery indicator 2001, the status indicator 2002, and the device location indicator 2003 are updated according to the updated identification.
  • Power reminder 2001 can remind that the remaining power is 85%.
  • Status prompt 2002 which can indicate "the device is turned on and the Internet of Things signal is online”.
  • the second electronic device may send a ringing instruction to the cloud server, and the cloud server may forward the ringing instruction to the first electronic device via the cellular network.
  • the IoT chip in the first electronic device can activate the speaker to ring according to the ringing instruction.
  • the IoT chip can be connected to the speaker.
  • the IoT chip can notify the processor, causing the processor to call the speaker to ring.
  • the IoT chip can correspondingly lock the first electronic device and erase private data.
  • the IoT chip can notify the processor (for example, wake up the processor), and the processor executes to lock the first electronic device and erase private data.
  • the second electronic device may send the first request to the cloud server again, and the cloud server may send the first request to the first electronic device again. Send a second request to obtain the updated device information again.
  • the cloud server After receiving the re-updated positioning information from the first electronic device, the cloud server sends the re-updated positioning information to the second electronic device.
  • the re-updated positioning information carries, for example, a re-updated identifier.
  • the processor may control the switch so that the IoT chip 301 takes over the positioning chip and the antenna.
  • the IoT chip can obtain the updated positioning information and the updated identification again, and send them to the cloud server.
  • the re-update indicator indicates, for example, that the first electronic device is in a shutdown state and the signal quality of the Internet of Things is good.
  • the re-updated flag may also indicate the remaining power of the first electronic device, for example, 84%.
  • the second electronic device refreshes the user interface 200.
  • the battery indicator 2001, the status indicator 2002, and the device location indicator 2003 are updated according to the re-updated identifier.
  • Power reminder 2001 which can remind you that the remaining power is 84%.
  • Status reminder 2002 which can indicate "the device is off and the Internet of Things signal is online”.
  • the first electronic device is in the shutdown state or the cellular network signal quality is poor.
  • the first electronic device can obtain positioning information through the IoT chip and send the positioning information to the cloud server.
  • the server sends the positioning information to the second electronic device. In this way, the situation that positioning information cannot be obtained due to shutdown or low signal quality after the first electronic device is lost is reduced, and the convenience of positioning is improved.
  • FIG. 10 is a schematic diagram of a positioning method provided by an embodiment of the present application.
  • the first electronic device positioning method may include:
  • the first electronic device accesses the cellular network.
  • the data flow switch on the user interface in the first electronic device has been turned on.
  • the first electronic device may perform step S2.
  • the first electronic device may perform step S5.
  • the S2 processor is in working state.
  • the positioning principle of the first electronic device and the status of each module in the first electronic device can refer to the positioning principle of the aforementioned scenario 1.
  • the S3 first account is associated with device information, and is used to find the location information of the first electronic device on another device.
  • the association relationship between the first account and the device information may be pre-stored on the cloud server. And the first electronic device 101 can log in to the first account.
  • the login process refer to the description of step S103 in the example described in FIG. 4.
  • the S4 user obtains the location information of the first electronic device on the second electronic device through the first account.
  • the second electronic device may receive a user operation for obtaining the location information of the first electronic device, so as to obtain the location information of the first electronic device. For details, refer to the description of steps S103 to S107 in the example described in FIG. 4.
  • the S5 IoT chip is in working condition.
  • the positioning principle of the first electronic device and the status of each module in the first electronic device can refer to the positioning principle of the aforementioned scenario 2.
  • the first account is associated with device information, and is used to find the location information of the first electronic device on another device.
  • the S7 user obtains the location information of the first electronic device on the second electronic device through the first account.
  • S6 and S7 refer to the description of S3 and S4 above.
  • the first electronic device is not connected to the cellular network.
  • the data flow switch on the user interface in the first electronic device is not turned on.
  • the first electronic device may send positioning information through Bluetooth broadcast, and for details, refer to the description of S9 to S11.
  • the first electronic device may send positioning information through the Internet of Things network. For details, refer to the description of S12 to S14.
  • the S9 processor is working.
  • the processor can obtain the positioning information from the positioning chip, and carry the positioning information on the Bluetooth broadcast through the Bluetooth module and send it out.
  • S10 Bluetooth broadcast carries positioning information, and the device that receives the broadcast sends the location information of the first electronic device.
  • the association relationship between the first account and device information is still stored in the cloud server, and the lost first electronic device has still logged in to the first account, and the second electronic device has also logged in to the first account. .
  • the network is, for example, a cellular network, or a Wi-Fi network.
  • the positioning principle of the first electronic device described in S9 to S11 may refer to the positioning principle of the aforementioned scenario 4.
  • the S12 IoT chip is in working condition.
  • the first account is associated with device information, and is used to search for location information of the first electronic device on another device.
  • the user obtains the location information of the first electronic device on the second electronic device through the first account.
  • S12 ⁇ S14 can refer to the description of S5 ⁇ S7.
  • the first electronic device when the first electronic device is not connected to the cellular network, the first electronic device is not limited to sending positioning information through Bluetooth broadcasting or the Internet of Things network, and may also use other methods, such as a Beidou antenna.
  • FIG. 11 is a schematic diagram of another positioning method provided by an embodiment of the present application.
  • the first electronic device positioning method may include:
  • the S15 IoT chip is in working condition.
  • the first account is associated with device information, and is used to search for location information of the first electronic device on another device.
  • the user obtains the location information of the first electronic device on the second electronic device through the first account.
  • the processor in the first electronic device sleeps, and the IoT chip replaces the processor, obtains positioning information, and sends it out through the antenna.
  • the positioning principle please refer to the description of scene 5 to scene 8 above.
  • the embodiment of the present application takes the first account as a Huawei account as an example for description, but the embodiment of the present application is not limited to examples, and the first account may also be a mobile phone number or other accounts.
  • the network used by the first electronic device 101 to communicate with the cloud server 102 in the embodiment of the present application may include: cellular network, Internet of Things network and Beidou antenna network.
  • the cellular network can include GSM network, CDMA network, 3G network, FDMA, TDMA, etc.
  • both the processor 302 and the IoT chip 301 can support a cellular network. That is, in the startup state, the processor 302 can access the cellular network through the antenna. In the shutdown state, the IoT chip 301 can access the cellular network through an antenna.
  • the Internet of Things chip 301 can also support an Internet of Things network, and the Internet of Things chip 30 integrates the communication standards of the Internet of Things network.
  • the Internet of Things network includes, for example, any one or more of the following communication modes: enhanced machine-type communication (eMTC), narrowband internet of things (NB-IoT), and extended coverage of global mobile communications System (extended coverage-GSM, EC-GSM) communication and enhanced data rate evolution technology (enhanced general packet radio service, EGPRS).
  • eMTC enhanced machine-type communication
  • NB-IoT narrowband internet of things
  • EC-GSM extended coverage of global mobile communications System
  • EGPRS enhanced data rate evolution technology
  • the Internet of Things chip 301 can also access the Internet of Things network through an antenna, and communicate with the cloud server 102 through the Internet of Things network, for example, send the positioning information of the first electronic device 101 to the cloud server through the Internet of Things network.
  • the IoT chip 301 can communicate with the IoT cloud through an antenna, and the IoT cloud can communicate with the cloud server 102, so that the IoT chip 301 can communicate with the cloud server 102 through the antenna.
  • the embodiment of the present application does not limit the network communication mode supported by the IoT chip 301.
  • the IoT chip 301 may also include other modes of the IoT network, and may also include the future evolution of the IoT network. This embodiment of the application There is no restriction on this.
  • the Internet of Things network compared with a cellular network, the Internet of Things network has a wider coverage area. Therefore, when the IoT chip 301 replaces the processor 302 to obtain positioning information and send it to the cloud server through an antenna, it can be realized that the first electronic device 101 can still send the positioning information to the cloud server where there is no cellular network coverage, thereby improving Positioning accuracy.
  • the embodiment of the present application also provides a computer-readable storage medium that stores instructions in the computer-readable storage medium, which when run on a computer or a processor, causes the computer or the processor to execute any one of the above methods. Or multiple steps.
  • the embodiments of the present application also provide a computer program product containing instructions.
  • the computer program product runs on a computer or a processor, the computer or the processor is caused to execute one or more steps in any of the above methods.
  • all or part of the functions can be implemented by software, hardware, or a combination of software and hardware.
  • software When implemented by software, it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

Abstract

A positioning method and a related apparatus. The positioning method is based on a positioning system, and the positioning system includes a processor and an Internet of Things chip. The processor can be used for obtaining positioning information from a positioning chip and sending the positioning information to a cloud server by means of an antenna when an electronic device is in a powered-on state. When the electronic device is in a powered-off state, the Internet of Things chip can obtain the positioning information from the positioning chip and send the positioning information to the cloud server by means of the antenna. By means of implementing the technical solution, even if an electronic device is in a powered-off state, positioning information can still be sent to a cloud server. In this way, the situations in which positioning information cannot be obtained after the electronic device is lost are reduced, thereby improving the positioning accuracy and convenience thereof.

Description

定位方法和相关装置Positioning method and related device
本申请要求于2020年05月29日提交中国专利局、申请号为202010478352.3、申请名称为“定位方法和相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on May 29, 2020, the application number is 202010478352.3, and the application name is "Positioning Method and Related Devices", the entire content of which is incorporated into this application by reference.
技术领域Technical field
本申请涉及电子技术领域,尤其涉及一种定位方法和相关装置。This application relates to the field of electronic technology, and in particular to a positioning method and related devices.
背景技术Background technique
当前,智能手机等电子设备丢失后,如果电子设备处于开机启动状态,电子设备可向云服务器发送自身的定位信息。用户可通过另一电子设备访问云服务器,以获得丢失的电子设备的定位信息,从而找回丢失的电子设备。Currently, after electronic devices such as smart phones are lost, if the electronic device is in the booting state, the electronic device can send its own location information to the cloud server. The user can access the cloud server through another electronic device to obtain the location information of the lost electronic device, so as to retrieve the lost electronic device.
然而,如果丢失的电子设备处于关机状态,电子设备在丢失后无法进行定位也无法向云服务器发送自身的定位信息。这样,不利于用户获得电子设备的定位信息。However, if the lost electronic device is in the shutdown state, the electronic device cannot be located after it is lost, nor can it send its own location information to the cloud server. In this way, it is not conducive for the user to obtain the location information of the electronic device.
发明内容Summary of the invention
本申请公开了一种定位方法和相关装置,可提高PPG信号测量的准确性和测量效率。This application discloses a positioning method and related devices, which can improve the accuracy and measurement efficiency of PPG signal measurement.
第一方面,本申请实施例提供一种定位系统,该定位系统包括处理器、物联网芯片、天线和定位芯片,其中:该处理器与该天线之间的连接通过天线开关导通,该处理器与该定位芯片之间的连接通过芯片开关导通;该天线开关还与该物联网芯片连接,该芯片开关还与该物联网芯片连接;该定位芯片,用于进行定位以获得第一定位信息;该处理器,用于从该定位芯片获得该第一定位信息,并通过该天线发送该第一定位信息;该处理器,还用于响应于用于关机的用户操作,控制该天线开关将该物联网芯片与该天线之间的连接导通,控制该芯片开关将该物联网芯片与该定位芯片之间的连接导通;该定位芯片,用于进行定位以获得第二定位信息;该物联网芯片,用于通过与该定位芯片之间的连接从该定位芯片获得该第二定位信息,并通过与该天线之间的连接发送该第二定位信息。In the first aspect, an embodiment of the present application provides a positioning system, the positioning system includes a processor, an IoT chip, an antenna, and a positioning chip, wherein: the connection between the processor and the antenna is conducted through an antenna switch, and the processing The connection between the device and the positioning chip is conducted through a chip switch; the antenna switch is also connected to the IoT chip, and the chip switch is also connected to the IoT chip; the positioning chip is used for positioning to obtain the first positioning Information; the processor is used to obtain the first positioning information from the positioning chip and send the first positioning information through the antenna; the processor is also used to control the antenna switch in response to a user operation for shutting down The connection between the Internet of Things chip and the antenna is turned on, and the chip switch is controlled to turn on the connection between the Internet of Things chip and the positioning chip; the positioning chip is used for positioning to obtain second positioning information; The Internet of Things chip is configured to obtain the second positioning information from the positioning chip through the connection with the positioning chip, and send the second positioning information through the connection with the antenna.
实施第一方面提供定位系统,即使包含该定位系统的设备处于关机状态,物联网芯片仍然可将定位信息通过天线发送给云服务器,以告知到用户。当包含该定位系统的设备处于开机状态时,该定位系统也可利用处理器通过天线将定位信息发送给云服务器。这样,减少了设备丢失后无法获得定位信息的情况,提高了定位的准确性和便利性。The first aspect of implementation provides a positioning system. Even if the device containing the positioning system is turned off, the IoT chip can still send the positioning information to the cloud server through the antenna to inform the user. When the device containing the positioning system is in the power-on state, the positioning system can also use the processor to send the positioning information to the cloud server through the antenna. In this way, the situation that the positioning information cannot be obtained after the device is lost is reduced, and the accuracy and convenience of positioning are improved.
结合第一方面,在一些实施例中,该定位系统还包括电池,该电池与电源开关连接,该电源开关与该物联网芯片连接;该处理器,还用于响应于该用于关机的用户操作,控制该电源开关将该物联网芯片与该电池之间的连接导通。With reference to the first aspect, in some embodiments, the positioning system further includes a battery, the battery is connected to a power switch, the power switch is connected to the Internet of Things chip; the processor is also used to respond to the user for shutting down In operation, the power switch is controlled to conduct the connection between the Internet of Things chip and the battery.
其中,电池可用于为物联网芯片供电。Among them, the battery can be used to power the IoT chip.
处理器可在休眠之前,控制电源开关将电池和物联网芯片连通,使得电子设备在关机状态下,物联网芯片仍处于工作状态。当处理器接收到关机指令时,处理器还可在休眠之 前控制天线开关断开处理器与天线之间的连接,并控制天线开关将物联网芯片与天线之间的连接导通。这样,在关机状态下,物联网芯片可指令定位芯片(例如蓝牙模块、GPS、Wi-Fi模块或者北斗定位芯片)进行定位,并将定位信息通过天线发送出去。The processor can control the power switch to connect the battery and the Internet of Things chip before sleeping, so that the Internet of Things chip is still working when the electronic device is turned off. When the processor receives a shutdown command, the processor can also control the antenna switch to disconnect the connection between the processor and the antenna before sleeping, and control the antenna switch to turn on the connection between the IoT chip and the antenna. In this way, in the shutdown state, the IoT chip can instruct the positioning chip (such as a Bluetooth module, GPS, Wi-Fi module or Beidou positioning chip) to perform positioning, and send positioning information through the antenna.
其中,处理器接收到关机指令可以是接收到的用于关机的用户操作(例如长按电源键),还可以是检测到电池的电量低于设定阈值。Wherein, the shutdown instruction received by the processor may be a received user operation for shutdown (for example, a long press of the power button), or it may be detected that the power of the battery is lower than a set threshold.
结合第一方面,在一些实施例中,该定位系统还包括晶振系统,该晶振系统与该处理器连接,并与该物联网芯片连接,其中:该晶振系统,用于为该物联网芯片提供时钟信号,并为该处理器提供时钟信号。With reference to the first aspect, in some embodiments, the positioning system further includes a crystal oscillator system connected to the processor and connected to the IoT chip, wherein: the crystal oscillator system is used to provide the IoT chip Clock signal, and provide a clock signal for the processor.
其中,晶振系统与通过电源芯片与处理器连接,并通过电源芯片与物联网芯片连接。电源芯片还可包含分频电路,可将晶振输出的时钟信号进行分频得到不同频率的时钟信号。例如,电源芯片将晶振输出的频率为f1的时钟信号分频得到频率为f2的工作时钟信号和频率为f3的休眠时钟信号。Among them, the crystal oscillator system is connected to the processor through the power supply chip, and is connected to the Internet of Things chip through the power supply chip. The power chip can also include a frequency divider circuit, which can divide the clock signal output by the crystal oscillator to obtain clock signals of different frequencies. For example, the power chip divides the clock signal output by the crystal oscillator with a frequency of f1 to obtain a working clock signal with a frequency of f2 and a sleep clock signal with a frequency of f3.
在电子设备处于关机的状态下,该工作时钟信号和该休眠时钟信号分别输出给物联网芯片。其中:工作时钟信号用于在物联网芯片工作时(例如通过天线发送定位信息时)提供一个基准,使得各模块统一步调工作。工作时钟信号的频率例如是38MHz。When the electronic device is in a shutdown state, the working clock signal and the dormant clock signal are respectively output to the IoT chip. Among them: the working clock signal is used to provide a reference when the Internet of Things chip is working (for example, when sending positioning information through an antenna), so that each module works in a unified step. The frequency of the working clock signal is, for example, 38 MHz.
休眠时钟信号可在关机状态下持续输出给物联网芯片或处理器,用于维持电子设备中时间的连续性,还用于在不需要工作时钟信号时,提供各模块的基准。休眠时钟信号的频率例如是32.768KHz。The dormant clock signal can be continuously output to the IoT chip or processor in the shutdown state, used to maintain the continuity of time in the electronic device, and also used to provide a reference for each module when the working clock signal is not required. The frequency of the sleep clock signal is, for example, 32.768KHz.
在本申请的一些实施例中,晶振系统输出的频率f1的时钟信号经过电源芯片分频,还可为处理器提供时钟信号。In some embodiments of the present application, the clock signal of frequency f1 output by the crystal oscillator system is frequency-divided by the power chip, which can also provide a clock signal for the processor.
结合第一方面,在一些实施例中,该定位系统还包括晶振系统和电源芯片,该电源开关与该电源芯片连接,该电源芯片与该物联网芯片连接,该电源芯片还与该晶振系统连接;该处理器,具体用于响应于该用于关机的用户操作,控制该电源开关将该电源芯片与该电池之间的连接导通,以使该电池通过该电源芯片向该物联网芯片供电,并向该晶振系统供电;该晶振系统,用于为该物联网芯片提供时钟信号。With reference to the first aspect, in some embodiments, the positioning system further includes a crystal oscillator system and a power chip, the power switch is connected to the power chip, the power chip is connected to the Internet of Things chip, and the power chip is also connected to the crystal oscillator system The processor is specifically configured to control the power switch to turn on the connection between the power chip and the battery in response to the user operation for shutting down, so that the battery supplies power to the Internet of Things chip through the power chip , And supply power to the crystal oscillator system; the crystal oscillator system is used to provide a clock signal for the IoT chip.
当电子设备处于开机启动状态时,定位系统可将第一定位信息/第二定位信息发送给云服务器,云服务器转发给第二电子设备。定位系统也可将第一定位信息/第二定位信息发送给第二电子设备。When the electronic device is in the boot-up state, the positioning system may send the first positioning information/second positioning information to the cloud server, and the cloud server forwards it to the second electronic device. The positioning system may also send the first positioning information/second positioning information to the second electronic device.
(1)定位系统将定位信息发送给云服务器(1) The positioning system sends the positioning information to the cloud server
云服务器可存储第一电子设备(包含定位系统)的设备信息和第一账号的关联关系。开机启动状态时,第一电子设备中处理器可指令定位芯片进行定位,并将第一定位信息通过天线发送给云服务器,以实现定位。The cloud server may store the association relationship between the device information of the first electronic device (including the positioning system) and the first account. When powered on, the processor in the first electronic device can instruct the positioning chip to perform positioning, and send the first positioning information to the cloud server through the antenna to achieve positioning.
开机启动状态切换到关机状态之后,第一电子设备中物联网芯片可指令定位芯片进行定位,并将定位信息通过天线发送给云服务器,以实现定位。After the startup state is switched to the shutdown state, the IoT chip in the first electronic device can instruct the positioning chip to perform positioning, and send positioning information to the cloud server through the antenna to achieve positioning.
(2)定位系统将定位信息发送给第二电子设备(2) The positioning system sends the positioning information to the second electronic device
第一电子设备和第二电子设备之间可建立短距离无线连接,例如Wi-Fi直连或者蓝牙连接。第一电子设备可通过该短距离无线连接向第二电子设备发送定位信息。A short-range wireless connection can be established between the first electronic device and the second electronic device, such as a Wi-Fi direct connection or a Bluetooth connection. The first electronic device can send positioning information to the second electronic device through the short-range wireless connection.
具体的,第二电子设备和第一电子设备可均登陆第一账号。云服务器可存储第一电子 设备的设备信息与第一账号的关联关系。第二电子设备可通过云服务器获得第一电子设备的设备信息,并与第一电子设备建立短距离无线连接。Specifically, both the second electronic device and the first electronic device may log in to the first account. The cloud server may store the association relationship between the device information of the first electronic device and the first account. The second electronic device can obtain the device information of the first electronic device through the cloud server, and establish a short-distance wireless connection with the first electronic device.
用户忘记第一电子设备所放置的位置时,可在第二电子设备的用户界面上点击查找设备控件。响应于该用户操作,第二电子设备可通过短距离无线连接向第一电子设备发送用于获取定位信息的指令。在开机状态下,响应于该指令,第一电子设备中处理器获得定位信息,并经由天线通过该短距离无线连接向第二电子设备发送定位信息。在关机状态,或者蜂窝网络信号质量差的情况下,第一电子设备中物联网芯片可获得定位信息,并经由天线通过该短距离无线连接向第二电子设备发送定位信息。When the user forgets where the first electronic device is placed, he can click the search device control on the user interface of the second electronic device. In response to the user operation, the second electronic device may send an instruction for obtaining positioning information to the first electronic device through a short-range wireless connection. In the power-on state, in response to the instruction, the processor in the first electronic device obtains positioning information, and sends the positioning information to the second electronic device through the short-range wireless connection via the antenna. In the shutdown state or in the case of poor cellular network signal quality, the IoT chip in the first electronic device can obtain positioning information, and send the positioning information to the second electronic device through the short-distance wireless connection via the antenna.
当丢失的第一电子设备被关机时,第一电子设备中,物联网芯片仍可处于工作状态,并能从定位芯片获得实时的定位信息,经由天线发送给云服务器,以实现定位。这样,减少了丢失的设备被关机时无法用户无法获得丢失设备实时定位信息的情况,提高了设备定位的便利性。When the lost first electronic device is shut down, the IoT chip in the first electronic device can still be in working state, and real-time positioning information can be obtained from the positioning chip, and sent to the cloud server via the antenna to achieve positioning. In this way, the situation that the user cannot obtain the real-time positioning information of the lost device when the lost device is shut down is reduced, and the convenience of device positioning is improved.
本申请实施例中,处理器可响应于接收到用于获取定位信息的请求(例如第二请求),才从定位芯片获得定位信息(例如第一定位信息、第二定位信息)。处理器也可周期性的从定位芯片获得定位信息,并发送出去。In the embodiment of the present application, the processor may only obtain the positioning information (for example, the first positioning information, the second positioning information) from the positioning chip in response to receiving a request for obtaining positioning information (for example, the second request). The processor may also periodically obtain positioning information from the positioning chip and send it out.
在本申请的一些实施例中,物联网芯片与电池连接之后,电池和处理器之间的连接依然导通。处理器和物联网芯片可均处于工作状态。电池和处理器之间的连接导通且处理器工作在休眠时钟信号,则处理器也可进入休眠状态。当接收到用于开机的用户操作时,处理器才由休眠状态进入开机启动状态。In some embodiments of the present application, after the IoT chip is connected to the battery, the connection between the battery and the processor is still conductive. The processor and the IoT chip may both be in working state. If the connection between the battery and the processor is turned on and the processor is working on the dormant clock signal, the processor can also enter the dormant state. When receiving a user operation for booting, the processor enters the booting state from the dormant state.
在本申请的一些实施例中,物联网芯片与电池连接之后,电源开关可受控于处理器将电池和处理器之间的连接断开。电池和处理器之间的连接断开之后,处理器可进入休眠状态。In some embodiments of the present application, after the IoT chip is connected to the battery, the power switch can be controlled by the processor to disconnect the connection between the battery and the processor. After the connection between the battery and the processor is disconnected, the processor can enter a sleep state.
结合第一方面,在一些实施例中,该处理器,具体用于响应于用于关机的用户操作,执行以下操作:控制该天线开关将该物联网芯片与该天线之间的连接导通,并将该处理器与该天线之间的连接断开;控制该芯片开关将该物联网芯片与该定位芯片之间的连接导通,并将该处理器与该定位芯片之间的连接断开。With reference to the first aspect, in some embodiments, the processor is specifically configured to perform the following operations in response to a user operation for shutting down: controlling the antenna switch to turn on the connection between the IoT chip and the antenna, And disconnect the connection between the processor and the antenna; control the chip switch to conduct the connection between the IoT chip and the positioning chip, and disconnect the connection between the processor and the positioning chip .
结合第一方面,在一些实施例中,该物联网芯片,还用于响应于用于开机的用户操作,控制该天线开关将该处理器与该天线之间的连接导通,控制该芯片开关将该处理器与该定位芯片之间的连接导通;该定位芯片,用于进行定位以获得第三定位信息;该处理器,用于通过与该定位芯片之间的连接从该定位芯片获得该第三定位信息,并通过与该天线之间的连接发送该第三定位信息。With reference to the first aspect, in some embodiments, the IoT chip is also used to control the antenna switch to turn on the connection between the processor and the antenna in response to a user operation for booting, and to control the chip switch The connection between the processor and the positioning chip is conducted; the positioning chip is used for positioning to obtain third positioning information; the processor is used for obtaining third positioning information from the positioning chip through the connection with the positioning chip And send the third positioning information through the connection with the antenna.
本申请实施例中,当丢失的第一电子设备由关机状态重新开机启动时,第一电子设备的定位系统中,处理器可重新处于工作状态,并能从定位芯片获得实时的定位信息,经由天线发送给云服务器,以实现定位,提高了定位的准确性和便利性。In the embodiment of the present application, when the lost first electronic device is restarted from the shutdown state, the processor in the positioning system of the first electronic device can be in the working state again, and real-time positioning information can be obtained from the positioning chip. The antenna is sent to the cloud server to achieve positioning, which improves the accuracy and convenience of positioning.
结合第一方面,在一些实施例中,该处理器还与该物联网芯片连接;该处理器,还用于存储用户标识模块SIM的安全认证信息,并根据该SIM的安全认证信息进行认证,认证通过则接入蜂窝网络;该蜂窝网络用于发送该第一定位信息;该处理器,还用于将该SIM的安全认证信息发送给该物联网芯片;该物联网芯片,还用于根据该SIM的安全认证信息 进行认证,认证通过则接入物联网网络,该物联网网络用于发送该第二定位信息。With reference to the first aspect, in some embodiments, the processor is also connected to the IoT chip; the processor is also used to store the security authentication information of the user identification module SIM, and perform authentication according to the security authentication information of the SIM, If the authentication is passed, the cellular network is accessed; the cellular network is used to send the first positioning information; the processor is also used to send the security authentication information of the SIM to the Internet of Things chip; the Internet of Things chip is also used to The security authentication information of the SIM is authenticated, and if the authentication is passed, the Internet of Things network is accessed, and the Internet of Things network is used to send the second positioning information.
物联网芯片可与处理器通过以下任一种或多种接口连接:UART/SPI/I2C/GPIO。在接收到用于关机的用户操作时,处理器在休眠前可将最新的定位信息、定位芯片的启动文件等通过上述有线连接传输给物联网芯片。The IoT chip can be connected to the processor through any one or more of the following interfaces: UART/SPI/I2C/GPIO. When receiving a user operation for shutting down, the processor can transmit the latest positioning information, the startup file of the positioning chip, etc. to the IoT chip through the above-mentioned wired connection before going to sleep.
其中,处理器设置的存储器中可包含安全单元,该安全单元可存储eSIM信息。该eSIM信息可用于为电子设备接入蜂窝网络提供运营商认证,认证通过则该电子设备可接入蜂窝网络。物联网芯片可获取安全单元中存储的eSIM信息,在关机状态下物联网芯片可利用该eSIM信息进行运营商认证并接入蜂窝网络或者物联网网络。The memory provided by the processor may include a security unit, and the security unit may store eSIM information. The eSIM information can be used to provide operator authentication for the electronic device to access the cellular network, and if the authentication is passed, the electronic device can access the cellular network. The Internet of Things chip can obtain eSIM information stored in the security unit, and the Internet of Things chip can use the eSIM information to perform operator authentication and access the cellular network or the Internet of Things network in the shutdown state.
其中,定位芯片可包含以下中的一种或多种:蓝牙模块、GPS、Wi-Fi芯片和北斗定位芯片。在第一电子设备处于开机启动状态时,蓝牙、GPS、Wi-Fi芯片经由天线接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器。在第一电子设备处于开机启动状态时,蓝牙、GPS、Wi-Fi芯片还可以从处理器接收待发送的信号,对其进行调频,放大,经天线转为电磁波辐射出去。Among them, the positioning chip may include one or more of the following: Bluetooth module, GPS, Wi-Fi chip and Beidou positioning chip. When the first electronic device is in the startup state, the Bluetooth, GPS, and Wi-Fi chips receive electromagnetic waves via the antenna, frequency modulate and filter the electromagnetic wave signals, and send the processed signals to the processor. When the first electronic device is in the startup state, the Bluetooth, GPS, and Wi-Fi chips can also receive the signal to be sent from the processor, perform frequency modulation, amplify, and radiate electromagnetic waves through the antenna.
结合第一方面,在一些实施例中,该物联网芯片包含以下状态:a激活状态;b待机状态;c深度睡眠状态。其中:With reference to the first aspect, in some embodiments, the IoT chip includes the following states: a activated state; b standby state; c deep sleep state. in:
a激活状态a Active state
在该激活状态下,该物联网芯片,具体用于,周期性的从该定位芯片获得该第二定位信息并发送该第二定位信息给云服务器。第二电子设备在接收到第一请求时,可直接从云服务器获得第一电子设备的定位信息。In the activated state, the IoT chip is specifically configured to periodically obtain the second positioning information from the positioning chip and send the second positioning information to the cloud server. When receiving the first request, the second electronic device may directly obtain the positioning information of the first electronic device from the cloud server.
b待机状态b Standby state
在该待机状态下,该物联网芯片,具体用于,响应于接收到用于获得定位信息的请求(例如第二请求),从该定位芯片获得该第二定位信息并发送该第二定位信息。In the standby state, the IoT chip is specifically configured to, in response to receiving a request (for example, a second request) for obtaining positioning information, obtain the second positioning information from the positioning chip and send the second positioning information .
在另一种实施例中,在待机状态下,物联网芯片,也可周期性的从该定位芯片获得该第二定位信息并发送该第二定位信息。该周期可大于激活状态下发送定位信息的周期。In another embodiment, in the standby state, the IoT chip may also periodically obtain the second positioning information from the positioning chip and send the second positioning information. The cycle may be greater than the cycle of sending positioning information in the active state.
c深度睡眠状态c Deep sleep state
在该深度睡眠状态下,该物联网芯片,具体用于,处于休眠状态。物联网芯片可在休眠时钟信号的作用下处于休眠状态。在深度睡眠状态,物联网芯片可周期性的唤醒到工作状态(时钟信号切换为工作时钟信号),并获得实时的定位信息发送给云服务器。或者,当物联网芯片接收到第二请求时,唤醒并获得定位信息发送给云服务器。In the deep sleep state, the IoT chip is specifically used to be in a sleep state. The IoT chip can be in a dormant state under the action of a dormant clock signal. In the deep sleep state, the IoT chip can periodically wake up to the working state (the clock signal is switched to the working clock signal), and obtain real-time positioning information and send it to the cloud server. Or, when the IoT chip receives the second request, it wakes up and obtains the positioning information and sends it to the cloud server.
结合第一方面,在一些实施例中,该物联网芯片,还用于当电池剩余电量大于或等于第一设定阈值时,处于该激活状态;该物联网芯片,还用于当该电池剩余电量大于或等于第一设定阈值时,处于激活状态;该物联网芯片,还用于当该电池剩余电量大于或等于第二设定阈值且小于该第一设定阈值时,从该激活状态切换到该待机状态;该物联网芯片,还用于当该电池剩余电量小于该第二设定阈值时,从该待机状态切换到该深度睡眠状态。With reference to the first aspect, in some embodiments, the IoT chip is also used to be in the activated state when the remaining battery power is greater than or equal to the first set threshold; the IoT chip is also used when the battery remaining When the power is greater than or equal to the first set threshold, it is in the activated state; the IoT chip is also used to switch from the activated state when the remaining battery power is greater than or equal to the second set threshold and less than the first set threshold Switch to the standby state; the Internet of Things chip is also used to switch from the standby state to the deep sleep state when the remaining battery power is less than the second set threshold.
在一种可能的实现方式中,在未接收到第二请求时,物联网芯片可处于待机状态或者深度睡眠状态。例如,首先物联网芯片处于待机状态,超过第一设定时间内仍未接收到第二请求,则物联网芯片进入深度睡眠状态。当通过天线接收到第二请求时,第二请求用于获取第一电子设备的定位信息,物联网芯片可进入激活状态。当持续第二设定时间未接收 到第二请求时,物联网芯片可进入待机状态。当待机状态持续时间大于或等于第一设定时间时,物联网芯片可进入深度睡眠状态。In a possible implementation manner, when the second request is not received, the IoT chip may be in a standby state or a deep sleep state. For example, first the IoT chip is in the standby state, and the second request is not received within the first set time, then the IoT chip enters the deep sleep state. When the second request is received through the antenna, the second request is used to obtain the positioning information of the first electronic device, and the IoT chip can enter the activated state. When the second request is not received for the second set time, the IoT chip may enter the standby state. When the duration of the standby state is greater than or equal to the first set time, the IoT chip may enter a deep sleep state.
上述实现方式中,物联网芯片在未接收到用于获取定位信息的请求时,可处于待机状态或者深度睡眠状态,以节省功耗。这样,在不影响定位信息的上报的前提下,可提高电子设备的续航时间。In the foregoing implementation manner, the IoT chip may be in a standby state or a deep sleep state when it does not receive a request for obtaining positioning information, so as to save power consumption. In this way, the battery life of the electronic device can be increased without affecting the reporting of positioning information.
在本申请实施例中,为保证足够的剩余电量供应给物联网芯片、定位芯片和天线,电池的剩余电量设定阈值例如是8%,高于普通场景下的3%。In the embodiment of the present application, in order to ensure that sufficient remaining power is supplied to the IoT chip, the positioning chip, and the antenna, the remaining power setting threshold of the battery is, for example, 8%, which is higher than 3% in a normal scenario.
在开机状态下,当蜂窝网络信号质量差时,第一电子设备可通过其他网络发送定位信息。这样,第一电子设备可从蜂窝网络信号、物联网信号、北斗定位信号、蓝牙信号中选取信号质量好的网络,发送定位信息。In the power-on state, when the signal quality of the cellular network is poor, the first electronic device may send positioning information through other networks. In this way, the first electronic device can select a network with good signal quality from the cellular network signal, the Internet of Things signal, the Beidou positioning signal, and the Bluetooth signal, and send the positioning information.
具体的,在开机状态下,当蜂窝网络信号质量较好(例如信号强度大于第一强度阈值)时,处理器可从定位芯片获得定位信息,并通过蜂窝网络将定位信息发送给云服务器。当检测到蜂窝网络信号的信号强度小于第一强度阈值时,在开机启动状态下,处理器可控制电源开关将电池和物联网芯片导通,控制天线开关将物联网芯片与天线之间的连接导通,控制芯片开关将物联网芯片与定位芯片之间的连接导通,通过物联网芯片利用物联网网络实现定位。Specifically, in the power-on state, when the signal quality of the cellular network is good (for example, the signal strength is greater than the first intensity threshold), the processor may obtain positioning information from the positioning chip, and send the positioning information to the cloud server through the cellular network. When it is detected that the signal strength of the cellular network signal is less than the first strength threshold, in the startup state, the processor can control the power switch to turn on the battery and the IoT chip, and control the antenna switch to connect the IoT chip and the antenna Turn on, control the chip switch to turn on the connection between the Internet of Things chip and the positioning chip, and realize positioning through the Internet of Things chip using the Internet of Things network.
在开机状态下,当蜂窝网络信号和物联网信号质量均不好时,处理器还可通过与北斗定位芯片连接的天线(即北斗天线),将定位信息发送给云服务器。In the power-on state, when the quality of the cellular network signal and the Internet of Things signal are not good, the processor can also send the positioning information to the cloud server through the antenna connected to the Beidou positioning chip (ie, the Beidou antenna).
在开机状态下,当蜂窝网络信号和物联网信号质量差,北斗定位信号质量也差时,处理器可通过蓝牙模块和天线发送携带定位信息的蓝牙广播,第一电子设备的周边接收到蓝牙广播的设备向云服务器发送该定位信息。In the power-on state, when the quality of the cellular network signal and the signal of the Internet of Things is poor, and the quality of the Beidou positioning signal is also poor, the processor can send a Bluetooth broadcast carrying positioning information through the Bluetooth module and antenna, and the periphery of the first electronic device receives the Bluetooth broadcast The device of the device sends the positioning information to the cloud server.
在一种可能的实施例中,物联网芯片支持物联网网络,也支持蜂窝网络。在关机状态下,当蜂窝网络信号质量差时,第一电子设备可通过其他网络发送定位信息。这样,关机状态下,第一电子设备可从蜂窝网络信号、物联网信号、北斗定位信号、蓝牙信号中选取信号质量好的网络,发送定位信息。In a possible embodiment, the Internet of Things chip supports the Internet of Things network and also supports the cellular network. In the off state, when the signal quality of the cellular network is poor, the first electronic device may send positioning information through other networks. In this way, in the off state, the first electronic device can select a network with good signal quality from the cellular network signal, the Internet of Things signal, the Beidou positioning signal, and the Bluetooth signal, and send the positioning information.
在本申请实施例中,第一电子设备处于关机状态或者蜂窝网络信号质量差时,第一电子设备仍然可通过物联网芯片获得定位信息,并将定位信息发送给云服务器,云服务器将定位信息发送给第二电子设备。这样,减少了第一电子设备丢失后因关机或信号质量低无法获得定位信息的情况,提高了定位的便利性。In the embodiment of the present application, when the first electronic device is turned off or the signal quality of the cellular network is poor, the first electronic device can still obtain positioning information through the IoT chip, and send the positioning information to the cloud server, and the cloud server will send the positioning information Send to the second electronic device. In this way, the situation that positioning information cannot be obtained due to shutdown or low signal quality after the first electronic device is lost is reduced, and the convenience of positioning is improved.
第二方面,本申请实施例提供一种定位方法,该方法应用与电子设备,该电子设备包括处理器、物联网芯片、天线和定位芯片,该方法包括:该电子设备中该处理器与该天线之间的连接通过天线开关导通,该处理器与该定位芯片之间的连接通过芯片开关导通;其中,该天线开关还与该物联网芯片连接,该芯片开关还与该物联网芯片连接;该电子设备通过该定位芯片进行定位以获得第一定位信息;该电子设备通过该处理器从该定位芯片获得该第一定位信息,并通过该天线发送该第一定位信息;该电子设备接收用于关机的用户操作;响应于该用于关机的用户操作,该电子设备通过该处理器控制该天线开关将该物联网芯片与该天线之间的连接导通,控制该芯片开关将该物联网芯片与该定位芯片之间的连接导通;该电子设备通过该定位芯片进行定位以获得第二定位信息;该电子设备通过该物 联网芯片从该定位芯片获得该第二定位信息,并通过该天线发送该第二定位信息。In a second aspect, an embodiment of the present application provides a positioning method, which is applied to an electronic device. The electronic device includes a processor, an Internet of Things chip, an antenna, and a positioning chip. The method includes: the processor and the positioning chip in the electronic device. The connection between the antennas is conducted through an antenna switch, and the connection between the processor and the positioning chip is conducted through a chip switch; wherein, the antenna switch is also connected to the Internet of Things chip, and the chip switch is also connected to the Internet of Things chip. Connected; the electronic device performs positioning through the positioning chip to obtain first positioning information; the electronic device obtains the first positioning information from the positioning chip through the processor, and transmits the first positioning information through the antenna; the electronic device Receive a user operation for shutdown; in response to the user operation for shutdown, the electronic device controls the antenna switch through the processor to turn on the connection between the IoT chip and the antenna, and controls the chip switch to The connection between the IoT chip and the positioning chip is conducted; the electronic device is positioned by the positioning chip to obtain second positioning information; the electronic device obtains the second positioning information from the positioning chip through the IoT chip, and The second positioning information is sent through the antenna.
该电子设备为本申请实施例的第一电子设备。The electronic device is the first electronic device in the embodiment of the application.
实施第二方面提供的方法,即使该电子设备处于关机状态,电子设备仍然可利用物联网芯片将定位信息发送给云服务器,以告知到用户。当该电子设备处于开机状态时,电子设备也可利用处理器通过天线将定位信息发送给云服务器。这样,减少了设备丢失后无法获得定位信息的情况,提高了定位的准确性和便利性。By implementing the method provided in the second aspect, even if the electronic device is turned off, the electronic device can still use the IoT chip to send the location information to the cloud server to inform the user. When the electronic device is turned on, the electronic device can also use the processor to send the positioning information to the cloud server through the antenna. In this way, the situation that the positioning information cannot be obtained after the device is lost is reduced, and the accuracy and convenience of positioning are improved.
结合第二方面,在一些实施例中,该电子设备还包括电池,该电池与电源开关连接,该电源开关与该物联网芯片连接;该电子设备接收用于关机的用户操作之后,该方法还包括:响应于该用于关机的用户操作,该电子设备通过该处理器控制该电源开关将该物联网芯片与该电池之间的连接导通。With reference to the second aspect, in some embodiments, the electronic device further includes a battery, the battery is connected to a power switch, and the power switch is connected to the Internet of Things chip; after the electronic device receives a user operation for shutting down, the method also The method includes: in response to the user operation for shutting down, the electronic device controls the power switch through the processor to turn on the connection between the Internet of Things chip and the battery.
结合第二方面,在一些实施例中,该电子设备还包括晶振系统,该晶振系统与该处理器连接,并与该物联网芯片连接,该晶振系统用于为该物联网芯片提供时钟信号,并为该处理器提供时钟信号。With reference to the second aspect, in some embodiments, the electronic device further includes a crystal oscillator system connected to the processor and connected to the IoT chip, and the crystal oscillator system is used to provide a clock signal for the IoT chip, And provide a clock signal for the processor.
结合第二方面,在一些实施例中,该电子设备还包括晶振系统和电源芯片,该电源开关与该电源芯片连接,该电源芯片与该物联网芯片连接,该电源芯片还与该晶振系统连接;该电子设备通过该处理器控制该电源开关将该物联网芯片与该电池之间的连接导通,包括:该电子设备通过该处理器控制该电源开关将该电源芯片与该电池之间的连接导通,以使该电池通过该电源芯片向该物联网芯片供电,并向该晶振系统供电;该晶振系统用于为该物联网芯片提供时钟信号。With reference to the second aspect, in some embodiments, the electronic device further includes a crystal oscillator system and a power chip, the power switch is connected to the power chip, the power chip is connected to the Internet of Things chip, and the power chip is also connected to the crystal oscillator system The electronic device controls the power switch through the processor to conduct the connection between the IoT chip and the battery, including: the electronic device controls the power switch through the processor to control the power switch between the power chip and the battery The connection is turned on, so that the battery supplies power to the Internet of Things chip through the power chip and powers the crystal oscillator system; the crystal oscillator system is used to provide a clock signal for the Internet of Things chip.
结合第二方面,在一些实施例中,该电子设备通过该处理器控制该天线开关将该物联网芯片与该天线之间的连接导通,控制该芯片开关将该物联网芯片与该定位芯片之间的连接导通,包括:该电子设备通过该处理器控制该天线开关将该物联网芯片与该天线之间的连接导通,并将该处理器与该天线之间的连接断开;该电子设备通过该处理器控制该芯片开关将该物联网芯片与该定位芯片之间的连接导通,并将该处理器与该定位芯片之间的连接断开。With reference to the second aspect, in some embodiments, the electronic device controls the antenna switch through the processor to turn on the connection between the IoT chip and the antenna, and controls the chip switch to connect the IoT chip to the positioning chip The conducting of the connection includes: the electronic device controls the antenna switch through the processor to conduct the connection between the Internet of Things chip and the antenna, and disconnect the connection between the processor and the antenna; The electronic device controls the chip switch through the processor to conduct the connection between the Internet of Things chip and the positioning chip, and disconnect the connection between the processor and the positioning chip.
结合第二方面,在一些实施例中,该电子设备通过该处理器控制该天线开关将该物联网芯片与该天线之间的连接导通,控制该芯片开关将该物联网芯片与该定位芯片之间的连接导通之后,该方法还包括:该电子设备接收用于开机的用户操作;响应于该用于开机的用户操作,该电子设备通过该物联网芯片控制该天线开关将该处理器与该天线之间的连接导通,控制该芯片开关将该处理器与该定位芯片之间的连接导通;该电子设备通过该定位芯片进行定位以获得第三定位信息;该电子设备通过该处理器从该定位芯片获得该第三定位信息,并通过该天线发送该第三定位信息。With reference to the second aspect, in some embodiments, the electronic device controls the antenna switch through the processor to turn on the connection between the IoT chip and the antenna, and controls the chip switch to connect the IoT chip to the positioning chip After the connection is made, the method further includes: the electronic device receives a user operation for booting; in response to the user operation for booting, the electronic device controls the antenna switch to the processor through the Internet of Things chip The connection with the antenna is turned on, and the chip switch is controlled to turn on the connection between the processor and the positioning chip; the electronic device is positioned by the positioning chip to obtain third positioning information; the electronic device is passed through the The processor obtains the third positioning information from the positioning chip, and sends the third positioning information through the antenna.
本申请实施例中,当丢失的第一电子设备由关机状态重新开机启动时,第一电子设备的定位系统中,处理器可重新处于工作状态,并能从定位芯片获得实时的定位信息,经由天线发送给云服务器,以实现定位,提高了定位的准确性和便利性。In the embodiment of the present application, when the lost first electronic device is restarted from the shutdown state, the processor in the positioning system of the first electronic device can be in the working state again, and real-time positioning information can be obtained from the positioning chip. The antenna is sent to the cloud server to achieve positioning, which improves the accuracy and convenience of positioning.
结合第二方面,在一些实施例中,该处理器还与该物联网芯片连接;该电子设备通过该天线发送该第一定位信息之前,该方法还包括:该电子设备通过该处理器根据该SIM的安全认证信息进行认证,认证通过则接入蜂窝网络;该蜂窝网络用于发送该第一定位信息; 该电子设备接收用于关机的用户操作之前,该方法还包括:该处理器将该SIM的安全认证信息发送给该物联网芯片;该电子设备接收用于关机的用户操作之后,该方法还包括:该电子设备通过该物联网芯片根据该SIM的安全认证信息进行认证,认证通过则接入物联网网络,该物联网网络用于发送该第二定位信息。With reference to the second aspect, in some embodiments, the processor is further connected to the Internet of Things chip; before the electronic device transmits the first positioning information through the antenna, the method further includes: the electronic device uses the processor according to the The security authentication information of the SIM is authenticated, and if the authentication is passed, the cellular network is accessed; the cellular network is used to send the first positioning information; before the electronic device receives a user operation for shutting down, the method further includes: the processor The security authentication information of the SIM is sent to the IoT chip; after the electronic device receives the user operation for shutting down, the method further includes: the electronic device authenticates according to the security authentication information of the SIM through the IoT chip, and then the authentication is passed Access to the Internet of Things network, and the Internet of Things network is used to send the second positioning information.
结合第二方面,在一些实施例中,该物联网芯片包含以下状态:激活状态、待机状态和深度睡眠状态;该电子设备通过该物联网芯片从该定位芯片获得该第二定位信息,并通过该天线发送该第二定位信息,包括:在该激活状态下,该电子设备通过该物联网芯片周期性的从该定位芯片获得该第二定位信息并发送该第二定位信息;在该待机状态下,该电子设备响应于接收到用于获得定位信息的请求,通过该物联网芯片,从该定位芯片获得该第二定位信息并发送该第二定位信息;在该深度睡眠状态下,该物联网芯片,处于休眠状态。With reference to the second aspect, in some embodiments, the IoT chip includes the following states: an active state, a standby state, and a deep sleep state; the electronic device obtains the second positioning information from the positioning chip through the IoT chip, and passes The antenna sending the second positioning information includes: in the activated state, the electronic device periodically obtains the second positioning information from the positioning chip through the Internet of Things chip and sends the second positioning information; in the standby state Next, in response to receiving a request for obtaining positioning information, the electronic device obtains the second positioning information from the positioning chip through the Internet of Things chip and sends the second positioning information; in the deep sleep state, the thing The networking chip is in a dormant state.
结合第二方面,在一些实施例中,该电子设备通过该物联网芯片从该定位芯片获得该第二定位信息,并通过该天线发送该第二定位信息之前,该方法还包括:该电子设备通过该物联网芯片获得电池剩余电量;当该电池剩余电量大于或等于第一设定阈值时,该电子设备中该物联网芯片处于该激活状态;当该电池剩余电量大于或等于第二设定阈值且小于该第一设定阈值时,该电子设备通过该物联网芯片控制从该激活状态切换到该待机状态;当该电池剩余电量小于该第二设定阈值时,该物联网芯片通过该物联网芯片控制从该待机状态切换到该深度睡眠状态。With reference to the second aspect, in some embodiments, before the electronic device obtains the second positioning information from the positioning chip through the Internet of Things chip, and transmits the second positioning information through the antenna, the method further includes: the electronic device The remaining battery power is obtained through the Internet of Things chip; when the remaining battery power is greater than or equal to the first set threshold, the Internet of Things chip in the electronic device is in the activated state; when the remaining battery power is greater than or equal to the second set When the threshold is less than the first set threshold, the electronic device is controlled by the IoT chip to switch from the active state to the standby state; when the remaining battery power is less than the second set threshold, the IoT chip passes the The IoT chip controls the switch from the standby state to the deep sleep state.
上述实现方式中,物联网芯片在未接收到用于获取定位信息的请求时,可处于待机状态或者深度睡眠状态,以节省功耗。这样,在不影响定位信息的上报的前提下,可提高电子设备的续航时间。In the foregoing implementation manner, the IoT chip may be in a standby state or a deep sleep state when it does not receive a request for obtaining positioning information, so as to save power consumption. In this way, the battery life of the electronic device can be increased without affecting the reporting of positioning information.
第三方面,本申请实施例提供一种电子设备,该电子设备包括:一个或多个处理器、物联网芯片、天线和定位芯片;该处理器与该天线之间的连接通过天线开关导通,该处理器与该定位芯片之间的连接通过芯片开关导通;该天线开关还与该物联网芯片连接,该芯片开关还与该物联网芯片连接;该存储器与该一个或多个处理器耦合,该存储器用于存储计算机程序代码,该计算机程序代码包括计算机指令;当该一个或多个处理器执行该计算机指令时,使得该电子设备执行第二方面或第二方面任一种可能的实现方式中所述的定位方法。In a third aspect, an embodiment of the present application provides an electronic device that includes: one or more processors, an IoT chip, an antenna, and a positioning chip; the connection between the processor and the antenna is conducted through an antenna switch , The connection between the processor and the positioning chip is conducted through a chip switch; the antenna switch is also connected to the Internet of Things chip, the chip switch is also connected to the Internet of Things chip; the memory is connected to the one or more processors Coupled, the memory is used to store computer program code, the computer program code includes computer instructions; when the one or more processors execute the computer instructions, the electronic device is made to perform the second aspect or any possible aspect of the second aspect Implementation of the positioning method described in the way.
第四方面,本申请实施例提供一种设备定位系统,该系统包括第一电子设备、第二电子设备和云服务器,其中:该第二电子设备与该云服务器建立有通信连接,该第一电子设备与该云服务器建立有通信连接;该第二电子设备,用于接收第一用户操作,该第一用户操作用于获取该第一电子设备的定位信息;该第二电子设备还用于响应于该第一用户操作,向该云服务器发送第一请求;该云服务器,用于响应于该第一请求,向该第一电子设备发送第二请求;该第二请求用于获取该第一电子设备的定位信息;该第一电子设备,用于执行第二方面或第二方面任一种可能的实现方式中所述的定位方法。In a fourth aspect, an embodiment of the present application provides a device positioning system. The system includes a first electronic device, a second electronic device, and a cloud server. The second electronic device establishes a communication connection with the cloud server, and the first The electronic device has established a communication connection with the cloud server; the second electronic device is used to receive a first user operation, and the first user operation is used to obtain positioning information of the first electronic device; the second electronic device is also used to In response to the first user operation, send a first request to the cloud server; the cloud server is configured to send a second request to the first electronic device in response to the first request; the second request is used to obtain the first request Positioning information of an electronic device; the first electronic device is used to execute the positioning method described in the second aspect or any one of the possible implementations of the second aspect.
在一种可能的实施例中,第一电子设备可向云服务器发送定位信息时,携带标识,该标识可指示第一电子设备当前是否关机、信号质量好坏、电量等。云服务器向第二电子设备发送定位信息时也可将该标识发送给第二电子设备。第二电子设备可显示提示,该提示 可指示第一电子设备当前是否关机、信号质量好坏。In a possible embodiment, the first electronic device may carry an identifier when sending positioning information to the cloud server, and the identifier may indicate whether the first electronic device is currently shut down, signal quality, power level, and so on. When the cloud server sends the positioning information to the second electronic device, the identification may also be sent to the second electronic device. The second electronic device may display a prompt, which may indicate whether the first electronic device is currently turned off and whether the signal quality is good or bad.
例如,第一电子设备处于开机状态,且蜂窝网络信号良好。此时第一电子设备中处理器处于工作状态,处理器可获得定位信息并通过天线将定位信息、设备状态、电量等发送给云服务器。此时第一电子设备中物联网芯片可处于休眠状态。第二电子设备可显示状态提示,用于提示第一电子设备当前是否开机,信号质量好坏。例如提示“设备开机状态并在线”。For example, the first electronic device is in a power-on state, and the cellular network signal is good. At this time, the processor in the first electronic device is in a working state, and the processor can obtain positioning information and send the positioning information, device status, power, etc. to the cloud server through the antenna. At this time, the IoT chip in the first electronic device may be in a dormant state. The second electronic device may display a status prompt, which is used to prompt whether the first electronic device is currently turned on and whether the signal quality is good or bad. For example, it prompts "The device is on and online."
再例如,第一电子设备蜂窝网络信号质量差(例如信号质量低于第一强度阈值),则第一电子设备中,处理器可控制开关使得物联网芯片接管定位芯片和天线。物联网芯片可获得更新的定位信息和更新的标识,发送给云服务器,云服务器发送给第二电子设备。该更新标识例如指示第一电子设备处于开机状态,且物联网信号质量好。For another example, if the signal quality of the cellular network of the first electronic device is poor (for example, the signal quality is lower than the first intensity threshold), in the first electronic device, the processor may control the switch to make the IoT chip take over the positioning chip and the antenna. The IoT chip can obtain updated positioning information and updated identification, and send it to the cloud server, and the cloud server sends it to the second electronic device. The update identifier indicates, for example, that the first electronic device is in a power-on state and the signal quality of the Internet of Things is good.
又例如,第一电子设备此时处于关机状态,则第一电子设备中,处理器可控制开关使得物联网芯片接管定位芯片和天线。物联网芯片可获得再次更新的定位信息和再次更新的标识,发送给云服务器。该再次更新标识例如指示第一电子设备处于关机状态,且物联网信号质量好。For another example, if the first electronic device is in the shutdown state at this time, in the first electronic device, the processor may control the switch so that the IoT chip takes over the positioning chip and the antenna. The IoT chip can obtain the updated positioning information and the updated identification again, and send them to the cloud server. The re-update indicator indicates, for example, that the first electronic device is in a shutdown state and the signal quality of the Internet of Things is good.
在物联网芯片接管定位芯片和天线之后,第二电子设备可响应用户操作请求第一电子设备振铃、锁定或者擦除隐私数据。第一电子设备中物联网芯片可响应于该请求,启动扬声器进行振铃、锁定或者擦除隐私数据。在另一种可能的实现中,物联网芯片可通知处理器,处理器启动扬声器进行振铃、锁定第一电子设备或者擦除隐私数据。After the IoT chip takes over the positioning chip and the antenna, the second electronic device can respond to the user's operation to request the first electronic device to ring, lock or erase the private data. In response to the request, the IoT chip in the first electronic device can activate the speaker to ring, lock or erase private data. In another possible implementation, the IoT chip can notify the processor, and the processor activates the speaker to ring, lock the first electronic device, or erase private data.
这样,第一电子设备在关机状态下依然可受控于第二电子设备执行操作,以保护第一电子设备上用户隐私数据的安全。In this way, the first electronic device can still be controlled by the second electronic device to perform operations in the shutdown state, so as to protect the security of the user's private data on the first electronic device.
第五方面,本申请实施例提供了一种计算机存储介质,包括计算机指令,当该计算机指令在计算设备上运行时,使得该计算设备执行本申请实施例第二方面或第二方面的任意一种实现方式提供的定位方法。In a fifth aspect, an embodiment of the present application provides a computer storage medium, including computer instructions, which when the computer instruction runs on a computing device, cause the computing device to execute the second aspect or any one of the second aspect of the embodiments of the present application. A positioning method provided by this implementation.
第六方面,本申请实施例提供了一种计算机程序产品,当该计算机程序产品在计算设备上运行时,使得该计算设备执行本申请实施例第二方面或第二方面的任意一种实现方式提供的定位方法。In the sixth aspect, the embodiments of the present application provide a computer program product, which when the computer program product runs on a computing device, causes the computing device to execute the second aspect or any one of the implementation manners of the second aspect of the embodiments of the present application The positioning method provided.
可以理解地,上述第四方面提供的系统,用于执行第二方面或第二方面的任意一种实现方式提供的定位方法,因此,其所能达到的有益效果可参考第二方面所提供的定位方法中的有益效果。上述第三方面提供的电子设备,第五方面提供的计算机存储介质以及第六方面提供的计算机程序产品均用于执行第二方面或第二方面的任意一种实现方式提供的定位方法,因此,其所能达到的有益效果可参考第二方面所提供的测量方法中的有益效果,此处不再赘述。Understandably, the system provided in the fourth aspect described above is used to implement the positioning method provided in the second aspect or any one of the second aspect implementations. Therefore, the beneficial effects that can be achieved can refer to the second aspect provided Beneficial effects in positioning methods. The electronic equipment provided by the third aspect, the computer storage medium provided by the fifth aspect, and the computer program product provided by the sixth aspect are all used to execute the positioning method provided by the second aspect or any one of the second aspects. Therefore, The beneficial effects that can be achieved can refer to the beneficial effects in the measurement method provided in the second aspect, which will not be repeated here.
附图说明Description of the drawings
下面对本申请实施例用到的附图进行介绍。The following describes the drawings used in the embodiments of the present application.
图1是本申请实施例提供的一种系统架构示意图;FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present application;
图2是本申请实施例提供的一种电子设备10的结构示意图;FIG. 2 is a schematic structural diagram of an electronic device 10 provided by an embodiment of the present application;
图3是本申请实施例提供的另一种电子设备10的结构示意图;FIG. 3 is a schematic structural diagram of another electronic device 10 provided by an embodiment of the present application;
图4是本申请实施例提供的一种定位方法的流程示意图;FIG. 4 is a schematic flowchart of a positioning method provided by an embodiment of the present application;
图5是本申请实施例提供的又一种电子设备10的结构示意图;FIG. 5 is a schematic structural diagram of yet another electronic device 10 provided by an embodiment of the present application;
图6是本申请实施例提供的在一种电子设备10的结构示意图;FIG. 6 is a schematic structural diagram of an electronic device 10 provided by an embodiment of the present application;
图7是本申请实施例提供的又一种电子设备10的结构示意图;FIG. 7 is a schematic structural diagram of another electronic device 10 provided by an embodiment of the present application;
图8是本申请实施例提供的又电子设备10的结构示意图;FIG. 8 is a schematic structural diagram of another electronic device 10 provided by an embodiment of the present application;
图9A~图9D是本申请实施例提供的一些用户界面示意图;9A to 9D are schematic diagrams of some user interfaces provided by embodiments of the present application;
图10是本申请实施例提供的一种定位方法的示意图;FIG. 10 is a schematic diagram of a positioning method provided by an embodiment of the present application;
图11是本申请实施例提供的另一种定位方法示意图。FIG. 11 is a schematic diagram of another positioning method provided by an embodiment of the present application.
具体实施方式Detailed ways
下面结合本申请实施例中的附图对本申请实施例进行描述。本申请实施例的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. The terms used in the implementation part of the embodiments of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.
首先介绍本申请实施例涉及的应用场景。当前电子设备在丢失后如果仍处于开机启动状态,电子设备可进行定位并将自身的定位信息发送给云服务器。用户可通过另一电子设备访问云服务器,以获得丢失的电子设备的定位信息。下面结合系统架构介绍电子设备丢失后定位的原理。First, the application scenarios involved in the embodiments of the present application are introduced. If the current electronic device is still powered on after being lost, the electronic device can locate and send its own location information to the cloud server. The user can access the cloud server through another electronic device to obtain the location information of the lost electronic device. The following describes the principle of positioning after the electronic device is lost in combination with the system architecture.
请参阅图1,图1是本申请实施例提供的一种系统架构示意图。如图1所示,具体的,该系统包含丢失的第一电子设备101、云服务器102和第二电子设备103。其中:Please refer to FIG. 1. FIG. 1 is a schematic diagram of a system architecture provided by an embodiment of the present application. As shown in FIG. 1, specifically, the system includes a first electronic device 101, a cloud server 102 and a second electronic device 103 that are lost. in:
丢失的第一电子设备101在处于开机启动状态时,第一电子设备101中的处理器可处于工作状态,且第一电子设备101中处理器可通过天线与云服务器102进行通信。这样,第一电子设备101可进行定位并将定位信息发送给云服务器102。When the lost first electronic device 101 is in the booting state, the processor in the first electronic device 101 may be in a working state, and the processor in the first electronic device 101 may communicate with the cloud server 102 through an antenna. In this way, the first electronic device 101 can perform positioning and send the positioning information to the cloud server 102.
在第一电子设备101丢失之前,第一电子设备101可响应于用户操作,将设备信息与第一账号绑定。即第一电子设备101的设备信息和第一账号的关联关系可存储在云服务器102上。该关联关系可用于另一电子设备(例如第二电子设备103)从云服务器102获取第一电子设备101的定位信息。第一电子设备101上可登陆该第一账号。Before the first electronic device 101 is lost, the first electronic device 101 may bind the device information with the first account in response to a user operation. That is, the association relationship between the device information of the first electronic device 101 and the first account can be stored on the cloud server 102. This association relationship can be used by another electronic device (for example, the second electronic device 103) to obtain the positioning information of the first electronic device 101 from the cloud server 102. The first account can be logged in to the first electronic device 101.
例如,第一电子设备101的设备信息可以是媒体存取控制(media access control,MAC)地址,第一账号例如是华为账号“136********”。则绑定后云服务器102存储该第一电子设备101的MAC地址和华为账号“136********”的关联关系。云服务器102还可存储有华为账号“136********”对应的验证信息(例如登陆密码),用于验证登陆请求。第一电子设备101可登陆该第一账号“136********”。具体的,登陆过程中,第一电子设备101可向云服务器102请求登陆第一账号“136********”,云服务器102可验证第一电子设备101的登陆请求,验证通过则第一电子设备101登陆第一账号“136********”。For example, the device information of the first electronic device 101 may be a media access control (MAC) address, and the first account is, for example, a Huawei account "136********". After binding, the cloud server 102 stores the association relationship between the MAC address of the first electronic device 101 and the Huawei account number "136********". The cloud server 102 may also store verification information (such as a login password) corresponding to the Huawei account "136********", which is used to verify the login request. The first electronic device 101 can log in to the first account "136********". Specifically, during the login process, the first electronic device 101 may request the cloud server 102 to log in to the first account "136********", and the cloud server 102 may verify the login request of the first electronic device 101, and the verification is passed. Then the first electronic device 101 logs in to the first account "136********".
云服务器102可用于存储第一电子设备101的设备信息和第一账号的关联关系。云服务器102还可存储第一账号的验证信息。云服务器102还可获得第一电子设备101的定位信息。The cloud server 102 may be used to store the association relationship between the device information of the first electronic device 101 and the first account. The cloud server 102 may also store the verification information of the first account. The cloud server 102 can also obtain the positioning information of the first electronic device 101.
第二电子设备103也可登陆该第一账号。登陆第一账号后,第二电子设备103可响应用户操作,向云服务器102发送请求,用于请求获得第一电子设备101的定位信息。第一电子设备101可处于开机启动状态,可向云服务器102发送第一电子设备101的定位信息。 这样,云服务器102可响应于接收到的请求,根据第一电子设备101的设备信息和第一账号的关联关系将第一电子设备101的定位信息发送给第二电子设备103。从而实现当第一电子设备101丢失时,第二电子设备103获得第一电子设备101的定位信息。The second electronic device 103 can also log in to the first account. After logging in to the first account, the second electronic device 103 can respond to user operations and send a request to the cloud server 102 for requesting to obtain the positioning information of the first electronic device 101. The first electronic device 101 may be in a boot-up state, and may send the positioning information of the first electronic device 101 to the cloud server 102. In this way, the cloud server 102 can send the positioning information of the first electronic device 101 to the second electronic device 103 according to the association relationship between the device information of the first electronic device 101 and the first account in response to the received request. Thus, when the first electronic device 101 is lost, the second electronic device 103 obtains the positioning information of the first electronic device 101.
本申请实施例中,第一电子设备101和第二电子设备103均可以是手机、智能手环、平板、智能手表等设备,本申请实施例对此不作限定。In the embodiment of the present application, both the first electronic device 101 and the second electronic device 103 may be devices such as mobile phones, smart bracelets, tablets, smart watches, etc., which are not limited in the embodiments of the present application.
然而,在第一电子设备101处于关机状态时,第一电子设备101中的处理器可处于休眠状态,第一电子设备101中处理器无法获得定位信息,也无法向云服务器102上报定位信息。第一电子设备101在丢失后无法进行定位也无法向云服务器发送自身的定位信息。这样,不利于用户获得第一电子设备的位置。However, when the first electronic device 101 is in the shutdown state, the processor in the first electronic device 101 may be in a dormant state, and the processor in the first electronic device 101 cannot obtain positioning information, and cannot report the positioning information to the cloud server 102. After the first electronic device 101 is lost, it cannot perform positioning and cannot send its own positioning information to the cloud server. In this way, it is not conducive for the user to obtain the location of the first electronic device.
为提高定位的准确性,本申请实施例提供一种定位系统和定位方法。该定位系统用于前述的第一电子设备101,该定位系统包含处理器和物联网芯片。处理器可用于在第一电子设备开机启动状态下,从定位芯片获得定位信息并通过天线发送给云服务器。而在第一电子设备101处于关机状态时,物联网芯片可从定位芯片获得定位信息,并通过天线发送给云服务器。这样,即使第一电子设备处于关机状态,仍然可将定位信息发送给云服务器,以告知到用户。这样,减少了第一电子设备丢失后无法获得定位信息的情况,提高了定位的准确性和便利性。In order to improve the accuracy of positioning, an embodiment of the present application provides a positioning system and a positioning method. The positioning system is used for the aforementioned first electronic device 101, and the positioning system includes a processor and an Internet of Things chip. The processor may be used to obtain positioning information from the positioning chip and send it to the cloud server through the antenna when the first electronic device is turned on. When the first electronic device 101 is in the shutdown state, the IoT chip can obtain positioning information from the positioning chip and send it to the cloud server through the antenna. In this way, even if the first electronic device is in the shutdown state, the positioning information can still be sent to the cloud server to inform the user. In this way, the situation that the positioning information cannot be obtained after the first electronic device is lost is reduced, and the accuracy and convenience of positioning are improved.
本申请实施例的定位系统是第一电子设备中包含处理器和物联网芯片的芯片架构。The positioning system of the embodiment of the present application is a chip architecture including a processor and an Internet of Things chip in the first electronic device.
下面介绍本申请实施例提供的电子设备的结构示意图。The following describes a schematic structural diagram of an electronic device provided by an embodiment of the present application.
请参阅图2,图2是本申请实施例提供的一种电子设备10的结构示意图。该电子设备10可以是图1所描述的丢失的第一电子设备101。该电子设备10可额外包含物联网芯片301,在电子设备10关机状态下,该物联网芯片301依然处于工作状态,指令定位芯片进行定位,并把定位信息通过天线发送出去。下面具体介绍电子设备10的结构。Please refer to FIG. 2, which is a schematic structural diagram of an electronic device 10 according to an embodiment of the present application. The electronic device 10 may be the lost first electronic device 101 described in FIG. 1. The electronic device 10 may additionally include an Internet of Things chip 301. When the electronic device 10 is turned off, the Internet of Things chip 301 is still in a working state, instructs the positioning chip to perform positioning, and transmits the positioning information through an antenna. The structure of the electronic device 10 will be specifically described below.
如图2所示,该电子设备10可包含物联网芯片301,处理器302和电池303,其中:As shown in FIG. 2, the electronic device 10 may include an IoT chip 301, a processor 302 and a battery 303, among which:
物联网芯片301,可在电子设备10处于关机状态时,依然处于工作状态,以指令定位芯片(例如蓝牙模块、GPS、Wi-Fi模块或者北斗定位芯片)进行定位,并将定位信息发送给云服务器。The Internet of Things chip 301 can instruct the positioning chip (such as Bluetooth module, GPS, Wi-Fi module or Beidou positioning chip) to perform positioning when the electronic device 10 is turned off and still in the working state, and send the positioning information to the cloud server.
具体的,当处理器302接收到关机指令时,处理器302可在休眠之前控制电源开关1将电池303和物联网芯片301连通,使得电子设备10在关机状态下,物联网芯片仍处于工作状态。当处理器302接收到关机指令时,处理器302还可在休眠之前控制天线开关2断开处理器302与天线1……天线n之间的连接,并控制天线开关1将物联网芯片301与天线1……天线n之间的连接导通。这样,在关机状态下,物联网芯片301可指令定位芯片(例如蓝牙模块、GPS、Wi-Fi模块或者北斗定位芯片3)进行定位,并将定位信息通过天线1……天线n中的任一个或多个发送给云服务器102。Specifically, when the processor 302 receives a shutdown instruction, the processor 302 can control the power switch 1 to connect the battery 303 and the IoT chip 301 before going to sleep, so that when the electronic device 10 is in the shutdown state, the IoT chip is still in working state . When the processor 302 receives the shutdown instruction, the processor 302 can also control the antenna switch 2 to disconnect the connection between the processor 302 and the antenna 1...antenna n, and control the antenna switch 1 to connect the IoT chip 301 with Antenna 1...The connection between antenna n is open. In this way, in the shutdown state, the IoT chip 301 can instruct the positioning chip (such as Bluetooth module, GPS, Wi-Fi module or Beidou positioning chip 3) to perform positioning, and pass the positioning information through any one of antenna 1...antenna n Or multiple transmissions to the cloud server 102.
其中,处理器302接收到关机指令可以是接收到的用于关机的用户操作,还可以是检测到电池303的电量低于设定阈值。Wherein, the shutdown instruction received by the processor 302 may be a received user operation for shutdown, or it may be detected that the power of the battery 303 is lower than a set threshold.
处理器302,可以包括一个或多个处理单元,例如:处理器302可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU), 图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 302 may include one or more processing units. For example, the processor 302 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and image signal processing. Image signal processor (ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) )Wait. Among them, the different processing units may be independent devices or integrated in one or more processors.
其中,控制器可以是电子设备10的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。Among them, the controller may be the nerve center and command center of the electronic device 10. The controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
处理器302中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器302中的存储器为高速缓冲存储器。该存储器可以保存处理器302刚用过或循环使用的指令或数据。如果处理器302需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器302的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 302 to store instructions and data. In some embodiments, the memory in the processor 302 is a cache memory. The memory can store instructions or data that have just been used or recycled by the processor 302. If the processor 302 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 302 is reduced, and the efficiency of the system is improved.
处理器302设置的存储器可存储嵌入式用户标识模块(embedded subscriber identity module,eSIM)信息。该eSIM信息可用于为电子设备10接入蜂窝网络提供运营商认证,认证通过则该电子设备10可接入蜂窝网络。该eSIM信息例如包含安全认证信息。该安全认证信息例如包含eSIM号段,该eSIM号段与手机号绑定,该eSIM号段用于进行鉴权,鉴权成功则接入蜂窝网络或者物联网网络。The memory provided by the processor 302 may store embedded subscriber identity module (eSIM) information. The eSIM information can be used to provide operator authentication for the electronic device 10 to access the cellular network. If the authentication is passed, the electronic device 10 can access the cellular network. The eSIM information includes, for example, security authentication information. The security authentication information includes, for example, an eSIM number segment, which is bound to a mobile phone number, and the eSIM number segment is used for authentication. If the authentication succeeds, it will access a cellular network or an Internet of Things network.
处理器302可与物联网芯片301建立连接,物联网芯片301可获取处理器302设置的存储器中存储的eSIM信息,以在关机状态下物联网芯片301可利用该eSIM信息进行运营商认证并接入蜂窝网络。The processor 302 can establish a connection with the Internet of Things chip 301, and the Internet of Things chip 301 can obtain eSIM information stored in the memory set by the processor 302, so that the Internet of Things chip 301 can use the eSIM information to perform operator authentication and connection in the shutdown state. Enter the cellular network.
在一些实施例中,处理器302还可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 302 may also include one or more interfaces. The interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous transmitter) interface. receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / Or Universal Serial Bus (USB) interface, etc.
天线可用于发射和接收电磁波信号。如图2所示,电子设备10中天线可包含天线1、天线2……天线n。其中,n为大于或等于2的正整数。每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna can be used to transmit and receive electromagnetic wave signals. As shown in FIG. 2, the antenna in the electronic device 10 may include antenna 1, antenna 2,...antenna n. Wherein, n is a positive integer greater than or equal to 2. Each antenna can be used to cover single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
电池303可用于为电子设备10中各个器件(例如处理器302、物联网芯片301)进行供电。在一些实施例中,当处理器302接收到关机指令时,处理器302可控制电源开关2将电池303和处理器302之间的连接断开,使得处理器302进入休眠状态。具体的,处理器302可在接收到关机指令之后,先控制天线开关1、天线开关2、电源开关1之后,再控制电源开关2将电池303和处理器302之间的连接断开。The battery 303 can be used to supply power to various devices in the electronic device 10 (for example, the processor 302 and the IoT chip 301). In some embodiments, when the processor 302 receives a shutdown instruction, the processor 302 may control the power switch 2 to disconnect the connection between the battery 303 and the processor 302, so that the processor 302 enters a sleep state. Specifically, after receiving the shutdown instruction, the processor 302 may first control the antenna switch 1, the antenna switch 2, and the power switch 1, and then control the power switch 2 to disconnect the battery 303 and the processor 302.
电子设备10还可包含移动通信模块,移动通信模块可以提供应用在电子设备10上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块可以与天线(例如天线1、天线2……天线n中的一个或多个)连接,对天线接收的电磁波进行滤波,放大 等处理,传送至调制解调处理器进行解调。移动通信模块还可以对经调制解调处理器调制后的信号放大,经天线转为电磁波辐射出去。在一些实施例中,移动通信模块的至少部分功能模块可以被设置于处理器302中。在一些实施例中,移动通信模块的至少部分功能模块可以与处理器302的至少部分模块被设置在同一个器件中。The electronic device 10 may also include a mobile communication module, and the mobile communication module may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 10. The mobile communication module may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module can be connected to an antenna (for example, one or more of antenna 1, antenna 2...antenna n) to filter and amplify the electromagnetic wave received by the antenna, and transmit it to the modem processor for demodulation. The mobile communication module can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation by the antenna. In some embodiments, at least part of the functional modules of the mobile communication module may be provided in the processor 302. In some embodiments, at least part of the functional modules of the mobile communication module and at least part of the modules of the processor 302 may be provided in the same device.
本申请实施例中,天线开关1和天线开关2可以是集成在一个模块中实现,也可以是分别集成在两个单独的模块中实现的,本申请实施例对此不作限定。类似地,电源开关1和电源开关2也可集成在一个模块中实现,也可分别集成在两个单独的模块中实现。In the embodiment of the present application, the antenna switch 1 and the antenna switch 2 may be integrated in one module, or they may be integrated in two separate modules, which is not limited in the embodiment of the present application. Similarly, the power switch 1 and the power switch 2 can also be integrated in one module, or they can be integrated in two separate modules.
下面介绍本申请实施例提供的另一种电子设备10的结构示意图。在电子设备10关机状态下,物联网芯片301处于工作状态,指令蓝牙模块、GPS、Wi-Fi模块或者北斗定位芯片中的一个或多个进行定位,并把定位信息通过天线发送出去。The following describes a schematic structural diagram of another electronic device 10 provided by an embodiment of the present application. When the electronic device 10 is turned off, the Internet of Things chip 301 is in the working state, instructs one or more of the Bluetooth module, GPS, Wi-Fi module, or Beidou positioning chip to perform positioning, and transmits positioning information through the antenna.
请参阅图3,图3是本申请实施例提供的另一种电子设备10的结构示意图。如图3所示,该电子设备10可包含物联网芯片301,处理器302,电池303,蓝牙、GPS、Wi-Fi芯片304、北斗定位芯片305、SIM卡306、天线(可包含一个或多个天线,例如包含天线1、天线2……天线k和天线k+1)。其中:Please refer to FIG. 3, which is a schematic structural diagram of another electronic device 10 according to an embodiment of the present application. As shown in Figure 3, the electronic device 10 may include an Internet of Things chip 301, a processor 302, a battery 303, Bluetooth, GPS, Wi-Fi chip 304, Beidou positioning chip 305, SIM card 306, an antenna (may include one or more One antenna, for example, includes antenna 1, antenna 2...antenna k and antenna k+1). in:
物联网芯片301,处理器302和电池303可参考图3所描述示例,不再赘述。For the IoT chip 301, the processor 302, and the battery 303, please refer to the example described in FIG. 3, and will not be repeated here.
如图3所示,处理器302设置的存储器中可包含安全单元3021,该安全单元3021可存储eSIM信息。该eSIM信息可用于为电子设备10接入蜂窝网络提供运营商认证,认证通过则该电子设备10可接入蜂窝网络。该eSIM信息可由处理器302预先发送给物联网芯片301,也可在该电子设备关机时,由处理器302发送给物联网芯片301。As shown in FIG. 3, the memory provided by the processor 302 may include a security unit 3021, and the security unit 3021 may store eSIM information. The eSIM information can be used to provide operator authentication for the electronic device 10 to access the cellular network. If the authentication is passed, the electronic device 10 can access the cellular network. The eSIM information can be sent to the IoT chip 301 by the processor 302 in advance, or can be sent to the IoT chip 301 by the processor 302 when the electronic device is shut down.
物联网芯片301可获取安全单元3021中存储的eSIM信息,在关机状态下物联网芯片301可利用该eSIM信息进行运营商认证并接入蜂窝网络或者物联网网络。The Internet of Things chip 301 can obtain the eSIM information stored in the security unit 3021, and the Internet of Things chip 301 can use the eSIM information to perform operator authentication and access the cellular network or the Internet of Things network in the shutdown state.
如图3所示,电子设备10中天线可包含天线1、天线2……天线k和天线k+1。k为大于或等于1的正整数。每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。As shown in FIG. 3, the antenna in the electronic device 10 may include antenna 1, antenna 2,..., antenna k, and antenna k+1. k is a positive integer greater than or equal to 1. Each antenna can be used to cover single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
其中,天线1、天线2……天线k可用于实现蜂窝网络通信。电子设备10还可包含移动通信模块,移动通信模块可以提供应用在电子设备10上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块可以包括至少一个滤波器,开关,功率放大器,LNA等。移动通信模块可以与天线(例如天线1、天线2……天线k中的一个或多个)连接,对天线接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块还可以对经调制解调处理器调制后的信号放大,经天线转为电磁波辐射出去,以实现蜂窝网络通信。Among them, antenna 1, antenna 2,...antenna k can be used to implement cellular network communication. The electronic device 10 may also include a mobile communication module, and the mobile communication module may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 10. The mobile communication module may include at least one filter, switch, power amplifier, LNA, etc. The mobile communication module can be connected to an antenna (for example, one or more of antenna 1, antenna 2, ..., antenna k), and perform filtering, amplifying, and other processing on the electromagnetic wave received by the antenna, and then transmitting it to the modem processor for demodulation. The mobile communication module can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves to radiate it through the antenna, so as to realize cellular network communication.
蓝牙、GPS、Wi-Fi芯片304可以提供应用在电子设备10上的以下一种或多种无线通信的解决方案:蓝牙(bluetooth,BT),全球定位系统(global positioning system,GPS),无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络)。蓝牙、GPS、Wi-Fi芯片304可以集成至少一个通信处理模块。在电子设备10处于开机启动状态时,蓝牙、GPS、Wi-Fi芯片304经由天线k+1接收电磁波,将电磁波信号调 频以及滤波处理,将处理后的信号发送到处理器302。在电子设备10处于开机启动状态时,蓝牙、GPS、Wi-Fi芯片304还可以从处理器302接收待发送的信号,对其进行调频,放大,经天线k+1转为电磁波辐射出去。The Bluetooth, GPS, and Wi-Fi chip 304 can provide one or more of the following wireless communication solutions applied to the electronic device 10: Bluetooth (BT), global positioning system (GPS), wireless local area network (wireless local area networks, WLAN) (such as wireless fidelity (Wi-Fi) networks). The Bluetooth, GPS, and Wi-Fi chip 304 may integrate at least one communication processing module. When the electronic device 10 is turned on, the Bluetooth, GPS, and Wi-Fi chip 304 receives electromagnetic waves via the antenna k+1, modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 302. When the electronic device 10 is in the startup state, the Bluetooth, GPS, and Wi-Fi chip 304 can also receive the signal to be sent from the processor 302, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna k+1.
北斗定位芯片305可以提供应用在电子设备10上的北斗卫星导航系统(beidou navigation satellite system,BDS)的解决方案。在电子设备10处于开机启动状态时,北斗定位芯片305可经由天线n+1接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器302。在电子设备10处于开机启动状态时,北斗定位芯片305还可以从处理器302接收待发送的信号,对其进行调频,放大,经天线k+1转为电磁波辐射出去。The Beidou positioning chip 305 can provide a Beidou navigation satellite system (BDS) solution applied to the electronic device 10. When the electronic device 10 is turned on, the Beidou positioning chip 305 can receive electromagnetic waves via the antenna n+1, frequency-modulate and filter the electromagnetic wave signals, and send the processed signals to the processor 302. When the electronic device 10 is in the startup state, the Beidou positioning chip 305 can also receive the signal to be sent from the processor 302, perform frequency modulation, amplify it, and convert it into electromagnetic wave radiation via the antenna k+1.
不限于上述蓝牙、GPS、Wi-Fi通信,调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信技术也可通过对应的通信模块与天线k+1、处理器302耦合实现,本申请实施例对此不作限定。Not limited to the above-mentioned Bluetooth, GPS, Wi-Fi communication, frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication technologies can also be communicated through corresponding communication technologies. The module is coupled with the antenna k+1 and the processor 302 for implementation, which is not limited in the embodiment of the present application.
在一些实施例中,电子设备10中移动通信模块分别与处理器302、天线1……天线k耦合,蓝牙、GPS、Wi-Fi芯片304分别与处理器302、天线k+1耦合,使得电子设备10在开机启动状态下可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),BDS,准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the mobile communication module in the electronic device 10 is respectively coupled with the processor 302, the antenna 1...antenna k, and the Bluetooth, GPS, and Wi-Fi chips 304 are respectively coupled with the processor 302 and the antenna k+1, so that the electronic device 10 It can communicate with the network and other devices through wireless communication technology when it is powered on. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), BDS, quasi-zenith satellite system (QZSS) and/or satellite Satellite based augmentation systems (SBAS).
在本申请实施例中,当处理器302接收到关机指令时,处理器302可在休眠之前控制电源开关1将电池303和物联网芯片301连通,使得电子设备10在关机状态下,处于工作状态。当处理器302接收到关机指令时,处理器302还可在休眠之前控制天线开关2断开处理器302与天线1……天线k之间的连接,并控制天线开关1将物联网芯片301与天线1……天线k之间的连接导通。当处理器302接收到关机指令时,处理器302还可在休眠之前控制芯片开关断开处理器302与蓝牙、GPS、Wi-Fi芯片304之间的连接、断开处理器302与北斗定位芯片305之间的连接,并控制芯片开关将物联网芯片301与蓝牙、GPS、Wi-Fi芯片304之间的连接导通,将物联网芯片301与北斗定位芯片305之间的连接导通。这样,在关机状态下,物联网芯片301处于工作状态,可指令蓝牙、GPS、Wi-Fi芯片304或者北斗定位芯片305进行定位。物联网芯片301还可将定位信息通过天线1……天线k中的任一个或多个发送给云服务器102。In the embodiment of the present application, when the processor 302 receives a shutdown instruction, the processor 302 can control the power switch 1 to connect the battery 303 and the Internet of Things chip 301 before going to sleep, so that the electronic device 10 is in the working state in the shutdown state . When the processor 302 receives the shutdown instruction, the processor 302 can also control the antenna switch 2 to disconnect the connection between the processor 302 and the antenna 1...antenna k, and control the antenna switch 1 to connect the IoT chip 301 with Antenna 1...The connection between antenna k is conducted. When the processor 302 receives the shutdown instruction, the processor 302 can also control the chip switch to disconnect the connection between the processor 302 and the Bluetooth, GPS, Wi-Fi chip 304, and disconnect the processor 302 from the Beidou positioning chip before sleeping. And control the chip switch to turn on the connection between the IoT chip 301 and the Bluetooth, GPS, Wi-Fi chip 304, and turn on the connection between the IoT chip 301 and the Beidou positioning chip 305. In this way, in the shutdown state, the IoT chip 301 is in a working state, and the Bluetooth, GPS, Wi-Fi chip 304 or the Beidou positioning chip 305 can be instructed to perform positioning. The IoT chip 301 can also send the positioning information to the cloud server 102 via any one or more of the antenna 1...the antenna k.
可以理解的,图2和图3所描述的电子设备10仅是一个范例,并且电子设备10可以具有比图2、图3中所示的更多的或者更少的部件,例如,电子设备10还包含传感器模块、存储模块、摄像头、显示屏、音频模块等,这些模块可分别与处理器302连接。It can be understood that the electronic device 10 described in FIGS. 2 and 3 is only an example, and the electronic device 10 may have more or less components than those shown in FIGS. 2 and 3, for example, the electronic device 10 It also includes a sensor module, a storage module, a camera, a display screen, an audio module, etc., which can be connected to the processor 302 respectively.
基于图2和图3所描述的电子设备10的结构示意图,本申请实施例提供一种定位方法。 该定位方法中,丢失的第一电子设备101在开机启动状态、关机状态均可将定位信息经由云服务器102发送到第二电子设备103。这样,可实现在第二电子设备103侧向用户提供丢失的第一电子设备101的定位信息。Based on the schematic structural diagrams of the electronic device 10 described in FIG. 2 and FIG. 3, an embodiment of the present application provides a positioning method. In this positioning method, the lost first electronic device 101 can send the positioning information to the second electronic device 103 via the cloud server 102 in both the startup state and the shutdown state. In this way, the positioning information of the lost first electronic device 101 can be provided to the user on the side of the second electronic device 103.
下面具体介绍本申请实施例提供的定位方法,请参阅图4,图4是本申请实施例提供的一种定位方法的流程示意图,如图4所示,该定位方法可包括步骤S101~S121。分以下三部分介绍本申请实施例提供的定位过程:(1)开机启动状态下定位过程;(2)开机启动状态切换到关机状态的定位过程;(3)重新开机启动的定位过程。The following specifically introduces the positioning method provided by the embodiment of the present application. Please refer to FIG. 4. FIG. 4 is a schematic flowchart of a positioning method provided by an embodiment of the present application. As shown in FIG. 4, the positioning method may include steps S101 to S121. The positioning process provided by the embodiments of this application is introduced in the following three parts: (1) the positioning process in the boot-up state; (2) the positioning process when the boot-up state is switched to the shutdown state; (3) the positioning process in the restart state.
(1)开机启动状态下定位过程(1) Positioning process under startup state
其中,第一电子设备101在开机启动状态时,第一电子设备101中处理器302可指令定位芯片进行定位,并将定位信息通过天线发送给云服务器102,以实现定位,参考步骤S101~S108。Wherein, when the first electronic device 101 is in the startup state, the processor 302 in the first electronic device 101 can instruct the positioning chip to perform positioning, and send the positioning information to the cloud server 102 through the antenna to achieve positioning, refer to steps S101 to S108 .
S101、开机启动状态下,处理器302通过天线开关2分别与天线1……天线k连接,电池303通过电源开关2为处理器302供电,处理器302通过芯片开关分别与蓝牙、GPS、Wi-Fi芯片304、北斗定位芯片305连接。S101. In the boot-up state, the processor 302 is connected to the antenna 1...antenna k through the antenna switch 2, and the battery 303 supplies power to the processor 302 through the power switch 2, and the processor 302 is connected to Bluetooth, GPS, and Wi-Fi through the chip switch. Fi chip 304 and Beidou positioning chip 305 are connected.
S102、处理器302指令蓝牙、GPS、Wi-Fi芯片304、北斗定位芯片305中的一个或多个进行定位,以获得第一定位信息。S102. The processor 302 instructs one or more of the Bluetooth, GPS, Wi-Fi chip 304, and the Beidou positioning chip 305 to perform positioning to obtain first positioning information.
S103、第二电子设备103接收到用于获取第一电子设备101的定位信息的用户操作。S103: The second electronic device 103 receives a user operation for acquiring the positioning information of the first electronic device 101.
本申请实施例中,丢失的第一电子设备101上可登陆过第一账号,具体的,登陆过程中,第一电子设备101可向云服务器102请求登陆第一账号,云服务器102可验证第一电子设备101的登陆请求,例如云服务器可存储用户设定账号对应的密码并通过密码验证,验证通过则第一电子设备101登陆第一账号。In this embodiment of the application, the first electronic device 101 that is lost may have logged in to the first account. Specifically, during the login process, the first electronic device 101 may request the cloud server 102 to log in to the first account, and the cloud server 102 may verify the first account. For a login request of the electronic device 101, for example, the cloud server may store a password corresponding to the account set by the user and pass the password verification. If the verification is passed, the first electronic device 101 logs in to the first account.
本申请实施例中,第一电子设备101登陆第一账号后,第一电子设备的设备信息与第一账号的关联关系即可存储在云服务器上。这样,在第一电子设备101退出登陆第一账号后,云服务器仍然可向第一电子设备请求获取定位信息。In the embodiment of the present application, after the first electronic device 101 logs in to the first account, the association relationship between the device information of the first electronic device and the first account can be stored on the cloud server. In this way, after the first electronic device 101 logs out of the first account, the cloud server can still request the first electronic device to obtain positioning information.
第二电子设备103也可登陆第一账号,第二电子设备103的用户界面上可显示用于获取第一电子设备101的定位信息的控件,作用在该控件的用户操作,可以是。响应于作用在该控件的用户操作,第二电子设备103执行步骤S104。The second electronic device 103 can also log in to the first account, and the user interface of the second electronic device 103 can display a control for obtaining the positioning information of the first electronic device 101, and the user operation acting on the control can be. In response to a user operation on the control, the second electronic device 103 executes step S104.
S104、第二电子设备103向云服务器102发送第一请求,第一请求用于请求获取第一电子设备101的定位信息。S104. The second electronic device 103 sends a first request to the cloud server 102, where the first request is used to request to obtain the positioning information of the first electronic device 101.
S105、响应于第一请求,云服务器102向第一电子设备101发送第二请求,第二请求用于获取第一电子设备101的定位信息。S105. In response to the first request, the cloud server 102 sends a second request to the first electronic device 101, and the second request is used to obtain the positioning information of the first electronic device 101.
S106、响应于第二请求,处理器302通过天线向云服务器102发送第一定位信息。S106. In response to the second request, the processor 302 sends the first positioning information to the cloud server 102 through the antenna.
本申请实施例中,处理器302经由天线与云服务器102可通过蜂窝网络建立无线连接。具体的,SIM卡306(参阅图3)可存储有安全认证信息,处理器302可通过天线向运营商的基站或服务器发送携带该安全认证信息的消息,运营商的基站或服务器对安全认证信息进行认证,认证通过则处理器302可通过天线与云服务器102通信。例如,认证通过则云服务器102可执行步骤S105,以向第一电子设备101发送第二请求,处理器302可执行步骤S106,以向云服务器102发送第一定位信息。In the embodiment of the present application, the processor 302 can establish a wireless connection with the cloud server 102 via an antenna via a cellular network. Specifically, the SIM card 306 (see FIG. 3) may store security authentication information, and the processor 302 may send a message carrying the security authentication information to the base station or server of the operator through the antenna, and the base station or server of the operator may check the security authentication information Perform authentication, and if the authentication is passed, the processor 302 can communicate with the cloud server 102 via an antenna. For example, if the authentication is passed, the cloud server 102 may perform step S105 to send a second request to the first electronic device 101, and the processor 302 may perform step S106 to send the first positioning information to the cloud server 102.
本申请实施例中,响应于用户操作,当第一电子设备101的用户界面上的流量开关由关闭状态显示为开启状态时,处理器302可执行通过天线发送携带该安全认证信息的消息。当第一电子设备101的用户界面上的流量开关处于关闭状态时,第一电子设备101无法通过蜂窝网络与云服务器102建立无线连接。其中蜂窝网络可包含GSM网络。In the embodiment of the present application, in response to a user operation, when the flow switch on the user interface of the first electronic device 101 is displayed from an off state to an on state, the processor 302 may execute a message carrying the security authentication information through an antenna. When the flow switch on the user interface of the first electronic device 101 is in the off state, the first electronic device 101 cannot establish a wireless connection with the cloud server 102 through the cellular network. The cellular network may include a GSM network.
可以理解的,本申请实施例以蜂窝网络为例进行介绍,但是不限于蜂窝网络,第一电子设备10还可以通过其他无线方式与云服务器102进行通信,例如Wi-Fi、蓝牙或者多种无线通信方式结合的方式等,本申请实施例对此不作限定。It is understandable that the embodiment of the present application takes a cellular network as an example for introduction, but it is not limited to a cellular network. The first electronic device 10 may also communicate with the cloud server 102 through other wireless methods, such as Wi-Fi, Bluetooth, or various wireless methods. The method of combining communication modes, etc., is not limited in the embodiment of the present application.
S107、服务器102将第一定位信息发送给第二电子设备103。S107: The server 102 sends the first positioning information to the second electronic device 103.
本申请实施例中,第二电子设备103可将第一定位信息显示出来,供用户查看。In this embodiment of the application, the second electronic device 103 may display the first positioning information for the user to view.
(2)开机启动状态切换到关机状态的定位过程(2) The positioning process of switching from the startup state to the shutdown state
本申请实施例中,第一电子设备101的定位信息可随时间更新。第一电子设备101可周期性的将定位信息上报给云服务器102。第一电子设备101由开机启动状态切换到关机状态之后,第一电子设备101中物联网芯片301可指令定位芯片进行定位,并将定位信息通过天线发送给云服务器102,以实现定位,参考步骤S108~S115。In the embodiment of the present application, the positioning information of the first electronic device 101 may be updated over time. The first electronic device 101 may report the positioning information to the cloud server 102 periodically. After the first electronic device 101 is switched from the startup state to the shutdown state, the IoT chip 301 in the first electronic device 101 can instruct the positioning chip to perform positioning, and send positioning information to the cloud server 102 through the antenna to achieve positioning. Refer to the steps S108~S115.
S108、响应于用于关机的用户操作,电源开关1受控于处理器302将电池303和物联网芯片301导通。S108. In response to a user operation for shutting down, the power switch 1 is controlled by the processor 302 to turn on the battery 303 and the IoT chip 301.
本申请实施例中,用于关机的用户操作,例如是长按电源键。不限于用于关机的用户操作,还可以是其他指令触发处理器302控制电源开关1将电池303和物联网芯片301导通,并执行步骤S109~S111。例如,当电池303的电量低于设定阈值(例如剩余电量小于或等于2%)时,处理器302可控制电源开关1将电池303和物联网芯片301导通,并执行步骤S109~S111。In the embodiment of the present application, the user operation for shutting down is, for example, long pressing the power button. It is not limited to the user operation for shutting down, and other instructions may trigger the processor 302 to control the power switch 1 to turn on the battery 303 and the IoT chip 301, and perform steps S109 to S111. For example, when the power of the battery 303 is lower than a set threshold (for example, the remaining power is less than or equal to 2%), the processor 302 may control the power switch 1 to turn on the battery 303 and the IoT chip 301, and perform steps S109-S111.
S109、响应于该用于关机的用户操作,天线开关2受控于处理器302将处理器302与天线1……天线k之间的连接断开,天线开关1受控于处理器302将物联网芯片301与天线1……天线k之间的连接导通。S109. In response to the user operation for shutting down, the antenna switch 2 is controlled by the processor 302 to disconnect the connection between the processor 302 and the antenna 1...antenna k, and the antenna switch 1 is controlled by the processor 302 to disconnect the object. The connection between the networking chip 301 and the antenna 1...the antenna k is conducted.
S110、响应于该用于关机的用户操作,芯片开关受控于处理器302将处理器302与蓝牙、GPS、Wi-Fi芯片304之间的连接断开、将处理器302与北斗定位芯片305之间的连接断开,芯片开关受控于处理器302并将物联网芯片301与蓝牙、GPS、Wi-Fi芯片304之间的连接导通,将物联网芯片301与北斗定位芯片305之间的连接导通。S110. In response to the user operation for shutting down, the chip switch is controlled by the processor 302 to disconnect the processor 302 from the Bluetooth, GPS, and Wi-Fi chip 304, and to disconnect the processor 302 from the Beidou positioning chip 305 The connection between the chip is disconnected, the chip switch is controlled by the processor 302 and the connection between the IoT chip 301 and the Bluetooth, GPS, Wi-Fi chip 304 is turned on, and the IoT chip 301 and the Beidou positioning chip 305 are connected. The connection is turned on.
本申请实施例中,步骤S108、S109和S110执行的先后顺序不作限定。In the embodiment of the present application, the order of execution of steps S108, S109, and S110 is not limited.
在本申请的一些实施例中,处理器302执行步骤S110之后,电源开关2可受控于处理器302将电池303和处理器302之间的连接断开。In some embodiments of the present application, after the processor 302 executes step S110, the power switch 2 can be controlled by the processor 302 to disconnect the connection between the battery 303 and the processor 302.
在本申请的另一些实施例中,物联网芯片301与电池303连接之后,电池303和处理器302之间的连接依然导通。处理器302和物联网芯片301可均处于工作状态。In some other embodiments of the present application, after the IoT chip 301 is connected to the battery 303, the connection between the battery 303 and the processor 302 is still conductive. The processor 302 and the IoT chip 301 may both be in working state.
电池303和处理器302之间的连接断开之后,处理器302可进入休眠状态。电池303和处理器302之间的连接导通且处理器302工作在休眠时钟信号,则处理器302也可进入休眠状态。当接收到用于开机的用户操作时,处理器302才由休眠状态进入开机启动状态。After the connection between the battery 303 and the processor 302 is disconnected, the processor 302 may enter a sleep state. The connection between the battery 303 and the processor 302 is turned on and the processor 302 is working on the dormant clock signal, the processor 302 can also enter the dormant state. When receiving a user operation for booting, the processor 302 enters the booting state from the sleep state.
在本申请的一些实施例中,天线开关2、芯片开关和电源开关不限于受控于处理器301执行相应动作。在步骤S108之后,步骤S109~S110中天线开关2、芯片开关和电源开关还 可以是受控于物联网芯片301执行相应动作。具体的,物联网芯片301可控制天线开关2将处理器302与天线1……天线k之间的连接断开,将物联网芯片301与天线1……天线k之间的连接导通。物联网芯片301还可控制芯片开关将处理器302与定位芯片之间的连接断开,并将物联网芯片301与定位芯片之间的连接导通。In some embodiments of the present application, the antenna switch 2, the chip switch, and the power switch are not limited to being controlled by the processor 301 to perform corresponding actions. After step S108, the antenna switch 2, chip switch and power switch in steps S109 to S110 may also be controlled by the IoT chip 301 to perform corresponding actions. Specifically, the IoT chip 301 can control the antenna switch 2 to disconnect the connection between the processor 302 and the antenna 1...antenna k, and conduct the connection between the IoT chip 301 and the antenna 1...antenna k. The IoT chip 301 can also control the chip switch to disconnect the connection between the processor 302 and the positioning chip, and turn on the connection between the IoT chip 301 and the positioning chip.
S111、物联网芯片301指令蓝牙、GPS、Wi-Fi芯片304、北斗定位芯片305中的一个或多个进行定位,以获得第二定位信息。S111. The IoT chip 301 instructs one or more of the Bluetooth, GPS, Wi-Fi chip 304, and the Beidou positioning chip 305 to perform positioning to obtain second positioning information.
在本申请的一些实施例中,第一电子设备101被关机时,则执行步骤S108~S110。当第一电子设备101处于关机状态时,物联网芯片301可从定位芯片获得定位信息,并周期性的将定位信息发送给云服务器102。当云服务器102接收到用于请求获取第一电子设备101的定位信息时,即可将从第一电子设备101获得的最新的定位信息发送给第二电子设备103。在另一种可能的实现中,当云服务器102接收到用于请求获取第一电子设备101的定位信息时,云服务器102可向第一电子设备101中的物联网芯片301发送第二请求,请求更新定位信息。In some embodiments of the present application, when the first electronic device 101 is shut down, steps S108 to S110 are executed. When the first electronic device 101 is in the shutdown state, the IoT chip 301 can obtain positioning information from the positioning chip, and periodically send the positioning information to the cloud server 102. When the cloud server 102 receives the request for obtaining the positioning information of the first electronic device 101, it can send the latest positioning information obtained from the first electronic device 101 to the second electronic device 103. In another possible implementation, when the cloud server 102 receives a request for obtaining the positioning information of the first electronic device 101, the cloud server 102 may send a second request to the IoT chip 301 in the first electronic device 101, Request to update location information.
本申请实施例中,不限于通过第二电子设备103侧的用户操作触发向第一电子设备请求获取定位信息,第一电子设备101还可周期性的主动向云服务器102上报自身定位信息。In the embodiment of the present application, it is not limited to requesting the first electronic device to obtain positioning information through a user operation on the second electronic device 103 side. The first electronic device 101 may also actively report its own positioning information to the cloud server 102 periodically.
本申请实施例中,处理器302可存储eSIM信息,该eSIM信息可用于为接入蜂窝网络提供运营商认证,认证通过则第一电子设备101可接入蜂窝网络。该eSIM信息例如包含安全认证信息。In the embodiment of the present application, the processor 302 can store eSIM information, which can be used to provide operator authentication for accessing the cellular network, and the first electronic device 101 can access the cellular network if the authentication is passed. The eSIM information includes, for example, security authentication information.
处理器302可与物联网芯片301建立连接,物联网芯片301可获取处理器302存储的eSIM信息,以在关机状态下物联网芯片301可利用该eSIM信息进行运营商认证并接入蜂窝网络。具体的,处理器302执行步骤S110之后,物联网芯片301可重新根据eSIM信息进行运营商认证,认证通过则物联网芯片301可通过蜂窝网络与云服务器102建立连接。The processor 302 can establish a connection with the Internet of Things chip 301, and the Internet of Things chip 301 can obtain the eSIM information stored by the processor 302, so that the Internet of Things chip 301 can use the eSIM information to perform operator authentication and access the cellular network in the shutdown state. Specifically, after the processor 302 executes step S110, the IoT chip 301 can perform operator authentication again according to the eSIM information, and if the authentication is passed, the IoT chip 301 can establish a connection with the cloud server 102 through the cellular network.
S112、物联网芯片301通过天线向云服务器102发送第二定位信息。S112. The IoT chip 301 sends second positioning information to the cloud server 102 through an antenna.
S113、云服务器102将第二定位信息发送给第二电子设备103。S113. The cloud server 102 sends the second positioning information to the second electronic device 103.
步骤S108~S113中,当丢失的第一电子设备101被关机时,第一电子设备101中,物联网芯片301仍可处于工作状态,并能从定位芯片获得实时的定位信息,经由天线发送给云服务器,以实现定位。这样,减少了丢失的设备被关机时无法用户无法获得丢失设备实时定位信息的情况,提高了设备定位的便利性。In steps S108-S113, when the lost first electronic device 101 is shut down, the IoT chip 301 in the first electronic device 101 can still be in working state, and can obtain real-time positioning information from the positioning chip, and send it to Cloud server to achieve positioning. In this way, the situation that the user cannot obtain the real-time positioning information of the lost device when the lost device is shut down is reduced, and the convenience of device positioning is improved.
在本申请的一些实施例中,在步骤S108之后,电池303和物联网芯片301导通之后,物联网芯片301可工作在三个模式中的任一个模式:激活(active),待机(standby),深度睡眠(deepsleep)。In some embodiments of the present application, after step S108, after the battery 303 and the IoT chip 301 are turned on, the IoT chip 301 can work in any of three modes: active and standby. , Deep sleep (deepsleep).
其中,激活模式下,物联网芯片301可周期性的获得定位信息,并发送给云服务器102。第二电子设备103在接收到第一请求时,可直接从云服务器102获得第一电子设备101的定位信息。与其他两种模式相比,激活模式下功耗最大。待机模式下,物联网芯片301可依然工作在工作时钟下,可增大发送定位信息的周期,或者在接收到第二请求时才发送定位信息。待机模式下的功耗小于激活模式且大于深度睡眠模式。深度睡眠模式下,物联网芯片301可在休眠时钟信号的作用下处于休眠状态。物联网芯片301可周期性的唤醒到工作状态(时钟信号切换为工作时钟信号),并获得实时的定位信息发送给云服务器102。或 者,当物联网芯片接收到第二请求时,唤醒并获得定位信息发送给云服务器。与其他两种模式相比,深度睡眠模式下功耗最小。Wherein, in the active mode, the IoT chip 301 can periodically obtain positioning information and send it to the cloud server 102. When the second electronic device 103 receives the first request, it can directly obtain the positioning information of the first electronic device 101 from the cloud server 102. Compared with the other two modes, the power consumption is the largest in the active mode. In the standby mode, the IoT chip 301 can still work under the working clock, can increase the period of sending positioning information, or send the positioning information only when the second request is received. The power consumption in standby mode is less than in active mode and greater than in deep sleep mode. In the deep sleep mode, the IoT chip 301 can be in a sleep state under the action of the sleep clock signal. The IoT chip 301 can periodically wake up to the working state (the clock signal is switched to the working clock signal), and obtain real-time positioning information and send it to the cloud server 102. Or, when the IoT chip receives the second request, it wakes up and obtains the positioning information and sends it to the cloud server. Compared with the other two modes, the deep sleep mode has the least power consumption.
具体的,在一种可能的实现方式中,在未接收到第二请求时,物联网芯片301可处于待机状态或者深度睡眠状态。例如,首先物联网芯片301处于待机状态,超过第一设定时间内仍未接收到第二请求,则物联网芯片301进入深度睡眠状态。当通过天线接收到第二请求时,第二请求用于获取第一电子设备101的定位信息,物联网芯片301可进入激活状态。当持续第二设定时间未接收到第二请求时,物联网芯片301可进入待机状态。当待机状态持续时间大于或等于第一设定时间时,物联网芯片301可进入深度睡眠状态。Specifically, in a possible implementation manner, when the second request is not received, the IoT chip 301 may be in a standby state or a deep sleep state. For example, first, the IoT chip 301 is in a standby state, and the second request is not received within a first set time, then the IoT chip 301 enters a deep sleep state. When the second request is received through the antenna, the second request is used to obtain the positioning information of the first electronic device 101, and the IoT chip 301 can enter the activated state. When the second request is not received for the second set time, the IoT chip 301 may enter the standby state. When the duration of the standby state is greater than or equal to the first set time, the IoT chip 301 may enter a deep sleep state.
上述实现方式中,物联网芯片301在未接收到用于获取定位信息的请求时,可处于待机状态或者深度睡眠状态,以节省功耗。这样,在不影响定位信息的上报的前提下,可提高电子设备的续航时间。In the foregoing implementation manner, the IoT chip 301 may be in a standby state or a deep sleep state when it does not receive a request for obtaining positioning information, so as to save power consumption. In this way, the battery life of the electronic device can be increased without affecting the reporting of positioning information.
在另一种可能的实现方式中,物联网芯片301还可获取电池303的剩余电量,并根据电池303的剩余电量调整所处的工作模式。例如,当剩余电量大于或等于设定阈值(例如剩余30%)时,物联网芯片301可处于激活状态或待机状态。当检测到剩余电量小于设定阈值时,物联网芯片301可工作在深度睡眠模式。不限于设定一个电池剩余电量阈值,还可以是多个。例如,当剩余电量大于或等于第一设定阈值(例如剩余50%)时,物联网芯片301可处于激活状态。剩余电量大于或等于第二设定阈值(例如剩余10%)且小于第一设定阈值时,物联网芯片301可从激活状态切换到待机状态。剩余电量小于第二设定阈值时,物联网芯片301可从待机状态切换到深度睡眠状态。In another possible implementation manner, the IoT chip 301 can also obtain the remaining power of the battery 303 and adjust the working mode according to the remaining power of the battery 303. For example, when the remaining power is greater than or equal to a set threshold (for example, 30% remaining), the IoT chip 301 may be in an active state or a standby state. When it is detected that the remaining power is less than the set threshold, the IoT chip 301 can work in a deep sleep mode. It is not limited to setting one battery remaining power threshold, and it can also be multiple. For example, when the remaining power is greater than or equal to the first set threshold (for example, 50% remaining), the IoT chip 301 may be in an activated state. When the remaining power is greater than or equal to the second set threshold (for example, the remaining 10%) and less than the first set threshold, the IoT chip 301 can be switched from the active state to the standby state. When the remaining power is less than the second set threshold, the IoT chip 301 can switch from the standby state to the deep sleep state.
本申请实施例中,第一电子设备101可在电池303剩余电量低于设定阈值时,由开机启动状态进入关机状态。通常该设定阈值例如是剩余3%。而在本申请实施例中,为保证足够的剩余电量供应给物联网芯片301、定位芯片和天线,第一电子设备101的剩余电量设定阈值例如是8%,高于上述3%。可以理解的,上述对剩余电量设定阈值的举例仅用于解释本申请实施例,不应构成限定。In the embodiment of the present application, the first electronic device 101 may enter the shutdown state from the startup state when the remaining power of the battery 303 is lower than the set threshold. Generally, the set threshold is, for example, the remaining 3%. In the embodiment of the present application, in order to ensure that sufficient remaining power is supplied to the IoT chip 301, the positioning chip and the antenna, the remaining power setting threshold of the first electronic device 101 is, for example, 8%, which is higher than the aforementioned 3%. It is understandable that the above example of setting a threshold value for the remaining power is only used to explain the embodiment of the present application, and should not constitute a limitation.
本申请实施例中,第二定位信息可以和第一定位信息相同,也可以不同。In the embodiment of the present application, the second positioning information may be the same as or different from the first positioning information.
(3)重新开机启动的定位过程(3) The positioning process of restarting
本申请实施例中,第一电子设备101重新开机启动时,第一电子设备101中处理器302可指令定位芯片进行定位,并将定位信息通过天线发送给云服务器102,以实现定位,参考步骤S114~S120。In the embodiment of this application, when the first electronic device 101 is restarted, the processor 302 in the first electronic device 101 can instruct the positioning chip to perform positioning, and send the positioning information to the cloud server 102 through the antenna to achieve positioning. Refer to the steps S114~S120.
S114、响应于用于开机的用户操作,电源开关2受控于物联网芯片301将电池303和处理器302之间的连接导通。S114. In response to a user operation for booting, the power switch 2 is controlled by the IoT chip 301 to conduct the connection between the battery 303 and the processor 302.
S115、响应于该用于开机的用户操作,天线开关1受控于物联网芯片301将处理器302与天线1……天线k之间的连接导通,天线开关2受控于物联网芯片301将物联网芯片301与天线1……天线k之间的连接断开。S115. In response to the user operation for booting, the antenna switch 1 is controlled by the IoT chip 301 to conduct the connection between the processor 302 and the antenna 1...antenna k, and the antenna switch 2 is controlled by the IoT chip 301 Disconnect the connection between the IoT chip 301 and antenna 1...antenna k.
本申请实施例中,天线开关1和天线开关2可通过一个模块实现,也可分别通过不同的模块实现,本申请实施例对此不作限定。In the embodiment of the present application, the antenna switch 1 and the antenna switch 2 may be implemented by one module, or may be implemented by different modules, respectively, which is not limited in the embodiment of the present application.
S116、响应于该用于开机的用户操作,芯片开关受控于物联网芯片301将处理器302与蓝牙、GPS、Wi-Fi芯片304之间的连接导通、将处理器302与北斗定位芯片305之间的 连接导通,并将物联网芯片301与蓝牙、GPS、Wi-Fi芯片304之间的连接断开,将物联网芯片301与北斗定位芯片305之间的连接断开。S116. In response to the user operation for booting, the chip switch is controlled by the IoT chip 301 to conduct the connection between the processor 302 and the Bluetooth, GPS, and Wi-Fi chip 304, and connect the processor 302 to the Beidou positioning chip The connection between 305 is turned on, and the connection between the IoT chip 301 and the Bluetooth, GPS, and Wi-Fi chip 304 is disconnected, and the connection between the IoT chip 301 and the Beidou positioning chip 305 is disconnected.
本申请实施例中,步骤S114、S115和S116执行的先后顺序不作限定。In the embodiment of the present application, the order of execution of steps S114, S115, and S116 is not limited.
S117、电源开关1受控于物联网芯片301将电池303和物联网芯片301之间的连接断开。S117. The power switch 1 is controlled by the IoT chip 301 to disconnect the connection between the battery 303 and the IoT chip 301.
断开电池303和物联网芯片301之间的连接之后,物联网芯片301进入休眠状态。After disconnecting the connection between the battery 303 and the IoT chip 301, the IoT chip 301 enters a sleep state.
S118、处理器302指令蓝牙、GPS、Wi-Fi芯片304、北斗定位芯片305中的一个或多个进行定位,以获得第三定位信息。S118. The processor 302 instructs one or more of the Bluetooth, GPS, Wi-Fi chip 304, and the Beidou positioning chip 305 to perform positioning to obtain third positioning information.
S119、处理器302通过天线向云服务器102发送第三定位信息。S119. The processor 302 sends third positioning information to the cloud server 102 through the antenna.
S120、服务器102将第三定位信息发送给第二电子设备103。S120. The server 102 sends the third positioning information to the second electronic device 103.
在本申请的一些实施例中,步骤S115~S117中天线开关1、天线开关2、芯片开关、电源开关1可受控于处理器302,以实现步骤S115~S117。In some embodiments of the present application, the antenna switch 1, the antenna switch 2, the chip switch, and the power switch 1 in steps S115 to S117 may be controlled by the processor 302 to implement steps S115 to S117.
本申请实施例中,第三定位信息可以和第一定位信息相同,也可以不同。In the embodiment of the present application, the third positioning information may be the same as or different from the first positioning information.
步骤S116~S120中,当丢失的第一电子设备101由关机状态重新开机启动时,第一电子设备101中,处理器302可重新处于工作状态,并能从定位芯片获得实时的定位信息,经由天线发送给云服务器,以实现定位。In steps S116 to S120, when the lost first electronic device 101 is restarted from the shutdown state, the processor 302 in the first electronic device 101 can be in the working state again, and can obtain real-time positioning information from the positioning chip. The antenna is sent to the cloud server for positioning.
在本申请的一些实施例中,第一电子设备101在由开机启动状态被关机时,第一电子设备101中的晶振系统仍然处于工作状态,为物联网芯片301提供时钟信号。在一种可能的实现中,该晶振系统可在关机状态下为物联网芯片301提供时钟信号,而在开机启动状态下为处理器302提供时钟信号。在另一种可能的实现中,在关机状态下,物联网芯片301可单独使用一套晶振系统。下面分别介绍共用晶振系统和物联网芯片301单独使用一套晶振系统的情况。In some embodiments of the present application, when the first electronic device 101 is shut down from the boot-up state, the crystal oscillator system in the first electronic device 101 is still in the working state and provides a clock signal for the IoT chip 301. In a possible implementation, the crystal oscillator system can provide a clock signal for the IoT chip 301 in the shutdown state, and provide a clock signal for the processor 302 in the startup state. In another possible implementation, in the shutdown state, the IoT chip 301 can use a set of crystal oscillator system alone. The following respectively introduces the case where the shared crystal oscillator system and the IoT chip 301 use a set of crystal oscillator system separately.
(一)物联网芯片301和处理器302共用晶振系统(1) The IoT chip 301 and the processor 302 share a crystal oscillator system
请参阅图5,图5是本申请实施例提供的又一种电子设备10的结构示意图。Please refer to FIG. 5, which is a schematic structural diagram of another electronic device 10 according to an embodiment of the present application.
如图5所示,关于物联网芯片301、处理器302、天线1……天线n、电池303、电源开关1、电源开关2、天线开关1、天线开关2的描述可参考图2和图3所描述示例,这里不再赘述。As shown in Figure 5, for the description of IoT chip 301, processor 302, antenna 1...antenna n, battery 303, power switch 1, power switch 2, antenna switch 1, antenna switch 2, please refer to Figures 2 and 3 The described examples will not be repeated here.
关于晶振系统的工作原理,下面分别介绍电子设备10在关机状态和开机启动状态下的情况。Regarding the working principle of the crystal oscillator system, the following describes the conditions of the electronic device 10 in the shutdown state and the startup state.
(a)关机状态下(a) In the shutdown state
如图5所示,电子设备10还可包含电源芯片307、晶振308。其中,晶振308可提供频率f1的时钟信号。电源芯片307可以是电源管理单元(power management unit,PMU),可用于提供不同的工作电压,为电子设备10中各模块供电。晶振308可与电源芯片307连接,本申请实施例中,电源芯片307还可包含分频电路,可将晶振308输出的时钟信号进行分频得到不同频率的时钟信号。As shown in FIG. 5, the electronic device 10 may further include a power chip 307 and a crystal oscillator 308. Among them, the crystal oscillator 308 can provide a clock signal of frequency f1. The power chip 307 may be a power management unit (PMU), which may be used to provide different working voltages to supply power to each module in the electronic device 10. The crystal oscillator 308 can be connected to the power chip 307. In the embodiment of the present application, the power chip 307 can also include a frequency divider circuit, which can divide the clock signal output by the crystal oscillator 308 to obtain clock signals of different frequencies.
例如,电源芯片307将晶振308输出的频率为f1的时钟信号分频得到频率为f2的工作时钟信号和频率为f3的休眠时钟信号。在电子设备10处于关机的状态下,该工作时钟信 号和该休眠时钟信号分别输出给物联网芯片301。其中:For example, the power chip 307 divides the clock signal with the frequency f1 output by the crystal oscillator 308 to obtain a working clock signal with a frequency f2 and a sleep clock signal with a frequency f3. When the electronic device 10 is turned off, the working clock signal and the sleep clock signal are output to the IoT chip 301 respectively. in:
工作时钟信号用于在物联网芯片301工作时(例如通过天线发送定位信息时)提供一个基准,使得各模块统一步调工作。工作时钟信号的频率例如是38MHz。The working clock signal is used to provide a reference when the Internet of Things chip 301 is working (for example, when sending positioning information through an antenna), so that all modules work in a unified step. The frequency of the working clock signal is, for example, 38 MHz.
休眠时钟信号可在关机状态下持续输出给物联网芯片301或处理器302,用于维持电子设备10中时间的连续性,还用于在不需要工作时钟信号时,提供各模块的基准。休眠时钟信号的频率例如是32.768KHz。The dormant clock signal can be continuously output to the IoT chip 301 or the processor 302 in the shutdown state to maintain the continuity of time in the electronic device 10, and also to provide a reference for each module when the working clock signal is not required. The frequency of the sleep clock signal is, for example, 32.768KHz.
本申请实施例中,在电子设备10处于关机状态时,电池303可与晶振308耦合,向晶振308供电,使得晶振308提供时钟信号。In the embodiment of the present application, when the electronic device 10 is in the shutdown state, the battery 303 can be coupled with the crystal oscillator 308 to supply power to the crystal oscillator 308, so that the crystal oscillator 308 provides a clock signal.
(b)开机启动状态下(b) In the boot state
本申请实施例中,当电子设备10处于开机启动状态时,电源芯片307还用于将电池303的电能输出给处理器302,为处理器302供电。In the embodiment of the present application, when the electronic device 10 is in the startup state, the power chip 307 is also used to output the electric energy of the battery 303 to the processor 302 to supply power to the processor 302.
在本申请的一些实施例中,当电子设备10处于开机启动状态时,晶振308输出的频率f1的时钟信号经过电源芯片307分频,还可为处理器302提供时钟信号。例如,当电子设备10处于开机启动状态时,电源芯片307将晶振308输出频率为f1的时钟信号分频得到频率为f4的工作时钟信号和频率为f5的休眠时钟信号。该工作时钟信号和该休眠时钟信号分别输出给处理器302。工作时钟信号用于在物联网芯片301工作时(例如通过天线发送定位信息时)提供一个基准,使得各模块统一步调工作。In some embodiments of the present application, when the electronic device 10 is in the booting state, the clock signal of the frequency f1 output by the crystal oscillator 308 is divided by the power chip 307 to provide a clock signal for the processor 302. For example, when the electronic device 10 is in the startup state, the power chip 307 divides the clock signal with the frequency f1 output by the crystal oscillator 308 to obtain a working clock signal with a frequency f4 and a sleep clock signal with a frequency f5. The working clock signal and the sleep clock signal are respectively output to the processor 302. The working clock signal is used to provide a reference when the Internet of Things chip 301 is working (for example, when sending positioning information through an antenna), so that all modules work in a unified step.
(二)物联网芯片301单独使用一套晶振系统(2) IoT chip 301 uses a set of crystal oscillator system alone
请参阅图6,图6是本申请实施例提供的在一种电子设备10的结构示意图。如图6所示,关于物联网芯片301、处理器302、天线、电池303、SIM卡306、电源开关1、天线开关的描述可参考图2和图3所描述示例,这里不再赘述。Please refer to FIG. 6, which is a schematic structural diagram of an electronic device 10 according to an embodiment of the present application. As shown in FIG. 6, the description of the IoT chip 301, the processor 302, the antenna, the battery 303, the SIM card 306, the power switch 1, and the antenna switch can refer to the examples described in FIGS. 2 and 3, which will not be repeated here.
如图6所示,电源芯片3071可以是PMU,可用于在电子设备10处于关机状态时提供不同的工作电压,为物联网芯片301等各模块供电。具体的,电源芯片3071可与电源开关1耦合。当接收到用于关机的用户操作时,处理器302可控制电源开关1将电池303与电源芯片3071之间的连接导通,使得电池303通过电源芯片3071为物联网芯片301、晶振系统等供电。As shown in FIG. 6, the power chip 3071 may be a PMU, which may be used to provide different working voltages when the electronic device 10 is in a shutdown state, and to supply power to various modules such as the IoT chip 301. Specifically, the power chip 3071 can be coupled with the power switch 1. When receiving a user operation for shutting down, the processor 302 can control the power switch 1 to turn on the connection between the battery 303 and the power chip 3071, so that the battery 303 supplies power to the IoT chip 301, the crystal oscillator system, etc. through the power chip 3071 .
如图6所示,电子设备10还可包含32KHz晶振312、温度补偿晶体振荡器313。32KHz晶振312、温度补偿晶体振荡器313可在电子设备10处于关机状态时为物联网芯片301提供时钟信号。As shown in FIG. 6, the electronic device 10 may also include a 32KHz crystal oscillator 312 and a temperature-compensated crystal oscillator 313. The 32KHz crystal oscillator 312 and the temperature-compensated crystal oscillator 313 can provide a clock signal for the IoT chip 301 when the electronic device 10 is in the shutdown state. .
具体的,32KHz晶振312与物联网芯片301耦合,用于为物联网芯片301提供休眠时钟信号。在一些实施例中,电源芯片3071与32KHz晶振312耦合,用于在电子设备10处于关机状态时为32KHz晶振312供电。当接收到用于关机的用户操作时,处理器302可控制电源开关1将电池303与电源芯片3071之间的连接导通,使得电池303通过电源芯片3071为32KHz晶振312供电。Specifically, the 32KHz crystal oscillator 312 is coupled with the IoT chip 301 to provide a sleep clock signal for the IoT chip 301. In some embodiments, the power chip 3071 is coupled with the 32KHz crystal oscillator 312 to supply power to the 32KHz crystal oscillator 312 when the electronic device 10 is in the off state. When receiving a user operation for shutting down, the processor 302 can control the power switch 1 to turn on the connection between the battery 303 and the power chip 3071, so that the battery 303 supplies power to the 32KHz crystal oscillator 312 through the power chip 3071.
温度补偿晶体振荡器313与物联网芯片301耦合,用于为物联网芯片301提供工作时钟信号。电源芯片3071还与温度补偿晶体振荡器313耦合,用于为温度补偿晶体振荡器313供电。当接收到用于关机的用户操作时,处理器302可控制电源开关1将电池303与电源芯片3071之间的连接导通,使得电池303通过电源芯片3071为温度补偿晶体振荡器 313供电。The temperature-compensated crystal oscillator 313 is coupled to the IoT chip 301 and is used to provide a working clock signal for the IoT chip 301. The power chip 3071 is also coupled with the temperature-compensated crystal oscillator 313 for powering the temperature-compensated crystal oscillator 313. When receiving a user operation for shutting down, the processor 302 can control the power switch 1 to turn on the connection between the battery 303 and the power chip 3071, so that the battery 303 supplies power to the temperature-compensated crystal oscillator 313 through the power chip 3071.
如图6所示,物联网芯片301可与处理器302通过以下任一种或多种接口连接:UART/串行外设接口(serial peripheral interface,SPI)/I2C/GPIO。物联网芯片301与处理器302之间可通过有线连接传输数据。例如,在接收到用于关机的用户操作时,处理器302在休眠前可将最新的定位信息、定位芯片的启动文件等通过上述有线连接传输给物联网芯片301。其中,最新的定位信息可由物联网芯片301通过天线发送给云服务器102,以传输到第二电子设备103。定位芯片的启动文件可用于芯片开关将定位芯片与物联网芯片301之间的连接连通后,配置给定位芯片,以提高定位芯片的启动速度。As shown in FIG. 6, the IoT chip 301 can be connected to the processor 302 through any one or more of the following interfaces: UART/serial peripheral interface (SPI)/I2C/GPIO. Data can be transmitted between the IoT chip 301 and the processor 302 through a wired connection. For example, when receiving a user operation for shutting down, the processor 302 may transmit the latest positioning information, the startup file of the positioning chip, etc. to the IoT chip 301 through the above-mentioned wired connection before going to sleep. Wherein, the latest positioning information can be sent by the IoT chip 301 to the cloud server 102 via an antenna for transmission to the second electronic device 103. The startup file of the positioning chip can be used by the chip switch to connect the connection between the positioning chip and the Internet of Things chip 301 and configure it to the positioning chip to increase the startup speed of the positioning chip.
处理器302与SIM卡306、天线开关2、电源开关2、芯片开关之间的连接可参考图3、图5的描述,这里不再赘述。For the connection between the processor 302 and the SIM card 306, the antenna switch 2, the power switch 2, and the chip switch, reference may be made to the description of FIG. 3 and FIG. 5, which will not be repeated here.
如图6所示,电子设备10还可包含功率放大器309、第一滤波器310和第二滤波器311。物联网芯片301还可依次通过功率放大器309、第一滤波器310与天线开关1耦合。物联网芯片301、功率放大器309、第一滤波器310和天线开关1组成的通路用于在电子设备10关机状态时,将定位信息通过功率放大器309进行放大,并通过第一滤波器310进行滤波并输出给天线。天线开关1与天线耦合。天线开关可通过第二滤波器311与物联网芯片301耦合,用于将从天线接收到信号经过第二滤波器311进行滤波,传输给物联网芯片301。该从天线接收到信号,例如是来自云服务器102的第二请求,该第二请求用于获取电子设备10的定位信息。物联网芯片301可通过引脚RX_P、RX_N与第二滤波器311耦合。As shown in FIG. 6, the electronic device 10 may further include a power amplifier 309, a first filter 310 and a second filter 311. The IoT chip 301 can also be coupled to the antenna switch 1 through the power amplifier 309 and the first filter 310 in sequence. The path composed of the IoT chip 301, the power amplifier 309, the first filter 310 and the antenna switch 1 is used to amplify the positioning information through the power amplifier 309 and filter through the first filter 310 when the electronic device 10 is turned off And output to the antenna. The antenna switch 1 is coupled with the antenna. The antenna switch can be coupled to the IoT chip 301 through the second filter 311, and is used to filter the signal received from the antenna through the second filter 311 and transmit it to the IoT chip 301. The signal received from the antenna is, for example, a second request from the cloud server 102, and the second request is used to obtain the positioning information of the electronic device 10. The IoT chip 301 can be coupled to the second filter 311 through pins RX_P and RX_N.
本申请实施例中,SIM卡306可与物联网芯片301耦合,在关机状态下,物联网芯片301可利用SIM卡306中的安全认证信息,为电子设备10接入蜂窝网络提供运营商认证。认证通过则该电子设备10可接入蜂窝网络。In the embodiment of the present application, the SIM card 306 can be coupled with the IoT chip 301. In the shutdown state, the IoT chip 301 can use the security authentication information in the SIM card 306 to provide operator authentication for the electronic device 10 to access the cellular network. If the authentication is passed, the electronic device 10 can access the cellular network.
本申请实施例中,定位芯片与物联网芯片301、处理器302之间的耦合关系可参考图3所描述实施例,这里不再赘述。In the embodiment of the present application, the coupling relationship between the positioning chip and the IoT chip 301 and the processor 302 can be referred to the embodiment described in FIG. 3, which is not repeated here.
请参阅图7,图7是本申请实施例提供的又一种电子设备10的结构示意图。如图7所示,关于物联网芯片301、处理器302、天线(例如包含天线1……天线k)、天线k+1、电池303、蓝牙、GPS、Wi-Fi芯片304、北斗定位芯片305、SIM卡306、电源开关1、天线开关的描述可参考图2和图3所描述示例,晶振308可参考图5所描述示例,这里不再赘述。Please refer to FIG. 7, which is a schematic structural diagram of another electronic device 10 according to an embodiment of the present application. As shown in FIG. 7, regarding the Internet of Things chip 301, processor 302, antenna (for example, including antenna 1...antenna k), antenna k+1, battery 303, Bluetooth, GPS, Wi-Fi chip 304, Beidou positioning chip 305 The description of the SIM card 306, the power switch 1, and the antenna switch can refer to the examples described in FIG. 2 and FIG. 3, and the crystal oscillator 308 can refer to the example described in FIG.
如图7所示,电源芯片3071,可用于在电子设备10处于关机状态时,将电池303的电能供给物联网芯片301。电源芯片3072,用于为物联网芯片301提供时钟信号。电源芯片3072还用于在电子设备10开机启动状态下将电池303的电能供给处理器302。As shown in FIG. 7, the power chip 3071 can be used to supply the power of the battery 303 to the IoT chip 301 when the electronic device 10 is in the shutdown state. The power chip 3072 is used to provide a clock signal for the IoT chip 301. The power chip 3072 is also used to supply power from the battery 303 to the processor 302 when the electronic device 10 is turned on.
具体的,当接收到用于关机的用户操作时,处理器302可控制电源开关将电池303与电源芯片3071之间的连接导通,使得电池303通过电源芯片3071为物联网芯片301供电。电源芯片3072还可包含分频电路,用于将晶振308输出的时钟信号进行分频得到不同频率的时钟信号。例如,电源芯片3072将晶振308输出的频率为f1的时钟信号分频得到频率为f2的工作时钟信号和频率为f3的休眠时钟信号。在电子设备10处于关机的状态下,该工作时钟信号TCXO和该休眠时钟信号32KHz信号分别输出给物联网芯片301。当电子设 备10处于开机启动状态时,电源开关将电池303与电源芯片3072之间连接导通,使得电池303通过电源芯片3072为处理器302供电。Specifically, when receiving a user operation for shutting down, the processor 302 may control the power switch to turn on the connection between the battery 303 and the power chip 3071, so that the battery 303 supplies power to the IoT chip 301 through the power chip 3071. The power chip 3072 may also include a frequency divider circuit for dividing the clock signal output by the crystal oscillator 308 to obtain clock signals of different frequencies. For example, the power chip 3072 divides the frequency f1 clock signal output by the crystal oscillator 308 to obtain a working clock signal with a frequency f2 and a sleep clock signal with a frequency f3. When the electronic device 10 is in a shutdown state, the working clock signal TCXO and the sleep clock signal 32KHz are output to the IoT chip 301 respectively. When the electronic device 10 is in the startup state, the power switch connects the battery 303 to the power chip 3072, so that the battery 303 supplies power to the processor 302 through the power chip 3072.
物联网芯片301和处理器302之间的复位接口RST也可连接。在一种可能的实施例中,处理器302和物联网芯片301均处于工作状态,处理器302的复位接口RST可提供复位信号给物联网芯片301,以复位物联网芯片301。The reset interface RST between the IoT chip 301 and the processor 302 can also be connected. In a possible embodiment, the processor 302 and the IoT chip 301 are both in a working state, and the reset interface RST of the processor 302 can provide a reset signal to the IoT chip 301 to reset the IoT chip 301.
物联网芯片301可与处理器302通过以下任一种或多种接口连接:UART/SPI/I2C/GPIO。物联网芯片301与处理器302之间可通过有线连接传输数据。处理器302与芯片开关之间可通过以下任一种或多种接口连接:高速串行计算机扩展总线标准(peripheral component interconnect express,PCIE)/安全数字输入输出(secure digital input and output,SDIO)/SPI/I2C/GPIO。物联网芯片301与芯片开关之间可通过以下任一种或多种接口连接:PCIE/SDIO/SPI/I2C/GPIO。The IoT chip 301 can be connected to the processor 302 through any one or more of the following interfaces: UART/SPI/I2C/GPIO. Data can be transmitted between the IoT chip 301 and the processor 302 through a wired connection. The processor 302 and the chip switch can be connected through any one or more of the following interfaces: high-speed serial computer expansion bus standard (peripheral component interconnect express, PCIE)/secure digital input and output (secure digital input and output, SDIO)/ SPI/I2C/GPIO. The IoT chip 301 and the chip switch can be connected through any one or more of the following interfaces: PCIE/SDIO/SPI/I2C/GPIO.
本申请实施例中,电源芯片3071与芯片开关耦合,电源芯片3072也与芯片开关耦合。In the embodiment of the present application, the power chip 3071 is coupled with the chip switch, and the power chip 3072 is also coupled with the chip switch.
下面介绍一种电子设备10的结构示意图。该电子设备10可以是图1所示系统中的第一电子设备。请参阅图8,图8是本申请实施例提供的又电子设备10的结构示意图。The following describes a schematic structural diagram of an electronic device 10. The electronic device 10 may be the first electronic device in the system shown in FIG. 1. Please refer to FIG. 8, which is a schematic structural diagram of another electronic device 10 according to an embodiment of the present application.
应该理解的是,图8所示电子设备10仅是一个范例,并且电子设备10可以具有比图8中所示的更多的或者更少的部件,可以组合两个或多个的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the electronic device 10 shown in FIG. 8 is only an example, and the electronic device 10 may have more or fewer components than those shown in FIG. 8, two or more components may be combined, or Can have different component configurations. The various components shown in the figure may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
电子设备10可以包括:处理器110,物联网芯片190外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The electronic device 10 may include: a processor 110, an IoT chip 190, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, Antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, A display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本发明实施例示意的结构并不构成对电子设备10的具体限定。在本申请另一些实施例中,电子设备10可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 10. In other embodiments of the present application, the electronic device 10 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
处理器110可参考图2、图3、图5、图7的描述,这里不再赘述。For the processor 110, reference may be made to the description of FIG. 2, FIG. 3, FIG. 5, and FIG. 7, and details are not described herein again.
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备10的结构限定。在本申请另一些实施例中,电子设备10也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely a schematic description, and does not constitute a structural limitation of the electronic device 10. In other embodiments of the present application, the electronic device 10 may also adopt different interface connection modes or a combination of multiple interface connection modes in the foregoing embodiments.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130 接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备10的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. Among them, the charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive the charging input of the wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 10. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备10的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 10 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
天线1和天线2用于发射和接收电磁波信号。电子设备10中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 10 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna can be used in combination with a tuning switch.
移动通信模块150可以提供应用在电子设备10上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 10. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic wave radiation via the antenna 1. In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110. In some embodiments, at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
其中,天线1可表示一个或多个天线,天线1的功能可参考图3中的天线1……天线k。Among them, the antenna 1 can represent one or more antennas, and the function of the antenna 1 can refer to antenna 1...antenna k in FIG. 3.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low-frequency baseband signal is processed by the baseband processor and then passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备10上的包括WLAN(如Wi-Fi网络),蓝牙,GNSS,FM,NFC,IR等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 may provide a wireless communication solution including WLAN (such as a Wi-Fi network), Bluetooth, GNSS, FM, NFC, IR, etc., applied on the electronic device 10. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify it, and convert it into electromagnetic waves to radiate through the antenna 2.
其中,天线2可表示一个或多个天线,天线2的功能可包含图3中的天线k+1的功能。Wherein, antenna 2 may represent one or more antennas, and the function of antenna 2 may include the function of antenna k+1 in FIG. 3.
在一些实施例中,电子设备10的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备10可以通过无线通信技术与网络以及其他设备通信。所述无 线通信技术可以包括GSM,GPRS,CDMA,WCDMA,TD-SCDMA,LTE,BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括GPS,GLONASS,BDS,QZSS和/或SBAS。In some embodiments, the antenna 1 of the electronic device 10 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 10 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies. The GNSS may include GPS, GLONASS, BDS, QZSS and/or SBAS.
电子设备10通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。处理器110可包括一个或多个GPU。The electronic device 10 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, connected to the display 194 and the application processor. The processor 110 may include one or more GPUs.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。在一些实施例中,电子设备10可以包括1个或N个显示屏194,N为大于1的正整数。The display screen 194 is used to display images, videos, and the like. The display screen 194 includes a display panel. In some embodiments, the electronic device 10 may include one or N display screens 194, and N is a positive integer greater than one.
电子设备10可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 10 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
ISP用于处理摄像头193反馈的数据。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back from the camera 193. In some embodiments, the ISP may be provided in the camera 193.
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。在一些实施例中,电子设备10可以包括1个或N个摄像头193,N为大于1的正整数。The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and is projected to the photosensitive element. The photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal. ISP outputs digital image signals to DSP for processing. In some embodiments, the electronic device 10 may include one or N cameras 193, and N is a positive integer greater than one.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals.
视频编解码器用于对数字视频压缩或解压缩。Video codecs are used to compress or decompress digital video.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备10的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, for example, the transfer mode between human brain neurons, it can quickly process input information, and it can also continuously self-learn. Through the NPU, applications such as intelligent cognition of the electronic device 10 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备10的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, so as to expand the storage capacity of the electronic device 10. The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备10的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。The internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions. The processor 110 executes various functional applications and data processing of the electronic device 10 by running instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area.
电子设备10可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 10 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. In some embodiments, the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。The speaker 170A, also called "speaker", is used to convert audio electrical signals into sound signals.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。The receiver 170B, also called a "handset", is used to convert audio electrical signals into sound signals.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备10可以设置至少一个麦克风170C。The microphone 170C, also called "microphone", "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C. The electronic device 10 may be provided with at least one microphone 170C.
耳机接口170D用于连接有线耳机。The earphone interface 170D is used to connect wired earphones.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be provided on the display screen 194.
陀螺仪传感器180B可以用于确定电子设备10的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备10围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B may be used to determine the movement posture of the electronic device 10. In some embodiments, the angular velocity of the electronic device 10 around three axes (ie, x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyro sensor 180B can be used for image stabilization. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
气压传感器180C用于测量气压。在一些实施例中,电子设备10通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 10 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
磁传感器180D包括霍尔传感器。电子设备10可以利用磁传感器180D检测翻盖皮套的开合。The magnetic sensor 180D includes a Hall sensor. The electronic device 10 may use the magnetic sensor 180D to detect the opening and closing of the flip holster.
加速度传感器180E可检测电子设备10在各个方向上(一般为三轴)加速度的大小。当电子设备10静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 10 in various directions (generally three axes). When the electronic device 10 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching, pedometers and so on.
距离传感器180F,用于测量距离。电子设备10可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备10可以利用距离传感器180F测距以实现快速对焦。Distance sensor 180F, used to measure distance. The electronic device 10 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 10 may use the distance sensor 180F to measure the distance to achieve fast focusing.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
环境光传感器180L用于感知环境光亮度。电子设备10可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。The ambient light sensor 180L is used to sense the brightness of the ambient light. The electronic device 10 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
指纹传感器180H用于采集指纹。电子设备10可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 10 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
温度传感器180J用于检测温度。在一些实施例中,电子设备10利用温度传感器180J检测的温度,执行温度处理策略。The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 10 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。Touch sensor 180K, also called "touch panel". The touch sensor 180K may be provided on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”. The touch sensor 180K is used to detect touch operations acting on or near it.
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。The button 190 includes a power-on button, a volume button, and so on. The button 190 may be a mechanical button. It can also be a touch button.
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。The indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备10的接触和分离。电子设备10可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存 储卡。电子设备10通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备10采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备10中,不能和电子设备10分离。The SIM card interface 195 is used to connect to the SIM card. The SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 10. The electronic device 10 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. The same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 10 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the electronic device 10 adopts an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 10 and cannot be separated from the electronic device 10.
如图8所示,本申请实施例中,物联网芯片190还分别与移动通信模块150、无线通信模块160耦合。移动通信模块150中的开关可用于当接收到用于关机的用户操作时,受控于处理器110将处理器110与天线之间的连接断开,将物联网芯片190与天线1之间的连接导通,具体可参考图3所描述实施例中天线开关1、天线开关2以及图4所描述实施例中步骤S109的描述。As shown in FIG. 8, in this embodiment of the present application, the IoT chip 190 is also coupled with the mobile communication module 150 and the wireless communication module 160 respectively. The switch in the mobile communication module 150 can be used to control the processor 110 to disconnect the connection between the processor 110 and the antenna when a user operation for shutdown is received, and to disconnect the IoT chip 190 and the antenna 1 The connection is on. For details, please refer to the antenna switch 1 and the antenna switch 2 in the embodiment described in FIG. 3 and the description of step S109 in the embodiment described in FIG. 4.
电源管理模块141与物联网芯片190、处理器110之间,经由电源开关耦合。其中,电源开关的功能描述可参考图2~图7的描述。当接收到用于关机的用户操作时,电源开关受控于处理器110将电源管理模块141和物联网芯片301导通。The power management module 141 is coupled with the IoT chip 190 and the processor 110 via a power switch. Among them, the function description of the power switch can refer to the description of FIG. 2 to FIG. 7. When receiving a user operation for shutting down, the power switch is controlled by the processor 110 to turn on the power management module 141 and the IoT chip 301.
物联网芯片190,还与上述SIM卡耦合。在关机状态下,物联网芯片190可利用SIM卡中的安全认证信息,为电子设备10接入蜂窝网络提供运营商认证。认证通过则该电子设备10可接入蜂窝网络。The IoT chip 190 is also coupled with the aforementioned SIM card. In the shutdown state, the IoT chip 190 can use the security authentication information in the SIM card to provide operator authentication for the electronic device 10 to access the cellular network. If the authentication is passed, the electronic device 10 can access the cellular network.
下面介绍本申请实施例提供的几种场景下定位的原理。The following describes the positioning principles in several scenarios provided by the embodiments of the present application.
当第一电子设备101处于开机启动状态时,第一电子设备101可通过定位芯片定位得到定位信息。第一电子设备101中处理器302可根据网络信号的连接情况,选择信号质量好(例如信号强度大于第一强度阈值)的网络发送定位信息。而在第一电子设备101处于关机状态时,处理器302处于休眠状态,第一电子设备101中物联网芯片301也可根据网络信号的连接情况,选择信号质量好(例如信号强度大于第一强度阈值)的网络发送定位信息。下面分别介绍开机启动状态、关机状态下定位原理。When the first electronic device 101 is in a power-on state, the first electronic device 101 can obtain positioning information through the positioning of the positioning chip. The processor 302 in the first electronic device 101 may select a network with good signal quality (for example, the signal strength is greater than the first strength threshold) to send the positioning information according to the connection status of the network signal. When the first electronic device 101 is in the shutdown state and the processor 302 is in the dormant state, the IoT chip 301 in the first electronic device 101 can also select the signal quality to be good (for example, the signal strength is greater than the first strength) according to the connection status of the network signal. Threshold) to send location information to the network. The following describes the positioning principle in the startup state and the shutdown state.
(一)开机启动状态下定位原理(1) Positioning principle under startup state
下面结合表1进行介绍。请参阅表1,表1是本申请实施例提供的一种第一电子设备开机启动状态下的定位原理示例。The following is introduced in conjunction with Table 1. Please refer to Table 1. Table 1 is an example of a positioning principle in a startup state of a first electronic device according to an embodiment of the present application.
表1是本申请实施例提供的一种第一电子设备开机启动状态下的定位原理示例Table 1 is an example of the positioning principle in the startup state of the first electronic device provided by the embodiment of the present application
Figure PCTCN2021097044-appb-000001
Figure PCTCN2021097044-appb-000001
Figure PCTCN2021097044-appb-000002
Figure PCTCN2021097044-appb-000002
如表1所示,在场景1中,当蜂窝网络信号质量较好(例如信号强度大于第一强度阈值)时,处理器可从定位芯片获得定位信息,并通过蜂窝网络将定位信息发送给云服务器102。定位方式例如是GPS定位/Wi-Fi定位/蓝牙定位/北斗定位中任一种或多种。As shown in Table 1, in scenario 1, when the signal quality of the cellular network is good (for example, the signal strength is greater than the first intensity threshold), the processor can obtain positioning information from the positioning chip, and send the positioning information to the cloud through the cellular network Server 102. The positioning method is, for example, any one or more of GPS positioning/Wi-Fi positioning/Bluetooth positioning/Beidou positioning.
在场景2中,蜂窝网络信号质量差(例如信号强度小于第一强度阈值),物联网(internet of things,IoT)信号质量好(例如信号强度大于第二强度阈值),例如用户携带第一电子设备101在地下车库、地下室或者其他蜂窝网络信号质量差的地方。当检测到蜂窝网络信号的信号强度小于第一强度阈值时,在开机启动状态下,处理器可控制电源开关1将电池303和物联网芯片301导通,控制天线开关将物联网芯片与天线之间的连接导通,控制芯片开关将物联网芯片301与定位芯片之间的连接导通,具体可参考图4所描述示例中步骤S108~S110。物联网芯片可通过以下任一种或多种获得定位信息:GPS定位/Wi-Fi定位/蓝牙定位/北斗定位,并通过物联网网络,向云服务器102发送定位信息。In scenario 2, the signal quality of the cellular network is poor (for example, the signal strength is less than the first intensity threshold), and the signal quality of the Internet of Things (IoT) is good (for example, the signal strength is greater than the second intensity threshold). For example, the user carries the first electronic device. The device 101 is in an underground garage, basement or other place where the signal quality of the cellular network is poor. When it is detected that the signal strength of the cellular network signal is less than the first strength threshold, in the startup state, the processor can control the power switch 1 to turn on the battery 303 and the IoT chip 301, and control the antenna switch to connect the IoT chip and the antenna The connection between the chip is turned on, and the chip switch is controlled to turn on the connection between the IoT chip 301 and the positioning chip. For details, refer to steps S108 to S110 in the example described in FIG. 4. The IoT chip can obtain positioning information through any one or more of the following: GPS positioning/Wi-Fi positioning/Bluetooth positioning/Beidou positioning, and send positioning information to the cloud server 102 through the IoT network.
在场景3中,蜂窝网络信号和物联网信号质量均不好。例如蜂窝网络信号的信号强度小于第一强度阈值,物联网信号的信号强度小于第二强度阈值。在检测到蜂窝网络信号的信号强度小于第一强度阈值,且物联网信号的信号强度小于第二强度阈值时,处理器可通过北斗定位芯片305进行北斗定位得到定位信息。处理器还可通过与北斗定位芯片305连接的天线(即北斗天线),将定位信息发送给云服务器102。北斗定位芯片305和北斗天线可参考图7所描述示例中北斗定位芯片305和天线k+1。在场景3中,不限于通过北斗定位获得定位信息,处理器还可通过GPS定位/Wi-Fi定位/蓝牙定位获得定位信息。In scenario 3, both the cellular network signal and the IoT signal quality are not good. For example, the signal strength of the cellular network signal is less than the first strength threshold, and the signal strength of the IoT signal is less than the second strength threshold. When it is detected that the signal strength of the cellular network signal is less than the first strength threshold and the signal strength of the IoT signal is less than the second strength threshold, the processor may perform Beidou positioning through the Beidou positioning chip 305 to obtain positioning information. The processor may also send the positioning information to the cloud server 102 through the antenna connected to the Beidou positioning chip 305 (ie, the Beidou antenna). The Beidou positioning chip 305 and the Beidou antenna may refer to the Beidou positioning chip 305 and the antenna k+1 in the example described in FIG. 7. In scenario 3, it is not limited to obtaining positioning information through Beidou positioning, and the processor may also obtain positioning information through GPS positioning/Wi-Fi positioning/Bluetooth positioning.
在场景4中,蜂窝网络信号和物联网信号质量差,北斗定位信号质量也差。例如蜂窝网络信号的信号强度小于第一强度阈值,物联网信号的信号强度小于第二强度阈值,北斗定位信号的信号强度小于第三强度阈值。在检测到蜂窝网络信号的信号强度小于第一强度阈值、且物联网信号的信号强度小于第二强度阈值、且北斗定位信号的信号强度小于第三强度阈值时,处理器可通过蓝牙定位获得定位信息。在发送定位信息时,处理器可通过蓝牙模块和天线发送携带定位信息的蓝牙广播,第一电子设备的周边接收到蓝牙广播的设备向云服务器发送该定位信息。在场景4中,不限于通过蓝牙定位获得定位信息,处理器还可通过GPS定位/Wi-Fi定位/北斗定位获得定位信息。In scenario 4, the quality of the cellular network signal and the signal of the Internet of Things is poor, and the quality of the Beidou positioning signal is also poor. For example, the signal strength of the cellular network signal is less than the first strength threshold, the signal strength of the IoT signal is less than the second strength threshold, and the signal strength of the Beidou positioning signal is less than the third strength threshold. When it is detected that the signal strength of the cellular network signal is less than the first strength threshold, the signal strength of the IoT signal is less than the second strength threshold, and the signal strength of the Beidou positioning signal is less than the third strength threshold, the processor can obtain positioning through Bluetooth positioning information. When sending the positioning information, the processor may send a Bluetooth broadcast carrying the positioning information through the Bluetooth module and the antenna, and a device that receives the Bluetooth broadcast around the first electronic device sends the positioning information to the cloud server. In scenario 4, it is not limited to obtain positioning information through Bluetooth positioning, and the processor may also obtain positioning information through GPS positioning/Wi-Fi positioning/Beidou positioning.
上述在开机启动状态下的定位方案中,当蜂窝网络信号质量差时,处理器可通过其他方式发送定位信息。这样,当第一电子设备处于蜂窝网络信号质量不好的环境,或者物联网信号质量不好的环境,或者北斗定位信号质量不好的环境,第一电子设备均能够将定位信息发送到云服务器,服务器发送给第二电子设备进而实现告知用户第一电子设备的定位信息。这样,减少了第一电子设备丢失后无法获得定位信息的情况,提高了定位的便利性。In the above-mentioned positioning solution in the startup state, when the signal quality of the cellular network is poor, the processor may send positioning information in other ways. In this way, when the first electronic device is in an environment where the signal quality of the cellular network is not good, or the signal quality of the Internet of Things is not good, or the quality of the Beidou positioning signal is not good, the first electronic device can send the positioning information to the cloud server , The server sends to the second electronic device to inform the user of the location information of the first electronic device. In this way, the situation that the positioning information cannot be obtained after the first electronic device is lost is reduced, and the convenience of positioning is improved.
(二)关机状态下定位原理(2) Positioning principle in shutdown state
下面结合表2进行介绍。请参阅表2,表2是本申请实施例提供的一种第一电子设备关机状态下的定位原理示例。The following is introduced in conjunction with Table 2. Please refer to Table 2. Table 2 is an example of the positioning principle in the shutdown state of the first electronic device according to an embodiment of the present application.
表2是本申请实施例提供的一种第一电子设备关机状态下的定位原理示例Table 2 is an example of the positioning principle in the shutdown state of the first electronic device provided by the embodiment of the present application
Figure PCTCN2021097044-appb-000003
Figure PCTCN2021097044-appb-000003
与表1所描述的场景相比,表2中第一电子设备处于关机状态,第一电子设备中处理器休眠,物联网芯片替代处理器,获得定位信息,并通过天线发送出去。Compared with the scenario described in Table 1, the first electronic device in Table 2 is in the shutdown state, and the processor in the first electronic device sleeps, and the IoT chip replaces the processor to obtain positioning information and send it out through the antenna.
具体的,在一种可能的实施例中,物联网芯片支持物联网网络,也支持蜂窝网络。如表2所示场景5中,当蜂窝网络信号质量较好(例如信号强度大于强度阈值)时,物联网芯片可从定位芯片获得定位信息,并通过蜂窝网络将定位信息发送给云服务器102。定位方式例如是GPS定位/Wi-Fi定位/蓝牙定位/北斗定位中任一种或多种。Specifically, in a possible embodiment, the Internet of Things chip supports the Internet of Things network and also supports the cellular network. As shown in Scenario 5 in Table 2, when the cellular network signal quality is good (for example, the signal strength is greater than the intensity threshold), the IoT chip can obtain positioning information from the positioning chip, and send the positioning information to the cloud server 102 via the cellular network. The positioning method is, for example, any one or more of GPS positioning/Wi-Fi positioning/Bluetooth positioning/Beidou positioning.
在场景6中,蜂窝网络信号质量差(例如信号强度小于第一强度阈值),物联网信号质 量好(例如信号强度大于第二强度阈值),例如用户携带关机的第一电子设备101在地下车库、或者其他蜂窝网络信号质量不好的地方。当检测到蜂窝网络信号的信号强度小于第一强度阈值时,物联网芯片可通过以下任一种或多种获得定位信息:GPS定位/Wi-Fi定位/蓝牙定位/北斗定位,并通过物联网网络,向云服务器102发送定位信息。In scenario 6, the signal quality of the cellular network is poor (for example, the signal strength is less than the first intensity threshold), and the signal quality of the Internet of Things is good (for example, the signal strength is greater than the second intensity threshold). For example, the user carries the first electronic device 101 that is turned off in an underground garage. , Or other places where the signal quality of the cellular network is not good. When it is detected that the signal strength of the cellular network signal is less than the first strength threshold, the IoT chip can obtain positioning information through any one or more of the following: GPS positioning/Wi-Fi positioning/Bluetooth positioning/Beidou positioning, and through the Internet of Things The network sends positioning information to the cloud server 102.
在场景7中,蜂窝网络信号和物联网信号质量均不好。例如蜂窝网络信号的信号强度小于第一强度阈值,物联网信号的信号强度小于第二强度阈值。在检测到蜂窝网络信号的信号强度小于第一强度阈值,且物联网信号的信号强度小于第二强度阈值时,物联网芯片可通过北斗定位芯片305进行北斗定位得到定位信息。物联网芯片还可通过与北斗定位芯片305连接的天线(即北斗天线),将定位信息发送给云服务器102。北斗定位芯片305和北斗天线可参考图7所描述示例中北斗定位芯片305和天线k+1。在场景7中,不限于通过北斗定位获得定位信息,物联网芯片还可通过GPS定位/Wi-Fi定位/蓝牙定位获得定位信息。In scenario 7, the quality of the cellular network signal and the IoT signal is not good. For example, the signal strength of the cellular network signal is less than the first strength threshold, and the signal strength of the IoT signal is less than the second strength threshold. When it is detected that the signal strength of the cellular network signal is less than the first strength threshold, and the signal strength of the IoT signal is less than the second strength threshold, the IoT chip can perform Beidou positioning through the Beidou positioning chip 305 to obtain positioning information. The IoT chip can also send positioning information to the cloud server 102 through an antenna connected to the Beidou positioning chip 305 (ie, the Beidou antenna). The Beidou positioning chip 305 and the Beidou antenna may refer to the Beidou positioning chip 305 and the antenna k+1 in the example described in FIG. 7. In scenario 7, it is not limited to obtaining positioning information through Beidou positioning. The IoT chip can also obtain positioning information through GPS positioning/Wi-Fi positioning/Bluetooth positioning.
在场景8中,蜂窝网络信号和物联网信号质量差,北斗定位信号质量也差。例如蜂窝网络信号的信号强度小于第一强度阈值,物联网信号的信号强度小于第二强度阈值,北斗定位信号的信号强度小于第三强度阈值。在检测到蜂窝网络信号的信号强度小于第一强度阈值、且物联网信号的信号强度小于第二强度阈值、且北斗定位信号的信号强度小于第三强度阈值时,物联网芯片可通过蓝牙定位获得定位信息。在发送定位信息时,物联网芯片可通过蓝牙模块和天线发送携带定位信息的蓝牙广播,第一电子设备的周边接收到蓝牙广播的设备向云服务器发送该定位信息。在场景8中,不限于通过蓝牙定位获得定位信息,物联网芯片还可通过GPS定位/Wi-Fi定位/北斗定位获得定位信息。In scenario 8, the quality of the cellular network signal and the signal of the Internet of Things is poor, and the quality of the Beidou positioning signal is also poor. For example, the signal strength of the cellular network signal is less than the first strength threshold, the signal strength of the IoT signal is less than the second strength threshold, and the signal strength of the Beidou positioning signal is less than the third strength threshold. When it is detected that the signal strength of the cellular network signal is less than the first strength threshold, the signal strength of the IoT signal is less than the second strength threshold, and the signal strength of the Beidou positioning signal is less than the third strength threshold, the IoT chip can be obtained through Bluetooth positioning Positioning information. When sending positioning information, the IoT chip can send a Bluetooth broadcast carrying the positioning information through a Bluetooth module and an antenna, and devices that receive the Bluetooth broadcast around the first electronic device send the positioning information to the cloud server. In Scenario 8, it is not limited to obtaining positioning information through Bluetooth positioning. The IoT chip can also obtain positioning information through GPS positioning/Wi-Fi positioning/Beidou positioning.
上述在关机状态下的定位方案中,当网络信号质量差时,物联网芯片可通过其他方式发送定位信息。这样,不仅可实现第一电子设备已关机仍然能够发送自身定位信息,当已关机的第一电子设备处于蜂窝网络信号质量不好的环境,或者物联网信号质量不好的环境,或者北斗定位信号质量不好的环境,第一电子设备还能够将定位信息发送到云服务器,服务器发送给第二电子设备进而实现告知用户第一电子设备的定位信息。这样,减少了第一电子设备丢失后无法获得定位信息的情况,提高了定位的便利性。In the above positioning solution in the shutdown state, when the network signal quality is poor, the IoT chip can send positioning information in other ways. In this way, not only can the first electronic device be shut down and still be able to send its own positioning information, when the shut down first electronic device is in an environment with poor cellular network signal quality, or an environment with poor IoT signal quality, or Beidou positioning signal In a poor-quality environment, the first electronic device can also send location information to the cloud server, and the server can send the location information to the second electronic device to inform the user of the location information of the first electronic device. In this way, the situation that the positioning information cannot be obtained after the first electronic device is lost is reduced, and the convenience of positioning is improved.
在本申请实施例中,第一电子设备处于关机状态或者蜂窝网络信号质量差时,第一电子设备仍然可通过物联网芯片获得定位信息,并将定位信息发送给云服务器,云服务器将定位信息发送给第二电子设备。这样,减少了第一电子设备丢失后因关机或信号质量低无法获得定位信息的情况,提高了定位的便利性。In the embodiment of the present application, when the first electronic device is turned off or the signal quality of the cellular network is poor, the first electronic device can still obtain positioning information through the IoT chip, and send the positioning information to the cloud server, and the cloud server will send the positioning information Send to the second electronic device. In this way, the situation that positioning information cannot be obtained due to shutdown or low signal quality after the first electronic device is lost is reduced, and the convenience of positioning is improved.
本申请实施例中,第一电子设备101可无需经由云服务器102向第二电子设备103发送定位信息。第一电子设备101和第二电子设备103之间可建立短距离无线连接,例如Wi-Fi直连或者蓝牙连接。第一电子设备101可通过该短距离无线连接向第二电子设备103发送定位信息。In the embodiment of the present application, the first electronic device 101 may not need to send the positioning information to the second electronic device 103 via the cloud server 102. A short-range wireless connection can be established between the first electronic device 101 and the second electronic device 103, such as a Wi-Fi direct connection or a Bluetooth connection. The first electronic device 101 can send positioning information to the second electronic device 103 through the short-range wireless connection.
具体的,第二电子设备103和第一电子设备101可均登陆第一账号。云服务器102可存储第一电子设备101的设备信息与第一账号的关联关系。第二电子设备103可通过云服务器102获得第一电子设备101的设备信息,并与第一电子设备101建立短距离无线连接。 用户忘记第一电子设备101所放置的位置时,可在第二电子设备103的用户界面上点击查找设备控件。响应于该用户操作,第二电子设备103可通过短距离无线连接向第一电子设备101发送用于获取定位信息的指令。在开机状态下,响应于该指令,第一电子设备101中处理器获得定位信息,并经由天线通过该短距离无线连接向第二电子设备103发送定位信息。在关机状态,或者蜂窝网络信号质量差的情况下,第一电子设备101中物联网芯片可获得定位信息,并经由天线通过该短距离无线连接向第二电子设备103发送定位信息。Specifically, the second electronic device 103 and the first electronic device 101 may both log in to the first account. The cloud server 102 may store the association relationship between the device information of the first electronic device 101 and the first account. The second electronic device 103 can obtain the device information of the first electronic device 101 through the cloud server 102 and establish a short-distance wireless connection with the first electronic device 101. When the user forgets where the first electronic device 101 is placed, he can click the search device control on the user interface of the second electronic device 103. In response to the user operation, the second electronic device 103 may send an instruction for obtaining positioning information to the first electronic device 101 through a short-range wireless connection. In the power-on state, in response to the instruction, the processor in the first electronic device 101 obtains positioning information, and sends the positioning information to the second electronic device 103 via the antenna through the short-range wireless connection. In the off state or the cellular network signal quality is poor, the IoT chip in the first electronic device 101 can obtain positioning information, and send the positioning information to the second electronic device 103 through the short-range wireless connection via the antenna.
在一种可能的实施例中,第一电子设备可向云服务器发送定位信息时,携带标识,该标识可指示第一电子设备当前是否关机、信号质量好坏、电量等。云服务器向第二电子设备发送定位信息时也可将该标识发送给第二电子设备。第二电子设备可显示提示,该提示可指示第一电子设备当前是否关机、信号质量好坏等。In a possible embodiment, the first electronic device may carry an identifier when sending positioning information to the cloud server, and the identifier may indicate whether the first electronic device is currently shut down, signal quality, power level, and so on. When the cloud server sends the positioning information to the second electronic device, the identification may also be sent to the second electronic device. The second electronic device may display a prompt, which may indicate whether the first electronic device is currently turned off, whether the signal quality is good or bad, and so on.
具体的,请参阅图9A~图9D,图9A~图9D是本申请实施例提供的一些用户界面示意图。如图9A所示,第二电子设备可显示用户界面100,该用户界面100例如是查找手机应用的用户界面,该第二电子设备与第一电子设备可均在查找手机应用可登陆第一账号。如图9A所示,用户界面100可包含设备选项1001。设备选项1001可指示第一电子设备。Specifically, please refer to FIGS. 9A to 9D. FIGS. 9A to 9D are schematic diagrams of some user interfaces provided by embodiments of the present application. As shown in FIG. 9A, the second electronic device can display a user interface 100. The user interface 100 is, for example, a user interface for searching a mobile phone application. The second electronic device and the first electronic device can both be searching for a mobile phone application and log in to the first account. . As shown in FIG. 9A, the user interface 100 may include device options 1001. The device option 1001 may indicate the first electronic device.
响应于作用在设备选项1001的用户操作,第二电子设备可向云服务器发送第一请求。具体的,该第一请求与第一账号关联,云服务器可根据该第一请求和第一账号,找到与第一账号关联设备的设备信息(例如第一电子设备的设备信息)。云服务器可根据第一电子设备的设备信息向第一电子设备发送第二请求。云服务器接收到来自第一电子设备的定位信息之后,将该定位信息发送给第二电子设备。该定位信息例如携带标识,该标识指示第一电子设备处于开机状态,且蜂窝信号质量好。该标识还可指示第一电子设备的剩余电量,例如为87%。响应于接收到的该定位信息和标识,第二电子设备显示用户界面200。In response to a user operation acting on the device option 1001, the second electronic device may send a first request to the cloud server. Specifically, the first request is associated with the first account, and the cloud server can find the device information of the device associated with the first account (for example, the device information of the first electronic device) according to the first request and the first account. The cloud server may send the second request to the first electronic device according to the device information of the first electronic device. After receiving the positioning information from the first electronic device, the cloud server sends the positioning information to the second electronic device. The positioning information, for example, carries an identifier, which indicates that the first electronic device is in a power-on state and the cellular signal quality is good. The identifier may also indicate the remaining power of the first electronic device, for example, 87%. In response to the received positioning information and identification, the second electronic device displays the user interface 200.
如图9B所示,用户界面200可包含电量提示2001、状态提示2002、设备位置指示2003、导航控件2004、定位控件2005、振铃控件2006、锁定控件2007和数据擦除控件2008。其中:As shown in FIG. 9B, the user interface 200 may include a battery indicator 2001, a status indicator 2002, a device location indicator 2003, a navigation control 2004, a positioning control 2005, a ringing control 2006, a locking control 2007, and a data erasing control 2008. in:
电量提示2001,用于提示第一电子设备当前的剩余电量,该剩余电量可携带在标识中从第一电子设备经由云服务器发送,例如剩余电量为87%。The power prompt 2001 is used to prompt the current remaining power of the first electronic device, and the remaining power can be carried in the identifier and sent from the first electronic device via the cloud server, for example, the remaining power is 87%.
状态提示2002,用于提示第一电子设备当前是否开机,信号质量好坏。例如提示“设备开机状态并在线”。类似地,该状态也可携带在标识中从第一电子设备经由云服务器发送,例如当前第一电子设备处于开机状态,且蜂窝网络信号良好。此时第一电子设备中处理器处于工作状态,处理器可获得定位信息并通过天线将定位信息、设备状态、电量等发送给云服务器。此时第一电子设备中物联网芯片可处于休眠状态。The status prompt 2002 is used to prompt whether the first electronic device is currently turned on and the signal quality is good or bad. For example, it prompts "The device is on and online." Similarly, the status can also be carried in the identifier and sent from the first electronic device via the cloud server. For example, the first electronic device is currently in a power-on state and the cellular network signal is good. At this time, the processor in the first electronic device is in a working state, and the processor can obtain positioning information and send the positioning information, device status, power, etc. to the cloud server through the antenna. At this time, the IoT chip in the first electronic device may be in a dormant state.
设备位置指示2003,用于根据来自第一电子设备的定位信息,指示第一电子设备所处的位置。该定位信息可由第一电子设备中处理器从定位芯片中获得。The device location indicator 2003 is used to indicate the location of the first electronic device according to the location information from the first electronic device. The positioning information can be obtained from the positioning chip by the processor in the first electronic device.
导航控件2004,用于根据第一电子设备的定位信息和当前第二电子设备的位置信息,进行导航。The navigation control 2004 is used for navigation based on the location information of the first electronic device and the current location information of the second electronic device.
定位控件2005,用于重新获得第一电子设备的定位信息。The positioning control 2005 is used to retrieve the positioning information of the first electronic device.
振铃控件2006,用于经由云服务器向第一电子设备发送振铃指示。响应于作用在振铃 控件2006的用户操作,第二电子设备可向云服务器发送振铃指示,云服务器可通过蜂窝网络转发该振铃指示给第一电子设备。第一电子设备中处理器可根据该振铃指示,启动扬声器进行振铃。The ringing control 2006 is used to send a ringing instruction to the first electronic device via the cloud server. In response to a user operation on the ringing control 2006, the second electronic device may send a ringing instruction to the cloud server, and the cloud server may forward the ringing instruction to the first electronic device via the cellular network. The processor in the first electronic device can activate the speaker to ring according to the ringing instruction.
锁定控件2007,用于经由云服务器向第一电子设备发送锁定指示。响应于作用在锁定控件2007的用户操作,第二电子设备可向云服务器发送锁定指示,云服务器可通过蜂窝网络转发该锁定指示给第一电子设备。第一电子设备中处理器可根据该锁定指示,锁定第一电子设备。第一电子设备锁定后,不再显示应用的界面,例如相册应用、支付应用等被锁定不能打开。The lock control 2007 is used to send a lock instruction to the first electronic device via the cloud server. In response to a user operation on the lock control 2007, the second electronic device may send a lock instruction to the cloud server, and the cloud server may forward the lock instruction to the first electronic device via the cellular network. The processor in the first electronic device can lock the first electronic device according to the lock instruction. After the first electronic device is locked, the interface of the application is no longer displayed, for example, the photo album application, the payment application, etc. are locked and cannot be opened.
数据擦除控件2008,用于经由云服务器向第一电子设备发送数据擦除指示。响应于作用在数据擦除控件2008的用户操作,第二电子设备可向云服务器发送数据擦除指示,云服务器可通过蜂窝网络转发该数据擦除指示给第一电子设备。第一电子设备中处理器可根据该数据擦除指示,删除第一电子设备中的隐私数据。隐私数据例如包含图像数据、应用登陆的账号数据等。The data erasure control 2008 is used to send a data erasure instruction to the first electronic device via the cloud server. In response to a user operation on the data erasure control 2008, the second electronic device may send a data erasure instruction to the cloud server, and the cloud server may forward the data erasure instruction to the first electronic device via the cellular network. The processor in the first electronic device can delete the private data in the first electronic device according to the data erasure instruction. Private data includes, for example, image data, account data for application logins, and the like.
本申请实施例中,响应于作用在定位控件2005的用户操作,第二电子设备可重新向云服务器发送第一请求,云服务器可重新向第一电子设备发送第二请求,以获得更新的设备信息。云服务器接收到来自第一电子设备的更新的定位信息之后,将该更新的定位信息发送给第二电子设备。该更新的定位信息例如携带更新的标识。In the embodiment of the present application, in response to a user operation acting on the positioning control 2005, the second electronic device may resend the first request to the cloud server, and the cloud server may resend the second request to the first electronic device to obtain an updated device information. After receiving the updated positioning information from the first electronic device, the cloud server sends the updated positioning information to the second electronic device. The updated positioning information carries, for example, an updated identifier.
示例性的,第一电子设备此时蜂窝网络信号质量差(例如信号质量低于第一强度阈值),则第一电子设备中,处理器可控制开关使得物联网芯片301接管定位芯片和天线。物联网芯片可获得更新的定位信息和更新的标识,发送给云服务器。该更新标识例如指示第一电子设备处于开机状态,且物联网信号质量好。该标识还可指示第一电子设备的剩余电量,例如为85%。响应于接收到的该更新的定位信息和更新的标识,第二电子设备刷新用户界面200。Exemplarily, if the signal quality of the cellular network of the first electronic device is poor (for example, the signal quality is lower than the first intensity threshold), in the first electronic device, the processor may control the switch to make the IoT chip 301 take over the positioning chip and the antenna. The IoT chip can obtain updated positioning information and updated identification, and send it to the cloud server. The update identifier indicates, for example, that the first electronic device is in a power-on state and the signal quality of the Internet of Things is good. The identifier may also indicate the remaining power of the first electronic device, for example, 85%. In response to the received updated positioning information and updated identification, the second electronic device refreshes the user interface 200.
如图9C所示,刷新后的用户界面200上,电量提示2001、状态提示2002、设备位置指示2003根据更新的标识进行更新。电量提示2001,可提示剩余电量为85%。状态提示2002,可指示“设备开机状态并物联网信号在线”。As shown in FIG. 9C, on the refreshed user interface 200, the battery indicator 2001, the status indicator 2002, and the device location indicator 2003 are updated according to the updated identification. Power reminder 2001, can remind that the remaining power is 85%. Status prompt 2002, which can indicate "the device is turned on and the Internet of Things signal is online".
如图9C所示,响应于作用在振铃控件2006的用户操作,第二电子设备可向云服务器发送振铃指示,云服务器可通过蜂窝网络转发该振铃指示给第一电子设备。第一电子设备中物联网芯片可根据该振铃指示,启动扬声器进行振铃。本申请实施例中,物联网芯片可与扬声器连接。在另一种可能的实现中,物联网芯片可通知处理器,使得处理器调用扬声器振铃。As shown in FIG. 9C, in response to a user operation on the ringing control 2006, the second electronic device may send a ringing instruction to the cloud server, and the cloud server may forward the ringing instruction to the first electronic device via the cellular network. The IoT chip in the first electronic device can activate the speaker to ring according to the ringing instruction. In the embodiment of the present application, the IoT chip can be connected to the speaker. In another possible implementation, the IoT chip can notify the processor, causing the processor to call the speaker to ring.
类似地,对于作用在锁定控件2007的用户操作和作用在数据擦除控件2008的用户操作,物联网芯片相应的可执行锁定第一电子设备、擦除隐私数据。在另一种可能的实现中,物联网芯片可通知处理器(例如唤醒处理器),处理器执行锁定第一电子设备、擦除隐私数据。Similarly, for the user operation acting on the lock control 2007 and the user operation acting on the data erasure control 2008, the IoT chip can correspondingly lock the first electronic device and erase private data. In another possible implementation, the IoT chip can notify the processor (for example, wake up the processor), and the processor executes to lock the first electronic device and erase private data.
示例性的,在图9C所示出的用户界面200上,响应于作用在定位控件2005的用户操作,第二电子设备可再次向云服务器发送第一请求,云服务器可再次向第一电子设备发送第二请求,以获得再次更新的设备信息。云服务器接收到来自第一电子设备的再次更新的 定位信息之后,将该再次更新的定位信息发送给第二电子设备。该再次更新的定位信息例如携带再次更新的标识。Exemplarily, on the user interface 200 shown in FIG. 9C, in response to a user operation acting on the positioning control 2005, the second electronic device may send the first request to the cloud server again, and the cloud server may send the first request to the first electronic device again. Send a second request to obtain the updated device information again. After receiving the re-updated positioning information from the first electronic device, the cloud server sends the re-updated positioning information to the second electronic device. The re-updated positioning information carries, for example, a re-updated identifier.
示例性的,第一电子设备此时处于关机状态,则第一电子设备中,处理器可控制开关使得物联网芯片301接管定位芯片和天线。物联网芯片可获得再次更新的定位信息和再次更新的标识,发送给云服务器。该再次更新标识例如指示第一电子设备处于关机状态,且物联网信号质量好。该再次更新的标识还可指示第一电子设备的剩余电量,例如为84%。响应于接收到的该再次更新的定位信息和再次更新的标识,第二电子设备刷新用户界面200。Exemplarily, if the first electronic device is in the shutdown state at this time, in the first electronic device, the processor may control the switch so that the IoT chip 301 takes over the positioning chip and the antenna. The IoT chip can obtain the updated positioning information and the updated identification again, and send them to the cloud server. The re-update indicator indicates, for example, that the first electronic device is in a shutdown state and the signal quality of the Internet of Things is good. The re-updated flag may also indicate the remaining power of the first electronic device, for example, 84%. In response to receiving the re-updated positioning information and the re-updated identification, the second electronic device refreshes the user interface 200.
如图9D所示,再次刷新后的用户界面200上,电量提示2001、状态提示2002、设备位置指示2003根据再次更新的标识进行更新。电量提示2001,可提示剩余电量为84%。状态提示2002,可指示“设备关机状态并物联网信号在线”。As shown in FIG. 9D, on the user interface 200 that is refreshed again, the battery indicator 2001, the status indicator 2002, and the device location indicator 2003 are updated according to the re-updated identifier. Power reminder 2001, which can remind you that the remaining power is 84%. Status reminder 2002, which can indicate "the device is off and the Internet of Things signal is online".
在图9A~图9D所示出的示例中,第一电子设备处于关机状态或者蜂窝网络信号质量差,第一电子设备可通过物联网芯片获得定位信息,并将定位信息发送给云服务器,云服务器将定位信息发送给第二电子设备。这样,减少了第一电子设备丢失后因关机或信号质量低无法获得定位信息的情况,提高了定位的便利性。In the example shown in FIGS. 9A to 9D, the first electronic device is in the shutdown state or the cellular network signal quality is poor. The first electronic device can obtain positioning information through the IoT chip and send the positioning information to the cloud server. The server sends the positioning information to the second electronic device. In this way, the situation that positioning information cannot be obtained due to shutdown or low signal quality after the first electronic device is lost is reduced, and the convenience of positioning is improved.
下面结合流程图介绍本申请实施例提供的第一电子设备开机启动状态下的一种定位方法示例。请参阅图10,图10是本申请实施例提供的一种定位方法的示意图。如图10所示,在开机启动状态下,第一电子设备定位方法可包括:The following describes an example of a positioning method in the startup state of the first electronic device provided by the embodiment of the present application in combination with a flowchart. Please refer to FIG. 10, which is a schematic diagram of a positioning method provided by an embodiment of the present application. As shown in FIG. 10, in the startup state, the first electronic device positioning method may include:
S1第一电子设备接入蜂窝网络。S1 The first electronic device accesses the cellular network.
例如,第一电子设备中用户界面上的数据流量开关已打开。当蜂窝网络信号质量好的情况下,第一电子设备可执行步骤S2。当蜂窝网络信号质量差的情况下,第一电子设备可执行步骤S5。For example, the data flow switch on the user interface in the first electronic device has been turned on. When the signal quality of the cellular network is good, the first electronic device may perform step S2. When the signal quality of the cellular network is poor, the first electronic device may perform step S5.
S2处理器处于工作状态。The S2 processor is in working state.
该状态下第一电子设备定位原理和第一电子设备内各模块状态可参考前述场景1的定位原理。In this state, the positioning principle of the first electronic device and the status of each module in the first electronic device can refer to the positioning principle of the aforementioned scenario 1.
S3第一账号与设备信息关联,用于在另一设备上查找第一电子设备的位置信息。The S3 first account is associated with device information, and is used to find the location information of the first electronic device on another device.
第一账号与设备信息之间的关联关系可预先存储在云服务器上。且第一电子设备101可登陆第一账号。登陆过程可参考图4所描述示例中步骤S103的描述。The association relationship between the first account and the device information may be pre-stored on the cloud server. And the first electronic device 101 can log in to the first account. For the login process, refer to the description of step S103 in the example described in FIG. 4.
S4用户通过第一账号在第二电子设备获得第一电子设备的位置信息。The S4 user obtains the location information of the first electronic device on the second electronic device through the first account.
当用户发现第一电子设备丢失后,用户可在第二电子设备上登陆第一账号。第二电子设备可接收用于获取第一电子设备的定位信息的用户操作,以获得第一电子设备的定位信息。具体可参考图4所描述示例中步骤S103~S107的描述。When the user finds that the first electronic device is missing, the user can log in to the first account on the second electronic device. The second electronic device may receive a user operation for obtaining the location information of the first electronic device, so as to obtain the location information of the first electronic device. For details, refer to the description of steps S103 to S107 in the example described in FIG. 4.
S5物联网芯片处于工作状态。The S5 IoT chip is in working condition.
该状态下第一电子设备定位原理和第一电子设备内各模块状态可参考前述场景2的定位原理。In this state, the positioning principle of the first electronic device and the status of each module in the first electronic device can refer to the positioning principle of the aforementioned scenario 2.
S6第一账号与设备信息关联,用于在另一设备上查找第一电子设备的位置信息。S6 The first account is associated with device information, and is used to find the location information of the first electronic device on another device.
S7用户通过第一账号在第二电子设备获得第一电子设备的位置信息。The S7 user obtains the location information of the first electronic device on the second electronic device through the first account.
S6、S7参考前述S3、S4描述。S6 and S7 refer to the description of S3 and S4 above.
S8第一电子设备未接入蜂窝网络。S8 The first electronic device is not connected to the cellular network.
例如,第一电子设备中用户界面上的数据流量开关未打开。For example, the data flow switch on the user interface in the first electronic device is not turned on.
在一种可能的实现中,第一电子设备可通过蓝牙广播发送定位信息,具体参考S9~S11描述。在另一种可能的实现中,第一电子设备可物联网网络发送定位信息,具体可参考S12~S14描述。In a possible implementation, the first electronic device may send positioning information through Bluetooth broadcast, and for details, refer to the description of S9 to S11. In another possible implementation, the first electronic device may send positioning information through the Internet of Things network. For details, refer to the description of S12 to S14.
S9处理器处于工作状态。The S9 processor is working.
处理器可从定位芯片获得定位信息,并通过蓝牙模块将定位信息携带在蓝牙广播上发送出去。The processor can obtain the positioning information from the positioning chip, and carry the positioning information on the Bluetooth broadcast through the Bluetooth module and send it out.
S10蓝牙广播携带定位信息,接收到广播的设备发送第一电子设备的位置信息。S10 Bluetooth broadcast carries positioning information, and the device that receives the broadcast sends the location information of the first electronic device.
在通过蓝牙广播发送定位信息的方案中,第一账号与设备信息的关联关系仍然保存在云服务器,且丢失的第一电子设备仍然登陆过第一账号,第二电子设备也登陆有第一账号。In the solution of sending positioning information via Bluetooth broadcast, the association relationship between the first account and device information is still stored in the cloud server, and the lost first electronic device has still logged in to the first account, and the second electronic device has also logged in to the first account. .
S11蓝牙广播覆盖范围内需有联网设备。S11 Bluetooth broadcast coverage requires networked devices.
当第一电子设备发送的蓝牙广播覆盖范围内有联网设备的情况下,联网的设备才能够通过网络将第一电子设备的定位信息发送给云服务器。该网络例如是蜂窝网络,或者Wi-Fi网络等。Only when there are networked devices within the coverage of the Bluetooth broadcast sent by the first electronic device, the networked devices can send the positioning information of the first electronic device to the cloud server through the network. The network is, for example, a cellular network, or a Wi-Fi network.
S9~S11描述的第一电子设备定位原理可参考前述场景4的定位原理。The positioning principle of the first electronic device described in S9 to S11 may refer to the positioning principle of the aforementioned scenario 4.
S12物联网芯片处于工作状态。The S12 IoT chip is in working condition.
S13第一账号与设备信息关联,用于在另一设备上查找第一电子设备的位置信息。S13 The first account is associated with device information, and is used to search for location information of the first electronic device on another device.
S14用户通过第一账号在第二电子设备获得第一电子设备的位置信息。S14 The user obtains the location information of the first electronic device on the second electronic device through the first account.
S12~S14可参考S5~S7的描述。S12~S14 can refer to the description of S5~S7.
本申请实施例中,第一电子设备未接入蜂窝网络的情况下,第一电子设备不限于通过蓝牙广播、物联网网络发送定位信息,还可以通过其他方式,例如北斗天线等。In the embodiment of the present application, when the first electronic device is not connected to the cellular network, the first electronic device is not limited to sending positioning information through Bluetooth broadcasting or the Internet of Things network, and may also use other methods, such as a Beidou antenna.
下面结合流程图介绍本申请实施例提供的第一电子设备关机状态下的一种定位方法示例。请参阅图11,图11是本申请实施例提供的另一种定位方法示意图。如图11所示,在关机状态下,第一电子设备定位方法可包括:The following describes an example of a positioning method in the shutdown state of the first electronic device provided by the embodiment of the present application in combination with a flowchart. Please refer to FIG. 11, which is a schematic diagram of another positioning method provided by an embodiment of the present application. As shown in FIG. 11, in the shutdown state, the first electronic device positioning method may include:
S15物联网芯片处于工作状态。The S15 IoT chip is in working condition.
S16第一账号与设备信息关联,用于在另一设备上查找第一电子设备的位置信息。S16 The first account is associated with device information, and is used to search for location information of the first electronic device on another device.
S17用户通过第一账号在第二电子设备获得第一电子设备的位置信息。In S17, the user obtains the location information of the first electronic device on the second electronic device through the first account.
本申请实施例中,关机状态,第一电子设备中处理器休眠,物联网芯片替代处理器,获得定位信息,并通过天线发送出去。定位原理可参考前述场景5~场景8的描述。In the embodiment of the present application, in the shutdown state, the processor in the first electronic device sleeps, and the IoT chip replaces the processor, obtains positioning information, and sends it out through the antenna. For the positioning principle, please refer to the description of scene 5 to scene 8 above.
可以理解的,本申请实施例以第一账号为华为账号为例进行说明,但是本申请实施例不限于举例,第一账号还可以是手机号码或者其他账号。It is understandable that the embodiment of the present application takes the first account as a Huawei account as an example for description, but the embodiment of the present application is not limited to examples, and the first account may also be a mobile phone number or other accounts.
下面介绍本申请实施例中,第一电子设备101与云服务器102通信所使用的网络。通信所使用的网络可包含:蜂窝网络、物联网网络和北斗天线网络。其中,蜂窝网络可包含GSM网络、CDMA网络、3G网络、FDMA、TDMA等。本申请实施例中,处理器302和物联网芯片301均可支持蜂窝网络。即在开机启动状态下,处理器302可通过天线接入蜂 窝网络。在关机状态下,物联网芯片301可通过天线接入蜂窝网络。The following describes the network used by the first electronic device 101 to communicate with the cloud server 102 in the embodiment of the present application. The network used for communication may include: cellular network, Internet of Things network and Beidou antenna network. Among them, the cellular network can include GSM network, CDMA network, 3G network, FDMA, TDMA, etc. In the embodiment of the present application, both the processor 302 and the IoT chip 301 can support a cellular network. That is, in the startup state, the processor 302 can access the cellular network through the antenna. In the shutdown state, the IoT chip 301 can access the cellular network through an antenna.
物联网芯片301还可支持物联网网络,物联网芯片30集成了物联网网络的通信标准。物联网网络例如包含以下任一种或多种通信模式:增强型机器类型通信(enhanced machine-type communication,eMTC),窄带物联网(narrow band internet of things,NB-IoT),扩展覆盖全球移动通讯系统(extended coverage-GSM,EC-GSM)通信以及增强型数据速率演进技术(enhanced general packet radio service,EGPRS)。这样,物联网芯片301也可通过天线接入物联网网络,并通过物联网网络与云服务器102进行通信,例如通过物联网网络向云服务器发送第一电子设备101的定位信息。The Internet of Things chip 301 can also support an Internet of Things network, and the Internet of Things chip 30 integrates the communication standards of the Internet of Things network. The Internet of Things network includes, for example, any one or more of the following communication modes: enhanced machine-type communication (eMTC), narrowband internet of things (NB-IoT), and extended coverage of global mobile communications System (extended coverage-GSM, EC-GSM) communication and enhanced data rate evolution technology (enhanced general packet radio service, EGPRS). In this way, the Internet of Things chip 301 can also access the Internet of Things network through an antenna, and communicate with the cloud server 102 through the Internet of Things network, for example, send the positioning information of the first electronic device 101 to the cloud server through the Internet of Things network.
本申请实施例中,物联网芯片301可通过天线与物联网云端通信,物联网云端可与云服务器102通信,从而实现物联网芯片301通过天线与云服务器102通信。In the embodiment of the present application, the IoT chip 301 can communicate with the IoT cloud through an antenna, and the IoT cloud can communicate with the cloud server 102, so that the IoT chip 301 can communicate with the cloud server 102 through the antenna.
可以理解的,本申请实施例对物联网芯片301所支持的网络通信模式不作限定,物联网芯片301还可包含其他模式的物联网网络,也可包含未来演进的物联网网络,本申请实施例对此不作限定。It is understandable that the embodiment of the present application does not limit the network communication mode supported by the IoT chip 301. The IoT chip 301 may also include other modes of the IoT network, and may also include the future evolution of the IoT network. This embodiment of the application There is no restriction on this.
本申请实施例中,与蜂窝网络相比,物联网网络具有更广的覆盖范围。因此,当物联网芯片301替代处理器302,获得定位信息并通过天线发送给云服务器时,可实现在没有蜂窝网络覆盖的地方第一电子设备101仍然可向云服务器发送定位信息,从而提高了定位准确性。In the embodiments of the present application, compared with a cellular network, the Internet of Things network has a wider coverage area. Therefore, when the IoT chip 301 replaces the processor 302 to obtain positioning information and send it to the cloud server through an antenna, it can be realized that the first electronic device 101 can still send the positioning information to the cloud server where there is no cellular network coverage, thereby improving Positioning accuracy.
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机或处理器上运行时,使得计算机或处理器执行上述任一个方法中的一个或多个步骤。The embodiment of the present application also provides a computer-readable storage medium that stores instructions in the computer-readable storage medium, which when run on a computer or a processor, causes the computer or the processor to execute any one of the above methods. Or multiple steps.
本申请实施例还提供了一种包含指令的计算机程序产品。当该计算机程序产品在计算机或处理器上运行时,使得计算机或处理器执行上述任一个方法中的一个或多个步骤。The embodiments of the present application also provide a computer program product containing instructions. When the computer program product runs on a computer or a processor, the computer or the processor is caused to execute one or more steps in any of the above methods.
在上述实施例中,全部或部分功能可以通过软件、硬件、或者软件加硬件的组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part of the functions can be implemented by software, hardware, or a combination of software and hardware. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or a data center integrated with one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the embodiments of the present application shall be covered by this application. Within the protection scope of the application embodiments. Therefore, the protection scope of the embodiments of the present application should be subject to the protection scope of the claims.

Claims (20)

  1. 一种定位系统,其特征在于,所述定位系统包括处理器、物联网芯片、天线和定位芯片,其中:A positioning system, characterized in that the positioning system includes a processor, an Internet of Things chip, an antenna, and a positioning chip, wherein:
    所述处理器与所述天线之间的连接通过天线开关导通,所述处理器与所述定位芯片之间的连接通过芯片开关导通;所述天线开关还与所述物联网芯片连接,所述芯片开关还与所述物联网芯片连接;The connection between the processor and the antenna is conducted through an antenna switch, and the connection between the processor and the positioning chip is conducted through a chip switch; the antenna switch is also connected to the Internet of Things chip, The chip switch is also connected to the Internet of Things chip;
    所述定位芯片,用于进行定位以获得第一定位信息;The positioning chip is used for positioning to obtain first positioning information;
    所述处理器,用于从所述定位芯片获得所述第一定位信息,并通过所述天线发送所述第一定位信息;The processor is configured to obtain the first positioning information from the positioning chip, and send the first positioning information through the antenna;
    所述处理器,还用于响应于用于关机的用户操作,控制所述天线开关将所述物联网芯片与所述天线之间的连接导通,控制所述芯片开关将所述物联网芯片与所述定位芯片之间的连接导通;The processor is further configured to, in response to a user operation for shutting down, control the antenna switch to turn on the connection between the Internet of Things chip and the antenna, and control the chip switch to turn on the Internet of Things chip The connection with the positioning chip is conducted;
    所述定位芯片,用于进行定位以获得第二定位信息;The positioning chip is used for positioning to obtain second positioning information;
    所述物联网芯片,用于通过与所述定位芯片之间的连接从所述定位芯片获得所述第二定位信息,并通过与所述天线之间的连接发送所述第二定位信息。The Internet of Things chip is configured to obtain the second positioning information from the positioning chip through a connection with the positioning chip, and send the second positioning information through a connection with the antenna.
  2. 如权利要求1所述的定位系统,其特征在于,所述定位系统还包括电池,所述电池与电源开关连接,所述电源开关与所述物联网芯片连接;The positioning system according to claim 1, wherein the positioning system further comprises a battery, the battery is connected to a power switch, and the power switch is connected to the Internet of Things chip;
    所述处理器,还用于响应于所述用于关机的用户操作,控制所述电源开关将所述物联网芯片与所述电池之间的连接导通。The processor is further configured to control the power switch to turn on the connection between the Internet of Things chip and the battery in response to the user operation for shutting down.
  3. 如权利要求1或2所述的定位系统,其特征在于,所述定位系统还包括晶振系统,所述晶振系统与所述处理器连接,并与所述物联网芯片连接,其中:The positioning system according to claim 1 or 2, wherein the positioning system further comprises a crystal oscillator system, and the crystal oscillator system is connected to the processor and connected to the Internet of Things chip, wherein:
    所述晶振系统,用于为所述物联网芯片提供时钟信号,并为所述处理器提供时钟信号。The crystal oscillator system is used to provide a clock signal for the Internet of Things chip and provide a clock signal for the processor.
  4. 如权利要求2所述的定位系统,其特征在于,所述定位系统还包括晶振系统和电源芯片,所述电源开关与所述电源芯片连接,所述电源芯片与所述物联网芯片连接,所述电源芯片还与所述晶振系统连接;The positioning system according to claim 2, wherein the positioning system further comprises a crystal oscillator system and a power chip, the power switch is connected to the power chip, and the power chip is connected to the Internet of Things chip. The power chip is also connected to the crystal oscillator system;
    所述处理器,具体用于响应于所述用于关机的用户操作,控制所述电源开关将所述电源芯片与所述电池之间的连接导通,以使所述电池通过所述电源芯片向所述物联网芯片供电,并向所述晶振系统供电;The processor is specifically configured to control the power switch to turn on the connection between the power chip and the battery in response to the user operation for shutting down, so that the battery passes through the power chip Supply power to the IoT chip and supply power to the crystal oscillator system;
    所述晶振系统,用于为所述物联网芯片提供时钟信号。The crystal oscillator system is used to provide a clock signal for the Internet of Things chip.
  5. 如权利要求1至4任一项所述的定位系统,其特征在于,所述处理器,具体用于响应于用于关机的用户操作,执行以下操作:The positioning system according to any one of claims 1 to 4, wherein the processor is specifically configured to perform the following operations in response to a user operation for shutting down:
    控制所述天线开关将所述物联网芯片与所述天线之间的连接导通,并将所述处理器与所述天线之间的连接断开;Controlling the antenna switch to conduct the connection between the Internet of Things chip and the antenna, and disconnect the connection between the processor and the antenna;
    控制所述芯片开关将所述物联网芯片与所述定位芯片之间的连接导通,并将所述处理器与所述定位芯片之间的连接断开。Control the chip switch to conduct the connection between the Internet of Things chip and the positioning chip, and disconnect the connection between the processor and the positioning chip.
  6. 如权利要求1至5任一项所述的定位系统,其特征在于,所述物联网芯片,还用于响应于用于开机的用户操作,控制所述天线开关将所述处理器与所述天线之间的连接导通,控制所述芯片开关将所述处理器与所述定位芯片之间的连接导通;The positioning system according to any one of claims 1 to 5, wherein the Internet of Things chip is further configured to control the antenna switch to connect the processor to the The connection between the antennas is turned on, and the chip switch is controlled to turn on the connection between the processor and the positioning chip;
    所述定位芯片,用于进行定位以获得第三定位信息;The positioning chip is used for positioning to obtain third positioning information;
    所述处理器,用于通过与所述定位芯片之间的连接从所述定位芯片获得所述第三定位信息,并通过与所述天线之间的连接发送所述第三定位信息。The processor is configured to obtain the third positioning information from the positioning chip through a connection with the positioning chip, and send the third positioning information through a connection with the antenna.
  7. 如权利要求1至6任一项所述的定位系统,其特征在于,所述处理器还与所述物联网芯片连接;The positioning system according to any one of claims 1 to 6, wherein the processor is further connected to the Internet of Things chip;
    所述处理器,还用于存储用户标识模块SIM的安全认证信息,并根据所述SIM的安全认证信息进行认证,认证通过则接入蜂窝网络;所述蜂窝网络用于发送所述第一定位信息;The processor is also used to store the security authentication information of the user identification module SIM, and perform authentication according to the security authentication information of the SIM, and access to the cellular network if the authentication is passed; the cellular network is used to send the first location information;
    所述处理器,还用于将所述SIM的安全认证信息发送给所述物联网芯片;The processor is further configured to send the security authentication information of the SIM to the Internet of Things chip;
    所述物联网芯片,还用于根据所述SIM的安全认证信息进行认证,认证通过则接入物联网网络,所述物联网网络用于发送所述第二定位信息。The Internet of Things chip is also used to perform authentication according to the security authentication information of the SIM. If the authentication is passed, the Internet of Things network is accessed, and the Internet of Things network is used to send the second positioning information.
  8. 如权利要求1至7任一项所述的定位系统,其特征在于,所述物联网芯片包含以下状态:激活状态、待机状态和深度睡眠状态;The positioning system according to any one of claims 1 to 7, wherein the IoT chip includes the following states: an active state, a standby state, and a deep sleep state;
    在所述激活状态下,所述物联网芯片,具体用于,周期性的从所述定位芯片获得所述第二定位信息并发送所述第二定位信息;In the activated state, the IoT chip is specifically configured to periodically obtain the second positioning information from the positioning chip and send the second positioning information;
    在所述待机状态下,所述物联网芯片,具体用于,响应于接收到用于获得定位信息的请求,从所述定位芯片获得所述第二定位信息并发送所述第二定位信息;In the standby state, the IoT chip is specifically configured to, in response to receiving a request for obtaining positioning information, obtain the second positioning information from the positioning chip and send the second positioning information;
    在所述深度睡眠状态下,所述物联网芯片,具体用于,处于休眠状态。In the deep sleep state, the IoT chip is specifically configured to be in a sleep state.
  9. 如权利要求8所述的定位系统,其特征在于,所述物联网芯片,还用于当电池剩余电量大于或等于第一设定阈值时,处于所述激活状态;The positioning system according to claim 8, wherein the IoT chip is further configured to be in the activated state when the remaining battery power is greater than or equal to a first set threshold;
    所述物联网芯片,还用于当所述电池剩余电量大于或等于第一设定阈值时,处于激活状态;The IoT chip is further configured to be in an activated state when the remaining battery power is greater than or equal to a first set threshold;
    所述物联网芯片,还用于当所述电池剩余电量大于或等于第二设定阈值且小于所述第一设定阈值时,从所述激活状态切换到所述待机状态;The IoT chip is further configured to switch from the active state to the standby state when the remaining battery power is greater than or equal to a second set threshold and less than the first set threshold;
    所述物联网芯片,还用于当所述电池剩余电量小于所述第二设定阈值时,从所述待机状态切换到所述深度睡眠状态。The IoT chip is further configured to switch from the standby state to the deep sleep state when the remaining battery power is less than the second set threshold.
  10. 一种定位方法,其特征在于,所述方法应用于电子设备,所述电子设备包括处理器、物联网芯片、天线和定位芯片,所述方法包括:A positioning method, characterized in that the method is applied to an electronic device, the electronic device includes a processor, an IoT chip, an antenna, and a positioning chip, and the method includes:
    所述电子设备中所述处理器与所述天线之间的连接通过天线开关导通,所述处理器与 所述定位芯片之间的连接通过芯片开关导通;其中,所述天线开关还与所述物联网芯片连接,所述芯片开关还与所述物联网芯片连接;In the electronic device, the connection between the processor and the antenna is conducted through an antenna switch, and the connection between the processor and the positioning chip is conducted through a chip switch; wherein, the antenna switch is also connected to The Internet of Things chip is connected, and the chip switch is also connected to the Internet of Things chip;
    所述电子设备通过所述定位芯片进行定位以获得第一定位信息;The electronic device performs positioning through the positioning chip to obtain first positioning information;
    所述电子设备通过所述处理器从所述定位芯片获得所述第一定位信息,并通过所述天线发送所述第一定位信息;The electronic device obtains the first positioning information from the positioning chip through the processor, and transmits the first positioning information through the antenna;
    所述电子设备接收用于关机的用户操作;The electronic device receives a user operation for shutting down;
    响应于所述用于关机的用户操作,所述电子设备通过所述处理器控制所述天线开关将所述物联网芯片与所述天线之间的连接导通,控制所述芯片开关将所述物联网芯片与所述定位芯片之间的连接导通;In response to the user operation for shutting down, the electronic device controls the antenna switch to turn on the connection between the Internet of Things chip and the antenna through the processor, and controls the chip switch to turn on the The connection between the Internet of Things chip and the positioning chip is conducted;
    所述电子设备通过所述定位芯片进行定位以获得第二定位信息;The electronic device performs positioning through the positioning chip to obtain second positioning information;
    所述电子设备通过所述物联网芯片从所述定位芯片获得所述第二定位信息,并通过所述天线发送所述第二定位信息。The electronic device obtains the second positioning information from the positioning chip through the Internet of Things chip, and transmits the second positioning information through the antenna.
  11. 如权利要求10所述的方法,其特征在于,所述电子设备还包括电池,所述电池与电源开关连接,所述电源开关与所述物联网芯片连接;所述电子设备接收用于关机的用户操作之后,所述方法还包括:The method according to claim 10, wherein the electronic device further comprises a battery, the battery is connected to a power switch, and the power switch is connected to the Internet of Things chip; the electronic device receives a power switch for shutting down After the user operation, the method further includes:
    响应于所述用于关机的用户操作,所述电子设备通过所述处理器控制所述电源开关将所述物联网芯片与所述电池之间的连接导通。In response to the user operation for shutting down, the electronic device controls the power switch through the processor to turn on the connection between the Internet of Things chip and the battery.
  12. 如权利要求10或11所述的方法,其特征在于,所述电子设备还包括晶振系统,所述晶振系统与所述处理器连接,并与所述物联网芯片连接,所述晶振系统用于为所述物联网芯片提供时钟信号,并为所述处理器提供时钟信号。The method according to claim 10 or 11, wherein the electronic device further comprises a crystal oscillator system, the crystal oscillator system is connected to the processor and connected to the Internet of Things chip, and the crystal oscillator system is used for Provide a clock signal for the Internet of Things chip and provide a clock signal for the processor.
  13. 如权利要求11所述的方法,其特征在于,所述电子设备还包括晶振系统和电源芯片,所述电源开关与所述电源芯片连接,所述电源芯片与所述物联网芯片连接,所述电源芯片还与所述晶振系统连接;The method of claim 11, wherein the electronic device further comprises a crystal oscillator system and a power chip, the power switch is connected to the power chip, the power chip is connected to the Internet of Things chip, and the The power chip is also connected to the crystal oscillator system;
    所述电子设备通过所述处理器控制所述电源开关将所述物联网芯片与所述电池之间的连接导通,包括:The electronic device controlling the power switch to conduct the connection between the Internet of Things chip and the battery through the processor includes:
    所述电子设备通过所述处理器控制所述电源开关将所述电源芯片与所述电池之间的连接导通,以使所述电池通过所述电源芯片向所述物联网芯片供电,并向所述晶振系统供电;所述晶振系统用于为所述物联网芯片提供时钟信号。The electronic device controls the power switch through the processor to turn on the connection between the power chip and the battery, so that the battery supplies power to the Internet of Things chip through the power chip, and supplies power to the Internet of Things chip. The crystal oscillator system supplies power; the crystal oscillator system is used to provide a clock signal for the IoT chip.
  14. 如权利要求10至13任一项所述的方法,其特征在于,所述电子设备通过所述处理器控制所述天线开关将所述物联网芯片与所述天线之间的连接导通,控制所述芯片开关将所述物联网芯片与所述定位芯片之间的连接导通,包括:The method according to any one of claims 10 to 13, wherein the electronic device controls the antenna switch to turn on the connection between the Internet of Things chip and the antenna through the processor, and controls The chip switch conducting the connection between the Internet of Things chip and the positioning chip includes:
    所述电子设备通过所述处理器控制所述天线开关将所述物联网芯片与所述天线之间的连接导通,并将所述处理器与所述天线之间的连接断开;The electronic device controls the antenna switch through the processor to conduct the connection between the Internet of Things chip and the antenna, and disconnect the connection between the processor and the antenna;
    所述电子设备通过所述处理器控制所述芯片开关将所述物联网芯片与所述定位芯片之 间的连接导通,并将所述处理器与所述定位芯片之间的连接断开。The electronic device controls the chip switch through the processor to conduct the connection between the Internet of Things chip and the positioning chip, and disconnect the connection between the processor and the positioning chip.
  15. 如权利要求10至14任一项所述的方法,其特征在于,所述电子设备通过所述处理器控制所述天线开关将所述物联网芯片与所述天线之间的连接导通,控制所述芯片开关将所述物联网芯片与所述定位芯片之间的连接导通之后,所述方法还包括:The method according to any one of claims 10 to 14, wherein the electronic device controls the antenna switch to turn on the connection between the Internet of Things chip and the antenna through the processor, and controls After the chip switch turns on the connection between the IoT chip and the positioning chip, the method further includes:
    所述电子设备接收用于开机的用户操作;The electronic device receives a user operation for booting;
    响应于所述用于开机的用户操作,所述电子设备通过所述物联网芯片控制所述天线开关将所述处理器与所述天线之间的连接导通,控制所述芯片开关将所述处理器与所述定位芯片之间的连接导通;In response to the user operation for booting, the electronic device controls the antenna switch to turn on the connection between the processor and the antenna through the IoT chip, and controls the chip switch to turn on the The connection between the processor and the positioning chip is turned on;
    所述电子设备通过所述定位芯片进行定位以获得第三定位信息;The electronic device performs positioning through the positioning chip to obtain third positioning information;
    所述电子设备通过所述处理器从所述定位芯片获得所述第三定位信息,并通过所述天线发送所述第三定位信息。The electronic device obtains the third positioning information from the positioning chip through the processor, and transmits the third positioning information through the antenna.
  16. 如权利要求10至15任一项所述的方法,其特征在于,所述处理器还与所述物联网芯片连接;所述电子设备通过所述天线发送所述第一定位信息之前,所述方法还包括:The method according to any one of claims 10 to 15, wherein the processor is further connected to the Internet of Things chip; before the electronic device sends the first positioning information through the antenna, the Methods also include:
    所述电子设备通过所述处理器根据所述SIM的安全认证信息进行认证,认证通过则接入蜂窝网络;所述蜂窝网络用于发送所述第一定位信息;The electronic device authenticates according to the security authentication information of the SIM through the processor, and accesses a cellular network if the authentication is passed; the cellular network is used to send the first positioning information;
    所述电子设备接收用于关机的用户操作之前,所述方法还包括:Before the electronic device receives a user operation for shutting down, the method further includes:
    所述处理器将所述SIM的安全认证信息发送给所述物联网芯片;Sending, by the processor, the security authentication information of the SIM to the IoT chip;
    所述电子设备接收用于关机的用户操作之后,所述方法还包括:After the electronic device receives a user operation for shutting down, the method further includes:
    所述电子设备通过所述物联网芯片根据所述SIM的安全认证信息进行认证,认证通过则接入物联网网络,所述物联网网络用于发送所述第二定位信息。The electronic device is authenticated according to the security authentication information of the SIM through the Internet of Things chip, and if the authentication is passed, it accesses the Internet of Things network, and the Internet of Things network is used to send the second positioning information.
  17. 如权利要求10至16任一项所述的方法,其特征在于,所述物联网芯片包含以下状态:激活状态、待机状态和深度睡眠状态;The method according to any one of claims 10 to 16, wherein the IoT chip includes the following states: an active state, a standby state, and a deep sleep state;
    所述电子设备通过所述物联网芯片从所述定位芯片获得所述第二定位信息,并通过所述天线发送所述第二定位信息,包括:The electronic device obtaining the second positioning information from the positioning chip through the Internet of Things chip and sending the second positioning information through the antenna includes:
    在所述激活状态下,所述电子设备通过所述物联网芯片周期性的从所述定位芯片获得所述第二定位信息并发送所述第二定位信息;In the activated state, the electronic device periodically obtains the second positioning information from the positioning chip through the Internet of Things chip and sends the second positioning information;
    在所述待机状态下,所述电子设备响应于接收到用于获得定位信息的请求,通过所述物联网芯片,从所述定位芯片获得所述第二定位信息并发送所述第二定位信息;In the standby state, in response to receiving a request for obtaining positioning information, the electronic device obtains the second positioning information from the positioning chip through the Internet of Things chip and sends the second positioning information ;
    在所述深度睡眠状态下,所述物联网芯片,处于休眠状态。In the deep sleep state, the IoT chip is in a sleep state.
  18. 如权利要求17所述的方法,其特征在于,所述电子设备通过所述物联网芯片从所述定位芯片获得所述第二定位信息,并通过所述天线发送所述第二定位信息之前,所述方法还包括:The method of claim 17, wherein before the electronic device obtains the second positioning information from the positioning chip through the Internet of Things chip, and sends the second positioning information through the antenna, The method also includes:
    所述电子设备通过所述物联网芯片获得电池剩余电量;The electronic device obtains the remaining battery power through the Internet of Things chip;
    当所述电池剩余电量大于或等于第一设定阈值时,所述电子设备中所述物联网芯片处 于所述激活状态;When the remaining battery power is greater than or equal to a first set threshold, the IoT chip in the electronic device is in the activated state;
    当所述电池剩余电量大于或等于第二设定阈值且小于所述第一设定阈值时,所述电子设备通过所述物联网芯片控制从所述激活状态切换到所述待机状态;When the remaining battery power is greater than or equal to a second set threshold and less than the first set threshold, the electronic device is controlled by the Internet of Things chip to switch from the active state to the standby state;
    当所述电池剩余电量小于所述第二设定阈值时,所述物联网芯片通过所述物联网芯片控制从所述待机状态切换到所述深度睡眠状态。When the remaining power of the battery is less than the second set threshold, the IoT chip is controlled by the IoT chip to switch from the standby state to the deep sleep state.
  19. 一种电子设备,其特征在于,所述电子设备包括:一个或多个处理器、物联网芯片、天线和定位芯片;An electronic device, characterized in that, the electronic device includes: one or more processors, an Internet of Things chip, an antenna, and a positioning chip;
    所述处理器与所述天线之间的连接通过天线开关导通,所述处理器与所述定位芯片之间的连接通过芯片开关导通;所述天线开关还与所述物联网芯片连接,所述芯片开关还与所述物联网芯片连接;The connection between the processor and the antenna is conducted through an antenna switch, and the connection between the processor and the positioning chip is conducted through a chip switch; the antenna switch is also connected to the Internet of Things chip, The chip switch is also connected to the Internet of Things chip;
    所述存储器与所述一个或多个处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令;The memory is coupled with the one or more processors, and the memory is used to store computer program code, and the computer program code includes computer instructions;
    当所述一个或多个处理器执行所述计算机指令时,使得所述电子设备执行如权利要求10至18中任一项所述的定位方法。When the one or more processors execute the computer instructions, the electronic device is caused to execute the positioning method according to any one of claims 10 to 18.
  20. 一种设备定位系统,所述系统包括第一电子设备、第二电子设备和云服务器,其中:A device positioning system, the system includes a first electronic device, a second electronic device and a cloud server, wherein:
    所述第二电子设备与所述云服务器建立有通信连接,所述第一电子设备与所述云服务器建立有通信连接;The second electronic device establishes a communication connection with the cloud server, and the first electronic device establishes a communication connection with the cloud server;
    所述第二电子设备,用于接收第一用户操作,所述第一用户操作用于获取所述第一电子设备的定位信息;The second electronic device is used to receive a first user operation, and the first user operation is used to obtain positioning information of the first electronic device;
    所述第二电子设备还用于响应于所述第一用户操作,向所述云服务器发送第一请求;The second electronic device is further configured to send a first request to the cloud server in response to the operation of the first user;
    所述云服务器,用于响应于所述第一请求,向所述第一电子设备发送第二请求;所述第二请求用于获取所述第一电子设备的定位信息;The cloud server is configured to send a second request to the first electronic device in response to the first request; the second request is used to obtain positioning information of the first electronic device;
    所述第一电子设备,用于执行如权利要求10至18中任一项所述的定位方法。The first electronic device is configured to execute the positioning method according to any one of claims 10 to 18.
PCT/CN2021/097044 2020-05-29 2021-05-29 Positioning method and related apparatus WO2021239144A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010478352.3A CN113810532B (en) 2020-05-29 2020-05-29 Positioning method and related device
CN202010478352.3 2020-05-29

Publications (1)

Publication Number Publication Date
WO2021239144A1 true WO2021239144A1 (en) 2021-12-02

Family

ID=78722992

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/097044 WO2021239144A1 (en) 2020-05-29 2021-05-29 Positioning method and related apparatus

Country Status (2)

Country Link
CN (1) CN113810532B (en)
WO (1) WO2021239144A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115348532A (en) * 2021-05-14 2022-11-15 华为技术有限公司 Terminal device, positioning method and device
CN114615656A (en) * 2022-04-11 2022-06-10 西安广和通无线软件有限公司 Method, system and related device for managing eSIM card in electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453375A (en) * 2016-11-04 2017-02-22 北京用友政务软件有限公司 Smart terminal finding method and device
CN107508996A (en) * 2017-09-27 2017-12-22 广东欧珀移动通信有限公司 Safe locating device, method, terminal device and storage medium
CN108833710A (en) * 2018-06-26 2018-11-16 奇酷互联网络科技(深圳)有限公司 Anti-theft protection method and mobile terminal
US20200077268A1 (en) * 2017-08-10 2020-03-05 Qualcomm Incorporated Forbidden network list management

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7409219B2 (en) * 2005-09-29 2008-08-05 Nextel Communications Inc. System and method for recovering a lost or stolen wireless device
CN101360146B (en) * 2008-09-12 2013-04-10 青岛海信移动通信技术股份有限公司 Positioning method and system of mobile communication apparatus
CN104105064B (en) * 2014-07-28 2018-01-05 小米科技有限责任公司 The method and device of location equipment
CN111092987A (en) * 2018-10-24 2020-05-01 珠海格力电器股份有限公司 Mobile terminal positioning method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453375A (en) * 2016-11-04 2017-02-22 北京用友政务软件有限公司 Smart terminal finding method and device
US20200077268A1 (en) * 2017-08-10 2020-03-05 Qualcomm Incorporated Forbidden network list management
CN107508996A (en) * 2017-09-27 2017-12-22 广东欧珀移动通信有限公司 Safe locating device, method, terminal device and storage medium
CN108833710A (en) * 2018-06-26 2018-11-16 奇酷互联网络科技(深圳)有限公司 Anti-theft protection method and mobile terminal

Also Published As

Publication number Publication date
CN113810532A (en) 2021-12-17
CN113810532B (en) 2023-01-13

Similar Documents

Publication Publication Date Title
CN115209194B (en) Terminal equipment, method and system for realizing one touch screen through remote controller
WO2020192714A1 (en) Device control page display method, related apparatus and system
WO2020192781A1 (en) Capability reporting method and user equipment
WO2021023032A1 (en) Device unlocking method and system, and related device
WO2021052178A1 (en) Wi-fi connection method and device
WO2020244623A1 (en) Air-mouse mode implementation method and related device
CN111369988A (en) Voice awakening method and electronic equipment
WO2021185141A1 (en) Wi-fi aware link establishment method and system, electronic device, and storage medium
WO2021185105A1 (en) Method for switching between sim card and esim card, and electronic device
WO2022042773A1 (en) Audio push method and audio push system
WO2021043045A1 (en) Method and device for configuring network configuration information
WO2020238890A1 (en) Information processing method and device
WO2021238230A1 (en) Smart home system and control method and device thereof
WO2021000923A1 (en) Router configuration method, terminal, and router
WO2021037146A1 (en) File sharing method and device for mobile terminal
WO2021043198A1 (en) Bluetooth pairing method, and related device
WO2021239144A1 (en) Positioning method and related apparatus
CN112181616B (en) Task processing method and related device
WO2021197071A1 (en) Wireless communication system and method
WO2021175266A1 (en) Identity verification method and apparatus, and electronic devices
WO2020134868A1 (en) Connection establishment method, and terminal apparatus
CN112738794B (en) Network residing method, chip, mobile terminal and storage medium
WO2021043250A1 (en) Bluetooth communication method, and related device
CN115119336B (en) Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
WO2023160177A1 (en) Ranging method, apparatus and system, and readable storage medium

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: 21813740

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: 21813740

Country of ref document: EP

Kind code of ref document: A1