CN-122028145-A - Communication method, electronic device, readable storage medium, and chip
Abstract
The present application relates to the field of communications technologies, and in particular, to a communications method, an electronic device, a readable storage medium, and a chip. The method is applied to the electronic equipment and comprises the steps of establishing a first connection with a satellite network, maintaining the first connection with the satellite network, and searching for a ground network under the condition that the first connection meets a first condition and a first communication mode is started, wherein the first communication mode is started according to user operation, and the first communication mode is a mode that the electronic equipment automatically searches for the ground network during the period of maintaining the connection with the satellite network. According to the embodiment of the application, the electronic equipment can automatically search the ground network after being accessed to the satellite network, so that the electronic equipment can be connected to the ground network except the satellite network. Because the ground network may provide a more comprehensive communication service, the quality of communication service used by the electronic device may be improved.
Inventors
- GAN WENYU
- QIAN FENG
- LI QIANKUN
- WU KUN
- LIN LIXIN
- ZHANG XUECHAO
Assignees
- 华为技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241227
Claims (20)
- 1. A communication method applied to an electronic device, comprising: establishing a first connection with a satellite network; a first connection with the satellite network is maintained, and a ground network is searched for if the first connection satisfies a first condition and a first communication mode is turned on, wherein the first communication mode is turned on according to a user operation, and the first communication mode is a mode in which the electronic device automatically searches for the ground network during the period of maintaining the connection with the satellite network.
- 2. The method of claim 1, wherein the first condition comprises: the first connection is in an idle state, or The first connection is in an idle gap of a traffic state.
- 3. The method according to claim 1 or 2, wherein the ground network is a cellular network, and the searching for the ground network comprises: Acquiring first cellular information of a current first position of the electronic equipment; in the case that the first cellular information is acquired and the acquired first cellular information satisfies a second condition, searching the ground network based on the first cellular information, or And searching the ground network based on a preset strategy under the condition that the first cellular information is not acquired or the acquired first cellular information does not meet the second condition.
- 4. The method of claim 3, wherein the first cellular information comprises at least one of system information, frequency band information, frequency point information, system information block information.
- 5. The method according to claim 3 or 4, wherein the second condition includes at least one of a quantity condition being satisfied by an information quantity of the first cellular information, a time condition being satisfied by an update time of the first cellular information.
- 6. The method of any of claims 3-5, wherein the searching for a ground network further comprises: And searching the ground network based on the preset strategy under the condition that the ground network is not searched based on the first cellular information.
- 7. The method according to any one of claims 3-6, further comprising: The step of searching for the ground network is repeatedly performed in a case where the ground network is not searched based on the first cellular information or based on the preset policy and a set condition is not satisfied: searching the ground network based on the second cellular information when the second cellular information is acquired and the acquired second cellular information meets the second condition, or searching the ground network based on the preset strategy when the second cellular information is not acquired or the acquired second cellular information does not meet the second condition; And stopping searching the ground network until the ground network is searched or after a set condition is met.
- 8. The method of claim 7, wherein the step of repeating the step of searching for a ground network comprises searching for a ground network a time, searching for a +1th ground network a time, searching for a ground network b time, and searching for a +1th ground network b time, wherein b is greater than a, The first interval time of the b-th searching ground network and the b+1th searching ground network is longer than the second interval time of the a-th searching ground network and the a+1th searching ground network.
- 9. The method according to claim 7 or 8, wherein the set conditions comprise at least one of the following conditions: The distance between the current third position of the electronic equipment and the second position is smaller than a first preset distance; The execution times of searching the ground network reach preset times; The searching time for searching the ground network reaches a preset duration; After the execution times of the searching ground network reach the preset times, the searching time of the searching ground network reaches the preset duration.
- 10. The method of claim 7, 8 or 9, wherein after the ceasing to search for the ground network, the method further comprises: And searching the ground network again under the condition that the distance between the current fourth position of the electronic equipment and the second position is larger than a second preset distance.
- 11. The method according to any of claims 3-10, wherein the obtaining cellular information of the current first location of the electronic device comprises: Acquiring cellular information of the current first position of the electronic equipment according to a communication map, and The method further comprises the steps of: and under the condition that the electronic equipment is connected with the ground network, downloading the communication map based on a preset period.
- 12. The method according to any one of claims 1-11, further comprising: establishing a second connection with the ground network in the case that the ground network is searched and the ground network satisfies a third condition, or establishing a second connection with the ground network in response to a confirmation operation of a user, or And in the case of searching the ground network, establishing a second connection with the ground network, or establishing a second connection with the ground network in response to a confirmation operation of a user.
- 13. The method of any of claims 1-12, wherein the setup interface of the electronic device comprises a first control for turning on or off a first communication mode in response to a user operation; the first control initiates the first communication mode prior to the searching for the ground network.
- 14. The method according to any one of claims 1-13, further comprising: the setting interface of the electronic equipment comprises a second control, wherein the second control is used for responding to the operation of a user to open or close a second communication mode, when the second communication mode is closed, the electronic equipment responds to the confirmation operation of the user to establish a second connection with the ground network, and when the second communication mode is opened, the electronic equipment automatically establishes a second connection with the ground network; the method further includes establishing a second connection with the ground network after the second control opens the second communication mode.
- 15. The method of claim 14, wherein the user confirmation operation is a prompt interface-based operation, and The method further comprises the steps of: displaying the prompt interface when the ground network is searched and the ground network meets a third condition, The prompt interface comprises at least one of the type of the ground network, the signal strength of the ground network and the service content of the ground network.
- 16. The method according to claim 12 or 15, wherein the ground network is a cellular network, and The third condition includes at least one of a target cell in the terrestrial network satisfying a camping condition, an identity of the target cell matching a pre-stored network identity, wherein the network identity corresponds to a network operator of the terrestrial network.
- 17. The method as recited in claim 16, further comprising: And under the condition that the electronic equipment and the ground network are connected, storing and updating the pre-stored network identification.
- 18. The method according to any one of claims 1-17, wherein the terrestrial network comprises at least one of a cellular mobile communication network, a wireless local area network, an internet of things network.
- 19. An electronic device, comprising: A memory for storing one or more programs; a processor for executing the one or more programs to cause the electronic device to implement the communication method of any of claims 1-18.
- 20. A readable storage medium, wherein one or more programs are stored in the readable storage medium, which when executed on an electronic device, cause the electronic device to implement the communication method of any of claims 1-18.
Description
Communication method, electronic device, readable storage medium, and chip Technical Field The present application relates to the field of communications technologies, and in particular, to a communications method, an electronic device, a readable storage medium, and a chip. Background With the development of satellite communication technology, an electronic device may access a satellite network in an area without coverage of a ground network, and implement a communication mode through the satellite network, for example, the functions of making and receiving satellite calls, sending short messages, and the like. The satellite network provides a new communication means for the electronic equipment, and can ensure the communication support of the electronic equipment in emergency situations, such as when the electronic equipment is located in a remote area or the ground network is damaged. However, if the electronic device enters the area covered by the ground network after accessing the satellite network, or the ground network is restored, the electronic device cannot be quickly switched back to the ground network, so that the electronic device cannot acquire the communication service with the best quality. Disclosure of Invention An object of the present application is to provide a communication method, an electronic device, a readable storage medium and a chip to enable the electronic device to be quickly switched from a satellite network to a terrestrial network. In a first aspect, the application provides a communication method applied to electronic equipment, comprising the steps of establishing a first connection with a satellite network, maintaining the first connection with the satellite network, and searching a ground network under the condition that the first connection meets a first condition and a first communication mode is started, wherein the first communication mode is started according to user operation, and the first communication mode is a mode that the electronic equipment automatically searches the ground network during the period of maintaining the connection with the satellite network. In the embodiment of the application, the electronic equipment can automatically search the ground network after being accessed to the satellite network, and can access the ground network under the condition of searching the ground network, so that the electronic equipment can be connected to the ground network except the satellite network. In a possible implementation of the first aspect, the first condition includes that the first connection is in an idle state, or that the first connection is in an idle gap in a traffic state. In the embodiment of the application, when the first connection of the electronic equipment and the satellite network is in an idle state or an idle gap of a service state, no data transmission exists between the electronic equipment and the satellite network, so that the ground network is searched at the moment, and the interference to the data transmission under satellite communication can be avoided. In one possible implementation of the first aspect, the ground network is a cellular network, and searching for the ground network includes acquiring first cellular information of a current first location of the electronic device, searching for the ground network based on the first cellular information if the first cellular information is acquired and the acquired first cellular information meets a second condition, or searching for the ground network based on a preset policy if the first cellular information is not acquired or the acquired first cellular information does not meet the second condition. That is, in the embodiment of the application, the first cellular information of the current position can be used as the prior information to search the cellular network, so that the efficiency of searching the cellular network is improved. In a possible implementation manner of the first aspect, the first cellular information includes at least one of system information, frequency band information, frequency point information, and system information block information. That is, in the embodiment of the application, the identification and search capability of the electronic device for different cellular networks can be enhanced through one or more types of first cellular information. In a possible implementation of the first aspect, the second condition includes at least one of a quantity of the first cellular information meeting a quantity condition, and an update time of the first cellular information meeting a time condition. That is, in the embodiment of the present application, by setting the second condition, it can be determined that the first cellular information used for searching the ground network is unexpired and valid, thereby ensuring the accuracy of the search. In a possible implementation of the first aspect, searching for a terrestrial network further includes search