Network processing method and apparatus, and electronic device
By establishing an RRC connection with the network device synchronously when the user starts the Internet access process, the problem of terminal Internet access delay is solved and the user experience is improved.
Patent Information
- Application Number
- PCT/CN2024/113691
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-25
- Filing Date
- 2024-08-21
- Publication Date
- 2025-03-06
AI Technical Summary
When the terminal is in standby state, the modem is in idle state, which causes the user to wait for the Modem to establish an RRC connection when surfing the Internet, resulting in delays in accessing the Internet, especially in the case of poor environment or insufficient resources.
When the user starts the Internet access process, the electronic device simultaneously receives user input and establishes a wireless resource control RRC connection with the network device to ensure that the RRC connection is established when the Internet access process is started and avoids delays.
By establishing an RRC connection when the Internet access process is started, the Internet access delay is significantly reduced and the user's Internet access experience is improved, especially in the case of poor environment or insufficient resources.
Smart Images

Figure CN2024113691_06032025_PF_FP_ABST
Abstract
Description
Network processing method, device and electronic equipment
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on August 25, 2023, with application number 202311083758.1 and invention name “Network processing method, device and electronic device”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present application belongs to the field of communication technology, and specifically relates to a network processing method, device and electronic equipment. Background Art
[0004] When a terminal is in standby mode, the modem is generally idle or inactive. When a user accesses the Internet through various applications, the application or process is first launched. Only after the application or process is successfully launched will it send a request to the underlying layer to send data to the network. At this time, the modem enters the Radio Resource Control (RRC) connection state and sends a Buffer Status Report (BSR) to the network to request data transmission resources to support the application's Internet access needs. In other words, after the application / thread is launched, the modem establishes an RRC connection. Only after the RRC connection is successfully established will it send a BSR to the network to request data transmission resources. Therefore, users may experience delays in accessing the Internet. If the terminal is located in a poor environment, it may take longer for the modem to establish the RRC connection or resources may be insufficient, resulting in increased Internet access delays.
[0005] Summary of the Invention
[0006] The purpose of the embodiments of the present application is to provide a network processing method, device and electronic device to solve the problem of network delay.
[0007] In a first aspect, an embodiment of the present application provides a network processing method, including:
[0008] The electronic device receives a first input from a user to the application;
[0009] In response to the first input, starting an Internet access process and establishing a radio resource control (RRC) connection with a network device; wherein the starting time of starting the Internet access process is the same as the starting time of establishing the RRC connection;
[0010] When an RRC connection is established with the network device, the Internet access process is executed.
[0011] In a second aspect, an embodiment of the present application provides a network processing device, including:
[0012] A first determining module, configured to receive a first input from a user to an application program;
[0013] A first response module is configured to initiate an Internet access process and establish a radio resource control (RRC) connection with a network device in response to the first input; wherein a start time of initiating the Internet access process is the same as a start time of establishing the RRC connection;
[0014] The first processing module is used to execute the Internet access process when an RRC connection is established with the network device.
[0015] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.
[0016] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0017] In a fifth aspect, an embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method described in the first aspect.
[0018] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method described in the first aspect.
[0019] In an embodiment of the present application, the electronic device establishes an RRC connection with the network device at the same time as the user starts the Internet access process, and completes the Internet access process after the RRC connection is established, thereby avoiding the situation where the Internet access delay is caused by establishing the RRC connection after the application is started, thereby improving the user's Internet access experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] FIG1 is a flow chart of a network processing method according to an embodiment of the present application;
[0021] FIG2 is a second flow chart of the network processing method according to an embodiment of the present application;
[0022] FIG3 is a third flow chart of the network processing method according to an embodiment of the present application;
[0023] FIG4 is a fourth flow chart of the network processing method according to an embodiment of the present application;
[0024] FIG5 is a fifth flow chart of the network processing method according to an embodiment of the present application;
[0025] FIG6 is a sixth flow chart of the network processing method according to an embodiment of the present application;
[0026] FIG7 is a seventh flow chart of the network processing method according to an embodiment of the present application;
[0027] FIG8 is a schematic diagram of the structure of a network processing device according to an embodiment of the present application;
[0028] FIG9 is a schematic diagram of a structure of an electronic device according to an embodiment of the present application;
[0029] FIG10 is a second structural diagram of the electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0031] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0032] The network processing method, device, and electronic device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0033] As shown in FIG1 , an embodiment of the present application provides a network processing method, which is applied to an electronic device, which may be a terminal. The method includes:
[0034] Step 101: The electronic device receives a first input from a user to an application.
[0035] Step 102: In response to the first input, initiate an Internet access process and establish a radio resource control (RRC) connection with the network device; wherein the start time of initiating the Internet access process is the same as the start time of establishing the RRC connection. In this embodiment, after the electronic device receives the first input, the execution of the Internet access process initiation and the establishment of the RRC connection are synchronous.
[0036] Step 103: When an RRC connection is established with the network device, the Internet access process is executed.
[0037] In this embodiment, the first input is an operation by a user triggering the start of an Internet access process. Examples of the first input to an application include: clicking on an application to use it, clicking on the "Scan" function in a QR code scanning scenario, or clicking on a news link. When the user starts Internet access, the terminal establishes an RRC connection with the network device upon receiving the first input, and the Internet access process is completed upon establishing the RRC connection.
[0038] In an embodiment of the present application, the electronic device establishes an RRC connection with the network device at the same time as the user starts the Internet access process, and completes the Internet access process after the RRC connection is established, thereby avoiding the situation where the Internet access delay is caused by establishing the RRC connection after the application is started, thereby improving the user's Internet access experience.
[0039] As an optional embodiment, in response to the first input, starting an Internet access process and establishing a radio resource control (RRC) connection with a network device includes:
[0040] In response to the first input, starting an Internet access process and determining an RRC state;
[0041] When the RRC is in a non-connected state, an application of the electronic device sends a first command and / or a data detection packet to a modem of the electronic device;
[0042] The modem sends an RRC connection establishment request message to the network device according to the first command and / or data detection packet.
[0043] Optionally, it also includes: receiving an RRC connection establishment message sent by the network device; and the modem sending an RRC connection establishment completion message to the network device.
[0044] In this embodiment, the RRC state may include a connected state, an idle state, an inactive state, etc. When the RRC is in a non-connected state (i.e., an idle state or an inactive state), the application sends a first command and / or data detection packet to the modem; wherein the first command and / or data detection packet is used to instruct the modem to establish an RRC connection, and the modem initiates an RRC connection establishment process to the network device according to the first command and / or data detection packet.
[0045] In this embodiment, if the electronic device detects the first input of the user to start surfing the Internet and the RRC is in a non-connected state, the application can send a first command to the modem, directly instructing the modem to establish an RRC connection through the first command; and / or, the application can send a data detection packet to the modem, implicitly instructing the modem to establish an RRC connection through the data detection packet, and complete the Internet access process when the RRC connection is established.
[0046] Optionally, before starting the Internet access process and establishing a radio resource control (RRC) connection with the network device, the method further includes: the electronic device completing network registration and turning on the data network.
[0047] In this embodiment, when the electronic device has completed network registration and the data network is turned on, the user performs an Internet access operation, and the electronic device determines the RRC state.
[0048] Optionally, the data detection packet includes: Internet Control Message Protocol (ICMP) message. It should be noted that the data detection packet can be ICMP or other detection data.
[0049] Optionally, the method further includes: when the RRC connection establishment is completed and the time to establish the RRC connection is less than or equal to a preset time, the modem of the electronic device sends a BSR to the network device.
[0050] In this embodiment, the modem applies to the network device for data transmission resources that meet the application requirements when the RRC connection is successfully established. The BSR is used to indicate the amount of data in the electronic device. When the modem sends the BSR to the network device, it should ensure that the BSR indicates sufficient data.
[0051] The modem receives the first command and / or data probe packet sent by the application, initiates an RRC connection establishment process, and requests resources from the network device if the RRC connection is successfully established. Specifically, after initiating the RRC connection establishment process, the modem monitors the execution time of establishing the RRC connection. If the execution time when the RRC connection establishment is completed is less than or equal to the predetermined time T, it indicates that the network quality of the cell currently connected to the electronic device is good. The modem then sends a BSR to the network device, requesting the network device to allocate data transmission resources.
[0052] As an optional embodiment, the method further includes at least one of the following:
[0053] If the time to establish the RRC connection is greater than a preset time, the cell currently accessed by the electronic device is added to a blacklist;
[0054] In a case where the time to establish the RRC connection is greater than a preset time, the modem of the electronic device performs a cell selection process.
[0055] In this embodiment, after initiating the RRC connection establishment process, the modem monitors the execution time of the RRC connection establishment process. If the execution time exceeds the predetermined time T, it indicates that the current RRC connection establishment is slow, and it is considered that the network quality of the cell currently accessed by the electronic device is poor. The currently accessed cell is added to the blacklist and the cell selection process is executed.
[0056] Optionally, the method further includes:
[0057] receiving resource configuration information sent by the network device, where the resource configuration information is determined according to the BSR;
[0058] Determine whether the resources indicated by the resource configuration information meet the needs of the electronic device; if the resources indicated by the resource configuration information do not meet the needs of the electronic device, add the cell currently accessed by the electronic device to a blacklist and perform a cell selection process.
[0059] After the RRC connection is successfully established, the modem sends a BSR to the network device, indicating the electronic device's data volume and requesting transmission resources. The network device then configures transmission resources for the electronic device based on the BSR and sends it to the device. The modem then determines whether the transmission resources configured by the network device meet the electronic device's needs. If so, the modem can proceed with the Internet access process. If not, the modem deems that the cell currently connected to the electronic device has insufficient allocable resources and blacklists the cell, executing the cell selection process.
[0060] After the modem executes the cell selection process, it re-initiates the RRC connection establishment process. The implementation process of the network processing method is described below through specific embodiments.
[0061] Taking the electronic device as a terminal as an example, the application of the terminal sends a first command to the modem to trigger an RRC connection, as shown in FIG2 , the method includes:
[0062] Step 201: The user goes online after the terminal has completed network registration and the data network is open.
[0063] Step 202: The terminal starts an Internet access application / process and determines the current RRC status;
[0064] If the RRC is in a non-connected state, step 203 is executed; if the RRC is in a connected state, step 206 is executed.
[0065] Step 203: The application sends a dedicated command (ie, the first command) to the Modem, instructing the Modem to establish an RRC connection.
[0066] In step 204, the modem starts the RRC connection establishment process and counts whether the time for establishing the RRC connection exceeds the specified time T. If it exceeds the specified time T, step 205 is executed; if it does not exceed the specified time T, step 206 is executed.
[0067] In step 205 , the modem lists the currently accessed cell as an abnormal cell, adds the abnormal cell to the blacklist, performs the cell selection process, and then executes step 204 .
[0068] In step 206, the modem sends enough BSRs to the network device and determines whether the uplink and downlink grants configured by the network device for the terminal are sufficient, that is, whether they meet the transmission requirements of the terminal; if not, execute step 205; if so, execute step 207.
[0069] Step 207: The user completes the Internet access behavior.
[0070] As an optional embodiment, taking the example that the first input of the user to the application is the user clicking the application, the terminal completes the RRC connection establishment process while starting the Internet access process, as shown in FIG3 .
[0071] The user clicks on the application, executes the launcher process, and determines whether the RRC state is connected;
[0072] If the RRC is in a non-connected state, the application sends a dedicated command (i.e., the first command) to the Modem to notify the Modem to establish an RRC connection; the Modem initiates the RRC connection establishment process and counts whether the time for establishing the RRC connection exceeds the specified time T: if it exceeds the specified time T, the currently accessed cell is listed as an abnormal cell, the abnormal cell is added to the blacklist, and the cell selection process is executed; if it does not exceed the specified time T, the Modem sends enough BSRs to the network device and determines whether the uplink and downlink Grants configured by the network device for the terminal are sufficient; if they are sufficient, the user completes the Internet access behavior.
[0073] At the same time, the Launcher process uses the Binder method to initiate a startActivity request to the system server (system_server) process; after receiving the request, the system_server process sends a request to create a process to the incubation (Zygote) process.
[0074] The Zygote process creates a new child process, the App process. The App process sends an attachApplication request to the system_server process via Binder. After receiving the request, the system_server process performs a series of preparatory tasks and then sends a scheduleLaunchActivity request to the App process via Binder. After receiving the request, the App process's Binder thread (ApplicationThread) sends a LAUNCH_ACTIVITY message to the main thread via the handler. After receiving the LAUNCH_ACTIVITY message, the main thread creates the target activation (Activity) program through the launch mechanism and calls back (ActivityonCreate). After the application is launched, the network data is sent to the modem, and the application sends data to load the homepage and start surfing the Internet.
[0075] As another optional embodiment, taking the user starting the "Scan" program as an example, the terminal completes the RRC connection establishment process at the same time as starting the "Scan" program, as shown in Figure 4.
[0076] The user clicks the "Scan" program, and the terminal starts the camera and determines the current RRC status at the same time; after starting the camera, the scan box is started to recognize the QR code; for the RRC status, if the RRC is in a non-connected state, the application sends a dedicated command (i.e., the first command) to the Modem to notify the Modem to establish an RRC connection; the Modem initiates the RRC connection process and counts whether the time for establishing the RRC connection exceeds the specified time T: if it exceeds the specified time T, the currently accessed cell is listed as an abnormal cell, the abnormal cell is added to the blacklist, and the cell selection process is executed; if it does not exceed the specified time T, the Modem sends enough BSRs to the network device and determines whether the uplink and downlink Grants configured by the network device for the terminal are sufficient; if they are sufficient, the scanning result is obtained when the QR code is recognized.
[0077] In the above embodiment, when a user starts to surf the Internet, the terminal starts an Internet application or starts an Internet process. At the same time, the application sends a command to notify the modem to start establishing an RRC connection. After the RRC connection is successfully established, a BSR is sent to the network device to apply for resources to meet the application data transmission needs. In addition, for cells with a long execution time for establishing the RRC connection and a small number of allocable resources, cell prohibition and cell selection operations are performed, so that the terminal resides in other cells with better network quality. By speeding up the establishment of the underlying Internet access channel, the user's Internet experience is improved.
[0078] Taking the example of a terminal sending a data detection packet to a modem to trigger an RRC connection, as shown in FIG5 , the method includes:
[0079] Step 501: The user goes online after the terminal has completed network registration and the data network is open.
[0080] Step 502: The terminal starts an Internet access application / process and determines the current RRC status;
[0081] If the RRC is in a non-connected state, step 503 is executed; if the RRC is in a connected state, step 506 is executed.
[0082] Step 503: The application sends an ICMP message to the modem, and the modem starts to establish an RRC connection.
[0083] In step 504, the modem initiates an RRC connection process and counts whether the time taken to establish the RRC connection exceeds a specified time T. If so, step 505 is executed; if not, step 506 is executed.
[0084] In step 505 , the modem lists the currently accessed cell as an abnormal cell, adds the abnormal cell to the blacklist, executes the cell selection process, and then executes step 504 .
[0085] In step 506, the modem sends sufficient BSRs to the network device and determines whether the uplink and downlink Grants configured by the network device for the terminal are sufficient, that is, whether the transmission requirements of the terminal are met; if not, execute step 505; if so, execute step 507.
[0086] Step 507: The user completes the Internet access behavior.
[0087] As another optional embodiment, taking the example that the first input of the user to the application is the user clicking on the application, the terminal completes the RRC connection establishment process while starting the Internet access process, as shown in FIG6 .
[0088] The user clicks on the application, executes the Launcher process, and determines whether the RRC state is connected;
[0089] If the RRC is in a non-connected state, the application sends an ICMP packet to the modem to notify the modem to establish an RRC connection; the modem initiates the RRC connection establishment process and counts whether the time for establishing the RRC connection exceeds the specified time T: if it exceeds the specified time T, the currently connected cell is listed as an abnormal cell, the abnormal cell is added to the blacklist, and the cell selection process is executed; if it does not exceed the specified time T, the modem sends enough BSRs to the network device and determines whether the uplink and downlink Grants configured by the network device for the terminal are sufficient; if they are sufficient, the user completes the Internet access behavior.
[0090] At the same time, the Launcher process uses the Binder method to initiate a startActivity request to the system server (system_server) process; after receiving the request, the system_server process sends a request to create a process to the zygote process.
[0091] The Zygote process creates a new child process, the App process. The App process initiates an attachApplication request to the sytem_server process via Binder. After receiving the request, the system_server process performs a series of preparatory tasks and then sends a scheduleLaunchActivity request to the App process via Binder. Upon receiving the request, the App process's Binder thread (ApplicationThread) sends a LAUNCH_ACTIVITY message to the main thread via the handler. Upon receiving the LAUNCH_ACTIVITY message, the main thread creates the target activity program through the launch mechanism and calls back (ActivityonCreate). After the application is launched, the network data is sent to the modem. The application then sends data to load the homepage and begins browsing the Internet.
[0092] As another optional embodiment, taking the user starting the "Scan" program as an example, the terminal completes the RRC connection establishment process while starting the "Scan" program, as shown in Figure 7.
[0093] When the user clicks the "Scan" program, the terminal starts the camera and determines the current RRC status; after starting the camera, the scan box is started to recognize the QR code; for the RRC status, if the RRC is in a non-connected state, the application sends an ICMP packet to the Modem to notify the Modem to establish an RRC connection; the Modem initiates the RRC connection process and counts whether the time to establish the RRC connection exceeds the specified time T: if it exceeds the specified time T, the currently connected cell is listed as an abnormal cell, the abnormal cell is added to the blacklist, and the cell selection process is executed; if it does not exceed the specified time T, the Modem sends enough BSRs to the network device and determines whether the uplink and downlink Grants configured by the network device for the terminal are sufficient; if they are sufficient, the scanning result is obtained when the QR code is recognized.
[0094] In the above embodiment, when a user begins to access the Internet, the terminal simultaneously launches the Internet application or initiates the Internet process. The application then sends a data probe packet (such as ICMP) to the underlying layer, prompting the modem to establish an RRC connection. Once the RRC connection is established, a BSR is sent to the network device to request resources to meet the application's data transmission needs. Furthermore, for cells with long RRC connection establishment times or limited allocable resources, cell banning and cell selection are implemented, allowing the terminal to reside in other cells with better network quality. This improves the user's Internet experience by accelerating the establishment of the underlying Internet access channel.
[0095] In an embodiment of the present application, when a user's Internet access behavior is detected, the application / thread is started and the application directly notifies the modem or indirectly enables the modem to establish an RRC connection by sending an ICMP packet. After the RRC connection is successfully established, a BSR is sent to the network to apply for resources to meet the application data transmission needs. For cells with a long RRC connection establishment time and a small amount of allocable resources, cell prohibition and cell selection operations are performed, so that the terminal resides in other cells with better network quality. When the application / thread is started, the network environment can already support Internet access services, thereby accelerating the loading of information streams, code scanning results, download startup, and video loading speeds, thereby improving the user's Internet experience.
[0096] The network processing method provided in the embodiment of the present application can be executed by a network processing device. In the embodiment of the present application, the network processing device provided in the embodiment of the present application is described by taking the network processing method executed by the network processing device as an example.
[0097] As shown in FIG8 , an embodiment of the present application further provides a network processing device 800 applied to an electronic device, including:
[0098] A first determining module 810 is configured to receive a first input from a user to an application program;
[0099] A first response module 820 is configured to initiate an Internet access process and establish a radio resource control (RRC) connection with a network device in response to the first input; wherein the start time of initiating the Internet access process is the same as the start time of establishing the RRC connection;
[0100] The first processing module 830 is configured to execute the Internet access process when an RRC connection is established with the network device.
[0101] Optionally, the first response module includes:
[0102] a first response unit, configured to initiate an Internet access process and determine an RRC state in response to the first input;
[0103] When the RRC is in a non-connected state, the application of the electronic device sends a first command and / or a data detection packet to the modem of the electronic device;
[0104] The modem sends an RRC connection establishment request message to the network device according to the first command and / or data detection packet.
[0105] Optionally, the device further includes:
[0106] The fourth processing module is used to complete network registration and enable the data network.
[0107] Optionally, the data detection packet includes: Internet Control Protocol message ICMP.
[0108] Optionally, the device further includes:
[0109] The first sending module is configured to, when the RRC connection establishment is completed and the time taken to establish the RRC connection is less than or equal to a preset time, cause the modem of the electronic device to send a BSR to the network device.
[0110] Optionally, the apparatus further includes a second processing module, configured to perform at least one of the following:
[0111] If the time to establish the RRC connection is greater than a preset time, the cell currently accessed by the electronic device is added to a blacklist;
[0112] In a case where the time to establish the RRC connection is greater than a preset time, the modem of the electronic device performs a cell selection process.
[0113] Optionally, the device further includes:
[0114] a first receiving module, configured to receive resource configuration information sent by the network device, where the resource configuration information is determined according to the BSR;
[0115] A second determining module is used to determine whether the resources indicated by the resource configuration information meet the requirements of the electronic device;
[0116] The third processing module is configured to add the cell currently accessed by the electronic device to a blacklist and execute a cell selection process if the resources indicated by the resource configuration information do not meet the requirements of the electronic device.
[0117] In an embodiment of the present application, when a user starts an Internet access process, the electronic device directly notifies the modem to establish an RRC connection through a first command and / or implicitly instructs the modem to establish an RRC connection through a data detection packet. The modem initiates an RRC connection establishment process according to the first command and / or data detection packet, and completes the Internet access process after the RRC connection is established, thereby avoiding the situation where the Internet access delay is caused by establishing the RRC connection after the application is started, thereby improving the user's Internet access experience.
[0118] The network processing device in the embodiment of the present application can be an electronic device or a component in an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.
[0119] The network processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0120] The network processing device provided in the embodiment of the present application can implement each process implemented in the method embodiments of Figures 1 to 7. To avoid repetition, they are not described here.
[0121] Optionally, as shown in Figure 9, an embodiment of the present application also provides an electronic device 900, including a processor 901, a memory 902, and a program or instruction stored in the memory 902 and executable on the processor 901. When the program or instruction is executed by the processor 901, each process of the above-mentioned network processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0122] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0123] FIG10 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
[0124] The electronic device 1000 includes but is not limited to components such as a radio frequency unit 1001 , a network module 1002 , an audio output unit 1003 , an input unit 1004 , a sensor 1005 , a display unit 1006 , a user input unit 1007 , an interface unit 1008 , a memory 1009 , and a processor 1010 .
[0125] Those skilled in the art will appreciate that the electronic device 1000 may further include a power source (such as a battery) for powering various components. The power source may be logically connected to the processor 1010 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG10 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.
[0126] The user input unit 1007 is used to receive a first input from a user to the application program;
[0127] The processor 1010 is configured to: in response to the first input, start an Internet access process and establish a radio resource control (RRC) connection with a network device; wherein a start time of starting the Internet access process is the same as a start time of establishing the RRC connection;
[0128] When an RRC connection is established with the network device, the Internet access process is executed.
[0129] Optionally, the processor 1010 is specifically configured to: in response to the first input, start an Internet access process and determine an RRC state; when the RRC is in a non-connected state, an application of the electronic device sends a first command and / or data detection packet to a modem of the electronic device;
[0130] The modem sends an RRC connection establishment request message to the network device according to the first command and / or data detection packet.
[0131] Optionally, the processor 1010 is further configured to complete network registration and enable a data network.
[0132] Optionally, the data detection packet includes: Internet Control Protocol message ICMP.
[0133] Optionally, the radio frequency unit 1001 is specifically configured to:
[0134] When the RRC connection establishment is completed and the time for establishing the RRC connection is less than or equal to the preset time, the modem sends a BSR to the network device.
[0135] Optionally, the processor 1010 is further configured to perform at least one of the following:
[0136] If the time to establish the RRC connection is greater than a preset time, the cell currently accessed by the electronic device is added to a blacklist;
[0137] In case the time to establish the RRC connection is greater than a preset time, the modem performs a cell selection process.
[0138] Optionally, the processor 1010 is further configured to:
[0139] receiving resource configuration information sent by the network device, where the resource configuration information is determined according to the BSR;
[0140] determining whether the resources indicated by the resource configuration information meet the requirements of the electronic device;
[0141] In a case where the resources indicated by the resource configuration information do not meet the requirements of the electronic device, the cell currently accessed by the electronic device is added to a blacklist, and a cell selection process is performed.
[0142] It should be understood that in an embodiment of the present application, the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an operating stick, which will not be repeated here.
[0143] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0144] Processor 1010 may include one or more processing units. Optionally, processor 1010 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1010.
[0145] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned network processing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0146] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, random access memory RAM, a magnetic disk or an optical disk, etc.
[0147] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned network processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0148] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0149] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned network processing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0150] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0151] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
Claims
1. A network processing method, comprising: The electronic device receives a first input to the application from a user; In response to the first input, starting an Internet access process and establishing a radio resource control RRC connection with a network device; wherein the starting time of starting the Internet access process is the same as the starting time of establishing the RRC connection; When an RRC connection is established with the network device, the Internet access process is executed.
2. The method according to claim 1, wherein: In response to the first input, starting an Internet access process and establishing a radio resource control (RRC) connection with a network device includes: In response to the first input, starting an Internet access process and determining an RRC state; When the RRC is in a non-connected state, an application of the electronic device sends a first command and / or a data detection packet to a modem of the electronic device; The modem sends an RRC connection establishment request message to the network device according to the first command and / or data detection packet.
3. The method according to claim 2, wherein: The data detection packet includes: a network control protocol message ICMP.
4. The method according to claim 1, wherein: The method further comprises: When the RRC connection establishment is completed and the time to establish the RRC connection is less than or equal to the preset time, the modem of the electronic device sends a buffer status report BSR to the network device.
5. The method according to claim 1, wherein: The method further comprises at least one of the following: If the time to establish the RRC connection is greater than a preset time, adding the cell currently accessed by the electronic device to a blacklist; In case the time to establish the RRC connection is greater than a preset time, the modem of the electronic device performs a cell selection process.
6. The method according to claim 4, wherein: The method further comprises: receiving resource configuration information sent by the network device, where the resource configuration information is determined according to the BSR; Determining whether the resources indicated by the resource configuration information meet the requirements of the electronic device; In the case that the resources indicated by the resource configuration information do not meet the requirements of the electronic device, the cell currently accessed by the electronic device is added to the blacklist, and a cell selection process is performed.
7. A network processing device, comprising: A first determining module, configured to receive a first input of a user to an application program; A first response module, configured to start an Internet access process and establish a radio resource control RRC connection with a network device in response to the first input; wherein the start time of starting the Internet access process is the same as the start time of establishing the RRC connection; The first processing module is used to execute the Internet access process when an RRC connection is established with the network device.
8. The device according to claim 7, wherein: The first response module comprises: A first response unit, configured to start an Internet access process and determine an RRC state in response to the first input; When the RRC is in a non-connected state, an application of the electronic device sends a first command and / or a data detection packet to a modem of the electronic device; The modem sends an RRC connection establishment request message to the network device according to the first command and / or data detection packet.
9. The device according to claim 8, wherein: The data detection packet includes: ICMP.
10. The device according to claim 7, wherein: The device also includes: The first sending module is used for, when the RRC connection establishment is completed and the time to establish the RRC connection is less than or equal to the preset time, the modem of the electronic device sends the BSR to the network device.
11. The device according to claim 7, wherein: The apparatus further includes a second processing module, the second processing module being configured to perform at least one of the following: If the time to establish the RRC connection is greater than a preset time, adding the cell currently accessed by the electronic device to a blacklist; In case the time to establish the RRC connection is greater than a preset time, the modem of the electronic device performs a cell selection process.
12. The device according to claim 10, wherein: The device also includes: A first receiving module, configured to receive resource configuration information sent by the network device, where the resource configuration information is determined according to the BSR; A second determination module, used to determine whether the resources indicated by the resource configuration information meet the requirements of the electronic device; The third processing module is used to add the cell currently accessed by the electronic device to a blacklist and execute a cell selection process when the resources indicated by the resource configuration information do not meet the needs of the electronic device.
13. An electronic device comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the network processing method according to any one of claims 1 to 6 are implemented.
14. A readable storage medium storing a program or an instruction, wherein the program or the instruction, when executed by a processor, implements the steps of the network processing method according to any one of claims 1 to 6.
15. A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method according to any one of claims 1 to 6.
16. A computer program product, wherein the program product is executed by at least one processor to implement the method according to any one of claims 1 to 6.
17. An electronic device, configured to execute the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Network processing method and device and electronic equipment
CN116916465A
Parallelization of application launch and activation of mobile data connection for applications requiring remote data in a device
US20140378189A1
Establishment of an RRC connection in a mobile communications terminal
US20150250007A1
Latency Reduction for User Equipment with Bursty Interactive Traffic
US20160165642A1
Network access management method and system
WO2016127713A1