Method for restricting use of satellite communication, and electronic device
By detecting function control operations and location information in electronic devices, combined with movement speed, limiting communication between electronic devices and satellites, the problem of interference from satellite communications to other devices and usage restrictions in specific scenarios is solved, achieving safer and legal communications. environment.
Patent Information
- Application Number
- PCT/CN2023/135625
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-27
- Filing Date
- 2023-11-30
- Publication Date
- 2024-09-06
AI Technical Summary
Existing electronic devices may cause interference to other devices when using satellite communications, and the use of satellite communications needs to be restricted in certain scenarios (such as flight or communication control areas) to ensure safety and legality, but it is difficult to effectively implement this with existing technology this restriction.
By implementing a method in an electronic device, it detects the functional controls operated by the user, combines the location information and movement speed of the device to determine whether the restricted use conditions are met, and if so, restricts the communication between the device and the satellite, and informs the user of the reason through prompt information. to avoid frequent operations.
It effectively avoids the interference of satellite communications on other devices, ensures that devices cannot use satellite communications in specific scenarios (such as flight or communication control areas), improves communication security and legality, and enhances user experience.
Smart Images

Figure CN2023135625_06092024_PF_FP
Abstract
Description
Method and electronic device for limiting the use of satellite communications
[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on February 27, 2023, with application number 202310227046.6 and application name “A method and electronic device for limiting the use of satellite communications”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of satellite communication technology, and in particular to a method and electronic device for limiting the use of satellite communication. Background Art
[0003] Satellite communications primarily refer to radio communications between earth stations, or between earth stations and spacecraft, using communications satellites to relay signals. Because satellites are located far from the ground, their range is unaffected by the Earth's geographical environment. Therefore, satellite communications are often applicable in areas such as oceans, deserts, grasslands, and uninhabited areas where mobile communications are not available, cannot be reached, or have disrupted communication systems. Currently, some electronic devices (such as mobile phones) have satellite communication capabilities, making it easy to use satellite communication resources to provide communication services for these devices.
[0004] Although satellite communications are convenient, there may be some scenarios in practice where, if electronic devices use satellite communications, the signals of the electronic devices will affect other devices. Therefore, it is necessary to restrict the use of satellite communications functions of electronic devices to make the use of satellite communications by electronic devices safer.
[0005] Summary of the Invention
[0006] Embodiments of the present application provide a method and electronic device for limiting the use of satellite communications, which are used to limit the use of satellite communications functions of electronic devices to make the use of satellite communications by electronic devices safer.
[0007] In order to achieve the above objectives, the embodiments of the present application provide the following technical solutions:
[0008] In a first aspect, an embodiment of the present application provides a method for restricting the use of satellite communications, which is applied to an electronic device, the electronic device having a first application that supports communication between the electronic device and the satellite. The method includes: the electronic device displays a communication interface of the first application, wherein the communication interface includes at least a first function control. The first function control is used to trigger the electronic device to communicate with the satellite through the first application. An operation on the first function control is detected. In response to the operation on the first function control, the electronic device determines whether the electronic device meets the restricted use conditions based on the location information of the electronic device and / or the movement speed of the electronic device. If the electronic device meets the restricted use conditions, the electronic device restricts the electronic device from communicating with the satellite through the first application.
[0009] In the method provided in the embodiment of the present application, when an electronic device detects that a first function control in a communication interface of a first application supporting satellite communication is triggered, it indicates that the user is currently using the first application to communicate with the satellite. At this time, the electronic device obtains the location information and / or moving speed of the current electronic device to determine whether the electronic device can use satellite communication. If the electronic device meets the restricted use conditions, it means that the electronic device cannot currently use satellite communication. Therefore, the electronic device can limit the electronic device from communicating with the satellite through the first application. In this way, in scenarios where the use is restricted due to the moving speed, the signal of the electronic device using satellite communication will be avoided from interfering with other devices, thereby making the use of satellite communication safer and making satellite communication more legal in scenarios where the use is restricted due to location information.
[0010] In a possible implementation of the present application, the electronic device restricting the electronic device from communicating with the satellite through the first application includes: the electronic device not sending communication content triggered by the user on the communication interface to the satellite.
[0011] In a possible implementation of the present application, the electronic device restricting the electronic device from communicating with the satellite through the first application further includes: the electronic device outputting first prompt information, wherein the first prompt information is used to indicate the reason for restricting the electronic device from communicating with the satellite through the first application.
[0012] In a scenario where an electronic device is restricted from communicating with a satellite through a first application, the electronic device outputs a first prompt message to facilitate the user to determine the reason why the electronic device is restricted from communicating with a satellite through the first application based on the first prompt message, so as to stop operating the first application frequently.
[0013] In one possible implementation of the present application, the electronic device outputting the first prompt information may specifically include: the electronic device displaying a first prompt card including the first prompt information. For example, when a user clicks the first function control, the electronic device determines that the electronic device meets the restricted use condition, and then pops up the first prompt card on the communication interface to prompt the user.
[0014] In one possible implementation of the present application, the electronic device determines whether the electronic device meets the restricted use condition based on the moving speed of the electronic device, including: if the moving speed of the electronic device is greater than or equal to a preset speed threshold, the electronic device determines that the electronic device meets the restricted use condition. If the moving speed of the electronic device is less than the preset speed threshold, the electronic device determines that the electronic device does not meet the restricted use condition.
[0015] In the above solution, the moving speed of the electronic device is used to determine whether the electronic device meets the restricted use conditions. In this way, when the moving speed of the electronic device is higher than the preset speed threshold, the electronic device can be automatically restricted from communicating with the satellite through the first application.
[0016] In a possible implementation of the present application, the method provided in an embodiment of the present application further includes: the electronic device determining the scene in which the electronic device is located.
[0017] When the moving speed of the electronic device is greater than or equal to a preset speed threshold, the electronic device determines that the electronic device meets the restricted use conditions, including: when the moving speed of the electronic device is greater than or equal to the preset speed threshold and the scene in which the electronic device is located is a preset scene, determining that the electronic device meets the restricted use conditions.
[0018] By comprehensively judging the moving speed of the electronic device and the scene in which the electronic device is located, it is possible to automatically restrict the electronic device from communicating with the satellite through the first application in a preset scene. Compared with restricting the electronic device from communicating with the satellite through the first application based solely on the moving speed of the electronic device, it is possible to more accurately restrict the communication between the electronic device and the satellite in the preset scene, avoiding restricting the electronic device from communicating with the satellite through the first application in a non-preset scene even though the speed meets the requirements.
[0019] In one possible implementation of the present application, the electronic device determines the scene in which the electronic device is located, including: the electronic device obtaining an altitude of the electronic device. When the altitude of the electronic device is higher than or equal to a preset altitude, the electronic device determines that the scene in which the electronic device is located is the preset scene.
[0020] In one possible implementation of the present application, an electronic device includes a first list, the first list being used to determine information about one or more communication control areas where satellite communication use is restricted. The electronic device determines whether the electronic device meets the restricted use conditions based on its location information, including: if the location information of the electronic device indicates that the electronic device is located within any communication control area, the electronic device is determined to meet the restricted use conditions. If the location information of the electronic device indicates that the electronic device is located outside of one or more communication control areas, the electronic device determines that the electronic device does not meet the restricted use conditions.
[0021] The above-mentioned determination of whether the electronic device meets the restricted use condition in combination with the location information can restrict the electronic device from communicating with the satellite through the first application when the electronic device is located in a communication control area.
[0022] In a possible implementation of the present application, the first list includes information of one or more public communication areas where satellite communication can be used, and information of n communication control areas included in the public communication area, where n is an integer greater than or equal to 0.
[0023] Alternatively, the first list includes information of one or more communication control areas where satellite communication cannot be used.
[0024] It can be understood that when a public communication area includes information about 0 communication control areas, it means that there is no communication control area in the public communication area.
[0025] In a possible implementation of the present application, the first list is a list preconfigured in the electronic device, or the first list is a list obtained by the electronic device from a server.
[0026] In a possible implementation of the present application, the method provided in the embodiment of the present application may further include: the electronic device periodically obtains the first list from the server.
[0027] In a possible implementation of the present application, when the electronic device is restricted from communicating with the satellite through the first application, the method provided in the embodiment of the present application further includes: when an operation on the first function control is detected again, in response to the operation on the first function control again, re-acquiring the location information of the electronic device and / or the moving speed of the electronic device; determining whether the electronic device meets the restricted use conditions based on the re-acquired location information of the electronic device and / or the moving speed of the electronic device. When the re-acquired location information of the electronic device and / or the moving speed of the electronic device determine that the electronic device does not meet the restricted use conditions, sending the communication content triggered by the user in the call interface via the satellite. When the electronic device meets the restricted use conditions again, continuing to restrict the electronic device from communicating with the satellite through the first application. For example, the communication content triggered by the user in the call interface can be a short message entered by the user in the call interface, or a voice call request or video call request triggered by the user in the call interface.
[0028] In one possible implementation of the present application, if the electronic device determines that the location information of the electronic device is located within a communication control area and the moving speed of the electronic device is greater than or equal to a preset moving speed threshold, the electronic device determines that the restricted use conditions are met.
[0029] In a possible implementation of the present application, the communication interface is a short message conversation interface, and the first function control is a send control; or the communication interface is a voice call interface, and the first function control is a voice call control or a video call control.
[0030] In a possible implementation of the present application, before the electronic device displays the call interface of the first application, the method provided in the embodiment of the present application further includes: the electronic device monitoring the location information of the electronic device and / or the moving speed of the electronic device.
[0031] In one possible implementation of the present application, the electronic device monitors the location information of the electronic device and / or the moving speed of the electronic device, including: when the electronic device detects the user's instruction to open the first application, it starts monitoring the location information of the electronic device and / or the moving speed of the electronic device.
[0032] In one possible implementation of the present application, after the electronic device detects an operation on a first function control, the method provided in an embodiment of the present application further includes: obtaining a current sending time interval in response to the operation on the first function control. The current sending time interval is the difference between the current time and the last time the electronic device used satellite communication. If the current sending time interval is less than or equal to a preset sending time interval, the operation state of the first function control in the communication interface is set to a restricted use state. If the current sending time interval is greater than or equal to the preset sending time interval, in response to the operation on the first function control, the electronic device uses the first application to communicate with the satellite.
[0033] In one possible implementation of the present application, the electronic device sets the operating status of the first function control in the communication interface to a restricted use state, further comprising: displaying countdown information for restricted use in the communication interface, the countdown information for restricted use being the time when the operating status of the first function control changes from the restricted use state to the usable state; after the time included in the countdown information for restricted use, the method further comprises: the electronic device sets the operating status of the first function control in the communication interface to a usable state.
[0034] In a second aspect, an embodiment of the present application provides a communication device that can implement the method in any possible implementation of the first aspect, thereby also achieving the beneficial effects of any possible implementation of the first aspect. The communication device can be an electronic device, or a device that supports an electronic device in implementing the method in any possible implementation of the first aspect, such as a chip used in an electronic device. The communication device can implement the above method through software, hardware, or by hardware executing corresponding software.
[0035] As an example, the communication device includes: a display unit for displaying a communication interface of a first application, the communication interface including a first function control, the first function control being used to trigger the electronic device to communicate with a satellite via the first application; a detection unit for detecting an operation on the first function control; a judgment unit for determining, in response to the operation on the first function control, whether the electronic device meets a restricted use condition based on location information of the electronic device and / or a moving speed of the electronic device; and a processing unit for restricting the electronic device from communicating with a satellite via the first application if the judgment unit determines that the electronic device meets the restricted use condition.
[0036] In a possible implementation of the present application, the processing unit is further configured to control the display unit to output first prompt information, where the first prompt information is used to indicate the reason for restricting the electronic device from communicating with the satellite through the first application.
[0037] In one possible implementation of the present application, the judgment unit is used to determine that the electronic device meets the restricted use condition when the moving speed of the electronic device is greater than or equal to a preset speed threshold; the judgment unit is used to determine that the electronic device does not meet the restricted use condition when the moving speed of the electronic device is less than the preset speed threshold.
[0038] In one possible implementation of the present application, the processing unit is further used to determine the scene in which the electronic device is located; the judgment unit is further used to determine that the electronic device meets the restricted usage condition when the moving speed of the electronic device is greater than or equal to a preset speed threshold and the scene in which the electronic device is located is a preset scene.
[0039] In a possible implementation of the present application, the processing unit is further configured to obtain an altitude of the electronic device. If the altitude of the electronic device is higher than or equal to a preset altitude, the scene in which the electronic device is located is determined to be the preset scene.
[0040] In one possible implementation of the present application, an electronic device includes a first list, the first list being used to determine information about one or more communication control areas where satellite communication use is restricted. The determination unit is specifically configured to determine that the electronic device satisfies the restricted use condition if the electronic device's location information indicates that the electronic device is located within any communication control area, and to determine that the electronic device does not satisfy the restricted use condition if the electronic device's location information indicates that the electronic device is located outside of one or more communication control areas.
[0041] In one possible implementation of the present application, the first list includes information about one or more public communication areas where satellite communication can be used, and information about n communication control areas included in the public communication areas. n is an integer greater than or equal to 0. Alternatively, the first list includes information about one or more communication control areas where satellite communication cannot be used.
[0042] In a possible implementation of the present application, the first list is a list preconfigured in the electronic device, or the first list is a list obtained by the electronic device from a server.
[0043] In one possible implementation of the present application, the processing unit is further configured to control the first acquisition unit to reacquire the location information and / or moving speed of the electronic device in response to another operation on the first functional control. The processing unit is further configured to determine whether the electronic device meets the restricted use conditions based on the reacquired location information and / or moving speed of the electronic device. If the electronic device does not meet the restricted use conditions, the communication unit is configured to utilize the first application to communicate with the satellite to send the communication content triggered by the user in the call interface. The processing unit is further configured to continue to restrict the electronic device from communicating with the satellite through the first application if the electronic device meets the restricted use conditions again.
[0044] In a possible implementation of the present application, the communication interface is a short message conversation interface, and the first function control is a send control; or the communication interface is a voice call interface, and the first function control is a voice call control or a video call control.
[0045] In a possible implementation of the present application, the monitoring unit is configured to monitor location information of the electronic device and / or the moving speed of the electronic device.
[0046] In a possible implementation of the present application, when the detection module detects the user's instruction to open the first application, the monitoring unit is configured to start monitoring the location information of the electronic device and / or the moving speed of the electronic device.
[0047] In one possible implementation of the present application, the second acquisition unit is further configured to acquire a current transmission time interval in response to an operation on the first function control. The current time is the difference between the current time and the last time the electronic device used satellite communication. If the current transmission time interval is less than or equal to a preset transmission time interval, the operation state of the first function control in the communication interface is set to a restricted use state. If the current transmission time interval is greater than or equal to the preset transmission time interval, in response to the operation on the first function control, the electronic device uses the first application to communicate with the satellite. If the current transmission time interval is greater than or equal to the preset transmission time interval, the processing unit uses the first application to communicate with the satellite in response to the operation on the first function control. If the current transmission time interval is less than or equal to the preset transmission time interval, the operation state of the first function control in the communication interface is set to a restricted use state. Specifically, the current transmission time interval is determined by a preset transmission interval threshold and a first difference. The first difference is determined by the time when the electronic device acquires the current transmission time interval and the time when the electronic device last used the first application to communicate with the satellite.
[0048] In one possible implementation of the present application, the display unit is further configured to display a countdown timer for restricting the use of the first function control in the communication interface. The countdown timer for restricting the use of the first function control is the time it takes for the operating state of the first function control to change from a restricted use state to a usable state. The processing unit is further configured to set the operating state of the first function control in the communication interface to a usable state. In other words, the operating state of the first function control in the communication interface displayed by the display unit will also change to a usable state.
[0049] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processing circuit, implement the method described in the first aspect or various possible implementations of the first aspect.
[0050] In a fourth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method described in the first aspect or various possible implementations of the first aspect.
[0051] In the fifth aspect, a chip system includes a processing circuit and a storage medium, wherein the storage medium stores computer program instructions; when the computer program instructions are executed by the processing circuit, the method described in the first aspect or various possible implementations of the first aspect is implemented.
[0052] Optionally, the processing circuit in the above chip system can be replaced by a processor, and the storage medium can be replaced by a memory. Optionally, the chip system can also include a communication interface, which is used to realize communication between the chip system and external devices.
[0053] In a sixth aspect, the present application provides an electronic device comprising: a processor; a memory; a display screen, and a computer program, wherein the computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device executes the method described in the first aspect or various implementations of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] FIG1A and FIG1B are schematic diagrams of a communication scenario provided in an embodiment of the present application;
[0055] 2A to 2L are schematic diagrams of a sending mobile phone sending a short message to a receiving mobile phone via a satellite according to an embodiment of the present application;
[0056] 3A to 3C are schematic diagrams of a sending mobile phone making a call to a receiving mobile phone via a satellite according to an embodiment of the present application;
[0057] FIG4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0058] FIG5 is a schematic diagram of a software architecture of an electronic device provided in an embodiment of the present application;
[0059] FIG6 is a flowchart diagram of a method for restricting the use of satellite communications provided in an embodiment of the present application;
[0060] FIG7 is a schematic diagram of an interface when a mobile phone is restricted from communicating with a satellite according to an embodiment of the present application;
[0061] FIG8 is a schematic diagram of an interface when another mobile phone is restricted from communicating with a satellite according to an embodiment of the present application;
[0062] FIG9 is a schematic diagram of a specific implementation flow of a first method for restricting the use of satellite communications provided in an embodiment of the present application;
[0063] FIG10 is a schematic diagram of a specific implementation flow of a second method for restricting the use of satellite communications provided in an embodiment of the present application;
[0064] FIG11 is a schematic diagram of a specific implementation flow of a third method for restricting the use of satellite communications provided in an embodiment of the present application;
[0065] FIG12 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0066] FIG13 is a schematic structural diagram of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0067] In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the first operation and the second operation are merely used to distinguish different operations and do not limit their order. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit differences.
[0068] It should be noted that, in this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0069] In this application, "at least one" means one or more, and "more" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0070] Before introducing the embodiments of the present application, the following definitions are given for the relevant terms involved in the embodiments of the present application:
[0071] The method for limiting the use of satellite communications provided in the embodiments of the present application can be applied to electronic devices with satellite communication capabilities. Usually, a first application can be installed in an electronic device with satellite communication capabilities. The first application can be an application that supports electronic devices and satellite communications. For example, an instant messaging application. The first application can be an application that is pre-installed on the device before leaving the factory, such as Huawei's Changlian application 201 as shown in Figure 2A, or it can be a third-party application downloaded by the device, such as WeChat or the short message application that comes with the mobile phone (the short message application 200 as shown in Figure 2A). Changlian application 201 is a social application that supports mobile operating systems on mobile devices such as smartphones and tablets. It is an instant messaging software that comes with Huawei devices when they leave the factory.
[0072] As an example, the electronic device in the embodiments of the present application can be a device that supports satellite communications, such as a smart watch, a smart bracelet, a mobile phone, a smart home, an in-vehicle device, an augmented reality (AR) / virtual reality (VR) device, etc. The electronic device is installed with the above-mentioned first application. The embodiments of the present application do not limit the name and type of the electronic device.
[0073] Satellite communications primarily refer to radio communications between earth stations, or between earth stations and spacecraft, using communications satellites to relay signals. Because satellites are located far from the ground, their range is unaffected by the Earth's geographical environment. Therefore, satellite communications are often applicable in areas such as oceans, deserts, grasslands, and uninhabited areas where mobile communications are not available, cannot be reached, or have disrupted communication systems. Currently, some electronic devices (such as mobile phones) have satellite communication capabilities, making it easy to use satellite communication resources to provide communication services for these devices.
[0074] Although the use of satellite communications is relatively convenient, there may be some scenarios in actual practice where the signals of electronic devices will affect other devices if they use satellite communications. For example, during an airplane flight, in order to avoid interference between the signals of electronic devices and the communication equipment on the aircraft, passengers are usually required to set their mobile phones to flight mode or turn them off. This is mainly to ensure the safe flight of the aircraft. Although users can set their mobile phones to flight mode or turn them off, the above solutions cannot restrict users from using electronic devices. In another scenario, some mobile phones that currently support satellite communication functions can be used in specific areas, and restrict the use of satellite communications in other areas. Therefore, it is necessary to restrict the use of satellite communication functions of electronic devices to make the use of satellite communications by electronic devices safer and more compliant with regulations.
[0075] Figure 1A is a schematic diagram of a scenario of communication between an electronic device and a satellite provided in an embodiment of the present application. As shown in Figure 1A, the system includes: an electronic device 200, an electronic device 201, one or more satellites 202, and one or more ground stations 203.
[0076] As an example, in the scenario shown in Figure 1A, the process for an electronic device 200 on a satellite communication network to conduct a voice or video call with an electronic device 201 on a cellular communication network is as follows: a user initiates a voice or video call request using a first application installed on electronic device 200. Electronic device 200 transmits the user-triggered call request to ground station 203 in region A using its antenna. Ground station 203 in region A then transmits the call request from electronic device 200 as a call signal to satellite 202 serving region A. Satellite 202 serving region A receives the call signal, amplifies it, and forwards it to ground station 203 in region B, where electronic device 201 is located. Ground station 203 in region B transmits the call signal to the base station corresponding to electronic device 201 via a cellular gateway. Finally, the base station transmits the call signal to electronic device 201, which then receives it using its antenna. This solution enables the transmission of voice or video call requests from the satellite communication network to the cellular network.
[0077] After receiving the call signal, electronic device 201 can choose to reject the call request or accept it. If electronic device 201 accepts the call request, it can send the acceptance request via an antenna to ground station 203 in region B. Ground station 203 in region B then transmits the acceptance request as a signal to satellite 202, which is then transmitted to electronic device 200. Electronic devices 200 and 201 can then conduct a satellite-based voice or video call. If electronic device 201 rejects the call request, it can send the rejection request via an antenna to ground station 203 in region B. Ground station 203 in region B then transmits the rejection request as a signal to satellite 202, which is then transmitted to electronic device 200. Upon receiving the rejection request, electronic device 200 stops calling electronic device 201.
[0078] As an example, in the scenario shown in FIG1A , the process for an electronic device 200 on a satellite communication network to conduct a voice or video call with an electronic device 201 on a satellite communication network is as follows: a user initiates a voice or video call request using a first application installed on electronic device 200. Electronic device 200 transmits the user-triggered call request to ground station 203 in region A using its antenna. Ground station 203 in region A then transmits the call request from electronic device 200 as a call signal to satellite 202 serving region A. Satellite 202 then amplifies the signal and transmits it to a ground station in region B, where electronic device 201 is located. Ground station 203 in region B then transmits the call signal to electronic device 201, which then receives it using its antenna. This enables the transmission of the voice or video call request from the satellite communication network to the cellular network, enabling communication between electronic device 200 on the satellite communication network and electronic device 201 on the cellular network.
[0079] As shown in Figure 1B, Figure 1B is a scenario diagram of an electronic device sending a short message (abbreviated as: SMS) via a satellite provided by an embodiment of the present application. Compared with the scenario shown in Figure 1A, the communication scenario shown in Figure 1B can also include: a satellite short message application platform 204.
[0080] As an example, in the scenario shown in FIG1B , assuming that both electronic device 200 and electronic device 201 are in a satellite communication network, the process for electronic device 200 to send a short message to electronic device 201 is as follows: First, electronic device 200 sends the short message to satellite 202 (e.g., a satellite that supports short message communication, such as a short message satellite). After satellite 202 receives the short message, it transmits the short message to satellite short message application platform 204 via ground station 203. Then, satellite short message application platform 204 transmits a signal containing the short message addressed to electronic device 201 to satellite 202 via an uplink via ground station 203. After receiving the signal sent by ground station 203, the receiver of satellite 202 amplifies the signal and transmits the amplified signal to electronic device 201 via a downlink. Accordingly, the process of electronic device 201 sending a short message to electronic device 200 can also be completed in a similar manner in a satellite communication network.
[0081] For example, electronic device 200 is located in a satellite communication network, while electronic device 201 is located in a cellular communication network. When electronic device 200 in the satellite communication network sends a text message to electronic device 201 in the cellular network, electronic device 200 transmits a signal containing the text message to satellite 202 via an uplink. The receiver on satellite 202 amplifies the signal and then transmits the amplified signal via a transmitter to ground station 203. Ground station 203 transmits the text message to satellite short message application platform 204. Satellite short message application platform 204 transmits the text message to a text message center within the mobile core network via a cellular gateway. The text message center then transmits the text message to the base station corresponding to electronic device 201 via the mobile core network. Finally, the text message is sent to electronic device 201 via the base station, thus achieving text message transmission from the satellite communication network to the cellular network, enabling communication between electronic device 200 in the satellite communication network and electronic device 201 in the cellular network.
[0082] The electronic devices 200 and 201 that can achieve information transmission or voice or video calls with the satellite 202 must have corresponding hardware and software configurations. For example, in terms of hardware, the electronic devices 200 and 201 must be equipped with a communication chip that can communicate with the satellite (such as the mobile communication module shown in Figure 4), a radio frequency channel that can be used to transmit and receive signals with the satellite, and a corresponding power amplifier and signal receiver; in terms of software, the electronic devices 200 and 201 must support the short message voice or video call protocol and must have application software that supports voice or video calls, short message editing, sending and / or receiving. In this way, the electronic devices 200 and 201 can establish an information transmission channel with the satellite 202.
[0083] It is understandable that FIG1A and FIG1B take the satellite as the Beidou satellite as an example.
[0084] The satellites in the embodiments of the present application may refer to low-orbit satellites, medium-orbit satellites, or high-orbit satellites. Satellites can be divided into the following three types based on their orbital altitudes: geostationary earthorbit (GEO) satellites, also known as synchronous orbit satellites or high-orbit satellites; medium earth orbit (MEO) satellites, also referred to as medium-orbit satellites; and low earth orbit (LEO) satellites, also referred to as low-orbit satellites.
[0085] GEO satellites orbit at an altitude of 35,786 km. Their main advantages are stationary relative to the Earth and their large coverage area. However, these advantages also come with significant disadvantages: their large distance from the Earth requires a large antenna; their transmission latency is high, around 0.5 seconds, which cannot meet the needs of real-time services; orbital resources are relatively limited, resulting in high launch costs and a lack of coverage in polar regions.
[0086] MEO satellites orbit at altitudes between 2,000 and 35,786 km, enabling global coverage with a relatively small number of them. MEO satellites have greater transmission latency than LEO satellites and are currently used primarily for positioning and navigation.
[0087] LEO satellites orbit at altitudes between 300km and 2000km. LEO satellites orbit at lower altitudes than MEO and GEO satellites, resulting in lower data transmission latency, less power loss, and lower launch costs. Consequently, LEO satellite-based communication networks have made significant progress in recent years. LEO satellites serve as information access points, leveraging their wider coverage capabilities compared to base stations to provide efficient coverage in the air, oceans, and remote areas. They can also integrate with Long Term Evolution (LTE) networks or future 5G (NR) networks, providing users with wider coverage and a better user experience while using the same terminal equipment.
[0088] The electronic devices 200 and 201 that can achieve information transmission or voice or video calls with the satellite 202 must have corresponding hardware and software configurations. For example, in terms of hardware, the electronic devices 200 and 201 must be equipped with a communication chip that can communicate with the satellite (such as the mobile communication module shown in Figure 4), a radio frequency channel that can be used to transmit and receive signals with the satellite, and a corresponding power amplifier and signal receiver; in terms of software, the electronic devices 200 and 201 must support the short message voice or video call protocol and must have application software that supports voice or video calls, short message editing, sending and / or receiving. In this way, the electronic devices 200 and 201 can establish an information transmission channel with the satellite 202.
[0089] Optionally, the above-mentioned application software supporting the electronic device 200 to communicate with the satellite 202 (i.e., application software supporting voice or video calls, short message editing, sending and receiving) (such as the Changlian application 201 shown in Figure 2A) can be the same software as the application software in the cellular network that supports the electronic device to communicate with the base station (such as the short message application 200 shown in Figure 2A), or it can be different software, and the embodiments of the present application are not limited to this.
[0090] Optionally, the application software supporting short message editing, sending and receiving and the application software supporting voice or video calls may be different application software or the same application software, and this embodiment of the present application does not limit this.
[0091] Optionally, the system as described in FIG1A and FIG1B may further include a server, wherein at least the first list is stored in the server. The electronic device 200 may obtain the first list through interaction with the server.
[0092] In the following description, both electronic device 200 and electronic device 201 are mobile phones. For ease of distinction, the following description will take electronic device 200 as mobile phone A and electronic device 201 as mobile phone B. Take mobile phone A (i.e., the sender's mobile phone) sending a short message to mobile phone B (i.e., the receiver's mobile phone) via satellite, with the first application being the Changlian application as an example. As shown in FIG2A , one or more applications are running in mobile phone A, including the Changlian application 201. Upon detecting an opening operation triggered by a user for the Changlian application 201 (such as clicking on the Changlian application 201), in response to the opening operation, mobile phone A displays the message interface shown in FIG2B . The message interface shown in FIG2B displays multiple conversation messages. For example, “Beidou Satellite Message” 202.
[0093] The user can click "Beidou Satellite Message" 202 to trigger mobile phone A to enter the Beidou Satellite Message interface shown in Figure 2C . The Beidou Satellite Message interface shown in Figure 2C displays at least the first function option (i.e., Create Message 203). To send a Beidou Satellite Message, the user can click Create Message 203 to trigger mobile phone A to enter the short message conversation interface shown in Figure 2D . In the short message conversation interface shown in Figure 2D , the user can click the Contacts control 210 to trigger mobile phone A to enter the Contacts interface shown in Figure 2E . In the Contacts interface shown in Figure 2E , the user can select a target contact (i.e., the contact information of the user of the receiving mobile phone). For example, the target contact selected is "Dad." After selecting the target contact, the user can click the Confirm control 211 in the interface. In response to the triggering of Confirm control 211, mobile phone A enters the short message conversation interface shown in Figure 2F . As shown in Figure 2F , the short message conversation interface displays a location control option 212, a conversation input box 213, and a Send control 208. In the conversation input box 213, the user can enter the message content. For example, as shown in FIG2F , the message content may be "Everything is fine, don't worry." The user may then click the send control 208, causing mobile phone A to detect that the send control 208 has been triggered. In response to the triggering of the send control 208, mobile phone A enters the satellite search phase. After mobile phone A successfully searches for a satellite (for example, if mobile phone A determines that the current satellite communication quality meets communication requirements), mobile phone A sends a short message to the satellite, which then forwards the short message to mobile phone B via the communication method shown in FIG1B .
[0094] To facilitate the receiving mobile phone to understand the current location information of the sending mobile phone, the content of the short message sent by mobile phone A to the satellite includes not only the message content entered by the user in the dialogue input box 213, but also the location information of mobile phone A detected by mobile phone A. For example, the location information of mobile phone A can be the geographical location information of mobile phone A, such as the current latitude and longitude information of mobile phone A.
[0095] In some embodiments of the present application, in the short message conversation interface shown in FIG2F , if the location control option 212 is selected, the short message sent by mobile phone A to mobile phone B will carry the location information of mobile phone A detected by mobile phone A. In one possible embodiment of the present application, the location control option 212 in the short message conversation interface shown in FIG2F is selected by default. Alternatively, the location control option 212 can be changed from an unselected state to a selected state based on a user operation.
[0096] For example, as shown in FIG2F , the position control option 212 is marked as It indicates that it is selected.
[0097] For example, when mobile phone A detects that the send control 208 is triggered, if mobile phone A determines that the location control option 212 is not selected, mobile phone A prompts the user to set the location control option 212 to a selected state, or mobile phone A automatically sets the location control option 212 to a selected state. For example, if the location control option 212 is marked with a □, it means that it is not selected.
[0098] In one possible embodiment of the present application, mobile phone A may have one or more SMS content templates pre-set. For example, "Everything is fine, don't worry," or "I'm trapped, need help urgently," etc. When mobile phone A enters the short message conversation interface shown in FIG2F , mobile phone A may also display SMS content templates 214 in the short message conversation interface. This allows the user to select the appropriate template content as needed. After selecting the appropriate template content, the user can click the selected template content to trigger mobile phone A to display the selected template content in the conversation input box 213.
[0099] In addition to selecting template content, users can also enter relevant text message content according to their own needs, which is not limited in this embodiment of the present application. Regarding how users enter text short messages in the short message conversation interface, reference can be made to the description in the prior art, which will not be repeated here.
[0100] Optionally, in order to facilitate the user to learn more about the relevant content of Beidou satellite communication (such as sending a short message or voice or video call), in the interface shown in Figure 2 C, a first prompt card 206, a second prompt card 205, and a second function option 204 (i.e., learn more) are also shown. Mobile phone A detects that the first prompt card 206 is triggered, then displays the operating instructions for using Beidou satellite communication. Mobile phone A detects that the second prompt card 205 is triggered, then displays the relevant problems encountered in the Beidou satellite communication process and the way to solve the problem. Mobile phone A detects that the second function option 204 is triggered, then displays the relevant content of the Beidou satellite communication process.
[0101] Optionally, the interface shown in FIG2C may further include a return control 207, so that the return control 207 can be triggered when the user does not need to use Beidou satellite communication, so that mobile phone A responds to the return control 207 and returns to the interface shown in FIG2B.
[0102] In one possible embodiment of the present application, mobile phone A detects a user input operation to open a first application. In response to the opening operation of the first application, mobile phone A begins to monitor the location information and / or movement speed of mobile phone A. For example, as shown in Figure 2A, mobile phone A detects a user-triggered operation to open the Changlian application 201, and then activates the location management service in mobile phone A to begin monitoring the location information and / or movement speed of mobile phone A.
[0103] For example, when mobile phone A detects that the user inputs an operation to open the first application, or clicks the send control 208, if mobile phone A determines that the current location service of mobile phone A is not turned on, mobile phone A prompts the user to turn on the location service of mobile phone A so that the current location information of mobile phone A can be carried when using the first application to send short messages via satellite.
[0104] In a possible embodiment of the present application, during the stage when mobile phone A searches for satellites, the satellite with the strongest signal can be determined as the communication satellite. After determining the communication satellite, mobile phone A can determine the direction of the satellite transmission link when mobile phone A communicates with the communication satellite based on the location information of mobile phone A and the location information of the communication satellite. The direction of the satellite transmission link is the direction from the location of mobile phone A to the location of the communication satellite. Mobile phone A can also determine the radiation direction of the satellite antenna of mobile phone A based on data such as the geomagnetic data and attitude data of mobile phone A. Then, mobile phone A can align the radiation direction of the satellite antenna of mobile phone A with the communication satellite through the direction of the satellite transmission link and the radiation direction of the satellite antenna. In the description of the embodiment of the present application, the process of mobile phone A aligning the target satellite is called alignment. The radiation direction of the satellite antenna is the direction of maximum gain of the signal when the antenna transmits the signal, and the signal strength in this direction is the greatest.
[0105] To help users understand the communication status between mobile phone A and satellites, namely, the strength of satellite signals, when send control 208 is triggered, mobile phone A can display a prompt indicating the satellite signal strength currently detected by mobile phone A, as shown in Figure 2G. As an example, as shown in Figure 2G, mobile phone A displays a prompt card 215 including this prompt information. As an alternative example, prompt card 215 can be displayed in the interface shown in Figure 2F. As shown in Figure 2G, prompt card 215 can display relevant information about mobile phone A's satellite search phase, such as signal strength 217.
[0106] For example, the prompt card 215 may also display guidance information 216. The guidance information 216 is used to instruct the user to adjust the orientation of the phone A (for example, rotate the phone A to the right). The user can adjust the orientation of the phone A according to the guidance information 216 to help the phone A complete the star search operation as quickly as possible.
[0107] Optionally, after successfully finding the satellite, the mobile phone may display an interface as shown in FIG2H , which may display the remaining time for sending the short message to the user in a countdown manner and a guide message instructing the user to maintain the direction of the sender's mobile phone. It is understood that when the short message is sent, the sender's mobile phone may enter an interface as shown in FIG2I to prompt the user that the short message has been sent (for example, the word "sent").
[0108] Optionally, when the sender's mobile phone completes sending the short message and receives a satellite receipt, a prompt message indicating that the satellite receipt has been received can be displayed to the user.
[0109] Optionally, when the sender's mobile phone completes sending the short message and does not receive a satellite receipt, a prompt message indicating that no satellite receipt has been received 218 may be displayed to the user. Thereafter, if the sender's mobile phone receives a satellite receipt, the prompt message indicating that no satellite receipt has been received may be updated to a prompt message indicating that a satellite receipt has been received.
[0110] As shown in Figure 2J, Figure 2J shows a schematic diagram of the interface of the recipient's mobile phone receiving a satellite text message. After the recipient's mobile phone receives the short message from the sender's mobile phone through the ground station serving the area where the recipient's mobile phone is located, a prompt card 219 is displayed on its interface. The prompt card 219 can display the source of the short message and the content of the short message. For example, which contact the short message comes from. For example, as shown in Figure 2J, it is displayed that the short message comes from the contact "daughter". The user can click on the prompt card 219 to trigger the mobile phone to display the content of the received short message, that is, to display the short message interface shown in Figure 2L. As shown in Figure 2J, the short message interface displays the specific content of the received short message, as well as the location information of the sender's mobile phone (such as the mobile phone of the contact "daughter").
[0111] In one possible embodiment of the present application, prompt card 219 also displays a details control 220. The user can trigger details control 220 to trigger the mobile phone to display the short message interface shown in Figure 2J . Specifically, upon detecting that details control 220 has been triggered, the mobile phone enters the interface shown in Figure 2K . The interface shown in Figure 2K displays the Beidou Satellite Messaging Service card 213. Upon detecting an operation on Beidou Satellite Messaging Service card 213, the receiving mobile phone can display the interface shown in Figure 2J to view the specific content of the short message.
[0112] In the following example, electronic device 200 is the sender (i.e., phone A), and electronic device 201 is the receiver (i.e., phone B). For example, the sender makes a voice call to the receiver via satellite, with the first application being the Changlian app. As shown in FIG2A , after phone A detects the user's opening of Changlian app 201 and other user actions, it displays the contact interface shown in FIG3A . In the contact interface shown in FIG3A , the user can swipe to switch the contact information currently displayed. For example, if the user selects the target contact as Contact Dad, and the user selects Contact Dad as the receiver, the user can tap the voice call control 302 or the video call control 301 to trigger phone A to initiate a satellite voice or video call. To place a Beidou satellite voice call, the user can tap the voice call control 302. Upon detecting that the voice call control 302 has been triggered, phone A enters the satellite search phase shown in FIG3B . Alternatively, to place a Beidou satellite video call, the user can tap the video call control 301. When phone A detects that video call control 301 has been triggered, it enters the satellite search phase, as shown in Figures 3B-3C. If phone A successfully searches for satellites, it may display the interface shown in Figure 3C. If so, phone A's call request is sent to the satellite, which then forwards it to phone B via the method shown in Figures 1A or 1B. If phone B agrees to the call request, phone A and phone B can then conduct a satellite-based voice or video call.
[0113] As shown in Figure 4, taking the electronic device as a mobile phone as an example, the mobile phone may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a positioning module, and a subscriber identification module (SIM) card interface 195, etc.
[0114] In an embodiment of the present application, a mobile phone may include a first processor and a second processor. The first processor may be, for example, an application processor (AP), and the second processor may be, for example, a system coprocessor (sensor hub). Furthermore, the mobile phone in an embodiment of the present application may be equipped with a Qualcomm chip platform. On this basis, the system coprocessor may be, for example, referred to as a sensor execution environment (SEE).
[0115] It should be noted that the processor 110 included in the mobile phone shown in FIG4 may be a first processor or a second processor; or, the processor 110 includes a first processor and a second processor, which is not limited in the embodiment of the present application.
[0116] It should be understood that the structure illustrated in this embodiment does not constitute a specific limitation on the mobile phone. In other embodiments, the mobile phone may include more or fewer components than shown, or some components may be combined or separated, or arranged differently. The components shown in the illustrations may be implemented in hardware, software, or a combination of software and hardware.
[0117] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0118] The controller is the nerve center and command center of the mobile phone. It can generate operation control signals based on instruction opcodes and timing signals to complete the control of instruction fetching and execution.
[0119] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0120] In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit
[0121] (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiver / transmitter (universal asynchronous receiver / transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input / output (general-purpose input / output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
[0122] It is understood that the interface connection relationship between the modules illustrated in this embodiment is only for illustrative purposes and does not constitute a structural limitation on the mobile phone. In other embodiments, the mobile phone may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0123] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the phone's wireless charging coil. While charging the battery 142, the charging management module 140 can also provide power to the phone via the power management module 141.
[0124] 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 provides power to the processor 110, the internal memory 121, the external memory, the display 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 count, and battery health status (leakage, impedance). 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.
[0125] The wireless communication function of the mobile phone can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor.
[0126] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in a mobile phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0127] The mobile communication module 150 can provide various wireless communication solutions for mobile phones, including 2G / 3G / 4G / 5G. 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, filter and amplify the received electromagnetic waves, and transmit them to the modem processor for demodulation. The mobile communication module 150 can also amplify the signals modulated by the modem processor and convert them into electromagnetic waves for radiation via the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be provided in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be provided in the same device as at least some of the modules of the processor 110. For example, if the mobile phone supports satellite communication (i.e., has satellite communication functionality), the mobile phone can use the mobile communication module 150 to communicate with the satellite.
[0128] The modulation and demodulation processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
[0129] The wireless communication module 160 can provide wireless communication solutions for mobile phones, including wireless local area network (WLAN) (such as wireless fidelity (Wi-Fi) network), Bluetooth, global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The wireless communication module 160 can be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via antenna 2, frequency modulates and filters the electromagnetic wave signal, 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, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through antenna 2.
[0130] In some embodiments, the mobile phone's antenna 1 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone can communicate with the network and other devices via wireless communication technologies. The wireless communication technologies 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 global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite-based augmentation system (SBAS).
[0131] The mobile phone implements its display functionality through a GPU, display 194, and an application processor. The GPU is a microprocessor for image processing that connects display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.
[0132] Display screen 194 is used to display images, videos, etc. 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 (AMOLED), a flexible light-emitting diode (FLED), a Mini-LED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc.
[0133] The mobile phone can realize the shooting function through the ISP, camera 193, video codec, GPU, display 194 and application processor.
[0134] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0135] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element 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 passes the electrical signal to the ISP for conversion 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. In some embodiments, the mobile phone may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0136] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when a mobile phone selects a frequency, the DSP performs a Fourier transform on the frequency energy.
[0137] Video codecs are used to compress or decompress digital video. A mobile phone may support one or more video codecs. This allows it to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0138] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU enables intelligent cognitive applications in mobile phones, such as image recognition, face recognition, voice recognition, and text comprehension.
[0139] The mobile phone can implement audio functions such as music playback and recording through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0140] 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 set in the processor 110, or some functional modules of the audio module 170 can be set in the processor 110. The speaker 170A, also known as the "speaker", is used to convert audio electrical signals into sound signals. The receiver 170B, also known as the "earpiece", is used to convert audio electrical signals into sound signals. The microphone 170C, also known as the "microphone" or "microphone", is used to convert sound signals into electrical signals.
[0141] The headphone jack 170D is used to connect a wired headphone and can be the USB interface 130 or a 3.5mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0142] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the phone's storage capacity. The external memory card communicates with the processor 110 via the external memory interface 120 to implement data storage functions. For example, audio, video, and other files can be stored on the external memory card.
[0143] The internal memory 121 can be used to store computer executable program code, which includes instructions. The processor 110 executes various functional applications and data processing of the mobile phone by running the instructions stored in the internal memory 121. For example, in an embodiment of the present application, the processor 110 can execute instructions stored in the internal memory 121, and the internal memory 121 can include a program storage area and a data storage area.
[0144] The program storage area can store an operating system and at least one application required for a function (such as a sound playback function, an image playback function, etc.). The data storage area can store data created during the use of the mobile phone (such as audio data, a phone book, etc.). In addition, the internal memory 121 can include high-speed random access memory and non-volatile memory, such as at least one disk storage device, a flash memory device, or a universal flash storage (UFS).
[0145] The buttons 190 include a power button, a volume button, etc. The button 190 can be a mechanical button. It can also be a touch button. The motor 191 can generate a vibration prompt. The motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power changes, messages, missed calls, notifications, etc. The SIM card interface 195 is used to connect the SIM card. The SIM card can be connected to and separated from the mobile phone by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The mobile phone 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, etc.
[0146] The positioning module can provide a global navigation satellite system (GNSS) solution to implement the positioning function of the mobile phone. The positioning module can receive electromagnetic waves via antenna 2, frequency modulate and filter the electromagnetic wave signals, and send the processed signals to processor 110 so that processor 110 can determine the location information of the device.
[0147] In some embodiments, the mobile phone's antenna 1 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the positioning module. In addition, the above-mentioned 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).
[0148] 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 position sensor 180M, and the like.
[0149] Pressure sensor 180A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 180A can be located on display screen 194. There are many types of pressure sensors 180A, such as resistive, inductive, and capacitive. A capacitive pressure sensor can include at least two parallel plates made of conductive material. When force is applied to pressure sensor 180A, the capacitance between the electrodes changes. The phone determines the intensity of the pressure based on this change in capacitance. When a touch operation is applied to display screen 194, the phone detects the touch intensity based on pressure sensor 180A. The phone can also calculate the touch location based on the detection signal from pressure sensor 180A. In some embodiments, touch operations applied to the same touch location but with different touch intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, a command to view short messages is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to a short message application icon, a command to create a new short message is executed.
[0150] The gyroscope sensor 180B can be used to determine the motion posture of the mobile phone. In some embodiments, the angular velocity of the mobile phone around three axes (i.e., x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the mobile phone's 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 mobile phone through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenes. Of course, in the embodiment of the present application, when the mobile phone is searching for satellites, the gyroscope sensor 180B is used to detect the rotation angle of the mobile phone so that the mobile phone can complete the star-seeking action.
[0151] The barometric pressure sensor 180C is used to measure air pressure. In some embodiments, the mobile phone uses the air pressure value measured by the barometric pressure sensor 180C to calculate the altitude, assisting in positioning and navigation. For example, in embodiments of the present application, the barometric pressure sensor 180C can be used to measure the air pressure while the mobile phone is in flight to determine the current altitude of the mobile phone.
[0152] Magnetic sensor 180D includes a Hall effect sensor. The mobile phone can use magnetic sensor 180D to detect the opening and closing of a flip case. In some embodiments, if the mobile phone is a flip phone, the mobile phone can detect the opening and closing of the flip cover based on magnetic sensor 180D. Based on the detected opening and closing status of the case or flip cover, features such as automatic unlocking of the flip cover can be configured.
[0153] The accelerometer 180E can detect the magnitude of the acceleration of the mobile phone in all directions (generally three axes). When the mobile phone is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the mobile phone and applied to applications such as horizontal and vertical screen switching and pedometers. Of course, the accelerometer 180E can also be used to determine the moving speed of the mobile phone. In the embodiment of the present application, the mobile phone determines the moving speed of the mobile phone through the accelerometer 180E, and then the mobile phone determines whether the speed of the mobile phone is greater than or equal to the preset speed threshold based on the moving speed of the mobile phone. If the speed of the mobile phone is greater than or equal to the preset speed threshold, the mobile phone determines to restrict the mobile phone from communicating with the satellite through the first application.
[0154] Distance sensor 180F is used to measure distance. The phone can measure distance using infrared or laser. In some embodiments, when shooting a scene, the phone can use distance sensor 180F to measure distance and achieve fast focus.
[0155] 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 mobile phone emits infrared light outward through the light emitting diode. The mobile phone 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 mobile phone. When insufficient reflected light is detected, the mobile phone can determine that there is no object near the mobile phone. The mobile phone can use the proximity light sensor 180G to detect when the user holds the mobile phone 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.
[0156] The ambient light sensor 180L senses ambient light levels. The phone can adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L also automatically adjusts the white balance when taking photos. The ambient light sensor 180L can also work with the proximity sensor 180G to detect whether the phone is in a pocket, preventing accidental touches.
[0157] Fingerprint sensor 180H is used to collect fingerprints. The phone can use the collected fingerprints to unlock the phone, access app locks, take photos with fingerprints, answer calls with fingerprints, etc.
[0158] Temperature sensor 180J is used to detect temperature. In some embodiments, the mobile phone uses the temperature detected by temperature sensor 180J to implement a temperature handling strategy. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, the mobile phone reduces the performance of the processor located near temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is below another threshold, the mobile phone heats battery 142 to prevent abnormal shutdown of the mobile phone due to low temperature. In other embodiments, when the temperature is below yet another threshold, the mobile phone performs a voltage boost on the output voltage of battery 142 to prevent abnormal shutdown due to low temperature.
[0159] The touch sensor 180K is also called a "touch panel." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the mobile phone, in a location different from that of the display screen 194.
[0160] The position sensor 180M can obtain the location information of the mobile phone and convert it into a usable output signal. For example, for a mobile phone, the position sensor 180M can be a global positioning system (GPS) sensor that can determine the latitude and longitude coordinates of the mobile phone, etc., but this embodiment of the present application is not limited to this. For example, taking a mobile phone as an example, the mobile phone in the embodiment of the present application can use the position sensor 180M to obtain the location of the mobile phone (such as the latitude and longitude coordinates), and then determine whether the mobile phone is located in a satellite communication restricted control area or an area where satellite communication is possible based on the location of the mobile phone.
[0161] It should be understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the mobile phone. In other embodiments of this application, the mobile phone may include more or fewer components than shown in the figure, or some components may be combined or separated, or the components may be arranged differently. The components shown in the figure may be implemented in hardware, software, or a combination of hardware and software.
[0162] In order to make the technical solution of the present application clearer and easier to understand, the method of the embodiment of the present application is illustrated below in combination with the software architecture of a mobile phone.
[0163] As shown in FIG5 , it is a software structure block diagram of the mobile phone according to an embodiment of the present application.
[0164] The layered architecture divides the software into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, Android TM It is divided into multiple layers, from top to bottom, namely application layer, application framework layer, hardware abstraction layer interface definition language (HIDL) interface layer, hardware abstraction layer (HAL) and hardware layer. TM For example, in other operating systems (such as Hongmeng TM System, iOS TM system, etc.), as long as the functions implemented by each functional module are similar to those of the embodiments of the present application, the solution of the present application can also be implemented.
[0165] The application layer may include a series of application packages (Android application package, APK).
[0166] As shown in Figure 5, various applications (APPs) can be installed in the application layer, such as camera, calendar, map, WLAN, music, short message, mailbox, satellite, Bluetooth and other applications.
[0167] In an embodiment of the present application, an application for implementing satellite communication is deployed in the application layer, such as a Changlian application or a short message application.
[0168] The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0169] In the embodiment of the present application, a location manager service is deployed in the application framework layer. Of course, the application framework layer may also include a window manager, a content provider, an activity manager, a view system, a phone manager, a resource manager, a notification manager, etc., and the embodiment of the present application does not impose any restrictions on this.
[0170] After the Changlian application is successfully connected to the location management service, the Changlian application can call the application program interface (API) of the location management service to obtain the location information of the mobile phone.
[0171] The window manager manages windowed applications. It can determine the display size, determine whether a status bar is present, lock the screen, and take screenshots. Content providers store and retrieve data and make it accessible to applications. This data can include video, images, audio, incoming and outgoing calls, browsing history and bookmarks, and phone books.
[0172] The view system includes visual controls, such as those for displaying text and images. The view system is used to build applications. A display interface can consist of one or more views. For example, a display interface containing a text notification icon might include a view for displaying text and a view for displaying images.
[0173] The phone manager is used to provide the communication functions of the mobile phone, such as the management of call status (including answering, hanging up, etc.).
[0174] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.
[0175] The Notification Manager allows applications to display notifications in the status bar. These messages can be displayed briefly and then disappear automatically, without requiring user interaction. For example, the Notification Manager can be used to notify users of completed downloads and message reminders. The Notification Manager can also display notifications in the top status bar as icons or scrolling text, such as notifications from background applications, or as dialog windows on the screen. Examples include displaying text messages in the status bar, emitting alert sounds, vibrating the phone, or flashing indicator lights.
[0176] The application layer and application framework layer run in a virtual machine. The virtual machine executes Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0177] Still as shown in Figure 5, the system libraries and kernel layer below the application framework layer can be referred to as the underlying system. The system libraries of the underlying system include a state monitoring service and a speed monitoring service. The state monitoring service can be used to identify the current motion state of the mobile phone. Specifically, the sensor service can be called to start the accelerometer for detection. The state monitoring service can determine whether the current motion state of the mobile phone is stationary or moving based on the motion data reported by the accelerometer. The state monitoring service can report the determined current motion state of the mobile phone to the activity management service. The speed monitoring service can be used to identify the current moving speed of the mobile phone. Specifically, the sensor service can be called to start the accelerometer for detection.
[0178] The kernel layer of the underlying system is the layer between hardware and software. The kernel layer includes positioning drivers and sensor drivers. Optionally, the kernel layer may also include display drivers, audio drivers, Wi-Fi drivers, modem drivers, Bluetooth drivers, etc., which are not limited in this embodiment of the application.
[0179] The Android runtime includes the core library and the virtual machine. The Android runtime is responsible for scheduling and management of the Android system.
[0180] The core library consists of two parts: one containing the Java language's callable functions and the other the Android core library. The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files in the application layer and application framework layer as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.
[0181] FIG6 is a specific implementation of a method for limiting the use of satellite communications provided in an embodiment of the present application. The method is applied to an electronic device having a first application supporting communication between the electronic device and a satellite. The method includes:
[0182] Step 601: The electronic device displays a communication interface of a first application, wherein the communication interface includes a first function control, and the first function control is used to trigger the electronic device to communicate with a satellite through the first application.
[0183] For example, when the first function control is triggered, the electronic device communicating with the satellite through the first application may include: the electronic device sending a short message input by the user in the first application to the satellite, or the electronic device sending a voice or video call request triggered by the user through the first application to the satellite.
[0184] As shown in FIG2F , when the communication interface of the first application is a short message conversation interface as shown in FIG2F , the first functional control may be a send control 208. When the electronic device detects that the send control 208 is triggered, the electronic device may send the text message entered by the user in the short message conversation interface and the current location information of the electronic device as the content of the short message to the satellite, so that the satellite forwards the short message to the electronic device of the target contact selected by the user, thereby enabling the electronic device to communicate with other electronic devices via the satellite.
[0185] As shown in Figure 3A, when the communication interface of the first application is a call interface, the first function control may be a voice call control 302 or a video call control 301. When the electronic device detects that the voice call control 302 has been triggered, the electronic device may send a voice call request to the satellite, which will forward the voice call request to the electronic device of the target contact selected by the user. When the electronic device detects that the video call control 301 has been triggered, the electronic device may send a video call request to the satellite, which will forward the video call request to the electronic device of the target contact selected by the user.
[0186] Step 602: The electronic device detects an operation on a first functional control.
[0187] For example, the operation on the first function control may be a click operation, for example, the user clicks the send control 208 or clicks the voice call control 302 or the video call control 301 .
[0188] Step 603: In response to the operation on the first function control, the electronic device determines whether the electronic device meets the restricted use condition based on the location information of the electronic device and / or the moving speed of the electronic device.
[0189] In the above step 603, in response to the operation of the first function control, the electronic device can obtain the current location information of the electronic device and / or the moving speed of the electronic device, and determine whether the electronic device meets the restricted use conditions based on the current location information of the electronic device and / or the moving speed of the electronic device obtained in real time.
[0190] In the embodiment of the present application, if the electronic device meets the restricted use condition, it means that the electronic device cannot currently use the first application to communicate with the satellite.
[0191] In the embodiment of the present application, if the electronic device does not meet the restricted use conditions, it means that the electronic device can currently use the first application to communicate with the satellite.
[0192] Step 604: When the electronic device meets the restricted use condition, the electronic device restricts the electronic device from communicating with the satellite through the first application.
[0193] The electronic device restricting communication with the satellite via the first application can be understood as follows: if the restricted usage conditions are met, the electronic device will not send short messages entered by the user in the short message conversation interface of the first application to the satellite. For example, the electronic device will not respond to user actions triggered by the voice call control or video call control in the voice call interface, that is, it will not send a voice call request or video call request to the satellite.
[0194] In another possible embodiment of the present application, as shown in FIG6 , the method provided in the embodiment of the present application may further include:
[0195] Step 609: If the electronic device determines that the electronic device does not meet the restricted use condition, the electronic device communicates with the satellite using the first application.
[0196] For example, taking the communication content as a short message entered by the user in the short message conversation interface of the first application, if it is detected that the first function control is triggered and the electronic device does not meet the restricted use conditions, as shown in Figure 2I, the electronic device sends the text content entered by the user in the short message conversation interface of the first application and the current geographical location information of the electronic device as a short message to the satellite. The short message is then sent to the electronic device of the target contact by the satellite.
[0197] In one possible embodiment of the present application, to facilitate a user's understanding of the reason for restricting the electronic device from communicating with a satellite through the first application, as shown in FIG6 , the method provided in the embodiment of the present application for restricting the electronic device from communicating with a satellite through the first application may further include:
[0198] Step 605: The electronic device outputs a first prompt message, wherein the first prompt message is used to indicate the reason for restricting the electronic device from communicating with the satellite through the first application.
[0199] As an example, the first prompt information can be a text prompt information or a voice prompt information. Of course, the first prompt information can also be a text prompt information + vibration reminder method or a voice prompt information + vibration reminder method, which is not limited in this embodiment of the present application.
[0200] Of course, the reminder method of the first prompt information can be a reminder method set by default in the electronic device, or a reminder method set by the user, which is not limited in this embodiment of the present application.
[0201] In a possible implementation of the present application, the electronic device outputs the first prompt information, including: the electronic device displays a first prompt card including the first prompt information.
[0202] As an example, the electronic device may display a first prompt card on the communication interface of the first application. As shown in FIG7 (b) or (c), taking the communication interface as a short message conversation interface as an example, the electronic device may display prompt card 701 or prompt card 702 on the short message conversation interface.
[0203] Because the reasons why electronic devices are restricted from satellite communications vary in different situations, for example, taking the first prompt information as a text prompt information, the first prompt information can be displayed as a card on the display interface of the electronic device. As shown in Figure 7, the mobile phone detects that a user has triggered a click operation on the send control 208 in the short message conversation interface 700 shown in Figure 7 (a). In response to the click operation on the send control 208, the mobile phone determines that the mobile phone is located within a communication control area or that the mobile phone's movement speed is greater than or equal to a preset speed threshold. As shown in Figure 7 (b) or (c), the mobile phone displays a prompt card including the first prompt information in the short message conversation interface 700. Specifically, if the mobile phone's movement speed is greater than or equal to a preset speed threshold, resulting in the mobile phone being restricted from using the first application to communicate with satellites, the mobile phone can display a prompt card 701 in the interface 700 shown in Figure 7 (b). The prompt card 701 includes the reason for the restriction on the use of satellite communications as "moving too fast." Optionally, the prompt card 701 can also display a prompt message including a communication result of a failed send.
[0204] For example, as shown in FIG7(c), if the mobile phone is located within any communication control area, resulting in the mobile phone being restricted from using the first application to communicate with the satellite, the mobile phone may display a prompt card 702 on the interface shown in FIG7(c). The prompt card 702 displays the communication result "short message sending failed, and the reason for the sending failure is: the use of satellite communication is restricted in the current area."
[0205] In one possible implementation of the present application, prompt card 702 or prompt card 701 may further include a close control 703. When the electronic device detects a request for close control 703 or detects a user input of a specified operation in prompt card 702 or prompt card 701, the electronic device cancels display of prompt card 702 or prompt card 701. For example, the specified operation may be a single-click operation, a double-click operation, or other operation, which is not limited in this embodiment of the present application.
[0206] Of course, the electronic device can also automatically cancel the display prompt card 702 or prompt card 701 after a preset time. This can avoid the user from manually closing the prompt card 702 or prompt card 701, further improving the user experience.
[0207] In one possible implementation of the present application, the electronic device may determine whether the electronic device meets the restricted use condition based on the location information of the electronic device and / or the movement speed of the electronic device in the following manner:
[0208] Case (1): Automatically restrict electronic devices from enabling satellite communications in specified scenarios
[0209] For example, if it is necessary to automatically restrict electronic devices from enabling satellite communications in designated scenarios (such as flight scenarios), but not in non-designated scenarios, since the movement speed of electronic devices in flight scenarios is generally higher, while the movement speed of electronic devices in non-designated scenarios is generally lower than that in flight scenarios, the movement speed of the electronic device can be combined to determine whether the electronic device meets the restriction conditions.
[0210] If the moving speed of the electronic device is greater than or equal to the preset speed threshold, the electronic device determines that the electronic device meets the restricted use condition. If the moving speed of the electronic device is less than the preset speed threshold, the electronic device is determined not to meet the restricted use condition.
[0211] The embodiments of the present application do not specifically limit the preset speed threshold value, because the moving speed of the aircraft in different stages (sliding, takeoff, climbing, cruising, descending, and landing) is usually different. For example, the speed of the aircraft in the taxiing stage is usually 10 knots / hour (i.e., 18.52 kilometers / hour); the flight speed of the aircraft in the takeoff and climbing stages is usually 160-200 knots / hour (296.32 kilometers / hour to 370.4 kilometers / hour); the flight speed of the aircraft in the cruising stage is usually 300km / h to 2000km / h; the flight speed of the aircraft in the descent and climbing stages is usually 160-200 knots / hour (296.32 kilometers / hour to 370.4 kilometers / hour); and the flight speed of the aircraft in the landing stage is usually 130-160 knots / hour (240.76 kilometers / hour to 296.32 kilometers / hour). Assuming that it is necessary to limit the communication between electronic equipment and satellites when the aircraft is in the takeoff and climbing stages, the preset speed threshold value can be set to 300 kilometers / hour. If it is necessary to limit electronic equipment from communicating with satellites when the aircraft is in the cruising phase, the preset speed threshold can be set to the minimum flight speed corresponding to the cruising phase or a speed range can be selected from the speed interval corresponding to the cruising phase. This embodiment of the present application does not limit this.
[0212] As an example, the preset speed threshold may be 200 km / h, or the preset speed threshold may be a minimum of 300 km / h and a maximum of 1200 km / h.
[0213] Assume that you need to restrict an electronic device from enabling satellite communications in a flight scenario, but not in a flight scenario (for example, when the electronic device is on a high-speed train). The maximum speed of a high-speed train can reach 300-350 km / h. Therefore, when setting the preset speed threshold, the preset speed threshold can be set to be greater than or equal to the maximum speed of the high-speed train. This avoids misjudging the electronic device due to excessive movement speed when the electronic device is on the high-speed train, thereby restricting the electronic device from communicating with the satellite.
[0214] In conjunction with the above scenario, in order to avoid misjudgment caused by solely combining the mobile speed to determine whether the electronic device meets the restricted use conditions, the electronic device can also determine whether the electronic device meets the restricted use conditions based on the mobile speed and the scene in which the electronic device is located. Based on this, the method provided in the embodiment of the present application may also include:
[0215] The electronic device determines the scene the electronic device is currently in. Accordingly, if the moving speed of the electronic device is greater than or equal to the preset speed threshold and the scene the electronic device is currently in is a preset scene, the electronic device determines that the electronic device meets the restricted use condition.
[0216] As an example, the preset scenario may be a scenario where the use of satellite communication is restricted, for example, the preset scenario may be a flight scenario.
[0217] In one possible implementation of the present application, the electronic device determines the scene in which the electronic device is located, including: the electronic device obtaining the altitude of the electronic device. When the altitude of the electronic device is greater than or equal to a preset altitude, the electronic device determines that the scene in which the electronic device is located is the preset scene.
[0218] As an example, the electronic device has an air pressure sensor, and the electronic device can determine the altitude of the electronic device through the air pressure sensor. Of course, the electronic device can also determine the altitude of the electronic device through other methods, which are not limited in the embodiments of the present application.
[0219] In one possible implementation of the present application, the air pressure sensor may be in an operating state at all times, so that the electronic device can obtain, in real time, information collected by the air pressure sensor for determining the altitude of the electronic device. Alternatively, the electronic device may control the air pressure sensor to activate when the altitude of the electronic device is greater than or equal to a preset altitude, to obtain information collected by the air pressure sensor for determining the altitude of the electronic device.
[0220] Case (2): Automatically restricting the use of satellite communications by electronic devices within the communication control area
[0221] Optionally, the electronic device includes a first list, wherein the first list is used to determine information about one or more communication control areas where satellite communication use is restricted. Accordingly, the electronic device determines whether the electronic device meets the restricted use conditions based on the location information of the electronic device, including:
[0222] If the location information of the electronic device indicates that the location of the electronic device is within any communication control area, the electronic device is determined to meet the restricted use condition. If the location information of the electronic device indicates that the location of the electronic device is not within any communication control area, the electronic device is determined not to meet the restricted use condition.
[0223] The region in the embodiment of the present application may refer to a country or region, for example, information about country A, information about city A, or information about district A in city A.
[0224] As an example, the first list includes information about one or more public communication areas and information about n communication control areas included in the public communication areas. A public communication area is an area where satellite communication is available. n is an integer greater than or equal to 0.
[0225] The communication control area can be part of or the entire public communication area. For example, if the public communication area includes M areas, the number of communication control areas can be less than M. When the number of communication control areas is equal to M, it means that the entire public communication area is restricted from communicating with satellites.
[0226] It is understandable that when a public communication area includes 0 communication control areas, it means that there are no communication control areas in the public communication area. When the number of communication control areas in a public communication area is greater than or equal to 1, it means that there is at least one communication control area in the public communication area, and all areas in the public communication area except for at least one communication control area are areas where satellite communication can be used. For example, taking the public communication area as country A, if the first list includes information about country A, and the communication control area in country A that is restricted from satellite communication is city A1 in country A, it means that city A1 is restricted from using satellite communication, and cities A2 and A3 in country A, excluding city A1, are areas where satellite communication can be used. Therefore, when the first function control of the electronic device is triggered, if the electronic device detects that the electronic device is located in city A1, the electronic device is restricted from using satellite communication. When the first function control of the electronic device is triggered, if the electronic device detects that the electronic device is located in city A2, the electronic device can send a short message or a voice call or video call request to the satellite.
[0227] It is understood that when the first list includes information about one or more public communication areas and information about n communication control areas within the public communication areas, the first list can be considered a blacklist or whitelist. For example, the blacklist or whitelist includes the identifiers of one or more countries that can use satellite communication and the identifiers of one or more cities that cannot use satellite communication. For example, for countries A and B, and cities 001 and 002 in country A, the electronic device can determine that satellite communication is available in all areas of country A except cities 001 and 002. In other words, the areas in country A except cities 001 and 002 are not control areas, while the areas corresponding to cities 001 and 002 are control areas and cannot use satellite communication. Satellite communication is available in all areas of country B.
[0228] As another example, the first list may include information about one or more communication control areas where satellite communication cannot be used. For example, if cities 001 and 002 in country A are control areas where satellite communication is restricted, the first list may include the city identifiers of cities 001 and 002.
[0229] In one possible embodiment of the present application, the first list is pre-configured in the electronic device, for example, the electronic device is configured with the first list when it leaves the factory. Alternatively, the first list can be obtained by the electronic device from a server. It is worth mentioning that the electronic device can periodically obtain the first list from the server. This ensures that the obtained first list is more accurate.
[0230] In a possible embodiment of the present application, after the electronic device obtains the first list from the server, the electronic device may use the first list obtained from the server to replace the first list preconfigured in the electronic device.
[0231] For example, if the server detects a change in the area where satellite communication is possible, the server sends updated information about the area where satellite communication is possible to the electronic device, so that the electronic device obtains the first list. Alternatively, the server sends the updated information about the area where satellite communication is possible to the electronic device, and the electronic device then updates its original first list based on the updated information about the area where satellite communication is possible, thereby obtaining an updated first list.
[0232] If an electronic device is constantly monitoring the location information and / or the speed of movement of the electronic device, the electronic device may consume a lot of power. Therefore, to reduce the power consumption of the electronic device, in one possible embodiment of the present application, upon detecting a user-triggered operation to open a first application, the electronic device begins monitoring the location information and / or the speed of movement of the terminal.
[0233] For example, in the interface shown in FIG2A , if the electronic device detects a user input for opening a first application, the electronic device can determine that a user-triggered operation to open the first application has been detected. Taking a mobile phone as an example, the operation can be a single click or a double click performed by the user on the display screen of the mobile phone, which is not limited in this embodiment of the present application.
[0234] In one possible embodiment of the present application, when the first application is in a restricted use state, the method provided in the embodiment of the present application may further include: the electronic device reacquiring the electronic device's location information and / or movement speed when a specified condition is met. The electronic device then determines, based on the reacquired location information and / or movement speed of the electronic device, that the electronic device does not meet the restricted use condition, and outputs a prompt message to inform the user that the first application can currently be used to communicate with the satellite.
[0235] As an example, the specified condition may include: detecting an operation on the first function control, and / or satisfying a preset judgment period (eg, one hour, or 30 minutes).
[0236] When the first application is in a restricted use state (i.e., a scenario in which communication with a satellite is restricted), taking a preset judgment period of 30 minutes as an example, the electronic device can re-acquire the location information and / or moving speed of the electronic device every 30 minutes. The electronic device then determines whether the electronic device meets the restricted use conditions based on the re-acquired location information and / or moving speed of the electronic device. If the restricted use conditions are not met, a prompt message is output to prompt the user that the first application can currently be used to communicate with the satellite. If the restricted use conditions are met, a prompt message can be output to prompt the user that the first application cannot currently be used to communicate with the satellite, and the first function control of the first application can continue to be set to a restricted use state. This solution can enable the electronic device to automatically determine whether the electronic device meets the restricted use conditions.
[0237] In a possible embodiment of the present application, when the first application is in a restricted use state, as shown in FIG6 , the method provided in the embodiment of the present application may further include:
[0238] Step 606: The electronic device detects an operation on the first function control again.
[0239] Step 607: In response to the operation on the first function control again, the electronic device re-acquires the location information and / or movement speed of the electronic device.
[0240] Step 608: The electronic device determines whether the electronic device meets the restricted use condition based on the re-acquired location information and / or movement speed of the electronic device.
[0241] Step 609: If the electronic device determines that the electronic device does not meet the restricted use conditions based on the re-acquired location information and / or moving speed of the electronic device, the electronic device sends the communication content triggered by the user on the communication interface via the satellite, that is, the electronic device can use the first application to communicate with the satellite.
[0242] It should be noted that, when the electronic device detects an operation on the first function control again, if the electronic device determines that the electronic device does not meet the restricted use conditions based on the re-acquired location information and / or moving speed of the electronic device, and the user has not entered content in the communication interface (for example, there is no text content in the dialog box shown in Figure 2F), the electronic device can send the currently acquired geographic location information of the electronic device as the content of a short message to the satellite.
[0243] For example, taking the electronic device as a mobile phone, in the short message conversation interface 700 shown in Figure (a) of Figure 7, the mobile phone detects the user's operation on the send control 208 (corresponding to time T1), and the mobile phone determines whether the mobile phone is located in the communication control area based on the location information of the mobile phone monitored at time T1. If the mobile phone is located in the communication control area, the mobile phone determines that it is restricted from using the Changlian application to communicate with the satellite, that is, it is restricted from using the Changlian application to send short messages to the satellite. Therefore, the mobile phone can display the prompt interface shown in Figure (b) or (c) of Figure 7. After a period of time, such as time T2, if the mobile phone detects the operation on the send control 208 again, the mobile phone again determines whether the mobile phone is located in the communication control area based on the location information of the mobile phone monitored at time T2. At time T2, if the mobile phone is still located in the communication control area, the mobile phone determines to continue to restrict the mobile phone from using the Changlian application to communicate with the satellite. Optionally, the mobile phone can display the prompt interface shown in Figure (b) or (c) of Figure 7 again. If at time T2, the phone's location information indicates that it is outside the communication control area, the phone determines that it can currently use the Changlian app to communicate with the satellite (for example, send a short message), and then uses the Changlian app to send a short message to the satellite. The specific process can be referred to in the description of Figures 2G to 2L, and will not be repeated here.
[0244] In another possible embodiment of the present application, when an electronic device is restricted from using a first application to communicate with a satellite, the electronic device may periodically perform a process of determining whether the electronic device meets the restricted use conditions based on the electronic device's movement speed and / or location information. If the electronic device's movement speed and / or location information indicates that the electronic device does not meet the restricted use conditions, the electronic device removes the restriction on using the first application to communicate with the satellite.
[0245] It is understandable that after the electronic device removes the restriction on using the first application to communicate with the satellite, if the user triggers the first function control, the electronic device can send the call content entered by the user in the call interface to the satellite through the first application.
[0246] In a possible embodiment of the present application, in order to facilitate the user to understand that the restricted usage status of the first application has been lifted, the electronic device in the embodiment of the present application lifts the restriction on the first application and further includes: the electronic device outputs a second prompt message, and the second prompt message is used to prompt that the restriction of the first application has been lifted. The electronic device can also output the reason why the restriction of the first application has been lifted, such as the moving speed of the electronic device meets the requirements (such as lower than a preset speed threshold) or the electronic device is currently located in an area where satellite communication can be used, so the satellite communication function can be used, etc. As an example, the electronic device outputs a second prompt card including the second prompt message.
[0247] In one possible implementation of the present application, restricting the electronic device from using a first application to communicate with a satellite may further include: the electronic device setting the first function control to a restricted use state (e.g., grayed out). For example, a user may set the first function control to be in a restricted use state for a specified time period. It is understood that when the first function control is in the restricted use state, even if the user triggers an operation on the first function control, the electronic device will not transmit the communication content triggered by the user in the first application to the satellite. It is understood that when the first function control is in the restricted use state, assuming the user triggers the operation on the first function control, the electronic device may re-determine whether the electronic device currently meets the restricted use conditions. If the restricted use conditions are met, the first function control may continue to be set to the restricted use state. If the restricted use conditions are not met, the first function control may be set to an enabled state. It is understood that when the first function control is in the enabled state, if the user triggers the operation on the first function control, the electronic device may, in response to the operation on the first function control, use the first application to communicate with the satellite. When the first function control is in the restricted use state, if the user triggers the operation on the first function control, the electronic device will not use the first application to communicate with the satellite.
[0248] Since satellite communication resources are generally precious, if satellite communication resources are always occupied, electronic equipment that urgently needs resources may become unusable. Therefore, it is necessary to restrict the use of satellite communications by electronic equipment in this scenario.
[0249] To prevent users from frequently using satellites for communications, the method provided in an embodiment of the present application involves an electronic device obtaining a current transmission interval when a preset condition is met. The current transmission interval is the difference between the current time and the last time the electronic device used satellite communications. If the current transmission interval is less than or equal to the preset transmission interval, the electronic device sets the operation state of the first functional control in the communication interface to a restricted use state. If the current transmission interval is greater than the preset transmission interval, the electronic device uses the first application to communicate with the satellite in response to an operation on the first functional control.
[0250] The current sending interval is the difference between the current time and the last time the electronic device used satellite communication. If the current sending interval is less than or equal to the preset sending interval, the electronic device setting the operating state of the first function control in the communication interface to the restricted use state further includes: the electronic device not using the first application to send a short message / send a voice call request / send a video call request to the satellite.
[0251] For example, the preset condition may be detecting an operation of opening a first application or clicking a first function control triggered by a user.
[0252] When the current sending time interval is greater than the preset sending time interval, the electronic device changes the operation state of the first function control in the communication interface to an available state.
[0253] As an example, the preset sending time interval can be set according to actual needs. For example, the preset sending time interval can be 60 seconds or 120 seconds.
[0254] As an example, the current time may be the moment when the electronic device detects that the first function control is triggered.
[0255] In the embodiment of the present application, the last time the electronic device used the first application to communicate with the satellite is: the most recent time the electronic device used the first application to send a short message to the satellite or send a voice call request or video call request to the satellite. Alternatively, the most recent time the electronic device used the first application to make a voice call or video call via the satellite.
[0256] In one possible embodiment of the present application, the electronic device setting the operating state of the first functional control in the communication interface to the restricted use state further includes: the electronic device displaying a countdown information for the restricted use in the communication interface. The countdown information for the restricted use is the time when the operating state of the first functional control changes from the restricted use state to the usable state.
[0257] Accordingly, the method provided in an embodiment of the present application further includes: setting the operational state of the first function control in the communication interface to an available state after the time specified in the countdown information for limiting usage has elapsed. For example, if the countdown information for limiting usage is 10 seconds, the mobile phone sets the state of the first function control displayed on the first communication interface to an available state after 10 seconds.
[0258] For example, as shown in Figure 8, taking the example of a mobile phone using the Changlian application to send a short message to the satellite, the mobile phone detects the user input of the open operation for the Changlian application as shown in Figure 8 (a), or the mobile phone detects the user's click operation on the send control 208, then the mobile phone determines the current sending time interval. Taking the preset sending time interval of 60 seconds as an example, if the time T when the electronic device last sent a short message using the satellite is 12:10:05, and the current time is 12:10:45. The current sending time interval = 40 seconds. Since the current sending time interval is less than 60 seconds, the electronic device sets the operation state of the first function control in the communication interface to the restricted use state. Assuming that the user enters a short message in the short message conversation interface at this time, the electronic device does not send the short message to the satellite. For example, as shown in Figure 8 (b), the mobile phone sets the send control 208 in the short message conversation interface to gray (i.e., restricted use state). Optionally, a countdown timer, such as 15 seconds, can be displayed in the short message conversation interface as a time reminder. This allows the user to determine, based on the countdown timer, that they can operate the Send control 208 in 15 seconds. The countdown timer can also indicate the remaining time. After 15 seconds, the Send control 208 in the short message conversation interface on the mobile phone becomes operational. When the Send control 208 is operational, the mobile phone can execute user operations on the Send control 208. For example, if the user clicks the Send control 208, the mobile phone sends a short message to the satellite. If the Send control 208 is in the restricted use state, the mobile phone will not execute the function corresponding to the Send control 208, i.e., the mobile phone will not use the first application to send a short message to the satellite. For example, if the user clicks the Send control 208, the mobile phone will not execute the action of sending the short message to the satellite.
[0259] For example, if the time T when the electronic device last sent a short message using a satellite is 12:09:35, the current time is 12:10:45, and the current sending time interval is 70 seconds, since the current sending time interval is greater than 60 seconds, the electronic device will execute the function corresponding to the sending control 208, that is, the sending control 208 is triggered, and the mobile phone uses the first application to send a short message to the satellite.
[0260] It is understood that, even when the electronic device is restricted from using the first application to communicate with the satellite in the embodiments of the present application, the electronic device may still use the first application to communicate with a base station in the cellular network. For example, if the electronic device is located in a communication control area, but the electronic device meets the conditions for communicating with a base station in the cellular network, the electronic device may use the first application to send a short message or initiate a voice or video call request through the base station.
[0261] The following takes the first application as the Changlian application and takes a mobile phone using the Changlian application to send a short message to the satellite as an example, and describes the flow chart of restricting the use of satellite communications in different scenarios in accordance with the embodiment of the present application in combination with Figures 9 to 11.
[0262] As shown in FIG9 , taking the example of automatically restricting electronic devices from enabling satellite communication functions in a specified scenario, the method includes:
[0263] Step 901: The user interface layer displays an interface including the Changlian application, detects a click operation to open the Changlian application triggered by the user on the interface, and sends an opening operation for the Changlian application to the application program layer.
[0264] Step 902: The application layer detects the user inputting an operation of opening the Changlian application on the user interface layer, and then the application layer sends a mobile speed query service to the mobile speed monitoring service.
[0265] For example, the application layer sends a mobile speed query service to the mobile speed monitoring service. The mobile speed monitoring service receives the mobile speed query service and sends it to the sensor driver. The sensor driver then begins monitoring the phone's speed based on the mobile speed monitoring service. The sensor driver then reports the monitored mobile speed to the mobile speed monitoring service, which then reports the monitored mobile speed to the Changlian application in the application layer, allowing the Changlian application to obtain the mobile speed.
[0266] Step 903: The application layer starts monitoring the moving speed of the mobile phone in response to the user's opening operation in step 901.
[0267] Step 904 : After opening the Changlian application, in response to the user's input operation, the user interface layer displays the short message conversation interface (corresponding to the first communication interface). As shown in FIG. 2F , the short message conversation interface includes a send control 208 .
[0268] It is understandable that in the interface shown in FIG. 2F , the user can edit and input the content of the short message to be sent in the dialog box.
[0269] Step 905: The user interface layer sends an operation for the send control to the application layer.
[0270] In step 906, the application layer determines whether the mobile phone's moving speed is greater than or equal to a preset speed threshold in response to the user's operation on the send control in the short message conversation interface. If the mobile phone's moving speed is greater than or equal to the preset speed threshold, step 907 is executed. If the mobile phone's moving speed is less than the preset speed threshold, step 910 is executed.
[0271] Step 907: When the mobile phone's moving speed is greater than or equal to a preset speed threshold, the application layer restricts the mobile phone from using the Changlian application to send short messages to the satellite.
[0272] Step 908: When the mobile phone's moving speed is greater than or equal to a preset speed threshold, the application layer also sends a restriction prompt message to the user interface layer, for example, the reason for restricting the Changlian application from communicating with the satellite.
[0273] Step 909: The user interface layer outputs a prompt message on the short message conversation interface indicating that the user is restricted due to the mobile speed.
[0274] Step 910: When the mobile phone's moving speed is less than a preset speed threshold, the mobile phone sends a short message to the satellite via the Changlian application.
[0275] It is understandable that the short message includes not only the current location information of the mobile phone but also other text content input by the user in the SMS conversation interface.
[0276] As shown in FIG10 , taking the automatic restriction of electronic devices enabling satellite communication functions in a controlled area as an example, the method includes:
[0277] Step 1001: The application layer in the mobile phone periodically interacts with the cloud server to obtain a blacklist and whitelist.
[0278] For example, a mobile phone may be configured with a preset periodicity, and may periodically retrieve the blacklist and whitelist from the server according to the preset periodicity, such as once a week or once a month. Of course, in order for the mobile phone to promptly obtain the latest blacklist and whitelist from the cloud server, the cloud server may notify the mobile phone to promptly update the blacklist and whitelist in the mobile phone after the blacklist and whitelist on the cloud server is updated.
[0279] Step 1002: The application layer stores the obtained blacklist and whitelist.
[0280] Step 1003: The mobile phone displays an interface including the Changlian application on the user interface layer.
[0281] Step 1004: The user interface layer detects the user input operation of opening the Changlian application.
[0282] Step 1005: The user interface layer sends the user input operation of opening the Changlian application to the application layer.
[0283] Step 1006: The application layer sends the location request service to the location management service.
[0284] Step 1007: Start monitoring the location information of the mobile phone.
[0285] Specifically, the location management service receives the location query service and sends the location query service to the positioning driver (such as the sensor driver). The sensor driver then calls the sensor based on the location monitoring service to start monitoring the location information of the mobile phone. The sensor driver reports the monitored location information of the mobile phone to the location management service, which then reports the monitored location information of the mobile phone to the Changlian application in the application layer, so that the Changlian application can obtain the location information of the mobile phone.
[0286] Step 1008: The user interface layer displays the short message conversation interface in response to the user's operation.
[0287] Step 1009: If the user interface layer detects the user's operation on the send control in the short message conversation interface, the user click operation of the send control is sent to the application layer.
[0288] Step 1010: In response to the user's operation on the send control, the application layer determines whether the location of the mobile phone is within the communication control area recorded in the blacklist and whitelist.
[0289] Step 1011: If the mobile phone is located in a communication control area recorded in the blacklist or whitelist, the application layer restricts the mobile phone from using the Changlian application to send short messages to the satellite. For example, the application layer will not send the short message to the communication module.
[0290] Step 1012: The application layer sends a restriction prompt message to the user interface layer, such as the reason for restricting the Changlian application from communicating with the satellite.
[0291] Step 1013: The user interface layer outputs a prompt card on the short message conversation interface, wherein the prompt card includes prompt information indicating that the electronic device is located in a communication control area and is therefore restricted from using the first application to communicate with the satellite.
[0292] Step 1014: When the mobile phone is located outside the communication control area recorded in the blacklist and whitelist, the application layer uses the Changlian application to send a short message to the satellite. For example, the application layer sends the short message to the communication module, so that the communication module sends the short message.
[0293] As shown in FIG11 , taking the example of limiting the communication between the mobile phone and the satellite by using intervals, as shown in FIG11 , the method includes:
[0294] Step 1101: The user interface layer displays the short message conversation interface of the Changlian application.
[0295] Step 1102: The user interface layer detects a user operation on a send control in the short message conversation interface.
[0296] Step 1103: The user interface layer sends the operation of clicking the send control of the Changlian application input by the user to the application layer.
[0297] Step 1104: The application layer obtains the user's operation of clicking the send control, and the application layer obtains the sending time interval of the mobile phone.
[0298] Step 1105: The application layer determines whether the current sending time interval is greater than a preset sending time interval threshold.
[0299] Step 1106: If the current sending interval is less than or equal to the preset sending interval threshold, the application layer sends a prompt message to the user interface layer. The prompt message triggers the user interface layer to display the operation status of the send control in the short message conversation interface as a restricted state and to display a countdown prompt message.
[0300] Step 1107: In response to the prompt information, the user interface layer displays the operation status of the send control in the short message conversation interface as a restricted use status and displays countdown prompt information.
[0301] Step 1108: After the time indicated by the countdown prompt information is reached, the operation status of the send control in the short message conversation interface displayed on the user interface layer is in an available state.
[0302] It is understandable that in order to implement the functions of any of the above-mentioned embodiments, the electronic device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0303] The embodiments of the present application can divide the electronic device into functional modules. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical functional division. In actual implementation, there may be other division methods.
[0304] For example, when the functional modules are divided in an integrated manner, a block diagram of an electronic device according to an embodiment of the present application is shown in FIG12 . As shown in FIG12 , the electronic device may include a display unit 1201 , a detection unit 1202 , a judgment unit 1203 , and a processing unit 1204 .
[0305] The display unit 1201 is configured to display the communication interface of the first application. The communication interface of the first application includes at least a first functional control. The detection unit 1202 is configured to detect an operation on the first functional control. The judgment unit 1203 is configured to determine, in response to the operation on the first functional control, whether the electronic device meets the restricted use conditions based on the location information of the electronic device and / or the movement speed of the electronic device obtained by the first acquisition unit. The processing unit 1204 is configured to restrict the electronic device from communicating with the satellite through the first application if the judgment unit determines that the electronic device meets the restricted use conditions.
[0306] Optionally, the processing unit 1204 is further configured to control the display unit 1201 to output first prompt information. The first prompt information is used to indicate the reason for restricting the electronic device from communicating with the satellite through the first application.
[0307] In one possible implementation of the present application, the judgment unit 1203 is configured to determine that the electronic device meets the restricted use condition when the moving speed of the electronic device is greater than or equal to a preset speed threshold. The judgment unit 1203 is configured to determine that the electronic device does not meet the restricted use condition when the moving speed of the electronic device is less than the preset speed threshold.
[0308] In one possible implementation of the present application, the processing unit 1204 is further used to determine the scene in which the electronic device is located; the judgment unit is further used to determine that the electronic device meets the restricted use conditions when the moving speed of the electronic device is greater than or equal to a preset speed threshold and the scene in which the electronic device is located is a preset scene.
[0309] In a possible implementation of the present application, the processing unit 1204 is further configured to obtain the altitude of the electronic device through the first obtaining unit. If the altitude of the electronic device is higher than or equal to a preset altitude, the scene where the electronic device is located is determined to be the preset scene.
[0310] In one possible implementation of the present application, the electronic device includes a first list, which is used to determine information about one or more communication control areas where satellite communication use is restricted. The judgment unit 1203 is specifically configured to determine that the electronic device meets the restricted use conditions if the electronic device's location information indicates that the electronic device is located within any communication control area. The judgment unit 1203 is configured to determine that the electronic device does not meet the restricted use conditions if the electronic device's location information indicates that the electronic device is located outside of one or more of the communication control areas.
[0311] In one possible implementation of the present application, the first list includes information on one or more public communication areas that can use satellite communication, and information on n communication control areas included in the public communication areas, where n is an integer greater than or equal to 0; or, the first list includes information on one or more communication control areas that cannot use satellite communication.
[0312] In a possible implementation of the present application, the first list is a list preconfigured in the electronic device, or the first list is a list obtained by the electronic device from a server.
[0313] In a possible implementation of the present application, the processing unit 1204 is further configured to control the first acquisition unit to reacquire the location information and / or moving speed of the electronic device in response to an operation on the first functional control again. The processing unit 1204 is further configured to determine whether the electronic device meets the restricted use conditions based on the reacquired location information and / or moving speed of the electronic device. In a case where the electronic device does not meet the restricted use conditions, the communication unit is configured to utilize the first application to communicate with the satellite to send the communication content triggered by the user in the call interface. The processing unit 1204 is further configured to continue to restrict the electronic device from communicating with the satellite through the first application if the electronic device meets the restricted use conditions again.
[0314] In a possible implementation of the present application, the communication interface is a short message conversation interface, and the first function control is a send control; or the communication interface is a voice call interface, and the first function control is a send control that is a voice call control or a video call control.
[0315] In a possible implementation of the present application, the monitoring unit is configured to monitor location information of an electronic device and / or a moving speed of the electronic device.
[0316] In a possible implementation of the present application, when the detection module detects the user's instruction to open the first application, the monitoring unit is configured to start monitoring the location information of the electronic device and / or the moving speed of the electronic device.
[0317] In one possible implementation of the present application, the second acquisition unit is further configured to acquire a sending time interval in response to an operation on the first function control. The sending time interval is determined by a sending interval threshold and a first difference, and the first difference is determined by the moment when the electronic device acquires the sending time interval this time and the moment when the electronic device last communicated with the satellite using the first application. If the sending time interval is greater than a preset time, the processing unit 1204 is configured to set the operation state of the first function control in the communication interface to a restricted use state. If the sending time interval is greater than or equal to the preset time, in response to the operation on the first function control, the processing unit 1204 is configured to call the communication unit to use the first application to communicate with the satellite.
[0318] In one possible implementation of the present application, the display unit 1201 is further configured to display a countdown information for restricted use in the communication interface. The countdown information for restricted use indicates the time it takes for the operating state of the first functional control to change from a restricted use state to a usable state. The processing unit 1204 is further configured to set the operating state of the first functional control in the communication interface to a usable state. In other words, the operating state of the first functional control in the communication interface displayed by the display unit 1201 will also change to a usable state.
[0319] Optionally, the electronic device may further include a communication unit. The communication unit is configured to support communication between the electronic device and other electronic devices and / or other processes related to the embodiments of the present application. For example, in the embodiments of the present application, the communication unit may transmit content triggered by a user in the communication interface of the first application to a satellite. The electronic device may further include a storage unit. The storage unit is configured to store computer program instructions and related data related to the embodiments of the present application.
[0320] As an example, the communication unit may include a radio frequency circuit. Specifically, the electronic device may receive and transmit wireless signals via the radio frequency circuit. Typically, the radio frequency circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like. Furthermore, the radio frequency circuit may communicate with other devices via wireless communications. The wireless communications may utilize any communication standard or protocol, including but not limited to Global System for Mobile Communications, General Packet Radio Service, Code Division Multiple Access, Wideband Code Division Multiple Access, Long Term Evolution, email, and Short Message Service.
[0321] It should be understood that the various modules in the electronic device can be implemented in software and / or hardware, without specific limitation. In other words, the input device is presented in the form of functional modules. The "module" here can refer to an application-specific integrated circuit (ASIC), a circuit, a processor and memory that executes one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above-mentioned functions.
[0322] 13 is a schematic diagram of the structure of a chip system 130 provided in an embodiment of the present application. The chip system 130 includes one or more (including two) processors 1310 and a communication interface 1330.
[0323] Optionally, the chip system 130 further includes a memory 1340, which may include a read-only memory and a random access memory, and provides operation instructions and data to the processor 1310. A portion of the memory 1340 may also include a non-volatile random access memory (NVRAM).
[0324] In some embodiments, the memory 1340 stores the following elements, execution modules or data structures, or a subset thereof, or an extended set thereof.
[0325] In the embodiment of the present application, the corresponding operation is performed by calling the operation instruction stored in the memory 1340 (the operation instruction may be stored in the operating system).
[0326] The processor 1310 controls the processing operations of the electronic device. The processor 1310 may also be referred to as a central processing unit (CPU).
[0327] Memory 1340 may include read-only memory and random access memory, and provides instructions and data to processor 1310. A portion of memory 1340 may also include NVRAM. For example, in an application, memory 1340, communication interface 1330, and memory 1340 are coupled together via bus system 1320. Bus system 1320 may include not only a data bus but also a power bus, a control bus, and a status signal bus. However, for clarity, various buses are collectively labeled as bus system 1320 in FIG. 13 .
[0328] The method disclosed in the embodiment of the present application can be applied to the processor 1310 or implemented by the processor 1310. The processor 1310 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 1310 or the instructions in the form of software. The above processor 1310 can be a general-purpose processor, a digital signal processor (DSP), an ASIC, a readily available programmable gate array, or a processor that is capable of performing a variety of operations.
[0329] (field-programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The various methods, steps and logic block diagrams disclosed in the embodiments of this application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of this application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, etc. The storage medium is located in memory 1340, and the processor 1310 reads the information in memory 1340 and completes the steps of the above method in combination with its hardware.
[0330] In one possible implementation, taking the chip system 130 applied to an electronic device as an example, the communication interface 1330 is used to perform the receiving and sending steps of the electronic device in the embodiments shown in Figures 6 to 11. The processor 1310 is used to perform the processing steps of the electronic device in the embodiments shown in Figures 6 to 11.
[0331] The above communication module may be a communication interface of the device, used to receive signals from other devices. For example, when the device is implemented as a chip, the communication module is a communication interface of the chip used to receive or send signals from other chips or devices.
[0332] The present invention also provides a computer-readable storage medium for storing computer program code, wherein the computer program includes instructions for executing the method for restricting the use of satellite communications provided in the embodiment of the present invention. The computer-readable storage medium may be a read-only memory (ROM) or a random access memory (RAM), which is not limited in the present invention.
[0333] The present application also provides a computer program product, which includes instructions. When the instructions are executed, the electronic device performs corresponding operations in the above method.
[0334] The present application also provides a chip system for use in an electronic device. The chip system includes a processing unit and a communication unit. The processing unit may be, for example, a processor, and the communication unit may be, for example, an input / output interface, a pin, or a circuit. The processing unit can execute computer instructions to cause the electronic device to perform the method for restricting the use of satellite communications provided in the embodiment of the present application.
[0335] Optionally, the computer instructions are stored in a storage unit.
[0336] Optionally, the storage unit is a storage unit within the chip, such as a register, a cache, etc. The storage unit can also be a storage unit located outside the chip within the terminal, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc. The processor mentioned in any of the above can be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the control method of the above-mentioned shared input device. The processing unit and the storage unit can be decoupled and respectively set on different physical devices, and connected by wired or wireless means to implement the respective functions of the processing unit and the storage unit to support the system chip to implement the various functions in the above-mentioned embodiments. Alternatively, the processing unit and the memory can also be coupled on the same device.
[0337] The electronic device, computer storage medium, computer program product, or chip system provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects of the corresponding method provided above, and will not be repeated here.
[0338] Through the description of the above embodiments, those skilled in the art will understand that for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0339] It should be understood that the devices and methods disclosed in the several embodiments provided in this application can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device. In addition, some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0340] Units described as separate components may or may not be physically separate. Components shown as units may be one physical unit or multiple physical units. That is, they may be located in one place or distributed across multiple locations. Depending on actual needs, some or all of the units may be selected to achieve the objectives of this solution.
[0341] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit; may also exist physically separately; or some units may be integrated into a single unit, while some units may exist physically separately. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0342] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, all or part of the technical solution of the embodiment of the present application can be embodied in the form of a software product. The software product is stored in a storage medium. The software product includes several instructions for enabling a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
[0343] It should be noted that all or part of the above-mentioned embodiments provided in this application (for example, part or all of any feature) can be arbitrarily combined or used in conjunction with each other.
[0344] The above content is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A method for limiting the use of satellite communications, characterized in that Applied in an electronic device, the electronic device having a first application supporting the electronic device to communicate with a satellite, the method comprising: Displaying a communication interface of the first application, wherein the communication interface includes a first function control, and the first function control is used to trigger the electronic device to communicate with the satellite through the first application; Detecting an operation on the first functional control; In response to the operation of the first function control, determining whether the electronic device meets the restricted use condition according to the location information of the electronic device and / or the moving speed of the electronic device; In a case where the electronic device satisfies the restricted use condition, the electronic device is restricted from communicating with the satellite through the first application.
2. The method according to claim 1, characterized in that The limiting the electronic device to communicate with the satellite through the first application further includes: Outputting first prompt information, where the first prompt information is used to prompt the reason for restricting the electronic device from communicating with the satellite through the first application.
3. The method according to claim 1 or 2, characterized in that: The determining, according to the moving speed of the electronic device, whether the electronic device satisfies the restricted use condition comprises: When the moving speed of the electronic device is greater than or equal to a preset speed threshold, determining that the electronic device meets the restricted use condition; When the moving speed of the electronic device is less than the preset speed threshold, it is determined that the electronic device does not meet the restricted use condition.
4. The method according to claim 3, characterized in that The method further comprises: Determining a scene in which the electronic device is located; When the moving speed of the electronic device is greater than or equal to a preset speed threshold, determining that the electronic device meets the restricted use condition includes: When the moving speed of the electronic device is greater than or equal to a preset speed threshold and the scene in which the electronic device is located is a preset scene, it is determined that the electronic device meets the restricted use condition.
5. The method according to claim 4, characterized in that The determining the scene in which the electronic device is located includes: Obtaining the altitude of the electronic device; If the altitude of the electronic device is higher than or equal to the preset altitude, it is determined that the scene in which the electronic device is located is the preset scene.
6. The method according to any one of claims 1 to 5, characterized in that: The electronic device has a first list, the first list is used to determine information of one or more communication control areas where the use of satellite communication is restricted, and determining whether the electronic device meets the restriction condition according to the location information of the electronic device includes: The location information of the electronic device indicates that the location of the electronic device is located in any of the communication control areas, and then it is determined that the electronic device meets the restricted use condition; If the location information of the electronic device indicates that the location of the electronic device is outside one or more of the communication control areas, it is determined that the electronic device does not meet the restricted use condition.
7. The method according to claim 6, characterized in that The first list includes information of one or more public communication areas where satellite communication can be used, and information of n communication control areas included in the public communication areas, where n is an integer greater than or equal to 0; Alternatively, the first list includes information of one or more communication control areas where satellite communication cannot be used.
8. The method according to claim 6 or 7, characterized in that: The first list is a list preconfigured in the electronic device, or the first list is a list obtained by the electronic device from a server.
9. The method according to any one of claims 1 to 8, characterized in that: In the case where the electronic device is restricted from communicating with the satellite through the first application, the method further includes: In response to operating the first functional control again, reacquiring the position information and / or the moving speed of the electronic device; determining whether the electronic device meets the restricted use condition according to the reacquired location information and / or moving speed of the electronic device; In a case where the electronic device does not meet the restricted use condition, using the first application to communicate with the satellite to send the communication content triggered by the user on the call interface; When the electronic device meets the restricted use condition again, the electronic device continues to be restricted from communicating with the satellite through the first application.
10. The method according to any one of claims 1 to 9, characterized in that: The communication interface is a short message conversation interface, and the first function control is a send control; or the communication interface is a voice call interface, and the first function control is a voice call control or a video call control.
11. The method according to any one of claims 1 to 10, characterized in that: Before displaying the call interface of the first application, the method further includes: The location information of the electronic device and / or the moving speed of the electronic device are monitored.
12. The method according to claim 10, characterized in that The monitoring the location information of the electronic device and / or the moving speed of the electronic device includes: When detecting a user instruction to open the first application, the location information of the electronic device and / or the moving speed of the electronic device are monitored.
13. The method according to any one of claims 1 to 12, characterized in that: After detecting an operation on the first functional control, the method further includes: In response to the operation on the first function control, determining a current sending time interval, wherein the current sending time interval is a difference between the current time and the last time the electronic device used satellite communication; The current sending time interval is less than or equal to the preset sending time interval, and the operation state of the first function control in the communication interface is set to a restricted use state; The current sending time interval is greater than a preset sending time interval, and in response to an operation on the first function control, the electronic device communicates with the satellite using the first application.
14. The method according to claim 13, characterized in that The step of setting the operation state of the first function control in the communication interface to a restricted use state further comprises: Displaying a countdown information for limiting use in the communication interface, wherein the countdown information for limiting use is the time when the operation state of the first function control changes from the limited use state to the usable state; After the time included in the countdown information for limiting use, the method further includes: The operation state of the first function control in the communication interface is set to be usable.
15. An electronic device, characterized in that: include: A processor, a memory, a display screen, and a computer program, wherein the computer program is stored in the memory, and when the computer program is executed by the processor, the electronic device executes the method according to any one of claims 1 to 14.
16. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 14.
17. A chip system, characterized in that: The chip system comprises a processor, and the processor is used to execute computer program instructions stored in a memory to implement the method according to any one of claims 1 to 14.
Citation Information
Patent Citations
Ship, shipborne satellite communication terminal and network switching control method of shipborne satellite communication terminal
CN110798803A
Communication method, communication device, readable storage medium and electronic equipment
CN110868453A
Network access method, network access device, vehicle-mounted gateway, vehicle and medium
CN115396007A
Position reporting method and system in Beidou communication system and related device
CN115706602A
White list control method in Beidou communication system and related device
CN115706604A
Cited By
Short message fallback method and device based on artificial intelligence, medium and program product
CN122052893A
