CN112840680A - Position information processing method and related device - Google Patents

Position information processing method and related device Download PDF

Info

Publication number
CN112840680A
CN112840680A CN201880097975.7A CN201880097975A CN112840680A CN 112840680 A CN112840680 A CN 112840680A CN 201880097975 A CN201880097975 A CN 201880097975A CN 112840680 A CN112840680 A CN 112840680A
Authority
CN
China
Prior art keywords
electronic device
user
interface
electronic equipment
preset input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201880097975.7A
Other languages
Chinese (zh)
Inventor
曹阳阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN112840680A publication Critical patent/CN112840680A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

There is provided a position information processing method including: when the first electronic device is in an unconnected state: the first electronic device receives a first input of a user and responds to the first input to display a first interface, wherein the first interface comprises a call interface or a dialing interface. Then, receiving a second input of the user on the first interface, and responding to the second input, and displaying the acquired current position information on the first interface. And then, receiving a third input of the user, and responding to the third input, and sending the displayed current position information to a second electronic device corresponding to the contact person selected by the user. Therefore, when the contact person selected by the user is called under the condition that the terminal is not networked, the position information of the user can be determined, the contact person selected by the user can know the position of the user in time, and the communication efficiency is improved.

Description

Position information processing method and related device Technical Field
The present application relates to the field of mobile communications technologies, and in particular, to a method and a related apparatus for processing location information.
Background
With the rapid development of mobile communication technology, Location Based Services (LBS) are increasingly applied in life, and especially in an unfamiliar environment, a user can know the geographical location of the user.
In some emergency scenes, users often need to tell the opposite side of the vehicle to get help in time. Due to emergency situations, the user may not be able to clearly describe his location because of unfamiliarity or tension with the geographical location. For example, the elderly cannot find a way to go home when they lose their own lives, and cannot accurately describe their own positions to their family due to unfamiliarity with surrounding places, thereby wasting rescue time. For another example, when the user dials an emergency call number (e.g., 110, 119, 120, etc.), since the emergency call number can make a call without inserting a SIM card, the user cannot use the mobile terminal to network to obtain and determine the location of the user, so that the user cannot describe the location of the user to the other party in time, and the rescue opportunity is delayed.
Disclosure of Invention
The application provides a position information processing method and a related device, which can determine the position information of a user when a contact selected by the user is called under the condition that a terminal is not networked, and can enable the contact selected by the user to know the position of the user in time, so that the communication efficiency is improved.
In a first aspect, the present application provides a method for processing location information, including:
when the first electronic device is in an unconnected state: first, a first electronic device receives a first preset input of a user. The first electronic equipment responds to the first preset input and displays a first interface; wherein, the first interface comprises a call interface or a dialing interface. Then, the first electronic device receives a second preset input of the user on the first interface. And the first electronic equipment responds to the second preset input, and displays the acquired current position information of the first electronic equipment on the first interface. Then, the first electronic device receives a third preset input of the user. And the first electronic equipment responds to the third preset input, and sends the displayed current position information of the first electronic equipment to second electronic equipment corresponding to the contact person selected by the user. Wherein the second predetermined input is different from the third predetermined input.
Through the scheme, the terminal can determine the position information of the user, display the position information of the user and send the position information of the user to the contact person selected by the user under the condition that a dialing interface or a call interface is opened when the terminal is in an unconnected state, so that the contact person selected by the user can know the position of the user in time, and the rescue speed is increased.
In one possible case, the first interface is a call interface, and the contact information of the contact selected by the user is displayed on the first interface.
In one possible case, before the first electronic device receives a third preset input from the user, where the first interface is the dialing interface, the method further includes: the first electronic device receives a fourth preset input of the user. And the first electronic equipment responds to the fourth preset input and displays the contact information of the contact selected by the user on the first interface. The first electronic device receives a third preset input of the user, and specifically includes: and the first electronic equipment receives a third preset input of the user under the condition that the contact information of the contact person selected by the user is displayed on the first interface. That is, the first electronic device receives a contact phone number input by a user, and after the contact phone number is displayed on the dialing interface, the first electronic device may send location information to the contact.
In one possible scenario, the first electronic device may display a first control on the first interface. The first electronic device receives a third preset input of the user, and specifically includes: and the first electronic equipment receives a third preset input of the user to the first control. The first electronic device responds to the third preset input, sends the acquired current position information of the first electronic device to a second electronic device corresponding to the contact person selected by the user, and specifically includes: and the first electronic equipment responds to a third preset input of the user to the first control, and sends the acquired current position information of the first electronic equipment to second electronic equipment corresponding to the contact person selected by the user. That is to say, according to the user requirement, when the user clicks the first control, the first electronic device may send the current location information to the second electronic device.
In a possible case, the first electronic device responds to the second preset input, and displays the acquired current location information of the first electronic device on the first interface, which specifically includes: the first electronic device responds to the second preset input, obtains current position information of the first electronic device, and displays the obtained current position information of the first electronic device on the first interface. That is to say, the first electronic device may respond to the operation of the user, and simultaneously acquire the current location information and display the current location information on the first interface, thereby ensuring consistency between the location displayed on the first interface by the user and the current location of the user when the user needs to view the location information.
In one possible case, the displaying, by the first electronic device, a first interface in response to the first preset input specifically includes: the first electronic device responds to the first preset input, displays the first interface and acquires current position information of the first electronic device. That is to say, the first electronic device may obtain the current location information when displaying the first interface, so as to save the waiting time for the user to view the current location information.
In one possible case, the current location information of the first electronic device includes: and the longitude and latitude information of the current position of the first electronic equipment. The obtaining, by the first electronic device, current location information of the first electronic device specifically includes: the first electronic device obtains the longitude and latitude information of the current position of the first electronic device through the satellite positioning signal. That is to say, in an unconnected state, the first electronic device may obtain the longitude and latitude of the current location, provide a location service for the user, and improve user experience.
In one possible case, the current location information of the first electronic device includes: access point MAC address of one or more WiFi signals of a location where the first electronic device is currently located. The obtaining, by the first electronic device, current location information of the first electronic device specifically includes: the first electronic device obtains access point MAC addresses of one or more WiFi signals through one or more WiFi signals of the current position of the first electronic device. That is to say, in an unconnected state, the first electronic device may send the access point MAC address of the one or more WiFi signals at the current location to the second electronic device after acquiring the access point MAC address of the WiFi signal at the current location, because the location of the access point of the WiFi signal is relatively fixed, and the second electronic device queries the geographic location corresponding to the access point MAC address of the WiFi signal through networking, that is, the contact person selected by the user can know the location of the user, which improves the user experience.
In a possible case, the current location information of the first electronic device further includes: altitude information of a current position of the first electronic device. The first electronic device obtains current location information of the first electronic device, and further includes: the first electronic device acquires altitude information of a current position of the first electronic device. That is, the first electronic device may provide an accurate location for a user on terrain with a large elevation, at the altitude of the current location.
In one possible case, before the first electronic device acquires the current location information of the first electronic device, the method further includes: the first electronic device judges whether the satellite positioning service function of the first electronic device is closed, and if so, the first electronic device opens the satellite positioning service function.
In a second aspect, the present application provides another location information processing method, including:
when the first electronic device is in an unconnected state: first, the first electronic device receives a fifth preset input of a user. And the first electronic equipment responds to the fifth preset input and displays an emergency call interface. Then, the first electronic device receives a sixth preset input of the user on the emergency call interface. And the first electronic equipment responds to the sixth preset input, and displays the acquired current position information of the first electronic equipment on the emergency call interface. Next, the first electronic device receives a seventh preset input of the user. And the first electronic equipment responds to the seventh preset input and calls second electronic equipment corresponding to the emergency call contact selected by the user, wherein the sixth preset input is different from the seventh preset input.
Through the scheme, the terminal can determine the position information of the user when the terminal is in an unconnected state and the emergency call interface is opened, the position information of the user is displayed before the user calls the emergency call contact person selected by the user, and the emergency contact person can know the position of the user when the user is in communication with the emergency call contact person selected by the user (such as the first aid 120) in time, so that the rescue speed is increased.
In one possible case, the method further comprises: the first electronic device receives an eighth preset input of the user. And the first electronic equipment responds to an eighth preset input of the user and displays contact information of the emergency call contact person on the emergency call interface. And under the condition that the contact information of the emergency call contact is displayed on the emergency call interface, the first electronic equipment receives ninth preset input of the user. And the first electronic equipment responds to the ninth preset input, and sends the acquired current position information of the first electronic equipment to second electronic equipment corresponding to the emergency call contact person. That is, the first electronic device receives a contact phone number input by a user, and after the contact phone number is displayed on the dialing interface, the first electronic device may send location information to the contact.
In one possible case, the method further comprises: the first electronic device displays a second control on the first interface. The first electronic device receives a ninth preset input of the user, and specifically includes: and the first electronic equipment receives ninth preset input of the user to the second control. The first electronic device responds to the ninth preset input, and sends the acquired current position information of the first electronic device to a second electronic device corresponding to the emergency contact person, and the method specifically includes: and the first electronic equipment responds to ninth preset input of the user to the second control, and sends the acquired current position information of the first electronic equipment to second electronic equipment corresponding to the emergency call contact. That is, the first electronic device may send the location information to the emergency contact person, so that the emergency contact person can determine the location of the user quickly and accurately.
In a possible case, the first electronic device, in response to the fifth preset input, displays an emergency call interface, specifically including: and the first electronic equipment responds to the fifth preset input, displays the emergency call interface and acquires the current position information of the first electronic equipment. That is, the first electronic device may obtain the current location information when displaying the emergency call interface, which saves the waiting time for the user to view the current location information.
In a possible case, the first electronic device, in response to the sixth preset input, displays the acquired current location information of the first electronic device on the emergency call interface, which specifically includes: and the first electronic equipment responds to the sixth preset input, acquires the current position information of the first electronic equipment, and displays the current position information of the first electronic equipment on the emergency call interface. That is to say, the first electronic device may respond to the operation of the user, and simultaneously acquire and display the current location information on the emergency call interface, thereby ensuring consistency between the location displayed on the emergency call interface by the user and the current location of the user when the user needs to view the location information.
In one possible case, the current location information of the first electronic device includes: and the longitude and latitude information of the current position of the first electronic equipment. The obtaining, by the first electronic device, current location information of the first electronic device specifically includes: the first electronic device obtains the longitude and latitude information of the current position of the first electronic device through the satellite positioning signal. That is to say, in an unconnected state, the first electronic device may obtain the longitude and latitude of the current location, provide a location service for the user, and improve user experience.
In one possible case, the current location information of the first electronic device includes: access point MAC address of one or more WiFi signals of a location where the first electronic device is currently located. The obtaining, by the first electronic device, current location information of the first electronic device specifically includes: the first electronic device obtains access point MAC addresses of one or more WiFi signals through one or more WiFi signals of the current position of the first electronic device. That is to say, in an unconnected state, the first electronic device may send the access point MAC address of the one or more WiFi signals at the current location to the second electronic device after acquiring the access point MAC address of the WiFi signal at the current location, because the location of the access point of the WiFi signal is relatively fixed, and the second electronic device queries the geographic location corresponding to the access point MAC address of the WiFi signal through networking, that is, the contact person selected by the user can know the location of the user, which improves the user experience.
In a possible case, the current location information of the first electronic device further includes: altitude information of a current position of the first electronic device. The first electronic device obtains current location information of the first electronic device, and further includes: the first electronic device acquires altitude information of a current position of the first electronic device. That is, the first electronic device may provide an accurate location for a user on terrain with a large elevation, at the altitude of the current location.
In one possible case, before the first electronic device acquires the current location information of the first electronic device, the method further includes: the first electronic device judges whether the positioning service function of the first electronic device is closed, and if yes, the first electronic device opens the positioning service function.
In a third aspect, the present application provides an electronic device, comprising: an input device, a processor, a display, and a transceiver; wherein,
the input device is used for receiving the input of a user and sending the received input of the user to the processor;
a processor configured to, when the electronic device is in an unconnected state:
in response to receiving a first preset input of a user, instructing a display to display a first interface; wherein, the first interface comprises a call interface or a dialing interface; in response to receiving a second preset input of the user, indicating the display to display the acquired current position information of the electronic equipment on the first interface;
and in response to receiving a third preset input of the user, instructing the transceiver to send the current position information of the electronic equipment to a second electronic equipment corresponding to the contact person selected by the user.
In one possible case, the first interface displays contact information of the contact selected by the user on the condition that the first interface is a call interface.
In one possible case, the first interface is a dialing interface, and the processor is further configured to instruct the display to display the contact information of the contact selected by the user on the first interface in response to receiving a fourth preset input from the user before responding to a third preset input from the user.
The display, in one possible scenario, is further configured to display a first control on the first interface. The input device is specifically configured to receive a third preset input of the user to the first control. The processor is specifically configured to instruct, in response to a third preset input to the first control by the user, the transceiver to send the acquired current location information of the electronic device to a second electronic device corresponding to the contact selected by the user.
In one possible case, the electronic device further includes: and the positioning device is used for acquiring the current position information of the electronic equipment. The processor is specifically configured to, in response to the second input, acquire current location information of the electronic device through the positioning device, and instruct the display to display the acquired current location information of the electronic device on the first interface.
In one possible case, the electronic device further includes: and the positioning device is used for acquiring the current position information of the electronic equipment. The processor is specifically configured to instruct the display screen to display the first interface in response to the first input, and acquire current location information of the electronic device through the positioning device.
In a possible situation, the current position information of the electronic equipment is longitude and latitude information of the current position of the electronic equipment; the positioning device is a satellite positioning device.
In one possible case, the current location information of the electronic device includes: access point MAC address of one or more WiFi signals of a current location of the electronic device. The positioning device comprises a WiFi module. The WiFi module is used for acquiring access point MAC addresses of one or more WiFi signals through one or more WiFi signals of the current position of the electronic equipment.
In one possible case, the positioning device further comprises: an air pressure sensor. The current location information of the electronic device further includes: altitude information of a current location of the electronic device. The processor is further configured to obtain, through the air pressure sensor, altitude information of a location where the electronic device is currently located.
In a possible case, the processor is further configured to determine whether a location service function of the electronic device is closed before the current location information of the electronic device is obtained through the location device, and if so, instruct to open the location service function.
In a fourth aspect, the present application provides an electronic device, comprising: an input device, a processor, a display, and a transceiver; wherein,
the input device is used for receiving input of a user;
the processor is used for responding to a fifth preset input of a user when the electronic equipment is in an unconnected state, and instructing the display to display an emergency call interface; responding to a sixth preset input of the user, and indicating the display to display the acquired current position information of the first electronic device on the emergency call interface;
and responding to a seventh preset input of the user, and calling a second electronic device corresponding to the emergency call contact selected by the user through the transceiver, wherein the sixth preset input is different from the seventh preset input.
In one possible case, the processor is further configured to instruct the display to display contact information of the emergency call contact on an emergency call interface in response to an eighth preset input by the user; and responding to a ninth preset input of the user, and instructing the transceiver to send the acquired current position information of the electronic equipment to second electronic equipment corresponding to the emergency call contact.
The display, in one possible scenario, is further configured to display a second control on the first interface. The processor is specifically configured to instruct, in response to a ninth input of the user for the second control, the transceiver to send the acquired current location information of the electronic device to a second electronic device corresponding to the emergency call contact.
In one possible case, the electronic device further includes: the electronic device further includes: and a positioning device. The processor is specifically configured to instruct the display device to display the emergency call interface in response to the fifth input, and acquire current location information of the electronic device through the positioning device.
In one possible case, the electronic device further includes: and a positioning device. The processor is specifically configured to, in response to the sixth input, obtain current location information of the electronic device through the positioning device, and instruct the display device to display the current location information of the electronic device on the emergency call interface.
In one possible case, the current location information of the electronic device includes: longitude and latitude information of the current position of the electronic equipment; the positioning device includes: a satellite positioning device.
In one possible case, the current location information of the electronic device includes: access point MAC addresses of one or more WiFi signals of the current position of the electronic equipment; the positioning device includes: WiFi module. The WiFi module is used for acquiring the access point MAC addresses of one or more WiFi signals through one or more WiFi signals of the current position of the electronic equipment.
In one possible case, the current location information of the electronic device further includes: altitude information of the current position of the electronic equipment; the positioning device also includes an air pressure sensor. The processor is further configured to acquire, through the air pressure sensor, altitude information of a current location of the electronic device.
In a possible case, the processor is further configured to determine whether a location service function of the electronic device is closed before the current location information of the electronic device is obtained through the location device, and if so, instruct to open the location service function.
In a fifth aspect, the present application provides an electronic device comprising one or more processors and one or more memories. The one or more memories are coupled to the one or more processors and the one or more memories are configured to store computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method of location information processing in any of the possible implementations of any of the aspects.
In a sixth aspect, an embodiment of the present application provides a computer storage medium, which includes computer instructions, and when the computer instructions are executed on an electronic device, the communication apparatus is caused to execute the location information processing method in any possible implementation manner of any one of the foregoing aspects.
In a seventh aspect, an embodiment of the present application provides a computer program product, which, when running on a computer, causes the computer to execute the location information processing method in any one of the possible implementation manners of the foregoing aspects.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a schematic view of a call scenario provided in an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 3 is a diagram illustrating a software architecture according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a set of interfaces provided by an embodiment of the present application;
FIGS. 5A-5G are schematic views of another set of interfaces provided by embodiments of the present application;
FIG. 6 is a schematic view of another set of interfaces provided by embodiments of the present application;
FIGS. 7A-7F are schematic views of another set of interfaces provided by embodiments of the present application;
FIG. 8 is a schematic view of another set of interfaces provided by embodiments of the present application;
FIG. 9 is a schematic view of another set of interfaces provided by embodiments of the present application;
fig. 10 is a schematic flowchart of a location information processing method according to an embodiment of the present application;
fig. 11 is a schematic flowchart of another location information processing method according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described in detail and clearly with reference to the accompanying drawings. In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" in the text is only an association relationship describing an associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two.
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of the present application, "a plurality" means two or more unless otherwise specified.
The location information processing method provided by the embodiment of the application can be applied to the wireless communication system 10 in which the electronic device 01 and the electronic device 02 talk as shown in fig. 1.
The wireless communication system 10 may include: terminal 01, terminal 02, one or more network devices 03, a core network (core network)04, a Public Switched Telephone Network (PSTN) 05, one or more wireless network access points 06, a WiFi network 07, the Internet (Internet) 08.
The network device 03 may be a base station, and the base station may be configured to communicate with one or more terminals, and may also be configured to communicate with one or more base stations having partial terminal functions (e.g., communication between a macro base station and a micro base station, such as an access point). The base station may be a Base Transceiver Station (BTS) in a time division synchronous code division multiple access (TD-SCDMA) system, or an evolved Node B (eNB) in an LTE system, or a base station in a 5G system or a new air interface (NR) system. In addition, the base station may also be an Access Point (AP), a transmission node (Trans TRP), a Central Unit (CU) or other network entity, and may include some or all of the functions of the above network entities.
In some embodiments of the present application, terminal 01 may be a mobile device, a mobile station (mobile station), a mobile unit (mobile unit), or the like.
In the embodiment of the present application, the terminal 01 may communicate with the terminal 02 through the public switched telephone network 05. The terminal 01 is not networked, which means that the terminal 01 cannot access the internet 08, that is, the terminal 01 cannot access the internet 08 via the network device 03 and the core network 04, and cannot access the internet 08 via the wireless network access point 06 and the WiFi network 07. For example, when the terminal 01 is not inserted with the SIM card, the terminal is in an unconnected state. For another example, the terminal 01 is connected to the network device 03, but the SIM card is arrears and is stopped, and at this time, the terminal 01 cannot access the internet 08, that is, the terminal 01 is in an unconnected state. For another example, the terminal 01 establishes a connection with the wireless network access point 06, but the wireless network access point 06 cannot access the WiFi network 07, at this time, the terminal 01 cannot access the internet 08, that is, the terminal 01 cannot be networked through the wireless network and is in an unconnected state. The examples are merely illustrative of the present application and should not be construed as limiting.
Fig. 2 shows a schematic structural diagram of the electronic device 100.
As shown in fig. 2, the terminal 01 in the embodiment of the present application may be an electronic device 100. The following describes an embodiment specifically by taking the electronic device 100 as an example. It should be understood that the electronic device 100 shown in fig. 2 is only one example of the terminal 01, and that the electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in the figures 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 100 may include: the mobile terminal includes a processor 110, 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, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. 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, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
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 charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. 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 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred 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 a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. 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, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention uses an Android system with a layered architecture as an example to exemplarily illustrate a software structure of the electronic device 100.
Fig. 3 is a block diagram of the software configuration of the electronic apparatus 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 3, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes exemplary workflow of the software and hardware of the electronic device 100 in connection with capturing a photo scene.
When the touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video by a camera 193.
The following describes in detail a positioning information processing method provided in an embodiment of the present application with reference to the accompanying drawings and application scenarios. The electronic device 1 may be the terminal 01 shown in fig. 1 or the electronic device 100 shown in fig. 2 and 3, and the electronic device 2 may be the terminal 02 shown in fig. 1.
In the following embodiments of the present application, the electronic device 1 is not networked, which means that the electronic device 1 is not capable of connecting to the internet, for example, the electronic device 1 is not capable of acquiring data on the internet through a mobile data network; for another example, the electronic apparatus 1 cannot acquire data on the internet or the like through WiFi.
Application scenario 1: the electronic device 1 realizes the position information processing method provided by the application in the scene of dialing by the user.
Referring to fig. 4, 4a in fig. 4 shows a main interface 40 displayed on a touch screen in the electronic device 1, and an icon 401 of a dialing application may be displayed in the main interface 40. When the electronic device 1 receives an input operation 407 (e.g., a click) of the user on the icon 401 of the dialing application shown in 4a in fig. 4, in response to the input operation 407 (e.g., a click) of the user, the electronic device 1 displays the dialing interface 500 shown in fig. 5A.
Fig. 4b shows an unlocking interface 41 displayed on a touch screen in the electronic device 1, and the unlocking interface 41 may display an emergency call key 420, a virtual keyboard 430 and an unlocking password input box 440. When the electronic apparatus 1 receives an input operation 421 (e.g., a click) of the emergency call key 420 shown in 4b in fig. 4 by the user, the electronic apparatus 1 displays a dialing interface 500 as shown in fig. 5A in response to the input operation 407 (e.g., a click) by the user.
Fig. 4c shows another unlocking interface 42 displayed on the touch screen in the electronic device 1, and the unlocking interface 42 may display an emergency call interface emergency call key 450 and a gesture unlocking area 460. When the electronic apparatus 1 receives an input operation 451 (e.g., a click) by the user to the emergency call key 450 shown in 4c in fig. 4, the electronic apparatus 1 displays the dialing interface 500 shown in fig. 5A in response to the input operation 451 (e.g., a click) by the user.
The dialing interface 500 shown in fig. 5A may include a location obtaining area 510, a virtual numeric keyboard 521, and a dialing key 522. When the electronic device 1 receives an input operation (e.g., clicking) of the dial key 522 by the user, the electronic device 1 may call a contact corresponding to the telephone number displayed on the dialing interface 500.
As shown in fig. 5B, when the electronic device 1 receives an input operation 511 applied to the location obtaining area 510 by the user, in response to the input operation 511 (e.g., clicking) performed by the user on the location obtaining area 510 on the dialing interface 500 in fig. 5B, the electronic device 1 first determines whether the location service function is turned off, and if the location service function is turned off, the electronic device 1 turns on the location service function. Then, in a case where the location service function is turned on, the electronic apparatus 1 acquires the current location information of the electronic apparatus 1 and displays the current location information of the electronic apparatus 1 (e.g., 40 ° 3'31.62 "north latitude: 116 ° 10' 27.47" east longitude: 116 ° 10 ') at the location display area 530 of the dial interface 500 as in fig. 5C.
The current location information of the electronic device 1 may include one or more of latitude and longitude information of a location where the electronic device 1 is located, an address name, a Media Access Control (MAC) address of an access point of a WiFi signal, and altitude information. Not limited to the above, the current position information may include other information based on the difference of the positioning manner.
As shown in fig. 5D, when the electronic device 1 receives an input operation 523 (e.g., a click input on one or more number keys on the virtual number keyboard 521) of a user acting on the virtual number keyboard 521 in the dialing interface 500, in response to the input operation 523 (e.g., a click input on one or more number keys on the virtual number keyboard 521), the electronic device 1 displays a telephone number (e.g., 18123456789) corresponding to the input operation 523 in the number display area 540 of the dialing interface 500.
It should be noted that, without being limited to the input operation 523, after the dialing interface 500 is opened, the electronic device 1 may further receive a voice input of the user, and in response to the voice input, the electronic device 1 may display a telephone number (e.g., 18123456789) corresponding to the voice input in the number display area 540 of the dialing interface 500.
As shown in fig. 5E, the dialing interface 500 may also include a location information transmission control 550. After displaying the phone number (e.g., 18123456789) of the contact selected by the user input on the dialing interface 500, when the electronic device 1 receives an input operation 551 (e.g., a click) of the user on the location information transmission control 550 on the dialing interface 500, in response to the input operation 551, the electronic device 1 transmits the current location information of the electronic device 1 to the electronic device 2 corresponding to the phone number (e.g., 18123456789) displayed in the number display area 540 in the dialing interface 500.
The electronic device 1 may display the dialing interface 500 in response to the input operation 407 of the user, and display the position information transmission control 550 on the dialing interface 500. The electronic device 1 may also display the location information transmission control 550 on the dialing interface 500 after receiving a phone number (e.g., 18123456789) input by the user.
It should be noted that, not limited to the input operation 551 of the user on the position information sending control 550 on the dialing interface 500 shown in fig. 5E, the triggering operation of the electronic device 1 sending the current position information to the electronic device 2 may be an input operation 561 in fig. 5F (for example, dragging a slider or sliding a direct finger by a preset distance or sliding to a preset position), or an input operation 591 in fig. 5G (for example, pressing (clicking/double clicking/long pressing) one or more physical buttons).
As shown in fig. 5F, the dialing interface 500 may further include a slider slide area 560 in which a slide 562 may slide. After displaying the phone number (e.g., 18123456789) of the contact selected by the user on the dialing interface 500, when the electronic device 1 receives a slide input 561 acted by the user on the slider 562, where the slide input 561 is specifically that the user first presses the slider 562 and then slides to the right to the preset area 563, in response to the slide input 561, the electronic device 1 sends the current location information of the electronic device 1 to the electronic device 2 corresponding to the phone number (e.g., 18123456789) displayed in the number display area 540 in the dialing interface 500.
As shown in fig. 5G, the physical keys on the electronic device 1 may include a volume up key 581, a volume down key 582, a power key 583, and the like. When the electronic device 1 receives an input operation 591 (for example, a user's finger 590 presses a volume-up key 581 and a volume-down key 582 simultaneously) of a user acting on physical keys (such as the volume-up key 481 and the volume-down key 582) of the electronic device 1, in response to the input operation 591, the electronic device 1 transmits current location information of the electronic device 1 to the electronic device 2 corresponding to a telephone number (for example, 18123456789) displayed in the number display area 540 in the dialing interface 500.
Wherein, the electronic device 1 may receive an input operation (e.g., a click) of the dial key 522 in fig. 5D, 5E, 5F or 5G by the user, and in response to the input operation (e.g., the click) of the dial key 522 by the user, the electronic device 1 may call the electronic device 2 corresponding to the contact selected by the user (i.e., the electronic device corresponding to the telephone number "18123456789").
Under the condition of no networking, the electronic device 1 can send the current position information of the electronic device 1 to the electronic device 2 through a short message. The electronic device 1 may also send the current location information of the electronic device 1 to the electronic device 2 through bluetooth, WiFi direct connection, or the like.
After receiving the current location information sent by the electronic device 1, the electronic device 2 may output the current location information of the electronic device 1. The way in which the electronic device 2 outputs the current location information of the electronic device 1 may be one or more of the following: current position information of the electronic apparatus 1 is output through the audio circuit, current position information of the electronic apparatus 1 is output through the display screen, and the like. When the electronic device 2 acquires the current position information of the electronic device 1, the electronic device 2 may display the current position information of the electronic device 1 in a map. In one case, the electronic device 2 may also acquire the current location information of the electronic device 2 and display the current location information of the electronic device 2 and the current location information of the electronic device 1 in the map at the same time. Therefore, the user holding the electronic device 2 can know the position of the electronic device 1, the distance between the electronic device 1 and the electronic device 2 and the route in time, and the waiting time for rescue can be saved when the user holding the electronic device 1 requests the selected contact for rescue.
For example, the electronic device 1 may further display the transmission status of the position information in the dialing interface, for example, when the electronic device 1 succeeds in transmitting the current position information, the electronic device 1 may display the word information such as "position information transmission succeeds" in the dialing interface, and at the same time, the electronic device 1 may further output sound or output mechanical vibration. When the electronic device 1 fails to transmit the position information, the electronic device 1 may display the wording information such as "position information transmission failure" in the dialing interface 500, and at the same time, the electronic device 1 may output sound or output mechanical vibration. The examples are merely illustrative of the present application and should not be construed as limiting.
Some possible cases in the above application scenario 1 are additionally described below.
The trigger operation of the electronic device 1 to acquire the current location information is not limited to the input operation 511 of the user acting on the location acquisition area 510 in fig. 5B, and may be an input operation as follows:
1. the triggering operation of the electronic device 1 to acquire the current location information may be the input operation 407 of the user to the icon 401 of the dialing application in fig. 4, that is, in response to the input operation 407 of the user, the electronic device 1 displays the dialing interface 500 shown in fig. 5A, and acquires the current location information of the electronic device 1.
2. The trigger operation of the electronic apparatus 1 to acquire the current location information may be the same as the input operation (e.g., the input operation 551 in fig. 5E, the input operation 561 in fig. 5F, the input operation 591 in fig. 5G) described above that triggers the electronic apparatus 1 to transmit the current location information of the electronic apparatus 1 to the electronic apparatus 2, that is, in response to the input operation 551 by the user in fig. 5E, or in response to the input operation 561 by the user in fig. 5F, or in response to the input operation 591 in fig. 5G, the electronic apparatus 1 acquires the current location information and transmits the current location information of the electronic apparatus 1 to the electronic apparatus 2. In this case, the electronic device 1 may not display the acquired current position information.
3. The electronic device 1 may perform the same three operations, namely, a trigger operation of acquiring the current location information, a trigger operation of displaying the current location information, and a trigger operation of transmitting the current location information to the electronic device 2. For example, when the electronic device 1 receives an input operation 511, shown in fig. 5D, of a user acting on the location obtaining area 510 under a condition that the user inputs a phone number (e.g., 18123456789) of a selected contact on the dialing interface 500 of the electronic device 1, the electronic device 1 may obtain current location information in response to the input operation 511, display the current location information on the dialing interface 500, and transmit the current location information of the electronic device 1 to the electronic device 2 corresponding to the selected contact.
In an unconnected condition, the current location information of the electronic device 1 may include one or more of latitude and longitude information of a location where the electronic device 1 is located, an address name, a Media Access Control (MAC) address of an access point of a WiFi signal, and altitude information. The manner in which the electronic device 1 acquires the current location information may be as follows:
1. the electronic device 1 may acquire longitude and latitude information of the current position through the satellite positioning signal, for example, "north latitude: 40 ° 3'31.62 ", east longitude: 116 ° 10'27.47 "". The satellite positioning signals may be provided by a Global Navigation Satellite System (GNSS), which may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
It should be noted that the electronic device 1 may also perform positioning through the base station to obtain the latitude and longitude information of the current position.
2. The electronic device 1 may obtain the MAC address of the access point of the WiFi signal through the WiFi signal at the current location, for example, the "MAC address of the WiFi at the current location is: c 8: 3 a: 35: 15: 6 e: 30". Because the geographic position of the access point of the WiFi signal is generally fixed, and the coverage of the WiFi signal of the WiFi access point is smaller, the WiFi access point may broadcast the information of the WiFi access point through a broadcast beacon (beacon) frame, where the information broadcast by the WiFi access point includes an SSID, an MAC address, and the like of the WiFi access point, and when the WiFi signal of the current location is searched, the electronic device 1 may obtain the MAC address of the access point of the WiFi signal.
After the electronic device 1 acquires the access point MAC address of the WiFi signal, the user can be notified of the access point MAC address of the WiFi signal of the current location of the electronic device 1 to the contact person selected by the user, and in an emergency, the electronic device 2 corresponding to the contact person selected by the user (such as a fire alarm) can connect to the map server to query the address name corresponding to the MAC address of the access point of the WiFi signal through the access point MAC address of the WiFi signal of the current location of the electronic device 1, so that the opposite party of the call can quickly know the current location of the electronic device 1, and the time spent on providing the rescue is shortened.
The electronic device 1 may detect that the electronic device 1 is currently located with the signal strength of one or more WiFi signals, and the electronic device 1 may acquire the MAC address of the access point of the one or more WiFi signals and determine the MAC address (e.g., c 8: 3 a: 35: 15: 6 e: 30) of the access point of the one or more WiFi signals as the current location information of the electronic device 1.
In a possible case, if the electronic device 1 detects that the current position of the electronic device 1 has the signal strengths of the WiFi signals, the electronic device 1 may obtain the access point MAC address of the WiFi signal with the strongest signal strength from the WiFi signals, and determine the access point MAC address of the WiFi signal with the strongest signal strength as the current position information of the electronic device 1. For example, the electronic device 1 detects that there are a plurality of WiFi signals, WiFi _1, WiFi _2, and WiFi _3, respectively, in the current location, where the signal strength of WiFi _1 is-67 dBm, and the access point MAC address of WiFi _1 is c 8: 3 a: 35: 15: 6 e: 30, of a nitrogen-containing gas; WiFi _2 has a signal strength of-90 dBm, and WiFi _2 has an access point MAC address of b 4: 2 a: 41: 16: 2 e: 21; the signal strength of WiFi _3 is-71 dBm, and the access point MAC address of WiFi _3 is a 3: 1 a: 21: 13: 2 c: 19. among WiFi _1, WiFi _2, and WiFi _3, the signal strength (-67dBm) of WiFi _1 is strongest, and the electronic device 1 determines the access point MAC address (c 8: 3 a: 35: 15: 6 e: 30) of WiFi _1 as the current location information of the electronic device 1.
The access point MAC address of the WiFi signal of the current location of the electronic device 1 is obtained by the electronic device 1, so that location information that can determine the location of the user can be provided to the user under the condition that the satellite positioning signal is unstable or interfered.
3. The electronic device 1 obtains the address name in the offline map by using the latitude and longitude information of the current position. The offline map refers to a map that has been downloaded by the electronic device 1 before the electronic device is connected to the data network. The offline map may include latitude and longitude intervals and address names for a plurality of geographic locations. Therefore, when the electronic device 1 is not networked, the electronic device 1 may first obtain the longitude and latitude information of the current location of the electronic device 1 through the satellite positioning signal, then find out the address name corresponding to the longitude and latitude information of the current location of the electronic device 1 in the offline map through the offline map, and determine the address name as the current location information of the electronic device 1. For example, the longitude and latitude interval of the geographical location with the address name of "eco-park" in the offline map is "north latitude: 40 ° 3'31.00 "to 40 ° 3' 32.00", east longitude: 116 ° 10'27.00 "to 116 ° 10' 28.00"; the longitude and latitude interval of the geographical position with the address name of the exhibitions center is' north latitude: 40 ° 3'29.00 "to 40 ° 3' 29.61", east longitude: 116 ° 10'28.60 "to 116 ° 10' 29.00" ". The longitude and latitude information of the current position acquired by the electronic device 1 through the satellite positioning signal is' north latitude: 40 ° 3'31.62 ", east longitude: 116 degrees 10 '27.47', and the longitude and latitude of the current position are within the longitude and latitude interval of the address name of the environment-friendly park in the offline map, the electronic equipment 1 determines that the current position information is the environment-friendly park.
In one possible implementation, since the address coverage area of the pre-downloaded offline map is limited, the location where the electronic device 1 is currently located is outside the address coverage area of the offline map. The electronic device 1 may select a reference location from the offline map, and obtain the longitude and latitude and the address name of the reference location. The electronic device 1 may acquire latitude and longitude information of the current position using the satellite positioning signal, and calculate relative position information of the current position with respect to the reference position (for example, the current position is located 30 degrees north of the reference position (convention and exhibition center) and about 900 meters north of the reference position) using the latitude and longitude of the current position and the latitude and longitude of the reference position. For example, the latitude and longitude of the current location a of the electronic device 1 are north latitude: 40 ° 3'31.62 ", east longitude: 116 ° 10'27.47 "; the longitude and latitude of the reference position B in the off-line map are north latitude: 40 ° 3'27.22 ", east longitude: 116 ° 10'32.73 "; the address name of the reference location B is "convention center". Since each unit scale of longitude and latitude has a corresponding distance, for example, each degree of longitude corresponds to about 111 km at the equator with a latitude of 0 °. The electronic device 1 can determine that the current position a is 30 degrees to the west of the reference position B and about 900 meters north of the reference position B through the longitude and latitude of the current position a and the longitude and latitude of the reference position B, and then the electronic device 1 determines that the current position information is "30 degrees to the east of the exhibition center north and about 900 meters north".
By utilizing the off-line map and the GPS positioning signal which are downloaded in advance, the address name of the position where the user is located can be obtained under the condition that the network is not connected, and the position information which can determine the position where the user is located is provided for the user.
4. The electronic device 1 may acquire the altitude information (for example, the altitude of 52 meters) of the current position of the electronic device 1 through a barometric sensor on the electronic device 1. The electronic device 1 can acquire the air pressure value of the current position of the electronic device 1 through the air pressure sensor, calculate the altitude of the current position through the calculation formulas of the air pressure value and the altitude, and determine the altitude of the current position through the corresponding relation between the pre-stored air pressure value and the altitude. Because the difference in temperature has an influence on the barometric pressure value, the electronic device 1 may further measure a temperature value of the current location through the temperature sensor, and calculate the altitude of the current location by using the barometric pressure value and the temperature value. The electronic equipment 1 sends the altitude information of the current position and other position information to the electronic equipment 2 by acquiring the altitude information of the current position, so that a contact selected by a user can know the three-dimensional space position of the user, and when the user is in a building or a mountain, the accurate three-dimensional space position is determined for the user, and the user experience is improved.
Through the embodiment of the application, under the condition that the electronic equipment 1 is not networked in the user dialing scene, the electronic equipment 1 (user side) can send the current position information of the electronic equipment 1 to the electronic equipment 2 (the contact side selected by the user) according to the requirements of the user, so that the dialing opposite side of the user can know the position of the user, the rescue waiting time of the user is shortened, and the user experience is improved.
Application scenario 2: the electronic device 1 realizes the position information processing method provided by the application in the scene of user call.
Referring to fig. 6, fig. 6 shows a dialing interface 600 displayed on a touch screen of the electronic device 1, where the dialing interface 600 may include a virtual numeric keypad 621, dialing keys 622, and a phone number display area 640. When the electronic apparatus 1 receives an input operation to the virtual numeric keyboard 621 by the user (e.g., a click input on one or more numeric keys on the virtual numeric keyboard 621), in response to the input operation to the virtual numeric keyboard 621, the electronic apparatus 1 may display a telephone number (e.g., 18123456789) input by the user on the telephone number display area 640. After the phone number (e.g., 18123456789) input by the user is displayed on the dialing interface 600 of the electronic device 1, an input operation 623 (e.g., a click) of the dialing key 622 by the user may be received, and in response to the input operation 623 (e.g., a click) with the user, the electronic device 1 may display a call interface 700 as shown in fig. 7A. The call interface 700 may include a location information acquiring area 710, a hang-up key 722, and a contact information display area 740 for contacts. Optionally, the call interface 700 may include a contact avatar 770.
Under the condition that the call interface 700 is displayed, the electronic device 1 may be calling the contact selected by the user (i.e., the contact displayed on the call interface), or may be in a call with the contact selected by the user (i.e., the contact displayed on the call interface).
As shown in fig. 7B, when the electronic device 1 receives an input operation 711 that is received by the user and applied to the location obtaining area 710, in response to the user performing an input operation 711 (e.g., clicking) on the location obtaining area 710 on the call interface 700 in fig. 7B, the electronic device 1 first determines whether the location service function is turned off, and if the location service function is turned off, the electronic device 1 turns on the location service function. Then, in a case where the location service function is turned on, the electronic apparatus 1 acquires the current location information of the electronic apparatus 1, and displays the current location information of the electronic apparatus 1 (e.g., north latitude: 40 ° 3'31.62 "east longitude: 116 ° 10' 27.47") at the location display area 730 of the call interface 700 as in fig. 7C.
The current position information of the electronic device 1 may include one or more of latitude and longitude information of a position where the electronic device 1 is located, an address name, a MAC address of an access point of a WiFi signal, and altitude information. Not limited to the above, the current position information may include other information based on the difference of the positioning manner.
As shown in fig. 7D, the call interface 500 may also include a location information sending control 750. When the electronic device 1 receives an input operation 751 (e.g., a click) of a user on the location information transmission control 750 on the dialing interface 700, in response to the input operation 751 (e.g., the click), the electronic device 1 transmits current location information of the electronic device 1 to the electronic device 2 corresponding to a contact (e.g., family, phone number 18123456789) displayed in the call interface 700.
It should be noted that, not limited to the input operation 751 of the user on the communication interface 700 shown in fig. 7D, the triggering operation of the electronic device 1 to send the current location information to the electronic device 2 may also be the input operation 761 (for example, dragging a slider or sliding a direct finger by a preset distance or to a preset position) in fig. 7E, or the input operation 791 (for example, pressing (single-click/double-click/long-press) one or more physical buttons) in fig. 7F.
As shown in fig. 7E, the telephony interface 700 can also include a slider slide area 760 in which a slide 762 can slide. When the electronic device 1 receives a slide input operation 761 performed by a user on the slider 762, specifically, the user presses the slider 762 first and then slides to the right to the preset area 763, and in response to the slide input operation 761, the electronic device 2 corresponding to a contact (e.g., a family, the phone number is 18123456789) displayed in the call interface 700 of the electronic device 1 sends the current location information of the electronic device 1.
As shown in fig. 7F, the physical keys on the electronic device 1 may include a volume up key 781, a volume down key 782, a power key 783, and the like. When the electronic device 1 receives an input operation 791 (for example, the user's finger 790 simultaneously presses the volume-up key 781 and the volume-down key 782) by the user acting on physical keys (such as the volume-up key 781 and the volume-down key 782) of the electronic device 1, in response to the input operation 791, the electronic device 1 transmits current location information of the electronic device 1 to the electronic device 2 corresponding to the telephone number (for example, 18123456789) displayed in the number display area 740 in the dialing interface 700.
Under the condition of no networking, the electronic device 1 can send the current position information of the electronic device 1 to the electronic device 2 through a short message. The electronic device 1 may also send the current location information of the electronic device 1 to the electronic device 2 through bluetooth, WiFi direct connection, or the like.
After receiving the current location information sent by the electronic device 1, the electronic device 2 may output the current location information of the electronic device 1. The way in which the electronic device 2 outputs the current location information of the electronic device 1 may be one or more of the following: current position information of the electronic apparatus 1 is output through the audio circuit, current position information of the electronic apparatus 1 is output through the display screen, and the like. When the electronic device 2 acquires the current position information of the electronic device 1, the electronic device 2 may display the current position information of the electronic device 1 in a map. In one case, the electronic device 2 may also acquire the current location information of the electronic device 2 and display the current location information of the electronic device 2 and the current location information of the electronic device 1 in the map at the same time. Therefore, the user holding the electronic device 2 can know the position of the electronic device 1, the distance between the electronic device 1 and the electronic device 2 and the route in time, and the waiting time for rescue can be saved when the user holding the electronic device 1 requests the selected contact for rescue.
For example, the electronic device 1 may further display the transmission status of the position information in the dialing interface, for example, when the electronic device 1 succeeds in transmitting the current position information, the electronic device 1 may display the word information such as "position information transmission succeeds" in the dialing interface, and at the same time, the electronic device 1 may further output sound or output mechanical vibration. When the electronic device 1 fails to transmit the position information, the electronic device 1 may display the text information such as "position information transmission failure" in the call interface 700, and at the same time, the electronic device 1 may output sound or output mechanical vibration. The examples are merely illustrative of the present application and should not be construed as limiting.
Some possible cases in the above application scenario 2 are additionally described below.
The electronic device 1 displays the triggering operation of the call interface 700 shown in fig. 7A, not limited to the input operation 623 described above in fig. 6, which the user acts on the dial key 622 in the dial interface 600. The electronic device 1 may also display the call interface 700 by the trigger operation as follows:
1. as shown in fig. 8, the electronic device 1 may receive an input operation 808 (e.g., clicking) of a user on a contact application icon 803 in the main interface 800 shown in 8a in fig. 8, and in response to the input operation 808, the electronic device 1 opens and displays a contact application interface 8030 shown in 8b in fig. 8, where the contact application interface 8030 may include contact information 8031 of one or more contacts. The electronic device 1 may receive an input operation 8032 (e.g., clicking) of the user on the contact information 8031 of the contact, and in response to the input operation 8032, the electronic device 1 opens and displays the call interface 700 shown in fig. 7A.
2. As shown in fig. 9, the electronic device 1 may receive an input operation 908 (e.g., click) of the user on the information application icon 902 in the main interface 900 shown as 9a in fig. 9, and in response to the input operation 908, the electronic device 1 opens and displays an information application chat interface 9020 shown as 9b in fig. 9. The electronic device 1 may receive an input operation 9022 (e.g., click) of the user with respect to the dial key 9021 in the information application chat interface 9020, and in response to the input operation 9022, the electronic device 1 opens and displays the call interface 700 as shown in fig. 7A. Optionally, the electronic device 1 may further receive an input operation 9024 of a user for a telephone number (e.g., 18123456789) shortcut 9023 in the chat information 9025 in the information application chat interface 9020, and in response to the input operation 9024, the electronic device 1 opens and displays the call interface 700 shown in fig. 7A.
3. The electronic device 1 may also receive an input operation (e.g., a click) by the user on a contact (e.g., family) shortcut 804 as shown at 8a in FIG. 8, and in response to the input operation (e.g., a click) by the user on the contact (e.g., family) shortcut 804 as shown at 8a in FIG. 8, the electronic device 1 opens and displays the above-described call interface 700 shown in FIG. 7A.
It should be noted that the electronic device 1 may also receive a voice instruction (e.g., "call home") input by the user through the voice assistant, and the electronic device 1 may open and display the call interface 700 shown in fig. 7A in response to the voice input by the user through the electronic device 1. The above examples are merely illustrative of the present application and should not be construed as limiting.
The triggering operation of the electronic device 1 to acquire the current location information is not limited to the input operation 711 of the user acting on the location acquisition area 710 in the call interface 700 in fig. 7B, and may also be an input operation as follows:
1. the triggering operation of the electronic device 1 to acquire the current location information may be the user's input operation 623 on the dial key 622 in the dial interface 600 in fig. 6, that is, in response to the user's input operation 623, the electronic device 1 displays the call interface 700 shown in fig. 7A, and acquires the current location information of the electronic device 1.
2. The trigger operation of the electronic device 1 to acquire the current location information may be the same as the above-described input operation (e.g., the input operation 751 in fig. 7D, the input operation 761 in fig. 7E, and the input operation 791 in fig. 7F) of the electronic device 1 to transmit the current location information of the electronic device 1 to the electronic device 2, that is, in response to the input operation 751 by the user in fig. 7D, or in response to the input operation 761 by the user in fig. 7E, or in response to the input operation 791 in fig. 7F, the electronic device 1 acquires the current location information and transmits the current location information of the electronic device 1 to the electronic device 2. In this case, the electronic device 1 may not display the acquired current position information.
3. The electronic device 1 may perform the same three operations, namely, a trigger operation of acquiring the current location information, a trigger operation of displaying the current location information, and a trigger operation of transmitting the current location information to the electronic device 2. For example, when the electronic device 1 receives an input operation 711, shown in fig. 7B, of the user acting on the location obtaining area 710, in response to the input operation 711, the electronic device 1 may obtain current location information, display the current location information on the call interface 700, and send the current location information of the electronic device 1 to the electronic device 2 corresponding to the contact selected by the user.
In an unconnected condition, the current location information of the electronic device 1 may include one or more of latitude and longitude information of a location where the electronic device 1 is located, an address name, a Media Access Control (MAC) address of an access point of a WiFi signal, and altitude information. The manner in which the electronic device 1 obtains the current location information refers to the embodiment in the application scenario 1, and is not described herein again.
Through the method and the device, under the conversation scene, the electronic equipment 1 (the user side) can send the current position information of the electronic equipment 1 to the electronic equipment 2 (the user appoints the contact side) according to the requirements of the user, so that the conversation opposite side of the user can know the position where the user is located, the rescue waiting time of the user is shortened, and the user experience is improved.
Referring to fig. 10, fig. 10 is a flowchart of a method for processing location information according to an embodiment of the present application. The position information processing method as shown in fig. 10 may include the following steps. The first electronic device is the electronic device 1 in the above embodiment, and the second electronic device is the electronic device 2 in the above embodiment.
When the first electronic device is in an unconnected state:
s1001, the first electronic device receives a first preset input of a user.
S1002, the first electronic device responds to the first preset input and displays a first interface. Wherein the first interface comprises a communication interface or a dialing interface.
For example, where the first interface is a dialing interface, the dialing interface may be dialing interface 500 as shown in fig. 5A-5G. The first preset input may be an input operation 407 (e.g., clicking) on the dialing application icon 401 in the main interface 40 by the user as shown in 4a in fig. 4, an input operation 421 (e.g., clicking) on the emergency call key 420 in the unlocking interface 41 by the user as shown in 4b in fig. 4, and an input operation 451 (e.g., clicking) on the emergency call key 450 in the unlocking interface 42 by the user as shown in 4c in fig. 4. The examples are merely illustrative of the present application and should not be construed as limiting. Specific contents may refer to the embodiments shown in the application scenarios 1 and 2 described above.
For example, in the case where the first interface is a call interface, the call interface may be a call interface 700 as shown in fig. 7A. The first preset input may be the user's input operation 623 (e.g., clicking) on the dial key 622 as shown in fig. 6 above. The first preset input may be the user's input operation 8032 (e.g., clicking) on the contact information 8031 of the contact as shown in 8b of fig. 8. The examples are merely illustrative of the present application and should not be construed as limiting. Specific contents may refer to the embodiments shown in the application scenarios 1 and 2 described above.
S1003, the first electronic equipment receives a second preset input of the user on the first interface.
And S1004, the first electronic device displays the acquired current position information of the first electronic device on a first interface.
Illustratively, the second preset input may be the input operation 511 of the user acting on the position acquisition area 510 in fig. 5B described above. In response to an input operation 511 (e.g., clicking) performed by the user on the location obtaining area 510 on the dialing interface 500 in fig. 5B, the electronic device 1 first determines whether the location service function is closed, and if the location service function is closed, the electronic device 1 opens the location service function. Then, in a case where the location service function is turned on, the electronic apparatus 1 acquires the current location information of the electronic apparatus 1 and displays the current location information of the electronic apparatus 1 (e.g., 40 ° 3'31.62 "north latitude: 116 ° 10' 27.47" east longitude: 116 ° 10 ') at the location display area 530 of the dial interface 500 as in fig. 5C. The above examples are merely illustrative of the present application and should not be construed as limiting. Specific contents may refer to the embodiments shown in the application scenarios 1 and 2 described above.
S1005, the first electronic device receives a third preset input of the user.
And S1006, the first electronic device responds to the third preset input, and sends the displayed current position information of the first electronic device to a second electronic device corresponding to the contact selected by the user. Wherein the second preset input is different from the third preset input.
For example, the contact selected by the user may display a contact corresponding to the phone number (e.g., 18123456789) corresponding to the input 523 as shown in number display area 540 of dialing interface 500 in fig. 5D. The user-selected contact may also be a contact corresponding to a telephone number (e.g., 18123456789) as displayed in contact details display area 740 of the contact in fig. 7A-7F. The second electronic device may be electronic device 2 corresponding to the telephone number (e.g., 18123456789) as displayed in number display area 540 of dialing interface 500 in fig. 5D. The second electronic device may also be electronic device 2 corresponding to a telephone number (e.g., 18123456789) as displayed in contact details display area 740 of the contact in fig. 7A-7F. The above examples are merely illustrative of the present application and should not be construed as limiting. Specific contents may refer to the embodiments shown in the application scenarios 1 and 2 described above.
Illustratively, the first interface is a dial interface. The third preset input may be the user's input operation 551 (e.g., clicking) on the location information sending control 550 on the dialing interface 500 as shown in fig. 5E. The third preset input may also be the user's slide input action 561 on the slider 562 shown in fig. 5F, where the slide input action 561 is specifically the user first presses the slider 562 and then slides to the right to reach the preset area 563. The third preset input may also be the user's input operation 591 (e.g., the user's finger 590 simultaneously pressing the volume up key 581 and the volume down key 582) acting on physical keys (such as the volume up key 481 and the volume down key 582) of the electronic device 1 shown in fig. 5G described above. The above examples are merely illustrative of the present application and should not be construed as limiting. Specific contents can refer to the embodiment of the application scenario 1 described above.
Illustratively, the first interface is a call interface. The third preset input may be the user's input operation 751 (e.g., clicking) on the location information sending control 750 on the dialing interface 700 in fig. 7D described above. The third preset input may also be a sliding input operation 761 performed by the user on the slider 762 in fig. 7E, where the sliding input operation 761 is performed by the user first pressing the slider 762 and then sliding to the right to reach a preset area 763. The third preset input may also be the user's input operation 791 (e.g., the user's finger 790 simultaneously pressing the volume-up key 781 and the volume-down key 782) acting on physical keys (e.g., the volume-up key 781 and the volume-down key 782) of the electronic device 1 in fig. 7F described above. Specific contents can refer to the embodiment of the application scenario 2 described above.
In a possible case, the first interface may be a dialing interface, before the first electronic device sends the acquired current location information of the first electronic device to the second electronic device corresponding to the contact person selected by the user, the first electronic device may receive a fourth preset input of the user, and in response to the fourth preset input, the first electronic device may display the contact information of the contact person selected by the user on the first interface. The first electronic device may receive a third preset input of the user on the condition that the contact information of the contact selected by the user is displayed on the first interface.
For example, the fourth preset input may be the input operation 523 (e.g., a click input on one or more number keys on the virtual number keyboard 521) of the dialing interface 500, which is performed by the user in fig. 5D and acts on the virtual number keyboard 521. The contact information of the contact selected by the user may be that the number display area 540 of the dialing interface 500 in fig. 5D displays a telephone number (e.g., 18123456789) corresponding to the input operation 523. The examples are merely illustrative of the present application and should not be construed as limiting. Specific contents may refer to the embodiments shown in the application scenarios 1 and 2 described above.
In one possible scenario, the first interface may be a call interface, with contact information for a user-selected contact being displayed on the first interface.
Illustratively, the call interface may be the call interface 700 of fig. 7A, or fig. 7B, or fig. 7C, or fig. 7D, or fig. 7E, or fig. 7F, described above. The contact information for the user-selected contact may be the telephone number (e.g., 18123456789) displayed in contact information display area 740 of the contact in FIG. 7A, or FIG. 7B, or FIG. 7C, or FIG. 7D, or FIG. 7E, or FIG. 7F, as described above.
Optionally, the first electronic device may display a first control on the first interface, receive a third preset input to the first control by the user, and in response to the third preset input to the first control by the user, the first electronic device may send the acquired current location information of the first electronic device to a second electronic device corresponding to the contact person selected by the user. Illustratively, the first control may be the location information sending control 550 of fig. 5E described above. For details, reference may be made to the embodiment shown in fig. 5E described above.
Optionally, the first electronic device may respond to the second preset input, acquire current location information of the first electronic device, and display the acquired current location information of the first electronic device on the first interface. For specific content, reference may be made to the embodiment shown in the application scenario 1 and the embodiment shown in the application scenario 2, which are not described herein again.
Optionally, the first electronic device may respond to the first preset input, display the first interface, and obtain current location information of the first electronic device. For specific content, reference may be made to the embodiment shown in the application scenario 1 and the embodiment shown in the application scenario 2, which are not described herein again.
Optionally, the current location information of the first electronic device includes longitude and latitude information of a current location of the first electronic device. The first electronic device can acquire longitude and latitude information of the current position of the first electronic device through the satellite positioning signal. For example, the latitude and longitude may be the current location information of the electronic device 1 displayed at the location display area 530 of the dial interface 500 in fig. 5C (e.g., north latitude: 40 ° 3'31.62 "east longitude: 116 ° 10' 27.47"). For specific content, reference may be made to the embodiment shown in the application scenario 1, which is not described herein again.
Optionally, the current location information of the first electronic device includes an access point MAC address of one or more WiFi signals of a location where the first electronic device is currently located. The first electronic device may obtain, through one or more WiFi signals of a current location of the first electronic device, an access point MAC address of the one or more WiFi signals. For specific content, reference may be made to the embodiment shown in the application scenario 1, which is not described herein again.
Optionally, the current location information of the first electronic device may further include altitude information of a current location of the first electronic device. For example, the first electronic device may obtain, through a barometric pressure sensor on the first electronic device, altitude information (e.g., altitude 52 meters) of a current location of the electronic device 1. For specific content, reference may be made to the embodiment shown in the application scenario 2, which is not described herein again.
The current position information of the electronic device 1 may include one or more of latitude and longitude information of a position where the electronic device 1 is located, an address name, a MAC address of an access point of a WiFi signal, and altitude information. Not limited to the above, the current position information may include other information based on the difference of the positioning manner.
Optionally, before the first electronic device obtains the current location information of the first electronic device, the first electronic device determines whether the location service function of the first electronic device is closed, and if so, the first electronic device opens the location service function.
By the position information processing method provided by the embodiment of the application, the first electronic device can display the current position information on a dialing interface or a call interface according to the requirements of a user, and can also send the current position information of the first electronic device to the electronic device 2 (a contact person end designated by the user), so that the selected contact person of the user can know the position of the user, and the user experience is improved.
Referring to fig. 11, fig. 11 is a flowchart of a location information processing method provided in the present application. The position information processing method as shown in fig. 11 may include the following steps. The first electronic device is the electronic device 1 in the above embodiment, and the second electronic device is the electronic device 2 in the above embodiment.
When the first electronic device is in an unconnected state:
s1101, the first electronic device receives a fifth preset input of the user.
And S1102, the first electronic equipment responds to a fifth preset input and displays an emergency call interface.
For example, the fifth preset input may be an input operation 421 (e.g., clicking) on the emergency call key 420 in the unlocking interface 41 by the user as shown in 4b in fig. 4, and the first preset input may also be an input operation 451 (e.g., clicking) on the emergency call key 450 in the unlocking interface 42 by the user as shown in 4c in fig. 4. The emergency call interface may be a dial interface 500 as shown in fig. 5A-5G. . The examples are merely illustrative of the present application and should not be construed as limiting. For details, reference may be made to the embodiment illustrated in application scenario 1 above.
S1103, the first electronic device receives a sixth preset input of the user on the emergency call interface.
And S1104, the first electronic device responds to a sixth preset input, and displays the acquired current position information of the first electronic device on an emergency call interface.
Illustratively, the sixth preset input may be the input operation 511 of the user acting on the position acquisition area 510 in fig. 5B described above. In response to an input operation 511 (e.g., clicking) performed by the user on the location obtaining area 510 on the dialing interface 500 in fig. 5B, the electronic device 1 first determines whether the location service function is closed, and if the location service function is closed, the electronic device 1 opens the location service function. Then, in a case where the location service function is turned on, the electronic apparatus 1 acquires the current location information of the electronic apparatus 1 and displays the current location information of the electronic apparatus 1 (e.g., 40 ° 3'31.62 "north latitude: 116 ° 10' 27.47" east longitude: 116 ° 10 ') at the location display area 530 of the dial interface 500 as in fig. 5C. The above examples are merely illustrative of the present application and should not be construed as limiting. Specific contents can refer to the embodiment shown in the application scenario 1 described above.
S1105, the first electronic device receives a seventh preset input of the user on the emergency call interface.
And S1106, the first electronic device responds to a seventh preset input and calls a second electronic device corresponding to the emergency call contact selected by the user. Wherein the sixth preset input is different from the seventh preset input.
Illustratively, the seventh preset input may be an input operation (e.g., clicking) of the dial key 522 in fig. 5D, 5E, 5F or 5G by the user. In response to a user input operation (e.g., clicking) on the dial key 522, electronic device 1 may call electronic device 2 corresponding to the user-selected contact (i.e., the electronic device corresponding to the telephone number "18123456789"). The above examples are merely illustrative of the present application and should not be construed as limiting. Specific contents can refer to the embodiment shown in the application scenario 1 described above.
For example, the contact selected by the user may display a contact corresponding to the phone number (e.g., 18123456789) corresponding to the input 523 as shown in number display area 540 of dialing interface 500 in fig. 5D. The second electronic device may be electronic device 2 corresponding to the telephone number (e.g., 18123456789) as displayed in number display area 540 of dialing interface 500 in fig. 5D. The above examples are merely illustrative of the present application and should not be construed as limiting. Specific contents can refer to the embodiment shown in the application scenario 1 described above.
Optionally, the first electronic device may receive an eighth preset input from the user. In response to an eighth preset input of the user, the first electronic device may display contact information of the emergency call contact on the emergency call interface. The first electronic device may receive a ninth preset input of the user on a condition that the contact information of the emergency call contact is displayed on the emergency call interface. In response to the ninth preset input, the first electronic device may send the acquired current location information of the first electronic device to a second electronic device corresponding to the emergency call contact.
For example, the eighth preset input may be the input operation 523 (e.g., a click input on one or more number keys on the virtual number keyboard 521) of the dialing interface 500, which is performed by the user in fig. 5D and is applied to the virtual number keyboard 521. The contact information of the contact selected by the user may be that the number display area 540 of the dialing interface 500 in fig. 5D displays a telephone number (e.g., 18123456789) corresponding to the input operation 523. The examples are merely illustrative of the present application and should not be construed as limiting. For details, reference may be made to the embodiment illustrated in application scenario 1 above.
This third preset input may be, for example, the user's input operation 551 (e.g., clicking) on the location information sending control 550 on the dialing interface 500 as shown in fig. 5E. The third preset input may also be the user's slide input action 561 on the slider 562 shown in fig. 5F, where the slide input action 561 is specifically the user first presses the slider 562 and then slides to the right to reach the preset area 563. The third preset input may also be the user's input operation 591 (e.g., the user's finger 590 simultaneously pressing the volume up key 581 and the volume down key 582) acting on physical keys (such as the volume up key 481 and the volume down key 582) of the electronic device 1 shown in fig. 5G described above. The above examples are merely illustrative of the present application and should not be construed as limiting. Specific contents can refer to the embodiment of the application scenario 1 described above.
Optionally, the first electronic device may display a second control on the first interface, and the first electronic device may receive a ninth preset input of the user to the second control. In response to a ninth preset input of the user to the second control, the first electronic device may send the acquired current location information of the first electronic device to a second electronic device corresponding to the emergency call contact. Illustratively, the first control may be the location information sending control 550 of fig. 5E described above. For details, reference may be made to the embodiment shown in fig. 5E described above.
Optionally, the first electronic device may respond to the fifth preset input, display an emergency call interface, and acquire current location information of the first electronic device. For specific content, reference may be made to the embodiment shown in the application scenario 1, which is not described herein again.
Optionally, the first electronic device may respond to the sixth preset input, acquire current location information of the first electronic device, and display the current location information of the first electronic device on the emergency call interface. For specific content, reference may be made to the embodiment shown in the application scenario 1, which is not described herein again.
Optionally, the current location information of the first electronic device may include longitude and latitude information of a current location of the first electronic device. The first electronic device can acquire longitude and latitude information of the current position of the first electronic device through satellite positioning. For example, the latitude and longitude may be the current location information of the electronic device 1 displayed at the location display area 530 of the dial interface 500 in fig. 5C (e.g., north latitude: 40 ° 3'31.62 "east longitude: 116 ° 10' 27.47"). For specific content, reference may be made to the embodiment shown in the application scenario 1, which is not described herein again.
Optionally, the current location information of the first electronic device may include an access point MAC address of one or more WiFi signals of a current location of the first electronic device. The first electronic device may obtain an access point MAC address of one or more WiFi signals through one or more WiFi signals of a current location of the first electronic device. For specific content, reference may be made to the embodiment shown in the application scenario 1, which is not described herein again.
Optionally, the current location information of the first electronic device may further include altitude information of a current location of the first electronic device. For example, the first electronic device may obtain, through a barometric pressure sensor on the first electronic device, altitude information (e.g., altitude 52 meters) of a current location of the electronic device 1. For specific content, reference may be made to the embodiment shown in the application scenario 2, which is not described herein again.
By the position information processing method provided by the embodiment of the application, the first electronic device (electronic device 1) can display the current position information on the emergency call interface according to the requirements of the user, and can also send the current position information of the first electronic device to the electronic device 2 (user-specified contact terminal), so that the user can know the position where the user is located, and the user experience is improved.
Referring to fig. 12, fig. 12 is a diagram of an electronic device 1200 according to an embodiment of the present disclosure. As shown in fig. 12, the electronic device 1200 may include a processor 1210, a display 1220, an input device 1230, a transceiver 1240, a positioning device 1250, and a bus 1260. The positioning device 1250 may include a satellite positioning device 1251, a WiFi module 1252, and a barometric pressure sensor 1253.
The processor 1210 may refer to the processor 110 shown in the electronic device 100 shown in fig. 1, and is not described herein again. The display device 1220 can refer to the display 194 of the electronic apparatus 100 shown in fig. 1, and the description thereof is omitted here. The input device 1230 can refer to the touch sensor 180K and the keys 190 in the electronic apparatus 100 shown in fig. 1, which are not described herein again. The transceiver 1240 may refer to the mobile communication module 150 and the like in fig. 1, which will not be described herein again. The positioning device 1250 can refer to the wireless communication module 160 and the air pressure sensor 180C, etc. of fig. 1.
The electronic device 1200 may perform the location information processing method of the embodiment illustrated in fig. 10 described above.
An input device 1230 for receiving user input and transmitting the received user input to the processor 1210;
a processor 1210 configured to, when the electronic device is in an unconnected state:
in response to receiving a first preset input by the user, instructing the display 1220 to display a first interface; wherein, the first interface comprises a call interface or a dialing interface; in response to receiving a second preset input of the user, instructing the display 1220 to display the acquired current position information of the electronic device on the first interface;
in response to receiving the third preset input from the user, the transceiver 1240 is instructed to transmit the current location information of the electronic device to the second electronic device corresponding to the contact selected by the user.
In one possible case, the first interface is a dialing interface, and the processor 1210 is further configured to instruct the display 1220 to display the contact information of the contact selected by the user on the first interface in response to receiving a fourth preset input from the user before responding to a third preset input from the user.
The display 1220, in one possible scenario, is also used to display a first control on the first interface. The input device 1230 is specifically configured to receive a third preset input to the first control from the user. The processor 1210 is specifically configured to instruct, in response to a third preset input to the first control by the user, the transceiver 1240 to send the acquired current location information of the electronic device to a second electronic device corresponding to the contact selected by the user.
In one possible case, the electronic device further includes: and a positioning device 1250 for acquiring the current position information of the electronic device. The processor 1210 is specifically configured to, in response to the second input, obtain current location information of the electronic device through the positioning device 1250, and instruct the display 1220 to display the obtained current location information of the electronic device on the first interface.
In one possible case, the electronic device further includes: and a positioning device 1250 for acquiring the current position information of the electronic device. The processor 1210 is specifically configured to instruct the display screen to display the first interface in response to the first input, and obtain the current location information of the electronic device through the positioning device 1250.
In a possible situation, the current position information of the electronic equipment is longitude and latitude information of the current position of the electronic equipment; the positioning device 1250 is a satellite positioning device 12511250.
In one possible case, the current location information of the electronic device includes: access point MAC address of one or more WiFi signals of a current location of the electronic device. The positioning device 1250 includes a WiFi module 1252. The WiFi module 1252 is configured to obtain an access point MAC address of one or more WiFi signals according to one or more WiFi signals of a current location of the electronic device.
In one possible case, the positioning device 1250 further includes: an air pressure sensor 1253. The current location information of the electronic device further includes: altitude information of a current location of the electronic device. The processor 1210 is further configured to obtain altitude information of a current location of the electronic device through the air pressure sensor 1253.
The processor 1210 is further configured to determine whether a location service function of the electronic device is turned off before the current location information of the electronic device is obtained by the location device 1250, and if so, instruct to turn on the location service function.
The electronic device 1200 may perform the location information processing method of the embodiment illustrated in fig. 10 described above.
The input device 1230 is used for receiving the input of the user;
the processor 1210, configured to instruct the display 1220 to display an emergency call interface in response to a fifth preset input from the user when the electronic device is in an unconnected state; in response to a sixth preset input of the user, instructing the display 1220 to display the acquired current location information of the first electronic device on the emergency call interface;
and responding to a seventh preset input of the user, calling a second electronic device corresponding to the emergency call contact selected by the user through the transceiver 1240, wherein the sixth preset input is different from the seventh preset input.
The processor 1210 is further configured to instruct the display 1220 to display contact information of the emergency call contact on an emergency call interface, in response to an eighth preset input by the user; and in response to a ninth preset input of the user, instructing the transceiver 1240 to send the acquired current location information of the electronic device to a second electronic device corresponding to the emergency call contact.
The display 1220, in one possible scenario, is also used to display a second control on the first interface. The processor 1210 is specifically configured to, in response to a ninth input to the second control by the user, instruct the transceiver 1240 to send the acquired current location information of the electronic device to a second electronic device corresponding to the emergency call contact.
In one possible case, the electronic device further includes: the electronic device further includes: a positioning device 1250. The processor 1210 is specifically configured to instruct the display device to display the emergency call interface in response to the fifth input, and obtain the current location information of the electronic device through the positioning device 1250.
In one possible case, the electronic device further includes: a positioning device 1250. The processor 1210 is specifically configured to, in response to the sixth input, obtain the current location information of the electronic device through the positioning apparatus 1250, and instruct the display apparatus to display the current location information of the electronic device on the emergency call interface.
In one possible case, the current location information of the electronic device includes: longitude and latitude information of the current position of the electronic equipment; the positioning device 1250 includes: satellite positioning device 12511250.
In one possible case, the current location information of the electronic device includes: access point MAC addresses of one or more WiFi signals of the current position of the electronic equipment; the positioning device 1250 includes: a WiFi module 1252. The WiFi module 1252 is configured to obtain an access point MAC address of one or more WiFi signals according to the one or more WiFi signals of the current location of the electronic device.
In one possible case, the current location information of the electronic device further includes: altitude information of the current position of the electronic equipment; the positioning device 1250 also includes an air pressure sensor 1253. The processor 1210 is further configured to obtain altitude information of a current location of the electronic device through the air pressure sensor 1253.
The processor 1210 is further configured to determine whether a location service function of the electronic device is turned off before the current location information of the electronic device is obtained by the location device 1250, and if so, instruct to turn on the location service function.
For parts which are not described in detail in the embodiments of the present application, reference may be made to the above embodiments, which are not described herein again.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (39)

  1. A position information processing method, characterized by comprising:
    when the first electronic device is in an unconnected state:
    the first electronic equipment receives a first preset input of a user;
    the first electronic equipment responds to the first preset input and displays a first interface; the first interface comprises a call interface or a dialing interface;
    the first electronic equipment receives a second preset input of the user on the first interface;
    the first electronic equipment responds to the second preset input, and the acquired current position information of the first electronic equipment is displayed on the first interface;
    the first electronic equipment receives a third preset input of the user;
    the first electronic equipment responds to the third preset input, and sends the displayed current position information of the first electronic equipment to second electronic equipment corresponding to the contact person selected by the user; wherein the second preset input is different from the third preset input.
  2. The method of claim 1, wherein the first interface is the dialing interface, and wherein before the first electronic device receives a third preset input from the user, the method further comprises:
    the first electronic equipment receives a fourth preset input of the user;
    and the first electronic equipment responds to the fourth preset input, and displays the contact information of the contact selected by the user on the first interface.
  3. The method according to claim 1 or 2, characterized in that the method further comprises:
    the first electronic equipment displays a first control on the first interface;
    the first electronic device receives a third preset input of the user, and specifically includes:
    the first electronic equipment receives a third preset input of the user to the first control;
    the first electronic device responds to the third preset input, and sends the acquired current position information of the first electronic device to a second electronic device corresponding to the contact person selected by the user, and the method specifically includes:
    and the first electronic equipment responds to a third preset input of the user to the first control, and sends the acquired current position information of the first electronic equipment to second electronic equipment corresponding to the contact person selected by the user.
  4. The method according to claim 1, wherein the first electronic device responds to the second preset input, and displays the acquired current location information of the first electronic device on the first interface, specifically including:
    the first electronic device responds to the second preset input, obtains current position information of the first electronic device, and displays the obtained current position information of the first electronic device on the first interface.
  5. The method according to claim 1, wherein the first electronic device responds to the first preset input and displays a first interface, specifically including:
    and the first electronic equipment responds to the first preset input, displays the first interface and acquires the current position information of the first electronic equipment.
  6. The method of any of claims 1-5, wherein the current location information of the first electronic device comprises: longitude and latitude information of the current position of the first electronic equipment;
    the acquiring, by the first electronic device, current location information of the first electronic device specifically includes:
    the first electronic equipment obtains the longitude and latitude information of the current position of the first electronic equipment through a satellite positioning signal.
  7. The method of any of claims 1-5, wherein the current location information of the first electronic device comprises: access point MAC addresses of one or more WiFi signals of the current position of the first electronic equipment;
    the acquiring, by the first electronic device, current location information of the first electronic device specifically includes:
    the first electronic device obtains access point MAC addresses of one or more WiFi signals through one or more WiFi signals of the current position of the first electronic device.
  8. The method of claim 6 or 7, wherein the current location information of the first electronic device further comprises: altitude information of a current position of the first electronic device;
    the first electronic device obtains current location information of the first electronic device, and the method further includes:
    the first electronic equipment acquires altitude information of a current position of the first electronic equipment.
  9. The method of claim 6, wherein before the first electronic device obtains the current location information of the first electronic device, the method further comprises:
    the first electronic device judges whether the satellite positioning service function of the first electronic device is closed, and if yes, the first electronic device opens the satellite positioning service function.
  10. A position information processing method, characterized by comprising:
    when the first electronic device is in an unconnected state:
    the first electronic equipment receives a fifth preset input of a user;
    the first electronic equipment responds to the fifth preset input and displays an emergency call interface;
    the first electronic equipment receives a sixth preset input of the user on the emergency call interface;
    the first electronic equipment responds to the sixth preset input, and displays the acquired current position information of the first electronic equipment on the emergency call interface;
    the first electronic equipment receives a seventh preset input of the user;
    and the first electronic equipment responds to the seventh preset input and calls second electronic equipment corresponding to the emergency call contact selected by the user, wherein the sixth preset input is different from the seventh preset input.
  11. The method of claim 10, further comprising:
    the first electronic equipment receives an eighth preset input of the user;
    the first electronic equipment responds to an eighth preset input of the user and displays contact information of the emergency call contact person on the emergency call interface;
    the first electronic device receives a ninth preset input of the user under the condition that the contact information of the emergency call contact is displayed on the emergency call interface;
    and the first electronic equipment responds to the ninth preset input, and sends the acquired current position information of the first electronic equipment to second electronic equipment corresponding to the emergency call contact person.
  12. The method of claim 11, further comprising:
    the first electronic device displays a second control on the first interface;
    the first electronic device receives a ninth preset input of the user, and specifically includes:
    the first electronic equipment receives ninth preset input of the user to the second control;
    the first electronic device responds to the ninth preset input, and sends the acquired current position information of the first electronic device to a second electronic device corresponding to the emergency contact person, and the method specifically includes:
    and the first electronic equipment responds to ninth preset input of the user to the second control, and sends the acquired current position information of the first electronic equipment to second electronic equipment corresponding to the emergency call contact.
  13. The method of claim 10, wherein the first electronic device, in response to the fifth input, displays an emergency call interface, specifically comprising:
    and the first electronic equipment responds to the fifth preset input, displays the emergency call interface and acquires the current position information of the first electronic equipment.
  14. The method according to claim 10, wherein the first electronic device responds to the sixth preset input, and displays the acquired current location information of the first electronic device on the emergency call interface, specifically including:
    and the first electronic equipment responds to the sixth preset input, acquires the current position information of the first electronic equipment, and displays the current position information of the first electronic equipment on the emergency call interface.
  15. The method of any of claims 10-14, wherein the current location information of the first electronic device comprises: longitude and latitude information of the current position of the first electronic equipment;
    the acquiring, by the first electronic device, current location information of the first electronic device specifically includes:
    the first electronic equipment obtains the longitude and latitude information of the current position of the first electronic equipment through a satellite positioning signal.
  16. The method of any of claims 10-14, wherein the current location information of the first electronic device comprises: access point MAC addresses of one or more WiFi signals of the current position of the first electronic equipment;
    the acquiring, by the first electronic device, current location information of the first electronic device specifically includes:
    the first electronic device obtains access point MAC addresses of one or more WiFi signals through one or more WiFi signals of the current position of the first electronic device.
  17. The method of claim 15 or 16, wherein the current location information of the first electronic device further comprises: altitude information of a current position of the first electronic device;
    the first electronic device obtains current location information of the first electronic device, and the method further includes:
    the first electronic equipment acquires altitude information of a current position of the first electronic equipment.
  18. The method of claim 15, wherein before the first electronic device obtains current location information of the first electronic device, the method further comprises:
    the first electronic device judges whether the satellite positioning service function of the first electronic device is closed, and if yes, the first electronic device opens the satellite positioning service function.
  19. An electronic device, comprising: an input device, a processor, a display, and a transceiver; wherein:
    the input device is used for receiving the input of a user and sending the received input of the user to the processor;
    the processor is configured to, when the electronic device is in an unconnected state:
    in response to receiving a first preset input of a user, instructing the display to display a first interface; the first interface comprises a call interface or a dialing interface; in response to receiving a second preset input of a user, instructing the display to display the acquired current position information of the electronic equipment on the first interface;
    and in response to receiving a third preset input of the user, instructing the transceiver to send the current position information of the electronic equipment to a second electronic equipment corresponding to the contact person selected by the user.
  20. The electronic device of claim 19, wherein the first interface is a dialing interface,
    the processor is further configured to instruct the display to display the contact information of the contact selected by the user on the first interface in response to receiving a fourth preset input of the user before responding to a third preset input of the user.
  21. The electronic device of claim 19 or 20, wherein the display is further configured to display a first control on the first interface;
    the input device is specifically configured to receive a third preset input of the user to the first control;
    the processor is specifically configured to instruct, in response to a third preset input to the first control by the user, the transceiver to send the acquired current location information of the electronic device to a second electronic device corresponding to the contact selected by the user.
  22. The electronic device of claim 19, further comprising: the positioning device is used for acquiring the current position information of the electronic equipment;
    the processor is specifically configured to, in response to the second input, acquire current location information of the electronic device through the positioning device, and instruct the display to display the acquired current location information of the electronic device on the first interface.
  23. The electronic device of claim 19, further comprising: the positioning device is used for acquiring the current position information of the electronic equipment;
    the processor is specifically configured to instruct the display screen to display the first interface in response to the first input, and acquire current location information of the electronic device through the positioning device.
  24. The electronic device according to any of claims 19-23, wherein the current location information of the electronic device is latitude and longitude information of a current location of the electronic device; the positioning device is a satellite positioning device.
  25. The electronic device of any of claims 19-23, wherein the current location information of the electronic device comprises: an access point MAC address of one or more WiFi signals of a current location of the electronic device; the positioning device comprises a WiFi module; wherein,
    the WiFi module is used for acquiring access point MAC addresses of one or more WiFi signals through one or more WiFi signals of the current position of the electronic equipment.
  26. The electronic device of claim 24 or 25, wherein the positioning device further comprises: an air pressure sensor; the current location information of the electronic device further includes: altitude information of a current position of the electronic equipment;
    the processor is further configured to acquire, through the air pressure sensor, altitude information of a current position of the electronic device.
  27. The electronic device according to claim 25, wherein the processor is further configured to determine whether a location service function of the electronic device is turned off before the current location information of the electronic device is obtained by the location device, and if so, instruct to turn on the location service function.
  28. An electronic device, comprising: an input device, a processor, a display, and a transceiver; wherein,
    the input device is used for receiving input of a user;
    the processor is used for responding to a fifth preset input of a user when the electronic equipment is in an unconnected state, and instructing the display to display an emergency call interface; responding to a sixth preset input of a user, and indicating the display to display the acquired current position information of the first electronic device on the emergency call interface;
    and responding to a seventh preset input of the user, calling a second electronic device corresponding to the emergency call contact selected by the user through the transceiver, wherein the sixth preset input is different from the seventh preset input.
  29. The electronic device of claim 28,
    the processor is further configured to instruct the display to display contact information of the emergency call contact on an emergency call interface in response to an eighth preset input of the user; and responding to a ninth preset input of the user, and instructing the transceiver to send the acquired current position information of the electronic equipment to second electronic equipment corresponding to the emergency call contact.
  30. The electronic device of claim 29, wherein the display is further configured to display a second control on the first interface;
    the processor is specifically configured to instruct, in response to a ninth input of the user for the second control, the transceiver to send the acquired current location information of the electronic device to a second electronic device corresponding to the emergency call contact.
  31. The electronic device of claim 28, further comprising: a positioning device;
    the processor is specifically configured to instruct the display device to display the emergency call interface in response to the fifth input, and acquire current location information of the electronic device through the positioning device.
  32. The electronic device of claim 28, further comprising: a positioning device;
    the processor is specifically configured to, in response to the sixth input, obtain current location information of the electronic device through the positioning device, and instruct the display device to display the current location information of the electronic device on the emergency call interface.
  33. The electronic device of any of claims 28-32, wherein the current location information of the electronic device comprises: longitude and latitude information of the current position of the electronic equipment; the positioning device includes: a satellite positioning device.
  34. The electronic device of any of claims 28-32, wherein the current location information of the electronic device comprises: access point MAC addresses of one or more WiFi signals of the current position of the electronic equipment; the positioning device includes: a WiFi module;
    the WiFi module is used for acquiring access point MAC addresses of one or more WiFi signals through one or more WiFi signals of the current position of the electronic equipment.
  35. The electronic device of claim 33 or 34, wherein the current location information of the electronic device further comprises: altitude information of a current position of the electronic equipment; the positioning device further comprises an air pressure sensor;
    the processor is further configured to acquire, through the air pressure sensor, altitude information of a current position of the electronic device.
  36. The electronic device of claim 33, wherein the processor is further configured to determine whether a location service function of the electronic device is turned off before the current location information of the electronic device is obtained by the location device, and if so, instruct to turn on the location service function.
  37. An electronic device, comprising: one or more processors, one or more memories; the one or more memories coupled with the one or more processors for storing computer program code comprising computer instructions which, when executed by the one or more processors, cause the electronic device to perform the method of location information processing of any of claims 1-9 or 10-18.
  38. A computer storage medium characterized by comprising computer instructions that, when run on an electronic device, cause the electronic device to perform the location information processing method according to any one of claims 1 to 9 or 10 to 18.
  39. A computer program product, characterized in that, when the computer program product is run on a computer, it causes the computer to execute the position information processing method according to any one of claims 1 to 9 or any one of claims 10 to 18.
CN201880097975.7A 2018-09-30 2018-09-30 Position information processing method and related device Pending CN112840680A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/109223 WO2020062308A1 (en) 2018-09-30 2018-09-30 Location information processing method and related device

Publications (1)

Publication Number Publication Date
CN112840680A true CN112840680A (en) 2021-05-25

Family

ID=69951025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880097975.7A Pending CN112840680A (en) 2018-09-30 2018-09-30 Position information processing method and related device

Country Status (2)

Country Link
CN (1) CN112840680A (en)
WO (1) WO2020062308A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297160A (en) * 2022-09-19 2022-11-04 荣耀终端有限公司 Method for transmitting position information, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090005068A1 (en) * 2007-06-28 2009-01-01 Apple Inc. Location-Based Emergency Information
CN103945354A (en) * 2014-05-13 2014-07-23 上海斐讯数据通信技术有限公司 Intelligent emergency call method, intelligent emergency call system and electronic device
US20140315513A1 (en) * 2013-04-19 2014-10-23 Tencent Technology (Shenzhen) Company Limited Method for making emergency call, mobile electronic device and computer readable storage medium
CN104219625A (en) * 2014-08-25 2014-12-17 小米科技有限责任公司 Position information processing method, device and mobile terminal
CN106255063A (en) * 2016-08-22 2016-12-21 北京小米移动软件有限公司 Address sending method and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854583B (en) * 2009-03-30 2015-01-28 中兴通讯股份有限公司 Location-based service provide method
CN104105055A (en) * 2013-04-11 2014-10-15 中国移动通信集团公司 Communication processing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090005068A1 (en) * 2007-06-28 2009-01-01 Apple Inc. Location-Based Emergency Information
US20140315513A1 (en) * 2013-04-19 2014-10-23 Tencent Technology (Shenzhen) Company Limited Method for making emergency call, mobile electronic device and computer readable storage medium
CN103945354A (en) * 2014-05-13 2014-07-23 上海斐讯数据通信技术有限公司 Intelligent emergency call method, intelligent emergency call system and electronic device
CN104219625A (en) * 2014-08-25 2014-12-17 小米科技有限责任公司 Position information processing method, device and mobile terminal
CN106255063A (en) * 2016-08-22 2016-12-21 北京小米移动软件有限公司 Address sending method and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297160A (en) * 2022-09-19 2022-11-04 荣耀终端有限公司 Method for transmitting position information, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2020062308A1 (en) 2020-04-02

Similar Documents

Publication Publication Date Title
CN112231025B (en) UI component display method and electronic equipment
CN113885759B (en) Notification message processing method, device, system and computer readable storage medium
CN110401767B (en) Information processing method and apparatus
CN113961157B (en) Display interaction system, display method and equipment
CN111602379A (en) Voice communication method, electronic equipment and system
CN113329047A (en) Distributed service scheduling method and related device
CN114125130B (en) Method for controlling communication service state, terminal device and readable storage medium
CN112237031B (en) Method for accessing intelligent household equipment to network and related equipment
CN112335294B (en) Emergency call method and user terminal
CN112543447A (en) Device discovery method based on address list, audio and video communication method and electronic device
CN111602108A (en) Application icon display method and terminal
CN114115770A (en) Display control method and related device
CN111556479B (en) Information sharing method and related device
CN114995715B (en) Control method of floating ball and related device
CN111372329B (en) Connection establishing method and terminal equipment
CN109756614A (en) A kind of method and relevant apparatus showing contact person
CN114064160A (en) Application icon layout method and related device
CN112532508B (en) Video communication method and video communication device
WO2020062308A1 (en) Location information processing method and related device
CN114765768A (en) Network selection method and equipment
CN113934352B (en) Notification message processing method, electronic device and computer-readable storage medium
CN115297530B (en) Network connection method and device
CN115048193A (en) Multi-device distributed scheduling method and related devices
CN116700556A (en) Card generation method and related device
CN115857964A (en) Application program installation method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210525

RJ01 Rejection of invention patent application after publication