Communication method, electronic equipment and storage medium

A communication method for electronic devices that prompts users to confirm satellite mode entry and uses separate antennas for network searches, addressing power consumption issues and enhancing connectivity in areas without cellular coverage.

CN119071884APending Publication Date: 2024-12-03HONOR DEVICE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411558039.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-04
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Electronic devices experience increased power consumption when actively connecting to satellite networks due to the higher power requirements of satellite communication, especially in areas without cellular network coverage.

Method used

Implementing a communication method that displays a prompt on the device's screen to ask for user confirmation before switching to satellite mode, allowing the device to connect to satellite networks only upon user consent, and using separate antennas for cellular and satellite network searches to optimize power usage.

Benefits of technology

Reduces unnecessary power consumption by minimizing active satellite connections and optimizing network search efficiency, ensuring timely cellular network connectivity when available.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071884A_ABST
    Figure CN119071884A_ABST
Patent Text Reader

Abstract

The invention provides a communication method, electronic equipment and a storage medium, under the condition that the position of the electronic equipment does not cover a cellular network, if it is determined that the position of the electronic equipment belongs to a preset position set, first information is displayed on a display screen, and the first information is used for indicating whether to perform a first mode or not. Wherein the preset position set can comprise mountainous regions, woods, gobi and other suburbs. When the electronic equipment can determine that the position of the electronic equipment belongs to the preset position set, that is, the electronic equipment can acquire the position of the electronic equipment through a satellite at present, so that the electronic equipment can communicate through the satellite in a large probability. According to the application, the first information used for indicating whether to enter the first mode is displayed on the display screen, and the electronic equipment responds to the confirmation instruction of the first information and is connected with the satellite network only after the confirmation instruction for the first information is received, so that the power consumption increased by the electronic equipment due to active connection with the satellite for communication can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a communication method, electronic equipment and storage medium. Background Art

[0002] When users are in areas without cellular networks, such as deserts, oceans, or remote suburbs, electronic devices are prone to network disconnection, that is, disconnection from the cellular network. When electronic devices are disconnected from the network, they can use satellites to communicate by actively connecting to satellites. However, this will increase the power consumption of electronic devices. Summary of the invention

[0003] The embodiments of the present application provide a communication method, an electronic device, and a storage medium, which can reduce the power consumption of the electronic device.

[0004] In a first aspect, the present application provides a communication method, which is applied to an electronic device, wherein the electronic device includes a display screen, and the method includes: when the location of the electronic device is not covered by a cellular network, if it is determined that the location of the electronic device belongs to a preset location set, first information is displayed on the display screen, and the first information is used to indicate whether to enter a first mode; in response to a confirmation instruction of the first information, connecting to a satellite network.

[0005] In the embodiment of the present application, when the location of the electronic device is not covered by the cellular network, that is, when the cellular network of the electronic device is lost or the electronic device cannot communicate through the cellular network, if it is determined that the location of the electronic device belongs to the preset location set, a first message is displayed on the display screen, and the first message is used to indicate whether to perform the first mode. Among them, the preset location set may include suburban areas such as mountains, woods and Gobi. When the electronic device can determine that the location of the electronic device belongs to the preset location set, that is, the electronic device can currently obtain the location of the electronic device through a satellite, which also means that the electronic device is likely to communicate through a satellite. In the current scheme, the electronic device will actively connect to the satellite and communicate through the satellite when the cellular network is lost. However, the power consumption of satellite communication is much greater than that of cellular communication, and actively connecting to the satellite through satellite communication will increase the power consumption of the electronic device without the user's knowledge. The embodiment of the present application will display the first information on the display screen to indicate whether to enter the first mode. After receiving the confirmation instruction for the first information, the electronic device will respond to the confirmation instruction of the first information and connect to the satellite network. Among them, the first mode can also be called a suburban mode, that is, when it is in a suburban area in the preset location set, it may communicate through a satellite to increase the power consumption of the electronic device. Connecting to the satellite network only in response to a confirmation instruction of the first information can reduce the power consumption of the electronic device due to actively connecting to the satellite for communication.

[0006] In combination with the first aspect, the method further includes: connecting to the cellular network when the electronic device is located in a location covered by the cellular network.

[0007] In an embodiment of the present application, when the location of the electronic device is covered by a cellular network, connecting to the cellular network instead of continuing to connect to the satellite network can further reduce the power consumption of the electronic device.

[0008] In combination with the first aspect, the method further includes: searching for a satellite network through the first antenna, and searching for a cellular network through the second antenna.

[0009] In the embodiment of the present application, different antennas are used to search different networks respectively, which can simplify the control of the electronic device over the network search.

[0010] In combination with the first aspect, the method further includes: searching for a satellite network at a first moment, and searching for a cellular network at a second moment.

[0011] In the embodiment of the present application, different networks are searched at different times, which can improve the performance of network search.

[0012] In combination with the first aspect, the method also includes: when a satellite network is searched, displaying second information on the display screen of the electronic device, the second information is used to indicate that the satellite signal is normal; when a satellite network is not searched, displaying third information on the display screen of the electronic device, the third information is used to indicate that there is no satellite signal.

[0013] In combination with the first aspect, the method further includes: searching for a cellular network in response to a denial instruction of the first information.

[0014] In an embodiment of the present application, in response to a denial instruction for the first information, that is, the user may not be in a hurry to use the network when the cellular network is disconnected, and thus chooses not to enter the first mode. In this case, searching for the cellular network instead of the satellite network can, on the one hand, ensure that the user is connected to the cellular network in time, and on the other hand, since there is no need to perform a satellite network search, the performance of the cellular network search can be improved.

[0015] In combination with the first aspect, the electronic device further includes a positioning module, the positioning module is used to determine the position of the electronic device, and the method further includes: if the positioning module fails to determine the position of the electronic device, searching for a cellular network.

[0016] In the embodiment of the present application, if the positioning module fails to determine the location of the electronic device, that is, the electronic device cannot currently obtain the location of the electronic device through the satellite, which means that the electronic device is unlikely to communicate through the satellite. In this case, searching the cellular network instead of the satellite network can ensure that the user is connected to the cellular network in time, and on the other hand, because there is no need to search the satellite network, the performance of the cellular network search can be improved.

[0017] In a second aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a display screen and a connection module, The display screen is used for displaying first information indicating whether to enter the first mode if it is determined that the location of the electronic device belongs to a preset location set when the location of the electronic device is not covered by a cellular network; The connection module is used to connect to a satellite network in response to a confirmation instruction of the first information.

[0018] Optionally, the connection module is also used to connect to a cellular network when the electronic device is located where there is cellular network coverage.

[0019] Optionally, the electronic device may further include a search module, configured to search for a satellite network via the first antenna; and configured to search for a cellular network via the second antenna.

[0020] Optionally, the search module is used to search for a satellite network at a first moment; and to search for a cellular network at a second moment.

[0021] Optionally, the display screen is further used to display second information on the display screen of the electronic device when a satellite network is searched, where the second information is used to indicate that the satellite signal is normal; It is also used to display third information on the display screen of the electronic device when no satellite network is searched, and the third information is used to indicate that there is no satellite signal.

[0022] Optionally, the search module is further configured to search the cellular network in response to a denial instruction of the first information.

[0023] Optionally, the electronic device further includes a positioning module for determining the location of the electronic device; and a search module for searching a cellular network if the positioning module fails to determine the location of the electronic device.

[0024] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors and a memory; the memory is coupled to the one or more processors, the memory is used to store computer program code, the computer program code includes computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method in the first aspect or any possible implementation of the first aspect.

[0025] In a fourth aspect, the present application provides a chip system comprising at least one processor for supporting the implementation of the functions involved in the above-mentioned first aspect and any possible implementation method of the first aspect.

[0026] In one possible design, the chip system also includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.

[0027] The chip system may be composed of the chip, or may include the chip and other discrete devices.

[0028] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on an electronic device, enable the electronic device to execute a method as in the first aspect or any possible implementation of the first aspect.

[0029] The beneficial effects of the technical solutions provided in the second to fifth aspects of the present application can refer to the beneficial effects of the technical solutions provided in the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0031] Figure 1A A schematic structural diagram of an electronic device 100 is shown; Figure 1B is a software structure block diagram of the electronic device 100 according to an embodiment of the present application; Figure 2 A flow chart of a communication method provided in an embodiment of the present application; Figure 3 A schematic diagram of an interface for displaying first information provided in an embodiment of the present application; Figure 4A A schematic diagram of a network search method provided in an embodiment of the present application; Figure 4B A schematic diagram of another network search method provided in an embodiment of the present application; Figure 4C A schematic diagram of another network search method provided in an embodiment of the present application; Figure 5 A schematic diagram of an interface for displaying first information in a notification bar provided in an embodiment of the present application; Figure 6 A schematic diagram of another interface for displaying first information in a notification bar provided in an embodiment of the present application; Figure 7 A flowchart of another communication method provided in an embodiment of the present application; Figure 8A schematic diagram of the composition of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0032] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear indication to the contrary in the context. It should also be understood that the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items.

[0033] The following introduces an embodiment of an electronic device and a user interface for the electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player function, such as a mobile phone, a tablet computer, a wearable electronic device with a wireless communication function (such as a smart watch), etc. Exemplary embodiments of portable electronic devices include but are not limited to portable electronic devices equipped with iOS®, Android®, Microsoft® or other operating systems. The above-mentioned portable electronic device may also be other portable electronic devices, such as a laptop computer (Laptop) with a touch-sensitive surface or a touch panel. It should also be understood that in some other embodiments, the above-mentioned electronic device may not be a portable electronic device, but a desktop computer with a touch-sensitive surface or a touch panel.

[0034] The term "user interface (UI)" in the specification, claims and drawings of this application refers to the medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. The user interface of an application is source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on the terminal device, and finally presented as content that the user can recognize, such as pictures, text, buttons and other controls. A control, also called a widget, is a basic element of a user interface. Typical controls include a toolbar, menu bar, text box, button, scrollbar, picture and text. The properties and contents of controls in the interface are defined by tags or nodes, such as XML through <textview> 、 <imgview> 、 <videoview>Nodes such as .js are used to specify the controls contained in the interface. A node corresponds to a control or attribute in the interface. After parsing and rendering, the node is presented as user-visible content. In addition, many applications, such as hybrid applications, usually also contain web pages in their interfaces. A web page, also known as a page, can be understood as a special control embedded in the application interface. A web page is source code written in a specific computer language, such as hypertext markup language (GTML), cascading style sheets (CSS), JavaScript (JS), etc. The web page source code can be loaded and displayed as user-recognizable content by a browser or a web page display component with similar functions to a browser. The specific content contained in a web page is also defined by tags or nodes in the web page source code. For example, GTML is defined by 、 、 <video> 、 <canvas>To define the elements and attributes of a web page.

[0035] The most common form of user interface is graphical user interface (GUI), which refers to a user interface related to computer operation that is displayed in a graphical manner. It can be an icon, window, control or other interface element displayed on the display screen of an electronic device, where a control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets and other visual interface elements.

[0036] First, an exemplary electronic device 100 provided in the following embodiments of the present application is introduced.

[0037] Figure 1A A schematic structural diagram of an electronic device 100 is shown.

[0038] The electronic device 100 may include a positioning module 100A, 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, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0039] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0040] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0041] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0042] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., 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), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0043] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0044] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering processing, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of the signal, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2. Exemplarily, the wireless communication module 160 may include a Bluetooth module, a Wi-Fi module, etc.

[0045] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. 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).

[0046] The electronic device 100 can realize the display function through the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute instructions to generate or change display information.

[0047] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0048] The positioning module 100A is used to obtain the position of the electronic device. The positioning module can be a global positioning system (GPS) or other global navigation satellite systems (GNSS).

[0049] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a central processing unit (CPU), a graphics processing unit (GPU), a neural-network processing unit (NPU), a modem processor, an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, etc. Among them, different processing units may be independent devices or integrated in one or more processors. In some embodiments, the electronic device 100 may also include one or more processors 110.

[0050] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0051] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the electronic device 100.

[0052] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (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.

[0053] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups 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 through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.

[0054] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.

[0055] The PCM interface can 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 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0056] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.

[0057] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to realize the camera function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to realize the display function of the electronic device 100.

[0058] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can 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, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0059] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.

[0060] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only for illustrative purposes and does not constitute a structural limitation on the electronic device 100. In other embodiments, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0061] The charging management module 140 is used 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 through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.

[0062] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.

[0063] The electronic device 100 can realize the camera function through the camera 193, ISP, video codec, GPU, display screen 194, application processor AP, neural network processor NPU, etc.

[0064] The camera 193 can be used to collect color image data and depth data of the photographed object. The ISP can be used to process the color image data collected by the camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, etc. of the image. The ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP can be set in the camera 193.

[0065] In some embodiments, the camera 193 may be composed of a color camera module and a 3D sensing module.

[0066] In some embodiments, the photosensitive element of the camera of the color camera module can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.

[0067] In some embodiments, the 3D sensing module may be a time of flight (TOF) 3D sensing module or a structured light 3D sensing module. Among them, structured light 3D sensing is an active depth sensing technology, and the basic components of the structured light 3D sensing module may include an infrared emitter, an IR camera module, etc. The working principle of the structured light 3D sensing module is to first emit a light spot of a specific pattern to the object being photographed, and then receive the light spot pattern coding (light coding) on ​​the surface of the object, and then compare the similarities and differences with the original projected light spot, and use the triangulation principle to calculate the three-dimensional coordinates of the object. The three-dimensional coordinates include the distance between the electronic device 100 and the object being photographed. Among them, TOF 3D sensing is also an active depth sensing technology, and the basic components of the TOF 3D sensing module may include an infrared emitter, an IR camera module, etc. The working principle of the TOF 3D sensing module is to calculate the distance (i.e., depth) between the TOF 3D sensing module and the object being photographed by the time when the infrared rays return to obtain a 3D depth map.

[0068] Structured light 3D sensing modules can also be used in face recognition, somatosensory game consoles, industrial machine vision inspection and other fields. TOF 3D sensing modules can also be used in game consoles, augmented reality (AR) / virtual reality (VR) and other fields.

[0069] In other embodiments, the camera 193 may also be composed of two or more cameras. The two or more cameras may include a color camera, which can be used to collect color image data of the photographed object. The two or more cameras may use stereo vision technology to collect depth data of the photographed object. Stereo vision technology is based on the principle of human eye parallax. Under natural light, two or more cameras are used to capture images of the same object from different angles, and then triangulation and other operations are performed to obtain the distance information between the electronic device 100 and the photographed object, that is, the depth information.

[0070] In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1. Specifically, the electronic device 100 may include 1 front camera 193 and 1 rear camera 193. The front camera 193 may generally be used to collect color image data and depth data of the photographer facing the display screen 194, and the rear camera 193 may be used to collect color image data and depth data of the subject (such as a person, scenery, etc.) facing the photographer.

[0071] In some embodiments, the CPU or GPU or NPU in the processor 110 can process the color image data and depth data collected by the camera 193. In some embodiments, the NPU can identify the color image data collected by the camera 193 (specifically the color camera module) through a neural network algorithm based on the skeleton point recognition technology, such as a convolutional neural network algorithm (CNN), to determine the skeleton points of the photographed person. The CPU or GPU can also run a neural network algorithm to determine the skeleton points of the photographed person according to the color image data. In some embodiments, the CPU or GPU or NPU can also be used to confirm the figure of the photographed person (such as body proportions, fatness and thinness of body parts between skeleton points) according to the depth data collected by the camera 193 (specifically the 3D sensing module) and the identified skeleton points, and can further determine the body beautification parameters for the photographed person, and finally process the photographed image of the photographed person according to the body beautification parameters, so that the body shape of the photographed person in the photographed image is beautified. How to perform body beautification processing on the image of the photographed person based on the color image data and depth data collected by the camera 193 will be described in detail in subsequent embodiments, which will not be described in detail here.

[0072] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0073] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG)-1, MPEG-2, MPEG-3, MPEG-4, etc.

[0074] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0075] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity 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, data such as music, photos, and videos can be stored in the external memory card.

[0076] The internal memory 121 can be used to store one or more computer programs, which include instructions. The processor 110 can run the above instructions stored in the internal memory 121, so that the electronic device 100 executes the photo preview method of the electronic device provided in some embodiments of the present application, as well as various functional applications and data processing. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the electronic device 100. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0077] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0078] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.

[0079] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.

[0080] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.

[0081] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound by putting his mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to realize collection of sound signals, noise reduction, identification of sound source, realization of directional recording function, etc.

[0082] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.

[0083] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0084] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.

[0085] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.

[0086] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.

[0087] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the electronic device and is applied to applications such as horizontal and vertical screen switching and pedometers.

[0088] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.

[0089] 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 outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. 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 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.

[0090] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.

[0091] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.

[0092] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.

[0093] The touch sensor 180K may also be referred to as a touch panel or a touch-sensitive surface. 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, also referred to as a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor may transmit the detected touch operations to an application processor to determine the type of touch event. Visual output related to the touch operations may be provided through the display screen 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100, at a position different from that of the display screen 194.

[0094] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.

[0095] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.

[0096] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0097] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power changes, messages, missed calls, notifications, etc.

[0098] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0099] Figure 1A The electronic device 100 shown in the example can display the various user interfaces described in the following embodiments through the display screen 194. The electronic device 100 can detect touch operations in various user interfaces through the touch sensor 180K, such as click operations in various user interfaces (such as touch operations on icons, double-click operations), and for example, upward or downward sliding operations in various user interfaces, or operations of performing circle gestures, etc. In some embodiments, the electronic device 100 can detect motion gestures performed by the user holding the electronic device 100, such as shaking the electronic device, through the gyroscope sensor 180B, the acceleration sensor 180E, etc. In some embodiments, the electronic device 100 can detect non-touch gesture operations through the camera 193 (such as a 3D camera, a depth camera).

[0100] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. In the embodiment of the present invention, the Android system of the layered architecture is taken as an example to exemplify the software structure of the electronic device 100.

[0101] Figure 1B It is a software structure block diagram of the electronic device 100 according to an embodiment of the present application.

[0102] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0103] The application layer can include a series of application packages.

[0104] like Figure 1B As shown, the application package may include camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.

[0105] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0106] like Figure 1B As shown, the application framework layer may include a window manager, a content provider, a view system, an event manager, a phone manager, a resource manager, a notification manager, and the like.

[0107] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0108] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0109] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0110] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0111] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0112] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0113] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0114] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.

[0115] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0116] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0117] The surface manager is used to manage the display subsystem and provide the fusion of 2D and 3D layers for multiple applications.

[0118] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, G.264, MP3, AAC, AMR, JPG, PNG, etc.

[0119] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0120] A 2D graphics engine is a drawing engine for 2D drawings.

[0121] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0122] Figure 1B The software system shown involves application presentation using sharing capabilities (such as gallery, file manager), instant sharing module providing sharing capabilities, print service (print service) and print spooler providing printing capabilities, as well as the application framework layer providing printing framework, WLAN service, Bluetooth service, and the kernel and bottom layer providing WLAN Bluetooth capabilities and basic communication protocols.

[0123] When users are in areas without cellular networks, such as deserts, oceans, or remote suburbs, electronic devices are prone to network disconnection, that is, disconnection from the cellular network. When electronic devices are disconnected from the network, they can use satellites to communicate by actively connecting to satellites. However, this will increase the power consumption of electronic devices.

[0124] In view of the above problems, the embodiment of the present application provides a communication method, which enters the first mode only after receiving a confirmation instruction for the first information, searches for satellites and connects, and does not actively connect to satellites when the cellular network is disconnected, thereby reducing the power consumption of electronic devices. Figure 2-Figure 7 Related instructions.

[0125] See also Figure 2 , Figure 2 A flow chart of a communication method provided in an embodiment of the present application.

[0126] like Figure 2 As shown, the communication method may include but is not limited to the following steps S201 and S202. The method can be applied to electronic devices, or can be executed by components configured in electronic devices (such as chips, chip systems, etc.), or can be implemented by logic modules or software that can implement all or part of the functions of electronic devices. This application does not limit this.

[0127] Step S201: when the location of the electronic device is not covered by the cellular network, if it is determined that the location of the electronic device belongs to a preset location set, first information is displayed on a display screen.

[0128] The electronic device may include a positioning module, and the positioning module is used to determine the position of the electronic device.

[0129] If the location of the electronic device is not covered by the cellular network, it means that the electronic device cannot connect to the cellular network, and thus cannot use the cellular network for communication. The location of the electronic device is not covered by the cellular network, which can also be called the electronic device being disconnected from the cellular network. In the case where the location of the electronic device is not covered by the cellular network, the location of the electronic device can be determined by a positioning module. The positioning module can be a global positioning system (GPS) or other global navigation satellite system (GNSS), which is not limited in the embodiments of the present application.

[0130] If the location of the electronic device belongs to a preset location set, the first information is displayed on the display screen of the electronic device. The preset location set may include suburban areas such as mountains, woods, and Gobi. The preset location set may be predefined or preconfigured. In an embodiment of the present application, the first information is used to indicate whether to enter the first mode. The first mode may also be referred to as a suburban mode, that is, when in a suburban area in the preset location set, communication may be performed via satellite, increasing the power consumption of the electronic device.

[0131] When the electronic device can determine that the position of the electronic device belongs to the preset position set, that is to say, the electronic device can currently obtain the position of the electronic device through the satellite, which means that the electronic device is likely to communicate through the satellite. However, the power consumption of satellite communication is much greater than that of cellular communication, and actively connecting to the satellite through satellite communication will increase the power consumption of the electronic device without the user's knowledge. Therefore, in the embodiment of the present application, when the positioning module can obtain the position of the electronic device and determine that the position of the electronic device belongs to the preset position set, it will not directly actively search for the satellite and connect, but display the first information on the display screen, and ask the user whether to enter the first mode through the first information. In this way, the problem of increasing the power consumption of the electronic device due to active connection can be avoided. Among them, the purpose of setting the preset position set includes determining whether the electronic device is in a suburban area when the cellular network is disconnected, so as to reduce the situation where the electronic device cannot connect to the satellite network when it is in a basement, tunnel, high-speed rail, elevator, etc. when the cellular network is disconnected, but the first information is displayed on the display screen to disturb the user. In a possible implementation, if it is determined that the position of the electronic device does not belong to the preset position set, the cellular network is searched, and the first information is not displayed on the display screen. Thereby, the disturbance to the user can be reduced.

[0132] like Figure 3 As shown, Figure 3 A schematic diagram of an interface for displaying first information provided in an embodiment of the present application.

[0133] On the display screen 300, when the electronic device has no cellular network as shown in the icon 301, a message 302 "Do you want to enter the first mode?" may be displayed in a pop-up window 305. The message 302 "Do you want to enter the first mode?" may also be referred to as the first message 302. Displaying the first message 302 in the form of a pop-up window not only facilitates the user to promptly understand that the current network status is no cellular network, but also facilitates the user to promptly select whether to search and connect to the satellite network.

[0134] In actual applications, when the location of the electronic device is not covered by the cellular network, the positioning module may not be able to obtain the location of the electronic device. For example, when the electronic device is located in an underground garage, the cellular network may not be covered, and the positioning module cannot obtain the location of the electronic device through satellites such as GPS, which means that the electronic device may not be able to connect to the satellite network at this time. Therefore, in one possible implementation, if the positioning module fails to determine the location of the electronic device, the cellular network is searched so that the location of the electronic device can be connected to the cellular network in time when it enters the area covered by the cellular network.

[0135] In a possible implementation, when a satellite network is found, second information is displayed on a display screen of the electronic device. The second information is used to indicate that the satellite signal is normal. When a satellite network is not found, third information is displayed on a display screen of the electronic device. The third information is used to indicate that there is no satellite signal.

[0136] The second information or the third information can be displayed on Figure 3 The status bar where the icon 301 is located. And / or, it can be as follows Figure 3 The second information or the third information is displayed in the form of a pop-up window 305 instead of the first information. After receiving a close instruction for the pop-up window, the pop-up window displaying the second information or the third information is closed. Among them, receiving a close instruction for the pop-up window may be receiving an operation instruction for closing a control on the pop-up window or receiving an operation instruction for a non-pop-up window area. Among them, the operation instruction includes but is not limited to single-click, double-click, long press, left swipe and right swipe, etc., and the embodiment of the present application does not make any limitation on this.

[0137] In a possible implementation, when the electronic device is located at a location where there is cellular network coverage, the cellular network is connected.

[0138] For example, if the electronic device fails to connect to the satellite but the location of the electronic device is covered by a cellular network, the electronic device may connect to the cellular network. Alternatively, if the electronic device successfully connects to the satellite but the location of the electronic device is covered by a cellular network, the electronic device may switch from the connected satellite network to the cellular network. Further, after connecting to the cellular network, the search for the satellite network may be stopped.

[0139] The electronic device may search for a cellular network and / or a satellite network in the following manner.

[0140] Method 1: The electronic device may search for a satellite network through a first antenna and search for a cellular network through a second antenna.

[0141] Method 2: The electronic device may search for a satellite network at a first moment and search for a cellular network at a second moment.

[0142] For method 1, Figure 1A As shown, one or more antennas 1 are used to search for cellular networks, and one or more antennas 2 are used to search for satellite networks. In this example, the first antenna may refer to one or more antennas 2, and the second antenna may refer to one or more antennas 1.

[0143] For method 2, Figure 1A As shown, one or more antennas 1 and one or more antennas 2 can be used to search for both satellite networks and cellular networks.

[0144] See also Figure 4A , Figure 4B as well as Figure 4C , are schematic diagrams of a network search method provided in an embodiment of the present application. Figure 4A , Figure 4B as well as Figure 4C In the figure, the time indicated by the slash represents the first moment of searching for the satellite network, and the time indicated by the grid represents the second moment of searching for the cellular network.

[0145] See also Figure 4A , which is a network search method corresponding to method 1, different antennas can be used to search the satellite network and the cellular network respectively, so the satellite network search and the cellular network search can be performed simultaneously.

[0146] See also Figure 4B and Figure 4C , which is a network search method corresponding to mode 2, the same antenna can be used to search the satellite network and search the cellular network, so the search for the satellite network and the search for the cellular network are performed in time sharing.

[0147] The electronic device may perform a cyclic search according to a first cycle, wherein the first cycle may include N first moments and M second moments. Both N and M are positive integers. The first moment is a moment for searching a satellite network, and the second moment is a moment for searching a cellular network.

[0148] In one example, the value of N is 3 and the value of M is 2. Figure 4A As shown, after searching for satellite networks at three first moments, the electronic device searches for cellular networks at two second moments. After searching for cellular networks at two second moments, the electronic device searches for satellite networks three times at three first moments. That is, after searching for satellite networks at three first moments, the electronic device searches for cellular networks at two second moments, and then continues to search for satellite networks at three first moments, and so on.

[0149] In another example, the values ​​of N and M are both 1, then Figure 4B As shown, the electronic device searches for the satellite network at a first moment and then searches for the cellular network at a second moment. After searching for the cellular network at a second moment, the electronic device searches for the satellite network at a first moment. That is, the satellite network search and the cellular network search are performed alternately.

[0150] Step S202: connecting to a satellite network in response to a confirmation instruction of the first information.

[0151] For example, if the user needs to search for a satellite network when there is no cellular network, Figure 3 As shown, the user can operate the "yes" control 303 of the first information (for example, single-click, double-click or long press, etc.), the electronic device will receive a confirmation instruction corresponding to the "yes" control 303, and search and connect to the satellite network in response to the confirmation instruction of the first information.

[0152] In a possible implementation, in response to a negative instruction of the first information, a cellular network is searched.

[0153] For example, if the user does not have a cellular network and does not need to search for a satellite network, Figure 3 As shown, the user can operate the "No" control 304 of the first information (for example, single-click, double-click or long-press, etc.), and the electronic device will receive a denial instruction corresponding to the "No" control 304, and respond to the denial instruction of the first information, not search for satellite networks, and keep searching for cellular networks. Optionally, the electronic device responds to the denial instruction of the first information, and may also include the case where no confirmation instruction is received within a preset time. For example, Figure 3 As shown, within a preset time after the electronic device displays a pop-up window of the first information on the display screen, the electronic device does not receive an operation of the "Yes" control 303 for the first information and does not receive an operation of the "No" control 304 for the first information, which is equivalent to the electronic device receiving a denial instruction. The electronic device can search the cellular network in response to the denial instruction of the first information.

[0154] In practical applications, in response to the denial instruction of the first information, after not entering the first mode, Figure 3 The pop-up window 305 showing the first information will disappear. After that, if the user wants to search for a satellite network and communicate via the satellite network, the user often needs to click into the setting control and modify the network setting to search and connect to the satellite.

[0155] Therefore, in a possible implementation, further, in response to a denial instruction of the first information, the first information may be displayed in a notification bar.

[0156] See also Figure 5 , Figure 5 A schematic diagram of an interface for displaying first information in a notification bar provided in an embodiment of the present application.

[0157] like Figure 5 As shown, the notification message card 500 displays a message 501 "There is currently no cellular network, do you want to enter the first mode?" Figure 5 In the example, the message "There is no cellular network currently, do you want to enter the first mode?" 501 may also be referred to as the first information 501. If the user operates the first information 501 (for example, single-click, double-click, or long-press, etc.), the electronic device displays the following on the display screen after receiving the operation instruction for the first information 501. Figure 3 The interface shown in the figure can be Figure 3 The interface shown confirms whether to enter the first mode, that is, whether to search and connect to the satellite network.

[0158] See also Figure 6 , Figure 6 A schematic diagram of another interface for displaying first information in a notification bar provided in an embodiment of the present application.

[0159] like Figure 6 As shown, the notification message card 600 displays a message 601 "There is currently no cellular network, do you want to enter the first mode?", as well as a "yes" control 602 and a "no" control 603 for the first information 601. Figure 6 The message "There is no cellular network currently, do you want to enter the first mode?" 601 in the figure can also be called the first information 601. If the user operates the first information 601 (for example, single-click, double-click or long-press, etc.), after the electronic device receives the operation instruction for the first information 601, the display screen of the electronic device displays the following information: Figure 3 The interface shown in the figure can be Figure 3 The interface shown confirms whether to enter the first mode, that is, whether to search and connect to the satellite network. If the user operates the "yes" control 602 (for example, single-click, double-click, or long-press, etc.), the electronic device will receive the confirmation instruction corresponding to the "yes" control 602, and search and connect to the satellite network in response to the confirmation instruction of the first information 601. If the user operates the "no" control 603 (for example, single-click, double-click, or long-press, etc.), the electronic device will receive the denial instruction corresponding to the "no" control 603, and respond to the denial instruction of the first information 601, not search for the satellite network, and keep searching for the cellular network. In this way, the satellite network can be searched and connected quickly.

[0160] See also Figure 7 , Figure 7 A flow chart of another communication method provided in an embodiment of the present application. The method can be applied to an electronic device, or can be executed by a component (such as a chip, a chip system, etc.) configured in the electronic device, or can be implemented by a logic module or software that can implement all or part of the functions of the electronic device, and the present application does not limit this. Figure 7 The method shown may include but is not limited to the following steps S701 to S709.

[0161] Step S701: when the cellular network is disconnected, start the positioning module for positioning.

[0162] Among them, cellular network loss can be understood as the location of the electronic device is not covered by the cellular network, so that the electronic device cannot connect to the cellular network and use the cellular network to communicate. At this time, it can be called the electronic device cellular network loss. In the case of cellular network loss, the positioning module of the electronic device can be started to locate the position of the electronic device. Among them, the positioning module can be a global positioning system (Global Positioning System, GPS) or other global navigation satellite system (global navigation satellite system, GNSS), which is not limited in the embodiments of the present application.

[0163] Step S702, determining whether the positioning module fails in positioning.

[0164] Since the positioning module needs to locate the electronic device through satellites, such as GPS, if the positioning module fails to determine the location of the electronic device, it means that the positioning module is currently unable to obtain the location of the electronic device through satellites, which means that the electronic device is most likely unable to connect to the satellite and cannot communicate through the satellite.

[0165] If the positioning module fails to locate, step S703 is executed. If the positioning module succeeds, step S704 is executed. In step S703, the cellular network is searched, and no other steps are executed. In step S704, the display screen displays the first information, and the first information is used to indicate whether to enter the first mode.

[0166] After step S704, step S705 may be executed to determine whether a confirmation instruction is received.

[0167] It can be understood that the confirmation instruction is a confirmation instruction for the first information. If the confirmation instruction is not received, step S703 can be executed. If the confirmation instruction is received, step S706 can be executed to determine whether the cellular network is disconnected.

[0168] If the cellular network is not disconnected, step S703 may be executed. If the cellular network is disconnected, step S707 may be executed to determine whether a satellite network is found.

[0169] If a satellite network is found, step S708 may be executed, and the display screen displays the second information.

[0170] The second information is used to indicate that the satellite signal is normal. If the satellite signal is normal, it means that the satellite network has been searched and connected successfully.

[0171] If no satellite network is found, step S709 is executed, and the display screen displays the third information.

[0172] The third information is used to indicate that there is no satellite signal. If the display screen displays the third information, it means that the electronic device has not searched for a satellite network and cannot connect to the satellite network.

[0173] Among them, step S706 to step S709 can be executed in a loop.

[0174] It is understandable that if there is no cellular network, then when the satellite network is connected or the satellite network is not searched, steps S706 to S709 can be executed cyclically, thereby further reducing the power consumption of the electronic device. The cyclic execution of steps S706 to S709 ends until it is determined that the cellular network is not disconnected.

[0175] For the specific implementation of steps S701 to S709, please refer to Figure 2 The relevant parts shown in will not be repeated here.

[0176] See also Figure 8 , Figure 8 A schematic diagram of the composition of an electronic device provided in an embodiment of the present application.

[0177] like Figure 8 As shown, the electronic device 800 includes a display screen 801 and a connection module 802, wherein: The display screen 801 is used to display first information indicating whether to enter the first mode if it is determined that the location of the electronic device 800 belongs to a preset location set when the location of the electronic device 800 is not covered by a cellular network; The connection module 802 is used to connect to a satellite network in response to a confirmation instruction of the first information.

[0178] Optionally, the connection module 802 is further used to connect to a cellular network when the electronic device 800 is located at a location where there is cellular network coverage.

[0179] Optionally, the electronic device 800 may further include a search module 803, configured to search for a satellite network through the first antenna; and configured to search for a cellular network through the second antenna.

[0180] Optionally, the search module 803 is used to search for a satellite network at a first moment; and to search for a cellular network at a second moment.

[0181] Optionally, the display screen 801 is further used to display second information when a satellite network is searched, where the second information is used to indicate that the satellite signal is normal; It is also used to display third information when no satellite network is found, where the third information is used to indicate that there is no satellite signal.

[0182] Optionally, the search module 803 is further configured to search the cellular network in response to a denial instruction of the first information.

[0183] Optionally, the electronic device 800 further includes a positioning module 804 for determining the location of the electronic device 800; and a search module 803 for searching a cellular network if the positioning module fails to determine the location of the electronic device 800.

[0184] It should be understood that each step in the above method embodiment can be completed by an integrated logic circuit of hardware in a processor or by instructions in the form of software. The method steps disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware processor, or by a combination of hardware and software modules in a processor.

[0185] The present application also provides an electronic device, which may include: a memory and a processor. The memory may be used to store a computer program; the processor may be used to call the computer program in the memory so that the electronic device executes the method executed by the electronic device side in any of the above embodiments.

[0186] The present application also provides a chip system, which includes at least one processor for implementing the functions involved in the electronic device side in any of the above embodiments.

[0187] In some possible designs, the chip system also includes a memory, which is used to store program instructions and data, and the memory is located inside or outside the processor.

[0188] The chip system may be composed of the chip, or may include the chip and other discrete devices.

[0189] Optionally, the processor in the chip system may be one or more. The processor may be implemented by hardware or by software. When implemented by hardware, the processor may be a logic circuit, an integrated circuit, etc. When implemented by software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.

[0190] Optionally, the memory in the chip system may also be one or more. The memory may be integrated with the processor or may be separately arranged with the processor, which is not limited in the embodiments of the present application. Exemplarily, the memory may be a non-transient processor, such as a read-only memory ROM, which may be integrated with the processor on the same chip or may be arranged on different chips respectively. The embodiments of the present application do not specifically limit the type of memory and the arrangement of the memory and the processor.

[0191] Exemplarily, the chip system may be a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.

[0192] The present application also provides a computer program product, which includes: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute the method executed by the electronic device side in any of the above embodiments.

[0193] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program (also referred to as code or instruction). When the computer program is executed, the computer executes the method executed by the electronic device side in any of the above embodiments.

[0194] As used in the above embodiments, the term "when..." may be interpreted to mean "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. Similarly, the phrases "upon determining..." or "if (the stated condition or event) is detected" may be interpreted to mean "if determining..." or "in response to determining..." or "upon detecting (the stated condition or event)" or "in response to detecting (the stated condition or event)", depending on the context.

[0195] The various implementation modes of the present application can be combined arbitrarily to achieve different technical effects.

[0196] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.

[0197] Those skilled in the art can understand that to implement all or part of the processes in the above-mentioned embodiments, the processes can be completed by computer programs to instruct related hardware, and the programs can be stored in computer-readable storage media. When the programs are executed, they can include the processes of the above-mentioned method embodiments. The aforementioned storage media include: ROM or random access memory RAM, magnetic disk or optical disk and other media that can store program codes.

[0198] In short, the above is only an embodiment of the technical solution of this application, and is not intended to limit the protection scope of this application. Any modification, equivalent replacement, improvement, etc. made according to the disclosure of this application shall be included in the protection scope of this application.< / canvas> < / video> < / videoview> < / imgview> < / textview>

Claims

1. A communication method, characterized in that: Applied to an electronic device, the electronic device includes a display screen, and the method includes: In the case where the location of the electronic device is not covered by a cellular network, if it is determined that the location of the electronic device belongs to a preset location set, displaying first information on the display screen, the first information being used to indicate whether to enter a first mode; In response to a confirmation instruction of the first information, connecting to a satellite network.

2. The method according to claim 1, characterized in that Also includes: When the electronic device is located at a location covered by a cellular network, the cellular network is connected.

3. The method according to claim 2, characterized in that Also includes: Searching for satellite networks via the first antenna; Search for a cellular network via the second antenna.

4. The method according to claim 2, characterized in that: Also includes: Search for satellite networks at the first moment; At a second moment a cellular network is searched.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In the case where a satellite network is searched, second information is displayed on the display screen of the electronic device, where the second information is used to indicate that the satellite signal is normal; In the case that no satellite network is searched, third information is displayed on the display screen of the electronic device, and the third information is used to indicate that there is no satellite signal.

6. The method according to claim 1, characterized in that The method further comprises: In response to a negative indication of the first information, searching for the cellular network.

7. The method according to claim 1, characterized in that The electronic device further includes a positioning module, and the positioning module is used to determine the position of the electronic device; the method further includes: If the positioning module fails to determine the location of the electronic device, the cellular network is searched.

8. An electronic device, characterized in that: The electronic device comprises a display screen and a connection module. The display screen is used for displaying first information indicating whether to enter the first mode if it is determined that the location of the electronic device belongs to a preset location set when the location of the electronic device is not covered by a cellular network; The connection module is used to connect to a satellite network in response to a confirmation instruction of the first information.

9. The electronic device according to claim 8, characterized in that: The connection module is further used to connect to the cellular network when the location of the electronic device is covered by the cellular network.

10. The electronic device according to claim 9, characterized in that: The electronic device further includes a search module. The search module is used to search for a satellite network through a first antenna; and is used to search for a cellular network through a second antenna.

11. The electronic device according to claim 9, characterized in that: The electronic device further includes a search module. The search module is used to search for a satellite network at a first moment; and to search for a cellular network at a second moment.

12. The electronic device according to any one of claims 8 to 11, characterized in that: The display screen is further used to display second information on the display screen of the electronic device when a satellite network is searched, wherein the second information is used to indicate that the satellite signal is normal; The display screen is also used to display third information on the display screen of the electronic device when no satellite network is searched, and the third information is used to indicate that there is no satellite signal.

13. The electronic device according to claim 8, characterized in that: The electronic device further includes a search module. The search module is further configured to search the cellular network in response to a denial instruction of the first information.

14. The electronic device according to claim 8, characterized in that: The electronic device also includes a positioning module and a search module. The positioning module is used to determine the position of the electronic device. The search module is configured to search the cellular network if the positioning module fails to determine the location of the electronic device.

15. An electronic device, characterized in that: The electronic device comprises: one or more processors, a memory and a display screen; The memory is coupled to the one or more processors, and the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the electronic device to execute the method according to any one of claims 1 to 7.

16. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device is caused to execute the method as claimed in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Information display method and electronic equipment

    CN111640401A

  • Communication mode switching method and electronic equipment

    CN118509943A

  • Schedule reminding method and device

    WO2016115774A1

  • Search method and electronic device

    WO2022166421A1

  • Positioning method and related apparatus

    WO2024093857A1