Information processing method and electronic equipment

By acquiring uplink parameters and promptly detecting uplink data congestion, the connection between the electronic device and the target device can be rebuilt, solving the problem of network lag that cannot be handled in a timely manner in existing technologies, and improving connection quality and user experience.

CN121842864APending Publication Date: 2026-04-10LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-02-05
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

In existing technologies, network lag detection between electronic devices and uplink devices requires waiting for downlink data lag to continue for a long time, which cannot be processed in time and results in the inability to rebuild the connection in a timely manner.

Method used

By acquiring the uplink parameters of the electronic device, it is determined whether the first preset condition is met, and the connection between the electronic device and the target device is rebuilt. These parameters include the amount of uplink data to be processed, the uplink bit error rate, and the uplink throughput. The system can detect whether data blockage occurs in the uplink in a timely manner and rebuild the connection when the condition is met.

Benefits of technology

It enables timely detection and connection reconstruction, avoiding lag caused by uplink data blockage, improving connection quality and user experience, and saving network and electronic device resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121842864A_ABST
    Figure CN121842864A_ABST
Patent Text Reader

Abstract

The invention discloses an information processing method and electronic equipment, and relates to the technical field of information, and the method comprises the steps: obtaining an uplink parameter of an uplink of the electronic equipment; if the uplink parameter meets a first preset condition, reestablishing connection between the electronic equipment and target equipment; wherein the first preset condition represents that data congestion occurs in an uplink, and the target device is an uplink device of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of information technology, and in particular to an information processing method and an electronic device. BACKGROUND

[0002] The electronic device can interact with the uplink device. In the running process, the electronic device sends uplink data to the base station and the like uplink device, and receives the downlink data sent by the uplink device.

[0003] In the case that the data transmission between the electronic device and the uplink device is smooth, the electronic device reflects the smoothness of the data network.

[0004] However, the current solution judges the data network stall of the electronic device by the stall of the downlink data, and needs to wait for a long time, generally tens or even hundreds of seconds, for the stall of the downlink data to occur, which leads to the inability to process the network stall in time. SUMMARY

[0005] The first aspect of the present application provides an information processing method, comprising:

[0006] obtaining an uplink parameter of an uplink of the electronic device;

[0007] if the uplink parameter meets a first preset condition, reconstructing the connection between the electronic device and the target device;

[0008] wherein the first preset condition represents that the uplink occurs data blocking, and the target device is the uplink device of the electronic device.

[0009] The second aspect of the present application provides an electronic device, comprising:

[0010] The computer program is stored in the memory;

[0011] The processor executes the computer program to realize the following steps:

[0012] obtaining an uplink parameter of an uplink of the electronic device;

[0013] if the uplink parameter meets a first preset condition, reconstructing the connection between the electronic device and the target device;

[0014] wherein the first preset condition represents that the uplink occurs data blocking, and the target device is the uplink device of the electronic device.

[0015] The third aspect of the present application provides a computer program product, comprising computer readable instructions, when the computer readable instructions run on the electronic device, the electronic device realizes the information processing method of the first aspect or any implementation manner of the first aspect.

[0016] The fourth aspect of the present application provides a computer storage medium, the storage medium carries one or more computer programs, when the one or more computer programs are executed by an electronic device, the electronic device can execute the information processing method of the first aspect or any implementation manner of the first aspect. BRIEF DESCRIPTION OF DRAWINGS

[0017] The above and other features, advantages and aspects of the present embodiments will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:

[0018] Figure 1 is a flowchart of an information processing method provided by an embodiment of the present application;

[0019] Figure 2 is a schematic diagram of a network in which an electronic device provided by an embodiment of the present application is located;

[0020] Figure 3 is an architecture schematic diagram of an information processing method provided by an embodiment of the present application;

[0021] Figure 4 is a flowchart of a reconnection provided by an embodiment of the present application;

[0022] Figure 5 is another flowchart of a reconnection provided by an embodiment of the present application;

[0023] Figure 6 is still another flowchart of a reconnection provided by an embodiment of the present application;

[0024] Figure 7 is a flowchart of the information processing method in an application scenario provided by an embodiment of the present application;

[0025] Figure 8 is another flowchart of an information processing method provided by an embodiment of the present application;

[0026] Figure 9 is an architecture schematic diagram of the information processing method in an application scenario provided by an embodiment of the present application;

[0027] Figure 10 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0028] The embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. The terms used in the embodiment part of the present application are only used to explain the specific embodiments of the present application, and are not intended to limit the present application.

[0029] The embodiments of the present application are described below with reference to the accompanying drawings. Those skilled in the art can know that with the development of technology and the emergence of new scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.

[0030] The terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances, and this is only a way of distinguishing the objects with the same attributes in the description of the embodiments of the present application. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, so that the processes, methods, systems, products or equipment containing a series of units do not have to be limited to those units, but can include other units not clearly listed or inherent to these processes, methods, products or equipment.

[0031] Currently, the detection of the network jamming condition between the electronic device and the uplink device is generally in the manner of ping (Packet Internet Groper, Internet packet explorer) website, by sending a ping signal to the preset network address to the uplink device, if no reply is received, repeating the test several times (such as 5 times), if 5 times no response is received, it is determined that the network between the uplink device is abnormal, and the network jamming can be determined, and the network between the electronic device and the uplink device is re-registered. In this process, the response feedback by the uplink device is detected to determine the network connection jamming request, which is based on the downlink data jamming in the network connection, and the uplink jamming condition cannot be determined, and in this process, since the ping signal needs to be sent multiple times and waited, a long time is required in the whole process, generally needs to wait for tens or even hundreds of seconds, which leads to the inability to handle the jamming in time.

[0032] Reference Figure 1 , Figure 1 is a flowchart of an information processing method provided by the embodiments of the present application, as Figure 1 shown, the information processing method provided by the embodiments of the present application can include steps 101 to 102, which will be described in detail below.

[0033] 101, obtaining the uplink parameter of the uplink of the electronic device;

[0034] The uplink of the electronic device is the link between the electronic device and its uplink device for sending uplink data to the uplink device.

[0035] As an example, the electronic device is a terminal device such as a mobile phone, a tablet computer, a notebook computer, a smart watch, a vehicle terminal, a communication module of a drone, etc., and the uplink device can be a base station, a router, a repeater, etc.

[0036] The uplink parameter can include one or more parameters, which can represent the situation of the uplink transmission of the uplink data.

[0037] 102. If the uplink parameter satisfies the first preset condition, the connection between the electronic device and the target device is reestablished; wherein the first preset condition represents that the uplink link has data stall, and the target device is the uplink device of the electronic device.

[0038] The first preset condition represents that the uplink link has data stall, and the uplink link stall can include that the uplink link has data stall and is about to have data stall.

[0039] The first preset condition is set in the electronic device, and whether the uplink link has data stall is determined during the operation of the electronic device. If the uplink parameter satisfies the first preset condition, it can be determined that the uplink link has data stall, and the connection between the electronic device and the target device is reestablished; if the uplink parameter does not satisfy the first preset condition, it can be determined that the uplink link does not have data stall, and the step 101 can be returned to be executed.

[0040] In a possible implementation, a period can be preset, and the uplink parameter is obtained according to the period and whether the first preset condition is satisfied is determined.

[0041] The period can be set according to actual conditions. In a scenario with high real-time requirement for data transmission, a smaller period can be set, and in a scenario with low real-time requirement for data transmission, a larger period can be set. The value of the period is not limited in the present application.

[0042] If the uplink parameter of the uplink link satisfies the first preset condition, representing that the uplink link has data stall, the connection between the electronic device and the target device as the uplink device is reestablished.

[0043] The connection between the electronic device and the target device is disconnected and then reconnected, and there is no problem of the connection before disconnection. Through the disconnection and then reconnection of the connection, the quality of the connection can be improved, and the data stall of the uplink link caused by the problem of the connection before disconnection can be solved. Therefore, through the reestablishment of the connection with the target device, the data stall of the uplink link at present can be solved.

[0044] Figure 2is a schematic diagram of a network in which an electronic device is located, the network including the electronic device 201 and a target device 202, the target device being an uplink device of the electronic device. The electronic device and the target device are connected wirelessly. The electronic device transmits uplink data to the target device through an uplink, and receives downlink data transmitted by the target device through a downlink. An uplink parameter is generated when the electronic device sends uplink data to the uplink device through the uplink. In this embodiment, the uplink parameter is used to determine whether data congestion occurs on the uplink of the electronic device, and the connection between the electronic device and the target device is reestablished when data congestion occurs.

[0045] In this embodiment, after obtaining the uplink parameter of the uplink of the electronic device, if the uplink parameter satisfies a first preset condition, it is determined that data congestion occurs on the uplink, and the connection between the electronic device and the target device as its uplink device is reestablished. In this process, after it is determined that data congestion occurs on the uplink, the connection between the electronic device and the target device is triggered to be reestablished, which can determine the freezing caused by data congestion on the uplink. Moreover, this scheme can be implemented by using the hardware and system of the electronic device itself, without the cost of adding new hardware devices.

[0046] In a possible implementation, obtaining the uplink parameter of the uplink of the electronic device includes: obtaining a plurality of uplink parameters of the uplink from an operating system of the electronic device based on a modem.

[0047] The operating system of the electronic device records each relevant parameter of data transmission between the electronic device and the uplink device, including the uplink parameter of the uplink.

[0048] The modem in the electronic device obtains the uplink parameter from the operating system through a dedicated interface.

[0049] The operating system is an operating system used in the electronic device, and the specific form of the operating system is not limited in this application.

[0050] Figure 3 is a schematic diagram of an information processing method provided by an embodiment of the present application. The corresponding electronic device of the architecture is a mobile device, such as a mobile phone, a tablet computer, etc. In the architecture schematic diagram, an application processor (AP) and a modem are included.

[0051] The application processor is one of the core components in the mobile device, responsible for running the operating system, user interface and various applications. The operating system (such as Andriod) running in the application processor can count the communication-related data of the modem. The application processor communicates with the underlying modem through Telephony (phone service framework) and RIL (Radio Interface Layer, Radio Interface Layer). A dedicated interface is set between the modem and the AP, and the modem obtains the uplink parameters from the operating system running in the AP through the interface. Moreover, the uplink parameters in the AP are converted into ATcmd (command) and transmitted to the modem from the AP.

[0052] For the information processing method in the present application, a DMF (Design and Monitoring Framework) and a link recovery design are provided in the modem, and the first preset condition provided in the link recovery design determines whether the uplink data blocking occurs. When it is determined that the uplink parameters meet the first preset condition, it is determined to rebuild the connection between the electronic device and the target device. The instruction for rebuilding the connection is sent to the application processor, so that the data storage service in the application processor records the rebuilding of the connection.

[0053] In the embodiment, based on the modem obtaining a plurality of uplink parameters of the uplink from the operating system of the electronic device, the process of determining whether the uplink data blocking occurs and rebuilding the connection with the target device based on the uplink parameters in the modem is realized, without changing the operating system of the electronic device. By adding corresponding functions in the modem, the realizability of the present scheme is high, and the hardware and system of the electronic device itself can be used to realize it without the cost of adding new hardware devices.

[0054] In a possible implementation, the uplink parameters include at least one of the uplink pending data amount, the uplink error rate and the uplink throughput rate, and the method further includes: if the uplink pending data amount is greater than a data amount threshold, it is determined that the uplink pending data meets the first preset condition; if the uplink error rate is greater than an error rate threshold, it is determined that the uplink error rate meets the first preset condition; or if the uplink throughput rate is less than a throughput rate threshold, it is determined that the uplink throughput rate meets the first preset condition.

[0055] The uplink pending data amount can be an amount of uplink pending data (UL pending) in a statistic UL (UpLink) buffer waiting to be sent to the target device, and the uplink pending data amount is a parameter for measuring data load pressure of the uplink. The uplink bler (Uplink Block Error Rate) represents a percentage of error blocks in all transmitted blocks in the process of transmitting data blocks in the uplink, and the uplink bler is a parameter for measuring data transmission quality of the uplink. The uplink Tput (Uplink Throughput) is an amount of data transmitted by the electronic device to the uplink device in a period of time, and the uplink Tput is a parameter for measuring data transmission efficiency of the uplink.

[0056] The data amount threshold is a threshold for determining whether the data load pressure of the uplink is too large. If the uplink pending data amount is greater than the data amount threshold, it can be determined that the data load pressure of the uplink is too large, which can cause data congestion of the uplink or data congestion of the uplink has already occurred. Therefore, if the uplink pending data amount is greater than the data amount threshold, it is determined that the uplink pending data satisfies the first preset condition.

[0057] As an example, the data amount threshold is 10 KB (kilobyte), and if the uplink pending data amount is greater than 10 KB, it is determined that the uplink has data congestion.

[0058] The bler threshold is a threshold for determining whether the data transmission quality of the uplink is poor. If the uplink bler is greater than the bler threshold, it can be determined that the data transmission quality of the uplink is poor, and the uplink has data congestion. Therefore, if the uplink bler is greater than the bler threshold, it is determined that the uplink bler satisfies the first preset condition.

[0059] As an example, the bler threshold is 15%, and if the uplink bler is greater than 15%, it is determined that the uplink has data congestion; the bler threshold is 30%, and if the uplink bler is greater than 30%, it is determined that the uplink has data congestion.

[0060] The Tput threshold is a threshold for determining whether the data transmission efficiency of the uplink is low. If the uplink Tput is less than the preset Tput threshold, it is determined that the data transmission efficiency of the uplink is low, and the uplink has data congestion. Therefore, if the uplink Tput is less than the Tput threshold, it is determined that the uplink Tput satisfies the first preset condition.

[0061] As an example, the throughput rate threshold value is 2 Kbps (kilobits per second), and if the uplink throughput rate is less than 2 KB, it is determined that data congestion occurs in the uplink.

[0062] It should be noted that the data amount threshold value, the error code rate threshold value and the throughput rate threshold value can be set and adjusted according to actual conditions, such as the cloud server or other uplink devices can dynamically configure and update the values of the data amount threshold value, the error code rate threshold value and the throughput rate threshold value in the electronic device, and the specific values of the data amount threshold value, the error code rate threshold value and the throughput rate threshold value are not limited in the present application.

[0063] Correspondingly, if the uplink parameters meet the first preset condition, the connection between the electronic device and the target device is reestablished, including: if at least one of the uplink parameters meets the first preset condition, the connection between the electronic device and the target device is reestablished; or if all of the uplink parameters meet the first preset condition, the connection between the electronic device and the target device is reestablished.

[0064] If any one of the following occurs: the amount of uplink data to be processed is greater than the data amount threshold value, the uplink error code rate is greater than the error code rate threshold value, and the uplink throughput rate is less than the throughput rate threshold value, it can be determined that data congestion occurs in the uplink (has occurred or is about to occur), therefore, if any one or any two of the uplink parameters meet the first preset condition, the connection between the electronic device and the target device is reestablished; if all of the uplink parameters meet the first preset condition, the connection between the electronic device and the target device is reestablished.

[0065] The reestablishment of the connection between the electronic device and the target device will be described in detail in subsequent embodiments, and will not be described here.

[0066] In this embodiment, the uplink parameters include at least one of the uplink data amount to be processed, the uplink error rate and the uplink throughput rate. If the uplink data amount to be processed is greater than the data amount threshold, it is determined that the uplink data amount to be processed meets the first preset condition. If the uplink error rate is greater than the error rate threshold, it is determined that the uplink error rate meets the first preset condition. Or, if the uplink throughput rate is less than the throughput rate threshold, it is determined that the uplink throughput rate meets the first preset condition. Correspondingly, if at least one of the uplink parameters meets the first preset condition, the connection between the electronic device and the target device is reestablished. Or, if all of the uplink parameters meet the first preset condition, the connection between the electronic device and the target device is reestablished. Whether at least one of the uplink data amount to be processed, the uplink error rate and the uplink throughput rate meets the corresponding threshold is used to determine whether it meets the first preset condition, and whether the uplink data blocking occurs is determined from multiple dimensions. If at least one of the uplink parameters meets the first preset condition or all of the uplink parameters meet the first preset condition, the connection between the electronic device and the target device is reestablished. The reestablishment of the connection can be triggered in the case that any one or more or all of the uplink parameters meet the first preset condition. The uplink parameters include multiple parameters, one parameter corresponds to one dimension of the uplink link transmission data condition, and the comparison of the multiple parameters and the corresponding threshold size can detect and feed back the state of the uplink transmission from different dimensions. Without repeated experiments, the uplink abnormality can be found and processed in time, and the situation of freezing and disconnection can be avoided.

[0067] In a possible implementation, the reestablishment of the connection between the electronic device and the target device includes:

[0068] If the uplink parameters of the uplink meet the first preset condition, the wireless control connection between the electronic device and the target device is reestablished while maintaining the core network registration state of the electronic device.

[0069] The reestablishment of the connection between the electronic device and the target device can reestablish the wireless control connection between the electronic device and the target device while maintaining the core network registration state of the electronic device.

[0070] The wireless control connection can be RRC (Radio Resource Control, Radio Resource Control). Since all signaling (such as reestablishment request, configuration instruction, etc.) of the RRC layer is distinguished between uplink and downlink, the RRC reestablishment request can be sent to the uplink device, and the RRC reconnection between the electronic device and the target device is performed to reestablish the uplink between the electronic device and the uplink device while maintaining the core network registration state of the electronic device.

[0071] After the RRC between the electronic device and the target device is reestablished, the uplink parameter of the electronic device is continuously acquired. If the uplink parameter still satisfies the first preset condition, it is indicated that data blocking occurs in the uplink after the RRC reconnection. It can be caused by network abnormity between the electronic device and the target device. The electronic device can be re-registered in the network to reestablish the network between the electronic device and the target device.

[0072] In the embodiment, if the uplink parameter of the uplink satisfies the first preset condition, it is determined that data blocking occurs in the uplink. In the case that the core network registration state of the electronic device is maintained, the wireless control connection between the electronic device and the target device is reestablished. Through the RRC reestablishment of the electronic device and the target device, the data transmission between the electronic device and the target device is recovered. Compared with the direct restart scheme, the RRC reconnection speed is fast, the blocking problem can be solved without the user perceiving the lag abnormality, and the user experience is improved.

[0073] Figure 4 The flowchart of the reestablished connection provided in the embodiment of the application can include steps 401 to 402, which are described in detail below.

[0074] 401. If the uplink parameter satisfies the first preset condition, a first time length is determined, the first time length being a time length between a current time and a target time, and the target time being a start time at which the uplink parameter satisfies the first preset condition.

[0075] If the uplink parameter satisfies the first preset condition, it can be determined that data blocking occurs in the uplink. The target time at which the data blocking occurs in the uplink is determined, and the first time length from the target time to the current time is obtained.

[0076] The first time length is a time length during which the uplink of the electronic device maintains data blocking.

[0077] In a possible implementation, a detection period can be set, the uplink parameter is acquired according to the detection period, and it is determined whether the uplink parameter satisfies the first preset condition.

[0078] In any detection period, if it is determined that the uplink parameter satisfies the first preset condition, a time (a start time, an end time, or any time in the detection period) corresponding to the detection period is determined as the target time. In the detection periods subsequent to the target time to the current time, it is determined that the uplink parameter satisfies the first preset condition. The time length between the target time and the current time is recorded as the first time length.

[0079] 402. In response to the first time length reaching a first threshold, the connection between the electronic device and the target device is reestablished.

[0080] The first threshold is a threshold for determining whether the duration of the uplink maintaining data blockage is long. If the first duration reaches the first threshold, it indicates that stable data blockage occurs in the uplink, and the connection between the electronic device and the target device needs to be reestablished to solve the problem of uplink data blockage. By setting the first duration, frequent reestablishment of the connection between the electronic device and the target device is prevented.

[0081] Since the uplink data transmission is performed through the uplink, instantaneous or short-time blockage may occur, which can be solved in the subsequent data transmission process. For example, the electronic device moves from a space with poor network quality to a space with good network quality, such as moving from inside the tunnel to outside the tunnel. The network quality inside the tunnel is poor, and after the uplink of the electronic device inside the tunnel has a problem, the electronic device moves to outside the tunnel in a very short time, and the network quality outside the tunnel is good. The uplink between the electronic device and the target device no longer occurs blockage, then the first duration does not reach the first threshold, the uplink of the electronic device recovers normally, and the connection between the electronic device and the target device does not need to be reestablished, and the blockage can be ignored.

[0082] Moreover, after the first duration does not reach the first threshold, the timing duration can be reset to zero until the next time the uplink parameter satisfies the first preset condition, and the first duration is counted from zero again.

[0083] For example, the first threshold can be 5 seconds, and if the first duration reaches 5 seconds, the connection between the electronic device and the target device is reestablished.

[0084] The first threshold can be set according to actual conditions. In a scenario with high requirements for uplink transmission efficiency, the first threshold can be set to a smaller value, and in a scenario with low requirements for uplink transmission efficiency, the first threshold can be set to a larger value.

[0085] The process of reestablishing the connection can refer to the explanation in the foregoing embodiments, which will not be repeated here.

[0086] When the electronic device outputs output information such as video and audio, data blockage will cause the output process to be stuck, so the link transmission efficiency is required to be high. If the electronic device does not output real-time changing output information, the user cannot intuitively feel the problem caused by the stuck, so the link transmission efficiency is required to be low.

[0087] In one possible implementation, the method further includes: if the output device of the electronic device is in a first state, determining the first threshold to be a first value, the first state being a state in which the output device outputs output information that can be perceived by an operator; and if the output device of the electronic device is not in the first state, determining the first threshold to be a second value, the second value being greater than the first value.

[0088] The operation body can be a user operating the electronic device, and the output information can be information such as video and audio that requires high output during output.

[0089] The output device of the electronic device can include a display screen, a speaker, and the like having an output function. The first state is a state in which the output device outputs output information that can be perceived by the operation body. Accordingly, the display screen in the first state is a state in which the display screen outputs video, and the speaker in the first state is a state in which the speaker outputs audio.

[0090] For example, the first value can be 5 seconds, and the second value can be 10 seconds.

[0091] As an example, the display screen of the electronic device is playing video, the first threshold is set to 5 seconds, and when the maintenance duration of the data blockage occurring in the uplink reaches 5 seconds, the connection between the electronic device and the target device is triggered to be rebuilt. The electronic device is in a black screen / displaying a desktop, and the first threshold is set to 10 seconds, and when the maintenance duration of the data blockage occurring in the uplink reaches 10 seconds, the connection between the electronic device and the target device is triggered to be rebuilt.

[0092] In this embodiment, if the uplink parameter meets the first preset condition, a first duration is determined, the first duration being a duration between a current time and a target time, and the target time being a starting time at which the uplink parameter meets the first preset condition; and in response to the first duration reaching a first threshold, the connection between the electronic device and the target device is rebuilt. After determining that the data blockage occurs in the uplink, the first duration of the maintenance of the data blockage is counted, and after the first duration reaches the first threshold, it is indicated that the data blockage occurs continuously in the uplink, and the connection between the electronic device and the target device is rebuilt, which can more accurately determine the timing of reconnection and save network resources and resources in the electronic device occupied by the rebuilt connection.

[0093] Figure 5 is another flowchart of the rebuilt connection provided by the embodiment of the present application, which can include steps 501 to 502, and steps 501-502 in the flowchart are executed in parallel with 402 in the foregoing Figure 4 The steps will be described in detail below.

[0094] 501、if the uplink parameter meets the first preset condition, determining a second duration, the second duration being a duration between a current time and a time of last time of rebuilding the connection;

[0095] If the uplink parameter meets the first preset condition, it can be determined that the data blockage occurs in the uplink. After determining that the data blockage occurs in the uplink, in order to prevent frequent rebuilding of the connection, the second duration between the last time of rebuilding and the current time needs to be determined.

[0096] After the connection between the electronic device and the target device is reestablished, timing is started, and if it is determined again that the uplink parameter of the uplink meets the first preset condition, a time length between the time when the determination is made and the time when the timing is started is determined, and the time length is taken as a second time length.

[0097] 502, in response to the second time length reaching a second threshold value and the first time length reaching a first threshold value, reestablishing the connection between the electronic device and the target device.

[0098] The second threshold value can be taken as a cooling time for reestablishing the connection. The connection between the electronic device and the target device is allowed to be reestablished only when the second time length reaches the second threshold value.

[0099] After the RRC reconnection, the data blocked in the newly established uplink before transmission needs a certain time, and therefore, the reconnection can be performed after a certain interval of time after the connection between the electronic device and the target device is reestablished, and the certain interval of time can be taken as a cooling-off period for the reconnection of the electronic device. The interval of time can be set as the second threshold value.

[0100] Moreover, during the interval of time, the electronic device can move to a better network environment, or the relevant parameters on the target device side can change, which can make the network status of the uplink better and the uplink parameter better, and therefore, the uplink parameter can no longer meet the first preset condition, and therefore, the data transmission can be directly performed using the better uplink, or the reestablishment can not be needed.

[0101] The second threshold value can be set as a relatively long time, such as 60 seconds. The connection between the electronic device and the target device needs to be reestablished twice with an interval of 60 seconds.

[0102] In actual application, the user carries the electronic device in a tunnel or other network poor environment, and the electronic device needs to be maintained for a period of time in the tunnel. The network poor problem in the tunnel exists all the time, and therefore, after the connection is reestablished, the problem of data blocking of the uplink can occur again, and the time length when the connection is reestablished last time needs to reach the second threshold value, so that the electronic device can be moved to a network better environment in a time period corresponding to the second threshold value, and the connection can be reestablished, and the efficiency of reestablishing the connection is improved.

[0103] In actual application, since the electronic device can be at the edge of a connected cell, the network at the edge of the cell is poor, the user carrying the electronic device can move to the center of the cell in the moving process, the network at the center of the cell is better, the moving process needs a period of time, therefore, after the connection is reconstructed, even if the problem of data blocking of the uplink occurs again, the time period from the last time of connection reconstruction needs to reach a second threshold value, so as to move the electronic device to a better network environment in the time period corresponding to the second threshold value, and the connection is reconstructed, thereby improving the efficiency of connection reconstruction.

[0104] If the first time period reaches the first threshold value, it is indicated that the data blocking of the uplink lasts for a long time; if the second time period reaches the second threshold value, it is indicated that the time period from the last time of connection reconstruction is long enough, the connection between the electronic device and the target device is reconstructed when the second time period reaches the second threshold value and the first time period reaches the first threshold value.

[0105] The second threshold value can be used as a cooling-off period for reconstructing the connection between the electronic device and the target device, and the connection reconstruction is prohibited from being triggered again in the cooling-off period, thereby saving the network resources and the resources in the electronic device occupied by the connection reconstruction.

[0106] The second threshold value can be set according to actual conditions, a smaller value can be set for the second threshold value in a scene with high requirement for the uplink transmission efficiency, and a larger value can be set for the second threshold value in a scene with low requirement for the uplink transmission efficiency.

[0107] In the embodiment, if the uplink parameter of the uplink meets the first preset condition, the second time period is determined, the second time period is the time period between the current time and the time of the last time of connection reconstruction; the connection between the electronic device and the target device is reconstructed in response to the second time period reaching the second threshold value and the first time period reaching the first threshold value. The second threshold value is set as a cooling-off time for connection reconstruction, and the uplink parameter of the uplink is determined to meet the first preset condition, the first time period needs to reach the first threshold value, and the second time period needs to reach the second threshold value, it is determined that the data blocking of the uplink lasts for a period of time, and the electronic device and the target device are separated by a period of time, and the network between the electronic device and the target device can be poor all the time, therefore, the connection between the electronic device and the target device is reconstructed, the timing of reconnection is more accurately determined, and the network resources and the resources in the electronic device occupied by the connection reconstruction are saved.

[0108] Figure 6 is another flowchart of connection reconstruction provided by the embodiment of the present application, which can include steps 601 to 602, and the steps will be described in detail below.

[0109] 601、if the uplink parameter of the uplink meets the first preset condition, determining a second duration, the second duration being a duration between a current time and a time of last time of reestablishing connection;

[0110] If the uplink parameter meets the first preset condition, it can be determined that the uplink occurs data congestion. After determining that the uplink occurs data congestion, in order to prevent frequent reestablishment of connection, it is necessary to determine the second duration between the last time of reestablishment and the current time.

[0111] After reestablishing the connection between the electronic device and the target device, start timing, and if it is determined again that the uplink parameter of the uplink meets the first preset condition, determine the duration between the time and the time of starting timing, and the duration is used as the second duration.

[0112] 602、in response to the second duration reaching a second threshold, reestablishing the connection between the electronic device and the target device.

[0113] The second threshold can be used as a cooling time for reestablishing the connection. When the second duration reaches the second threshold, the connection between the electronic device and the target device is allowed to be reestablished.

[0114] The second threshold can be set to a relatively long time, such as 60 seconds. The connection between the electronic device and the target device needs to be reestablished twice, and the interval between the two times is 60 seconds.

[0115] In practical application, when the user carries the electronic device in a tunnel or other poor network environment, the electronic device needs to maintain a period of movement in the tunnel, and the poor network in the tunnel is always a problem. Therefore, after reestablishing the connection, even if the problem of data congestion occurs again in the uplink, the time of reestablishing the connection needs to reach the second threshold, so that the electronic device moves to a better network environment in the period corresponding to the second threshold, and the reestablishment of the connection is performed, thereby improving the efficiency of reestablishing the connection.

[0116] In practical application, since the electronic device can be at the edge of a connection cell, the network at the edge of the cell is poor, and the user carrying the electronic device can move to the center of the cell during the movement process, the network at the center of the cell is better, and the movement process needs a period of time. Therefore, after reestablishing the connection, even if the problem of data congestion occurs again in the uplink, the time of reestablishing the connection needs to reach the second threshold, so that the electronic device moves to a better network environment in the period corresponding to the second threshold, and the reestablishment of the connection is performed, thereby improving the efficiency of reestablishing the connection.

[0117] The second threshold can be used as a cooling period for reestablishing the connection between the electronic device and the target device. During the cooling period, reestablishing the connection is prohibited again, thereby saving the network resources and resources in the electronic device occupied by reestablishing the connection.

[0118] The second threshold value can be set according to actual conditions. In a scenario in which the uplink transmission efficiency is required to be high, the second threshold value can be set to a small value. In a scenario in which the uplink transmission efficiency is required to be low, the second threshold value can be set to a large value.

[0119] In a possible implementation, if the output apparatus of the electronic device is in a first state, the second threshold value is determined to be a third value, and the first state is a state in which the output apparatus outputs output information that can be perceived by the operator. If the output apparatus of the electronic device is not in the first state, the second threshold value is determined to be a fourth value, and the fourth value is greater than the third value.

[0120] The operator can be a user who operates the electronic device, and the output information can be video, audio, or other information that requires a high requirement on an output process.

[0121] The output apparatus of the electronic device can include a display screen, a loudspeaker, or other apparatuses that have an output function. The first state is a state in which the output apparatus outputs output information that can be perceived by the operator. Correspondingly, the display screen is in the first state when the display screen outputs video, and the loudspeaker is in the first state when the loudspeaker outputs audio.

[0122] For example, the third value can be 60 seconds, and the fourth value can be 100 seconds.

[0123] As an example, when the display screen of the electronic device plays video, the second threshold value is set to 60 seconds, and the connection between the electronic device and the target device cannot be reestablished within 60 seconds after the connection is reestablished. When the display screen of the electronic device is in a black screen / display desktop state, the second threshold value is set to 100 seconds, and the connection between the electronic device and the target device cannot be reestablished within 100 seconds after the connection is reestablished.

[0124] In this embodiment, if the uplink parameter of the uplink meets a first preset condition, a second time length is determined, and the second time length is a time length between a current time and a time at which the connection is last reestablished. In response to the second time length reaching a second threshold value, the connection between the electronic device and the target device is reestablished. The second threshold value is set as a cooling time for reestablishing the connection. After it is determined that the uplink parameter of the uplink meets the first preset condition, if the second time length reaches the second threshold value, it is indicated that a period of time has also elapsed since the last reestablishment. In addition, the second threshold value is set according to different states of the output apparatus of the electronic device. When the output apparatus is in the first state, the output apparatus outputs output information that can be perceived by the operator, and the second threshold value is set to a small third value. When the output apparatus is not in the first state, the second threshold value is set to a large fourth threshold value.

[0125] In a possible implementation, the uplink parameter satisfies a first preset condition, and the connection between the electronic device and the target device is reestablished, including: if the uplink parameter satisfies the first preset condition and the output device of the electronic device is in a first state, the connection between the electronic device and the target device is reestablished, and the first state is a state in which the output device outputs output information that can be perceived by the operator.

[0126] When the output device of the electronic device is in the first state, the output device outputs output information that can be perceived by the operator,

[0127] The operator can be a user who operates the electronic device, and the output information can be video, audio, and the like, which requires high output during output.

[0128] Correspondingly, when the output device is in the first state, the output device can be in a state in which the output device outputs corresponding output information.

[0129] The output device of the electronic device can include a display screen, a speaker, and the like, which have an output function, and the first state is a state in which the output device outputs output information that can be perceived by the operator. When the output device is a display screen, the output information that can be perceived by the operator is video; and when the output device is a speaker, the output information that can be perceived by the operator is audio.

[0130] Correspondingly, when the output device of the electronic device is in the first state, the output device can be in a state in which the display screen outputs video, a state in which the speaker outputs audio, or a state in which the display screen outputs video and the speaker outputs audio.

[0131] Since the operator cannot intuitively perceive the audio / video playing jitter caused by the data blocking of the uplink when the output device is in the first state, if the uplink occurs data blocking when the output device is in the first state, the connection between the electronic device and the target device is reestablished.

[0132] Since the operator cannot intuitively perceive the audio / video playing jitter caused by the data blocking of the uplink when the output device is not in the first state, the data blocking of the uplink does not trigger the reestablishment of the connection when the output device is not in the first state.

[0133] In the embodiment, if the uplink parameter meets the first preset condition and the output device of the electronic device is in the first state, the connection between the electronic device and the target device is reestablished, and the first state is a state in which the output device outputs output information that can be perceived by the operator. When the output device of the electronic device is in the first state, the output device outputs output information that can be perceived by the operator. In the case where the uplink parameter meets the first preset condition to determine that data blocking occurs in the uplink, the connection between the electronic device and the target device is reestablished to ensure that the output information perceived by the operator is continuous, thereby improving the intuitive experience of the operator.

[0134] Figure 7 is a flowchart of the information processing method provided by the embodiment of the application in an application scenario in which a data volume threshold, a bit error rate threshold, a throughput rate threshold, a first threshold, and a second threshold are preset. The application scenario includes a process of determining whether data blocking occurs in the uplink and reestablishing the connection. The information processing method includes steps 701-711, which will be described in detail below.

[0135] 701. The modem obtains an uplink parameter of the uplink;

[0136] The modem can obtain the uplink parameter by dynamically monitoring the pending data recorded in the operating system and the uplink bit error rate.

[0137] In the application scenario, the uplink parameter includes a pending data volume UL pending, an uplink bit error rate ULbler, and an uplink throughput rate UL Tput.

[0138] 702. Determine whether a setting function is started;

[0139] The setting function is a function corresponding to the information processing method provided in the foregoing embodiment.

[0140] If the setting function is started, step 703 is performed; if the setting function is not started, step 711 is performed.

[0141] 703. Determine whether the display screen is turned on;

[0142] If the display screen is turned on, the user can easily visually observe the video freezing when the video is played; if the display screen is not turned on, the user cannot easily observe the data blocking of the uplink.

[0143] Correspondingly, step 704 is performed when the display screen is turned on; step 711 is performed when the display screen is not turned on.

[0144] 704. Determine whether the uplink parameter meets a first preset condition;

[0145] If at least one of the following conditions is met: the data volume is greater than the data volume threshold, the uplink error rate is greater than the error rate threshold, and the uplink throughput rate is less than the throughput rate threshold, it is determined that the first preset condition is met.

[0146] In this application scenario, the data volume threshold is 10K, the error rate threshold is 30%, and the throughput rate threshold is 25Kbps.

[0147] If the first preset condition is met, step 705 is performed; if the first preset condition is not met, step 710 is performed.

[0148] 705, whether the maintenance duration of the uplink parameter meeting the first preset condition is greater than a first threshold value;

[0149] Whether greater than the first threshold value is used to maintain the duration of the uplink link blockage. If the duration is long, the connection can be reestablished to prevent frequent connection reestablishment.

[0150] In this application scenario, the first threshold value is 10 seconds.

[0151] If the maintenance duration is greater than the first threshold value, step 706 is performed; if the maintenance duration is not greater than the first threshold value, step 709 is performed.

[0152] 706, whether it is in a cooling period;

[0153] The cooling period is the interval duration required between the last reestablishment of the connection between the electronic device and the uplink device and the next reestablishment of the connection. The interval duration can use a second threshold value.

[0154] In this application scenario, the second threshold value is 60 seconds.

[0155] The time duration from the last reestablishment of the connection to the current time is determined whether it reaches the second threshold value. If it does not reach, it is currently in the cooling period. If the duration reaches the second threshold value, it is not currently in the cooling period.

[0156] If it is not currently in the cooling period, the subsequent step 707 is performed; if it is currently in the cooling period, the subsequent step 708 is performed.

[0157] 707, reestablish the connection with the uplink device;

[0158] Trigger RRC release and reconnect. Moreover, after reconnecting RRC, trigger the start of the cooling period.

[0159] Step 711 is performed after reconnection.

[0160] 708, continue to use the uplink to output data in the cooling period;

[0161] If it is determined that the uplink parameter meets the first preset condition, and the current time is within the cooling period, the uplink parameter is maintained for uplink data transmission.

[0162] The step 711 is subsequently executed.

[0163] 709、If the maintenance duration is 0, the start time is set as the current time, otherwise, the counting is continued;

[0164] When it is determined that the uplink parameter meets the first preset condition and the maintenance duration is not greater than the first threshold, there are two cases: one is that the current determination that the uplink parameter meets the first preset condition is the start time of the first preset condition, and the counted maintenance duration is 0, and then the current time is set as the start time of the first preset condition; the other case is that the uplink parameter meets the first preset condition for a period of time (the maintenance duration is not 0) but does not reach the first threshold, and then the counting is continued.

[0165] The step 711 is subsequently executed.

[0166] 710、The maintenance duration of the uplink parameter meeting the first preset condition is reset to 0;

[0167] After being reset to 0, the step 711 is executed.

[0168] 711、After completing the processing of the data to be processed / error code event, the process is ended.

[0169] It should be noted that, in the application scenario, the display screen is determined to be turned on or not, the uplink parameter is determined to meet the first preset condition or not, the maintenance duration of the uplink parameter meeting the first preset condition is determined to be greater than the first threshold or not, and the cooling period is determined to be in or not. In actual application, the process of the determination is not limited to this, the uplink parameter can be determined to meet the first preset condition first, and then the display screen is determined to be turned on or not, the maintenance duration of the uplink parameter meeting the first preset condition is determined to be greater than the first threshold or not, and the cooling period is determined to be in or not. The subsequent three determination steps can be in any order, or can be executed in parallel.

[0170] Figure 8 is another flowchart of an information processing method provided by the embodiment of the present application, which can include steps 801 to 803. The steps 801 to 804 are parallel to the steps 101 in Figure 1 The steps will be described in detail below.

[0171] 801、The downlink parameter of the downlink of the electronic device is acquired.

[0172] The downlink of the electronic device is a link between the electronic device and the uplink device thereof, and the uplink device is used to send downlink data to the electronic device.

[0173] The downlink parameter is a parameter generated when the uplink device transmits downlink data to the electronic device through the downlink.

[0174] The downlink parameter can include one or more parameters, and the downlink parameter can represent the situation of transmitting downlink data through the downlink.

[0175] The downlink parameter can be a plurality of downlink parameters obtained by the operating system of the electronic device.

[0176] The downlink parameter can include a downlink throughput rate, a downlink error code rate, etc. The parameter types included in the downlink parameter and the uplink parameter can be the same or different, and the specific parameters included in the downlink parameter are not limited in the present application.

[0177] In a possible implementation, when the electronic device receives downlink data, the operating system has a corresponding statistical record of the relevant downlink parameter of the downlink data, and the modem obtains the downlink parameter from the operating system through a set interface.

[0178] The information processing method in the embodiment is applied to the operating system AP of the electronic device.

[0179] As an example, the downlink parameter can include a parameter for representing the performance of the downlink. The operating system can monitor the transmitted data packet and the received data packet according to a set period, obtain the number of transmitted data packets and the number of received data packets in a set time period, and take the number of transmitted data packets and the number of received data packets in the set time period as the downlink parameter.

[0180] 802, determine whether the downlink parameter satisfies a second preset condition, the second preset condition representing that the downlink link has data congestion;

[0181] The second preset condition represents that the downlink link has data congestion, and the downlink link having data congestion can include that the downlink link has already had data congestion and is about to have data congestion.

[0182] The second preset condition is set in the electronic device, and whether the downlink link has data congestion is determined during the operation of the electronic device. If the downlink parameter satisfies the second preset condition, it can be determined that the downlink link has data congestion.

[0183] In a possible implementation, a period can be preset, and the uplink parameter and the downlink parameter are obtained according to the period, and it is determined whether the uplink parameter satisfies the first preset condition and whether the downlink parameter satisfies the second preset condition.

[0184] The period can be set according to actual conditions. In a scenario with high real-time requirement for data transmission, a smaller period can be set, and in a scenario with low real-time requirement for data transmission, a larger period can be set. The value of the period is not limited in the present application.

[0185] The second preset condition can be that each item in the downlink parameter respectively meets a corresponding threshold. For example, it can be that the number of sent data packets is greater than a sending number threshold and the number of received data packets is less than a receiving number threshold in a set time period.

[0186] For example, in a monitoring period of one second, the number of sent data packets is greater than 10, the number of received data packets is 0, and this state is maintained for 60 seconds, it can be determined that the second preset condition is met.

[0187] In a specific implementation, the downlink parameter can also include other parameters, and a threshold value of the other parameter can be set according to actual conditions, which is not limited in the present application.

[0188] 803、If the uplink parameter meets the first preset condition and the downlink parameter meets the second preset condition, the electronic device re-performs network registration;

[0189] If the uplink parameter meets the first preset condition and the downlink parameter meets the second preset condition, it can be represented that data blocking occurs in the uplink and the downlink between the electronic device and the target device, and it can be determined that the network between the electronic device and the target device is poor as a whole. Therefore, the electronic device re-performs network registration.

[0190] In the process of re-performing network registration, the electronic device can re-register the same network protocol as the current one, or register a network protocol with lower network requirements.

[0191] In the process of re-performing network registration, the electronic device can re-register the same network protocol as the current one, or register a network protocol with lower network requirements.

[0192] As an example, when the electronic device adopts a 5G (5th-Generation Mobile Communication Technology, 5th-generation mobile communication technology) network protocol, and it is determined that data blocking occurs in the uplink and the downlink, the electronic device can re-register a 5G network or a 4G (4th-Generation Mobile Communication Technology, 4th-generation mobile communication technology) network when re-performing network registration.

[0193] As an example, the electronic device, in a case that the uplink parameter meets the first preset condition and the downlink parameter meets the second preset condition, cleans up the connection between the electronic device and the uplink device, waits for a preset time period, re-registers, and restarts the network module.

[0194] The preset time period is a relatively long time, such as 180 seconds. Of course, the preset time period can also be other numerical values, which are not limited in the present application.

[0195] If, in the process, the output device of the electronic device is in the first state and the RSRP (Reference Signal Received Power) of the electronic device is greater than a set threshold, triggering in a relatively short time (such as 60 seconds), the electronic device re-performs network registration.

[0196] 804、If the uplink operating parameter meets the first preset condition and the downlink parameter does not meet the second preset condition, the wireless control connection between the electronic device and the target device is re-established while maintaining the core network registration state of the electronic device.

[0197] If the uplink parameter meets the first preset condition and the downlink parameter does not meet the second preset condition, it can be represented that the uplink link between the electronic device and the target device appears data congestion, and the downlink link does not appear data congestion. It can be determined that the quality of the uplink link between the electronic device and the target device is poor, and the network quality between the electronic device and the target device has not reached a very poor condition. Therefore, the wireless control connection between the electronic device and the target device is re-established while maintaining the core network registration state of the electronic device. Compared with the electronic device re-performing network registration, the time required for re-establishing the wireless control connection is short, and the quality of the connection between the electronic device and the target device can be quickly improved.

[0198] The process of re-establishing the wireless control link between the electronic device and the target device is explained in the foregoing embodiments, which will not be repeated here.

[0199] In the embodiment, a downlink parameter of the downlink of the electronic device is also acquired; if the downlink parameter satisfies a second preset condition, it is determined that data blocking occurs in the downlink; if the uplink parameter satisfies the first preset condition and the downlink parameter satisfies the second preset condition, the electronic device re-performs network registration; if the uplink parameter satisfies the first preset condition and the downlink parameter does not satisfy the second preset condition, the wireless control connection between the electronic device and the target device is re-established while maintaining the core network registration state of the electronic device. Whether the uplink and the downlink both occur data blocking is determined respectively; if both of them occur data blocking, it is determined that the network between the electronic device and the target device is poor as a whole, and the electronic device re-performs network registration to improve the network connection quality between the electronic device and the target device; if the uplink occurs data blocking and the downlink does not occur data blocking, it is determined that the uplink quality between the electronic device and the target device is poor, and the wireless control connection between the electronic device and the target device is re-established while maintaining the core network registration state of the electronic device to improve the uplink quality between the electronic device and the target device, and the electronic device does not need to re-perform network registration. Different ways are adopted to re-establish the connection between the electronic device and the target device according to different network conditions, and the flexibility is high.

[0200] Figure 9 FIG. 1 is a schematic diagram of an architecture of the information processing method in an application scenario provided by the embodiment of the present application. The architecture corresponds to an electronic device, such as a mobile device, for example, a mobile phone, a tablet computer, etc. In the schematic diagram of the architecture, an application processor (AP) and a modem are included.

[0201] The modem is mainly used to determine whether the uplink occurs data blocking, and the AP is used to determine whether the downlink occurs data blocking and to control the re-establishment of the connection between the electronic device and the target device.

[0202] The modem monitors the uplink parameter of the electronic device, which can be obtained from the operating system of the AP through an interface. The uplink parameter can include the uplink data amount to be processed, the uplink error code rate, the uplink throughput rate, etc.

[0203] In the application scenario, the modem also determines whether the service frequency band is empty. If the service frequency band is not empty, and the uplink data amount to be processed is greater than 10 KB, the uplink error code rate is greater than 30%, and the uplink throughput rate is less than 25 Kbps, it is determined that the first preset condition is satisfied, and the state satisfying the first preset condition is maintained for 10 seconds, and it is determined that the uplink occurs data blocking.

[0204] The AP monitors the number of data packets sent and received per second. If the number of data packets sent is greater than 10 and the number of data packets received is 0, and this condition is maintained for more than 60 seconds, and further, the set conditions (which can be a call, using a 2G / 3G network protocol, a display screen being off, RSRP≤-120 dBm (decibel-milliwatts), or a virtual laboratory scene) are not met, it is determined that the ping test fails or the HTTPS (HyperText Transfer Protocol Secure) / DNS (Domain Name System) probe fails, and it is determined that data blocking occurs in the downlink. The ping test sends a ping signal to a preset network address to the uplink device. If no response is received, the test is repeated several times (e.g., 5 times). If no response is received for 5 times, it is determined that the ping test fails.

[0205] The modem determines that data blocking occurs in the uplink, and feeds back the determination result to the AP.

[0206] The AP determines that data blocking occurs only in the uplink, triggers the release and re-establishment of the local RRC connection. Moreover, a 60-second cooling-off period is set for the same cell (cell), and the RRC connection is not re-established within 60 seconds. In the process of re-establishing the RRC connection, it is determined that the current display screen is on and RSRP>120, and the LTE (Long Term Evolution) / NA (Non-Standalone) SA (Standalone) is reconnected after 60 seconds from the last re-establishment.

[0207] The AP determines that data blocking occurs in both the uplink and the downlink, and triggers the electronic device to re-perform the network registration process.

[0208] In the re-performing network registration process, a list (DATA_CALL_LIST) related to data connection recorded in the operating system is first obtained, and the list contains information of a data call (data_call). After waiting for 180 seconds, all connections between the electronic device and the target device are cleaned up. After waiting for 180 seconds, the electronic device sends a re-registration request to the target device. After waiting for 180 seconds, the electronic device restarts the wireless communication module.

[0209] Since the time required for re-performing network registration is relatively long, in the case of very poor network when data blocking occurs in both the uplink and the downlink, re-network registration is performed. If data blocking occurs only in the uplink, RRC reconnection can be performed, which consumes less time and can quickly restore efficient data transmission between the electronic device and the uplink device.

[0210] The above describes an information processing method provided by an embodiment of this application. The following will describe an electronic device that performs the above information processing method.

[0211] Please see Figure 10 , Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. For example... Figure 10 As shown, the electronic device 1000 includes: a processor 1001 and a memory 1002;

[0212] The memory contains computer programs;

[0213] The processor executes a computer program to perform the following steps:

[0214] Obtain the uplink parameters of the electronic device;

[0215] If the uplink parameters meet the first preset condition, rebuild the connection between the electronic device and the target device;

[0216] The first preset condition indicates that uplink data blockage has occurred, and the target device is the uplink device of the electronic device.

[0217] The processor can be a data processing component in an electronic device.

[0218] For the specific implementation and explanation of the processor's execution steps, please refer to the explanations in the foregoing method embodiments; they will not be repeated here.

[0219] The processor also includes a modem, which obtains multiple uplink parameters from the operating system of the electronic device.

[0220] In this embodiment, the electronic device includes: a memory storing a computer program; a processor executing the computer program to perform the following steps: acquiring uplink parameters of the electronic device's uplink; and if the uplink parameters meet a first preset condition, reconstructing the connection between the electronic device and the target device; wherein the first preset condition indicates that uplink data blockage has occurred, and the target device is the uplink device of the electronic device. After acquiring the uplink parameters of the electronic device's uplink, if the uplink parameters meet the first preset condition, the processor determines that the current uplink is experiencing data blockage. After determining that uplink data blockage has occurred, it triggers the reconstruction of the connection between the electronic device and the target device, enabling the processor to judge the stuttering situation caused by uplink data blockage and handle the stuttering in a timely manner.

[0221] The embodiment of the present application also provides a computer program product comprising computer readable instructions which, when executed on an electronic device, cause the electronic device to implement any of the information processing methods provided by the embodiments of the present application.

[0222] The embodiment of the present application also provides a computer readable storage medium carrying one or more computer programs, which, when executed by an electronic device, can cause the electronic device to implement any of the information processing methods provided by the embodiments of the present application.

[0223] It can be understood that, before using the technical solutions disclosed in the embodiments of the present application, the type, use range, use scenario, etc. of the personal information involved in the present application should be informed to the user and the authorization of the user should be obtained according to relevant laws and regulations.

[0224] It can be understood that the data (including but not limited to the data itself, the acquisition or use of the data) involved in the technical solutions should comply with the requirements of the corresponding laws and regulations and relevant provisions.

[0225] In addition, it should be noted that the apparatus embodiments described above are only schematic, and the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, i.e. they may be located in one place or distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the embodiments. In addition, in the apparatus embodiments provided by the present application, the connection relationship between the modules indicates that there is a communication connection between them, which can be implemented as one or more communication buses or signal lines.

[0226] From the above description of the embodiments, those skilled in the art can clearly understand that the present application can be implemented by means of software and necessary general hardware, and of course can also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components, etc. Generally, any function completed by a computer program can be easily implemented by corresponding hardware, and the specific hardware structure for implementing the same function can also be various, such as analog circuits, digital circuits or special circuits. However, for the present application, software program implementation is a better embodiment. Based on such understanding, the technical solutions of the present application can essentially be embodied in the form of a software product, which is stored in a readable storage medium, such as a computer's floppy disk, U disk, mobile hard disk, ROM, RAM, magnetic disk or optical disk, etc., including a plurality of instructions to make a computer device (which can be a personal computer, a training device, or a network device, etc.) execute the methods described in the embodiments of the present application.

[0227] In the embodiments described above, the entire or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, the entire or part of the embodiments can be implemented in the form of a computer program product.

[0228] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the entire or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website site, computer, training device or data center to another website site, computer, training device or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer readable storage medium can be any available medium that a computer can store or be integrated into a data storage device such as a training device, a data center, etc. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)) and the like.

Claims

1. An information processing method, comprising: Obtain the uplink parameters of the electronic device; If the uplink parameters meet the first preset condition, the connection between the electronic device and the target device is rebuilt; Wherein, the first preset condition indicates that uplink data blockage has occurred, and the target device is the uplink device of the electronic device.

2. The information processing method according to claim 1, obtaining the uplink parameters of the electronic device's uplink, includes: Multiple uplink parameters are obtained from the operating system of the electronic device based on the modem.

3. The information processing method according to claim 1, wherein the uplink parameters include at least one of uplink data to be processed, uplink bit error rate, and uplink throughput, and the method further includes: If the amount of uplink data to be processed is greater than the data volume threshold, it is determined that the uplink data to be processed meets the first preset condition. If the uplink bit error rate is greater than the bit error rate threshold, it is determined that the uplink bit error rate meets the first preset condition. or, If the uplink throughput is less than the throughput threshold, it is determined that the uplink throughput meets the first preset condition; If the uplink parameters meet the first preset condition, the connection between the electronic device and the target device is rebuilt, including: If at least one of the uplink parameters meets the first preset condition, the connection between the electronic device and the target device is re-established; or, If all the uplink parameters meet the first preset condition, the connection between the electronic device and the target device is rebuilt.

4. The information processing method according to claim 1, wherein if the uplink parameters meet a first preset condition, the connection between the electronic device and the target device is rebuilt, comprising: If the uplink parameters meet the first preset condition, the wireless control connection between the electronic device and the target device is re-established while maintaining the core network registration status of the electronic device.

5. The information processing method according to claim 1, wherein if the uplink parameters meet a first preset condition, the connection between the electronic device and the target device is rebuilt, comprising: If the uplink parameters meet the first preset condition, a first duration is determined, where the first duration is the duration between the current time and the target time, and the target time is the start time when the uplink parameters meet the first preset condition; In response to the first time period reaching a first threshold, the connection between the electronic device and the target device is rebuilt; If the output device of the electronic device is in a first state, the first threshold is determined to be a first value, where the first state is the state in which the output device outputs output information that can be perceived by the operator. If the output device of the electronic device is not in the first state, the first threshold is determined to be a second value, and the second value is greater than the first value.

6. The information processing method according to claim 5, further comprising: if the uplink parameters satisfy a first preset condition, reconstructing the connection between the electronic device and the target device, wherein the connection is rebuilt. If the uplink parameters of the uplink meet the first preset condition, determine the second duration, which is the duration between the current time and the last time the connection was re-established; In response to the second duration reaching a second threshold and the first duration reaching a first threshold, the connection between the electronic device and the target device is rebuilt.

7. The information processing method according to claim 1, wherein if the uplink parameters satisfy a first preset condition, the connection between the electronic device and the target device is rebuilt, comprising: If the uplink parameters of the uplink meet the first preset condition, determine the second duration, which is the duration between the current time and the last time the connection was re-established; In response to the second duration reaching the second threshold, the connection between the electronic device and the target device is re-established; If the output device of the electronic device is in a first state, the second threshold is determined to be a third value. The first state is the state in which the output device outputs output information that can be perceived by the operator. If the output device of the electronic device is not in the first state, the second threshold is determined to be a fourth value, which is greater than the third value.

8. The information processing method according to claim 1, further comprising: Obtain the downlink parameters of the electronic device; Determine whether the downlink parameters meet the second preset condition, which indicates that data blocking has occurred in the downlink; If the uplink parameters meet the first preset condition and the downlink parameters meet the second preset condition, the electronic device re-registers with the network. If the uplink parameters meet the first preset condition and the downlink parameters do not meet the second preset condition, the wireless control connection between the electronic device and the target device is re-established while maintaining the core network registration status of the electronic device.

9. An electronic device, comprising a processor and a memory; The memory stores computer programs; The processor executes the computer program to perform the following steps: Obtain the uplink parameters of the electronic device; If the uplink parameters meet the first preset condition, the connection between the electronic device and the target device is rebuilt; in, The first preset condition indicates that uplink data blockage has occurred, and the target device is the uplink device of the electronic device.

10. The electronic device of claim 9, wherein the processor further comprises a modem, the modem obtaining a plurality of uplink parameters from the operating system of the electronic device.