Search

CN-122028221-A - Communication link management method, electronic device, readable storage medium, and chip

CN122028221ACN 122028221 ACN122028221 ACN 122028221ACN-122028221-A

Abstract

The application provides a communication link management method, electronic equipment, a readable storage medium and a chip, and relates to the technical field of communication. The method is applied to an electronic device comprising an application processor AP and a communication processor CP, and the electronic device does not establish a communication link. The method comprises the steps that in response to a first event, an AP sends a network preheating command to a CP before sending an Internet Protocol (IP) message to the CP, wherein the IP message is the first message which the AP predicts needs to send, and the CP establishes a communication link with wireless access network equipment according to the network preheating command. By the method provided by the embodiment of the application, after the IP message reaches the CP, the CP can quickly send the IP message through the communication link, so that the time for waiting for transmission of the IP message on the CP side is shortened or avoided, the sending speed of the IP message can be increased, and the sending time delay of the IP message is reduced.

Inventors

  • JIA YINYUAN
  • WANG ZHIFENG
  • LIU JING

Assignees

  • 华为技术有限公司

Dates

Publication Date
20260512
Application Date
20250207

Claims (20)

  1. 1. A method for managing a communication link, applied to an electronic device, the electronic device including an application processor AP and a communication processor CP, and the electronic device not having established a communication link, the method comprising: Responding to a first event, the AP sends a network preheating command to the CP before sending an Internet Protocol (IP) message to the CP, wherein the IP message is the first message which the AP predicts needs to send; and the CP establishes a communication link with the wireless access network equipment according to the network preheating command.
  2. 2. The method according to claim 1, wherein the method further comprises: After sending a network preheating command to the CP, the AP sends the IP message to the CP; and the CP sends the IP message through the communication link.
  3. 3. The method according to claim 1 or 2, wherein the network warm-up command comprises at least one of first time information, an amount of uplink data, and a link type.
  4. 4. The method of claim 3, wherein the step of, The first time information is a predicted start time of an upcoming network task, or The first time information is the expected time of the IP message reaching the CP, or The first time information is the time when the CP starts network preheating.
  5. 5. The method according to claim 3 or 4, wherein the uplink data amount is the size of the IP packet or the amount of data to be transmitted in a preset time.
  6. 6. The method of claim 5, wherein when the uplink data amount is an amount of data to be transmitted within a preset time, the uplink data amount includes an amount of data to be packetized within the preset time and an amount of data packetized but not transmitted to the CP.
  7. 7. The method of any one of claims 1-6, wherein the first event comprises at least one of: the application program calls the network interface; The AP receives a network task notification from an application program; the artificial intelligent AI model predicts that network preheating is needed; user operations, application events, or network events for triggering network warm-up; identifying target text information in a display interface/schedule information/electronic alarm clock; receiving notification information of a server or peripheral electronic equipment about a timing network task; The operating system performs a pre-build chain.
  8. 8. The method according to any one of claims 1-7, wherein, in response to the first event, the AP sends a network warm-up command to the CP before sending an internet protocol, IP, message to the CP, comprising: Responsive to the first event, the AP predicts that the first application is about to perform a network task; the AP determines a preheating object according to the service type of the network task and the current communication condition of the electronic equipment under each link type, wherein the preheating object is the CP; And sending the network preheating command to the CP.
  9. 9. The method according to any one of claims 1 to 8, wherein the CP sending the IP packet through the communication link includes: when the IP message reaches the CP, if the communication link is not established, the CP waits for the communication link to be established, and then immediately sends the IP message through the communication link, and/or, When the IP message reaches the CP, if the communication link is established, the CP immediately sends the IP message through the communication link.
  10. 10. The method of claim 8, wherein the IP packet is a packet corresponding to the network task, and a task channel of the network task is opened at a fixed time.
  11. 11. The method of claim 10, wherein in the case where the first time information is a start time of network warm-up and the communication link is a cellular communication link, the method further comprises: Under the condition that the first network task needs to be initiated according to user operation, the AP or the CP determines the first time information according to the starting time of the network task, the estimated value of the time length of the user operation, the estimated value of the time length required for establishing the communication link and the estimated value of the time length required for keeping the link resources alive; And under the condition that the first network task is automatically initiated by the electronic equipment, the AP or the CP determines the first time information according to the starting time of the network task, an estimated value of the time length required by the AP to generate and send the IP message to the CP, an estimated value of the time length required by establishing the communication link and the time length of an inactivity timer.
  12. 12. The method of claim 10, wherein, if the first time information is a start time of network warm-up and the communication link is a wireless fidelity Wi-Fi communication link, the method further comprises: Under the condition that the network task needs to be initiated according to user operation, the AP or the CP determines the first time information according to the starting time of the network task, the estimated value of the user operation time length, the estimated value of the time length required by applying for uplink resources and the estimated value of the time length required by keeping the link resources alive; And under the scene that the network task is automatically initiated by the electronic equipment, the AP or the CP determines the first time information according to the starting time of the network task, the estimated value of the time length required by the AP to generate and send the IP message to the CP, and the estimated value of the time length required by the application of uplink resources.
  13. 13. A method according to claim 3, wherein, in case the communication link is a cellular communication link, the CP establishes a communication link with a radio access network device according to the network warm-up command, comprising: The CP establishes Radio Resource Control (RRC) connection and Radio Bearer (RB) with the radio access network equipment according to the network preheating command; The CP requests uplink authorization to the wireless access network equipment through a scheduling resource request SR; And the CP requests uplink resources from the wireless access network equipment through a Buffer Status Report (BSR), wherein the BSR comprises the uplink data quantity.
  14. 14. The method of claim 13, wherein the method further comprises: The AP updates the uplink data volume; The AP sends the updated uplink data quantity to the CP; And the CP applies the uplink resource to the wireless access network equipment again according to the updated uplink data quantity.
  15. 15. The method according to any one of claims 1-14, wherein the CP, upon receiving the network preheating command, starts an inactivity timer T302, and the CP establishes a communication link with the radio access network device according to the network preheating command, including: before T302 times out, if the start time of network warm-up has been reached, a communication link is established with the radio access network device.
  16. 16. The method according to any one of claims 1-15, wherein before the CP sends the IP packet over the communication link, the method further comprises: And if the IP message does not reach the CP under the condition that the communication link is established and the first duration is about to be exceeded, sending an unsecured sending message to the wireless access network equipment through the communication link, wherein the unsecured sending message comprises target data.
  17. 17. The method of claim 16, wherein the not guaranteed to send a message comprises at least one of: Domain name query system (DNS) related messages; IP keep-alive message; detecting the IP message related to the task; delay network task related IP messages: service network task related message of application program; Key message, retransmission/redundancy message.
  18. 18. The method according to claim 16 or 17, wherein, In the case that the communication link is a cellular communication link, the first time length is equal to a current buffer status report BSR period, or the first time length is equal to a time length of an inactivity timer issued by the radio access network device; In the case that the communication link is a Wi-Fi communication link, the first time length is equal to a length of a channel occupation period indicated in a CTS frame for transmission permission allowed issued by the radio access network device.
  19. 19. The method according to any one of claims 16-18, wherein prior to said sending keep-alive packets to a radio access network device over said communication link, the method further comprises: In response to a target event, the AP establishes a pool of unsecured network tasks including a plurality of network tasks therein, the AP unsecured whether to process the network tasks, and unsecured processing results when processing the network tasks.
  20. 20. The method of claim 19, wherein the target event comprises: The AP determines that network warm-up is required, or The AP predicts that link resource keep-alive is needed through an artificial intelligent model.

Description

Communication link management 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 method for managing a communication link, an electronic device, a readable storage medium, and a chip. Background Various application programs are usually installed in the electronic device, and the application programs generally need to interact with the network side device in the running process, wherein the application programs comprise application data sent to the network side device. Currently, when an electronic device sends application data to a network side device, the application data is generally encapsulated into a plurality of internet protocol (internet protocol, IP) messages on an application processor (application processor, AP) side, and then the encapsulated IP messages are sequentially sent to a communication chip (communication processor, CP) for sending. It should be noted that, in the above process, when the IP packet reaches the CP, if the CP and the radio access network (radio access network, RAN) device do not establish a communication link, the CP needs to wait for the communication link to be established before the CP can start sending the IP packet, which results in a slower sending speed of the IP packet. It can be appreciated that in a scenario with severe delay requirements, the slow sending speed of the IP packet may result in poor user experience. For example, in the scenario of ticketing, redbook, stock trading, or entering an application front page, it may result in a user failing to ticket/redbook/stock trading, or the application front page opening slower. Disclosure of Invention The application provides a communication link management method, electronic equipment, a readable storage medium, a chip method and a device, which are used for solving the problem of low IP message sending speed in the prior art. In order to achieve the above purpose, the application adopts the following technical scheme: In a first aspect, an embodiment of the present application provides a method for managing a communication link, where the method is applied to an electronic device, where the electronic device includes an application processor AP and a communication processor CP, and the electronic device does not have a well established communication link, and the method includes, in response to a first event, the AP sending a network preheating command to the CP before sending an IP packet to the CP, where the IP packet is a first packet predicted to be sent by the AP, and the CP establishes a communication link with a radio access network device according to the network preheating command. By the method provided by the embodiment of the application, the CP starts to establish the communication link in advance before the first IP message reaches the CP from the AP, so that the CP can quickly send the IP message through the communication link after the first IP message reaches the CP, the waiting time of the IP message on the CP side is shortened or avoided, the sending speed of the first IP message can be improved, and the sending time delay of the first IP message is reduced. It can be understood that under the scenes of purchasing, ticket-taking, red-taking, stock trading, opening application front page and the like, the electronic equipment can be quickly communicated with the network side equipment based on the method, the possibility of success of the ticket-taking/red-taking and the stock trading is improved, the speed of opening the application front page is improved, and better user experience is achieved. In some embodiments, the method further comprises the AP sending an IP message to the CP after sending the network pre-heat command to the CP, the CP sending the IP message over the communication link. It can be seen that in this embodiment, the generation of the IP packet and the packet relocation from the AP to the CP are performed in parallel with the network preheating process. Compared with the serial process of message generation and relocation and network preheating, the parallel processing mode reduces the waiting time of the IP message after reaching the CP, and can rapidly send out the arrived IP message. In some embodiments, the network warm-up command includes at least one of first time information, an amount of uplink data, and a link type. It can be appreciated that the CP can perform network warm-up more accurately according to the first time information, the uplink data amount, and the link type. In some embodiments, the first time information is a start time of a predicted upcoming network task, or the first time information is a predicted time for the IP message to reach the CP, or the first time information is a time for the CP to start network warm-up. In this embodiment, according to the first time information, the CP may more accurately control the start t