Search

CN-122028141-A - Network access method and related device

CN122028141ACN 122028141 ACN122028141 ACN 122028141ACN-122028141-A

Abstract

The application provides a network access method and a related device, wherein the method is applied to electronic equipment, and comprises the steps of scanning country codes when an aircraft is predicted to land after a first time period, carrying out network searching based on network searching parameters of candidate airports corresponding to the first country codes if the country codes are scanned, and obtaining first network searching information, wherein the candidate airports comprise one or more airports, and accessing a first network based on the first network searching information. Therefore, when the airplane is predicted to land, the network of the airport at the landing place can be searched in a targeted manner, so that the reliable network of the landing place is accurately accessed, the network returning time required by the electronic equipment in the airplane travel scene is effectively reduced, and the use experience of a user is improved.

Inventors

  • YANG JIANHUA
  • ZHANG CHUNMING
  • LUO HAIYONG

Assignees

  • 华为技术有限公司
  • 中国科学院计算技术研究所

Dates

Publication Date
20260512
Application Date
20250626

Claims (20)

  1. 1. A network access method applied to an electronic device, the method comprising: Scanning a country code when the aircraft is predicted to land after the first time length; if the first country code is scanned, searching the network based on network searching parameters of a candidate airport corresponding to the first country code, and obtaining first network searching information, wherein the candidate airport comprises one or more airports; And accessing a first network based on the first network searching information.
  2. 2. The method of claim 1, wherein the method further comprises: Collecting first acceleration data and first gyroscope data through a sensor module; Determining flight characteristic data based on the first acceleration data and the first gyroscope data, wherein the flight characteristic data comprises one or more of airplane turning information, airplane weightlessness information, data obtained by carrying out statistics and/or operation on the first acceleration data and data obtained by carrying out statistics and/or operation on the first gyroscope data; inputting the flight characteristic data into a landing prediction model, and obtaining a prediction result of the landing prediction model; and when the predicted aircraft lands after the first time period, scanning a country code, including: and if the prediction result of the landing prediction model indicates that the aircraft lands after the first time length, scanning a country code.
  3. 3. The method of claim 2, wherein after inputting the flight characteristics data into a landing prediction model and obtaining a prediction result of the landing prediction model, the method further comprises: acquiring aircraft shake conditions according to the second acceleration data and the second gyroscope data; Correcting the prediction result of the landing prediction model according to the aircraft shake condition; And if the prediction result of the landing prediction model indicates that the aircraft lands after the first duration, scanning a country code, including: and if the corrected prediction result of the landing prediction model indicates that the aircraft lands after the first time length, scanning a country code.
  4. 4. A method according to any of claims 1-3, wherein said scanning a country code comprises: and scanning the country code in a preset frequency band.
  5. 5. The method of any one of claims 1-4, wherein the method further comprises: Acquiring first flight information before the aircraft is predicted to land after a first duration, wherein the first flight information comprises a first destination and a first landing airport; Determining a second country code of the first destination and network searching parameters of candidate airports corresponding to the second country code, wherein the candidate airports corresponding to the second country code comprise the first landing airport; If the first country code is scanned, searching the network based on network searching parameters of the candidate airport corresponding to the first country code, including: If the scanned first country code is the same as the second country code, searching the network based on the network searching parameters of the first landing airport; And if the network searching based on the network searching parameters of the first landing airport fails, searching the network based on the network searching parameters of a first candidate airport, wherein the first candidate airport comprises one or more candidate airports except the first landing airport in the candidate airports corresponding to the second country code.
  6. 6. The method of claim 5, wherein if the first country code is scanned, searching the network based on the network searching parameters of the candidate airport corresponding to the first country code, comprising: And if the scanned first country code and the scanned second country code are different, acquiring network searching parameters of the candidate airports corresponding to the first country code, and searching the network based on the network searching parameters of the candidate airports corresponding to the first country code.
  7. 7. The method of any of claims 1-6, wherein if a first country code is scanned, performing network searching based on network searching parameters of a candidate airport corresponding to the first country code comprises: If the first country code and the first network searching parameter corresponding to the first country code are scanned, searching the network based on the first network searching parameter, and searching the network based on the network searching parameter of the candidate airport corresponding to the first country code.
  8. 8. The method of any of claims 1-7, wherein scanning the country code upon predicting that the aircraft landed after the first time period comprises: When the flight mode of the electronic equipment is in an on state, predicting that the aircraft lands after the first duration, and scanning a country code; if the first country code is scanned, searching the network based on network searching parameters of a candidate airport corresponding to the first country code, and obtaining first network searching information, wherein the candidate airport comprises one or more airports: And responding to the flight mode of closing the electronic equipment, if the first country code is scanned, searching the network based on network searching parameters of a candidate airport corresponding to the first country code, obtaining first network searching information, and accessing the first network based on the first network searching information.
  9. 9. The method according to any one of claims 1-8, wherein if the first country code is scanned, performing network searching based on network searching parameters of a candidate airport corresponding to the first country code, and before obtaining the first network searching information, the method further includes: if the first country code is scanned, searching the network based on the first country code, and obtaining second network searching information; If the first country code is scanned, searching the network based on network searching parameters of the candidate airport corresponding to the first country code, including: And if the first country code is scanned, searching for a network based on the network searching parameters of the candidate airport corresponding to the first country code, and searching for a network in the second network searching information.
  10. 10. The method of any one of claims 1-9, wherein the method further comprises: And before the aircraft is predicted to land after the first time, receiving a network searching list sent by a cloud server, wherein the network searching list comprises one or more country codes and network searching parameters of candidate airports corresponding to each country code in the one or more country codes, and the network searching parameters comprise one or more of public land mobile network PLMN, radio access technology RAT, frequency band or frequency point, and the network searching parameters of the candidate airports corresponding to the first country code are obtained from the network searching list by the electronic equipment.
  11. 11. The method of any one of claims 1-10, wherein the method further comprises: After the first network searching information is accessed to a first network, network information of the first network is sent to a cloud server, wherein the network information of the first network comprises one or more of a first country code corresponding to the first network, a PLMN corresponding to the first network, PLMN registration information corresponding to the first network, a standard of the first network, a frequency band of the first network, a frequency point of the first network, a cell identifier corresponding to the first network, position information of the electronic equipment accessing the first network and service experience information of the electronic equipment using the first network.
  12. 12. The method of any of claims 1-11, wherein the method further comprises, upon predicting that the aircraft landed after the first time period, prior to scanning the country code: detecting an aircraft takeoff scene and/or detecting an aircraft cruise scene; And predicting landing time of the aircraft in response to the detected aircraft take-off scene and/or the aircraft cruise scene.
  13. 13. The method of any one of claims 1-12, wherein the method further comprises: Detecting an aircraft landing scene after the aircraft is predicted to land after the first duration; the accessing to the first network based on the first network searching information comprises the following steps: And after the aircraft landing scene is detected, accessing the first network based on the first network searching information.
  14. 14. The method of claim 12, wherein the detecting an aircraft takeoff scenario comprises: Collecting third acceleration data through a sensor module; Detecting whether the aircraft is in a running state according to the third acceleration data; If the aircraft running state is detected, detecting whether the aircraft is in an aircraft climbing state according to fourth acceleration data and third gyroscope data; And if the aircraft is detected to be in the climbing state, detecting the aircraft take-off scene.
  15. 15. The method of claim 14, wherein said detecting whether an aircraft is in a jogging state based on said third acceleration data comprises: Judging whether the duration of the modulus value of the third acceleration data in the first threshold range is greater than or equal to the second duration; if the duration of the modulus value of the third acceleration data in the first threshold range is longer than or equal to the second duration, detecting that the aircraft is in the running state; the detecting whether the aircraft is in a climbing state according to the fourth acceleration data and the third gyroscope data comprises the following steps: Judging whether a preset climbing condition is met according to the fourth acceleration data and the third gyroscope data, wherein the climbing condition comprises one or more of the following conditions that the duration time of the modulus value of the fourth acceleration data in a second threshold range is longer than or equal to a third duration time, the duration time of the first gravity acceleration in the third threshold range is longer than or equal to a fourth duration time, the duration time of the variance of the fourth acceleration data in the fourth threshold range is longer than or equal to a fifth duration time, and the first gravity acceleration is determined according to the fourth acceleration data and the third gyroscope data and is a component of the fourth acceleration data in the gravity direction; And if the climbing condition is met, detecting that the aircraft is in the climbing state.
  16. 16. The method of claim 12, wherein the detecting an aircraft cruise scene comprises: judging whether a preset waiting condition is met after the aircraft take-off scene is detected, wherein the waiting condition comprises that the aircraft is in a stable state and/or the time length passing after the aircraft take-off scene is detected is greater than or equal to a sixth time length; if the waiting condition is met, acquiring fifth acceleration data through a sensor module in a first time window, and determining the extremely poor modulus of the fifth acceleration data; judging whether the range of the modulus value of the fifth acceleration data is smaller than a preset range threshold value or not; And if the range of the modulus value of the fifth acceleration data is smaller than the preset range threshold value, detecting the aircraft cruising scene.
  17. 17. The method of claim 13, wherein the detecting an aircraft landing scenario comprises: Collecting sixth acceleration data and fourth gyroscope data through a sensor module; Detecting whether the aircraft is in an overweight state when landing according to the sixth acceleration data and the fourth gyroscope data; if the overweight state of the aircraft in landing is detected, detecting whether the aircraft is in a grounding state according to the seventh acceleration data and the fifth gyroscope data; And if the aircraft is detected to be in the grounding state, detecting the landing scene of the aircraft.
  18. 18. The method of claim 17, wherein the detecting whether an overweight condition is present at aircraft landing based on the sixth acceleration data and the fourth gyroscope data comprises: Determining a second gravitational acceleration from the sixth acceleration data and the fourth gyroscope data, wherein the second gravitational acceleration is a component of the sixth acceleration data in a direction of gravity; judging whether the second gravitational acceleration is larger than or equal to a preset overweight threshold value or not; If the second gravitational acceleration is greater than or equal to the overweight threshold, detecting an overweight state when the aircraft lands; The detecting whether the aircraft is in the ground state according to the seventh acceleration data and the fifth gyroscope data comprises: Judging whether a preset grounding condition is met according to the seventh acceleration data and the fifth gyroscope data, wherein the grounding condition comprises that the variance of a first horizontal acceleration is larger than or equal to a preset grounding threshold value, and/or the magnitude of a modulus value of the seventh acceleration data meets a preset modulus value condition, wherein the first horizontal acceleration is determined according to the seventh acceleration data and the fifth gyroscope data, the first horizontal acceleration is a component of the seventh acceleration data in the horizontal direction, the preset modulus value condition comprises that the sum of the maximum value and the minimum value of the modulus value of the seventh acceleration data is in a first value range, and/or the difference of the maximum value and the minimum value of the modulus value of the seventh acceleration data is in a second value range; And if the grounding condition is met, detecting that the aircraft is in a grounding state.
  19. 19. The method of any one of claims 1-18, wherein the method further comprises: After the aircraft take-off scene is detected, the first network searching mode is used before the aircraft is predicted to land after the first time, the second network searching mode is used after the aircraft is predicted to land after the first time, or After the aircraft take-off scene is detected and the aircraft cruise scene is detected, the first network searching mode is used before the aircraft is predicted to land after the first time; the network searching frequency in the first network searching mode is smaller than the network searching frequency in the second network searching mode, or the first network searching mode is not network searching, and the second network searching mode is network searching.
  20. 20. An electronic device comprising a transceiver, a processor and a memory, the memory for storing a computer program, the processor invoking the computer program for performing the steps in the method of any of claims 1-19.

Description

Network access method and related device Technical Field The present application relates to the field of communications technologies, and in particular, to a network access method and a related device. Background In an airplane traveling scene, electronic equipment such as a mobile phone carried by a user when flying in high altitude by taking an airplane is free of cellular signals, so that how to quickly re-access the network (i.e. return to the network) after landing the airplane is an important problem affecting user experience. At present, after an aircraft lands, the electronic device performs network searching based on the frequency points of the public land mobile network (public land mobile network, PLMN) registered last time, namely, historical frequency points resided before searching. However, the situation that the landing place of the aircraft is far away from the take-off place of the aircraft may occur, so that the historical frequency points and the frequency points of the landing place generally do not overlap, and the electronic equipment cannot search the historical frequency points, and at this time, the electronic equipment needs to search the full-frequency-band network to search the available frequency points at the landing place, so as to access the network corresponding to the available frequency points. Therefore, the network returning time required by the electronic equipment in the airplane travel scene is long, and the use experience of a user is affected. Disclosure of Invention The application discloses a network access method and a related device, which can be used for searching the network of an airport at a landing place in a targeted manner when an airplane is predicted to land, so that a reliable network is accurately accessed, the network access time required by electronic equipment in an airplane travel scene is effectively reduced, and the use experience of a user is improved. The application provides a network access method which is applied to electronic equipment and comprises the steps of scanning country codes when an aircraft is predicted to land after a first time period, carrying out network searching on the basis of network searching parameters of candidate airports corresponding to the first country codes if the country codes are scanned, and obtaining first network searching information, wherein the candidate airports comprise one or more airports, and accessing a first network on the basis of the first network searching information. In some examples, the above prediction of an aircraft landing after a first period of time may also be understood as detecting an impending landing scenario of the aircraft. Wherein the aircraft is about to land after the aircraft begins to land and before the aircraft lands. In some examples, the first duration is between a first duration value and a second duration value. Optionally, the first time period value is greater than 0, and the second time period value is less than a time period from when the aircraft begins to land to when the aircraft lands. For example, the first time period is in the range of 5 minutes to 15 minutes. In some examples, the network search parameters include one or more of public land mobile network, PLMN, radio access technology, RAT, frequency band, frequency point. In the method, the electronic equipment can accurately predict the airplane impending landing scene of the airplane which is short before the airplane landed. And moreover, the electronic equipment can scan the country code of the position when the aircraft is about to land, and then search the network based on the network searching parameters of the candidate airports corresponding to the first country code accurately according to the scanned first country code, namely, the network of the airport at the landing place is searched for pertinently, so that the reliable network (such as a high-quality network in the landing airport) at the landing place is accessed accurately, the network searching is not performed in a full frequency band, the network returning time required by the electronic equipment in the aircraft travel scene is effectively reduced, the electronic equipment in the aircraft travel scene is ensured to be capable of returning to the network rapidly, and the use experience of a user is greatly improved. In one possible implementation, the method further comprises collecting first acceleration data and first gyroscope data through a sensor module, determining flight characteristic data based on the first acceleration data and the first gyroscope data, wherein the flight characteristic data comprises one or more of airplane turning information, airplane weightlessness information, data obtained by counting and/or calculating the first acceleration data and data obtained by counting and/or calculating the first gyroscope data, inputting the flight characteristic data into a landing prediction model, and obtaining a predict