Information processing method, device, electronic device and storage medium

By acquiring and analyzing the status and traffic information of the application program in the electronic device and adjusting the channel bandwidth in combination with the network signal strength, the lag problem caused by weak signals of electronic devices is solved and the user efficiency is improved.

CN114356568BActive Publication Date: 2025-03-21VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111671781.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-31
Publication Date
2025-03-21
Estimated Expiration
2041-12-31

AI Technical Summary

Technical Problem

Electronic devices are stuck due to weak signals, which reduces user usage efficiency. Existing methods such as closing background programs or limiting the number of background programs to run will limit users' use of applications and reduce efficiency.

Method used

By obtaining the status information and traffic consumption information of N applications running in the electronic device, determining the application rate, and adjusting the channel bandwidth usage information according to the network signal strength and rate, the function of automatically detecting signal strength and adjusting the application channel is realized.

Benefits of technology

Automatically detect the signal strength of electronic devices, adjust the channel of each application, alleviate the lag caused by weak signal and background program occupation, reduce user manual operations, and improve usage efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114356568B_ABST
    Figure CN114356568B_ABST
Patent Text Reader

Abstract

The present application discloses an information processing method, device, electronic device and storage medium, which belongs to the field of electronic devices. The information processing method includes obtaining status information of N applications running in the electronic device, where the status information is determined by the display content of the application, wherein N is a positive integer greater than or equal to 1; determining the rate of the N applications based on the status information and the traffic consumption information of the N applications; and adjusting the channel bandwidth usage information based on the signal strength information and rate of the network to which the electronic device is connected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communications, and specifically relates to an information processing method, device, electronic device and storage medium. Background Art

[0002] With the development of communication and electronic equipment technology, people often encounter weak signals when using electronic devices, which causes users to experience lags when browsing electronic devices. Currently, the lags in electronic devices can be reduced by adjusting the communication channels of electronic devices. The methods for adjusting the communication channels of electronic devices include closing background programs or limiting the number of background programs running. However, whether it is directly closing background programs or limiting the number of background programs running, it will limit users' use of applications and reduce the efficiency of users using electronic devices. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide an information processing method, device, electronic device and storage medium, which can solve the problem that electronic devices are currently stuck due to weak signals, thereby reducing the efficiency of users using electronic devices.

[0004] In a first aspect, an embodiment of the present application provides an information processing method, which is applied to an electronic device. The information processing method includes:

[0005] Obtaining status information of N applications running in the electronic device, where the status information is determined by the displayed content of the application, where N is a positive integer greater than or equal to 1;

[0006] Determine the rates of the N applications based on the state information and the traffic consumption information of the N applications;

[0007] Channel bandwidth usage information is adjusted based on signal strength information and rate of a network to which the electronic device is connected.

[0008] In a second aspect, an embodiment of the present application provides an information processing device, which is applied to an electronic device, and the information processing device includes:

[0009] An acquisition module, used to acquire status information of N applications running in the electronic device, where the status information is determined by the displayed content of the application, wherein N is a positive integer greater than or equal to 1;

[0010] A determination module, used to determine the rates of the N applications according to the state information and the traffic consumption information of the N applications;

[0011] The adjustment module is used to adjust the channel bandwidth usage information based on the signal strength information and rate of the network to which the electronic device is connected.

[0012] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the information processing method shown in the first aspect are implemented.

[0013] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the information processing method shown in the first aspect are implemented.

[0014] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the information processing method shown in the first aspect.

[0015] In an embodiment of the present application, by obtaining status information of N applications running in an electronic device and traffic consumption information of the N applications, the rates of the N applications are determined, and based on the signal strength information and rate of the network to which the electronic device is connected, the channel bandwidth usage information is adjusted, so that the signal strength information of the network to which the electronic device is connected is divided into channel bandwidths according to the rate of each application. Thus, it is possible to automatically detect the signal strength of the electronic device and adjust the channel of each application, thereby helping to alleviate the problem of application freezes caused by weak signals, background program occupancy, etc. The user does not need to manually adjust the channel bandwidth of the application, which reduces user operations and improves the efficiency of the user in using the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A schematic diagram of a display architecture provided in an embodiment of the present application;

[0017] Figure 2 A flowchart of an information processing method provided in an embodiment of the present application;

[0018] Figure 3 One of the display interface intentions provided in the embodiment of the present application;

[0019] Figure 4 The second intention of a display interface provided in an embodiment of the present application;

[0020] Figure 5 The third intention of a display interface provided in an embodiment of the present application;

[0021] Figure 6 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application;

[0022] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0023] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0024] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0025] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0026] Based on this, the following Figure 1 , through specific embodiments and their application scenarios, the information processing method provided by the embodiments of the present application is described in detail.

[0027] The present application embodiment proposes an information processing architecture, such as Figure 1 As shown, the information processing architecture may include an electronic device 10. The electronic device 10 is installed with at least one application program (hereinafter referred to as application) such as application 1 and application 2, and has the functions of displaying and connecting to a network.

[0028] Based on the above display architecture, the information processing method provided in the embodiment of the present application is described in detail.

[0029] First, the electronic device 10 obtains status information of N applications running in the electronic device 10 , where the status information is determined by the displayed content of the application, where N is a positive integer greater than or equal to 1.

[0030] Next, the electronic device 10 determines the rates of the N applications according to the status information and the traffic consumption information of the N applications. Here, the N applications are programs that transmit and receive data through the network 11 during the operation of the electronic device 10.

[0031] Then, the electronic device 10 adjusts the channel bandwidth usage information based on the signal strength information and the rate of the network to which the electronic device 10 is connected.

[0032] In an embodiment of the present application, by obtaining status information of N applications running in an electronic device and traffic consumption information of the N applications, the rates of the N applications are determined, and based on the signal strength information and rate of the network to which the electronic device is connected, the channel bandwidth usage information is adjusted, so that the signal strength information of the network to which the electronic device is connected is divided into channel bandwidths according to the rate of each application. Thus, it is possible to automatically detect the signal strength of the electronic device and adjust the channel of each application, thereby helping to alleviate the problem of application freezes caused by weak signals, background program occupancy, etc. The user does not need to manually adjust the channel bandwidth of the application, which reduces user operations and improves the efficiency of the user in using the electronic device.

[0033] Based on this, the information processing method provided in the embodiment of the present application can be applied not only to the scenario of dividing the channel bandwidth for each application, but also to any scenario of dividing the channel bandwidth for each interface and multimedia information.

[0034] According to the above architecture and application scenarios, the following are combined Figure 2 The information processing method provided in the embodiments of the present application is described in detail.

[0035] Figure 2 A flowchart of an information processing method provided in an embodiment of the present application.

[0036] like Figure 2 As shown, the information processing method can be applied to Figure 1 The electronic device shown may specifically include the following steps:

[0037] Step 210, obtaining status information of N applications running in the electronic device, where the status information is determined by the display content of the application, wherein N is a positive integer greater than or equal to 1.

[0038] Step 220: Determine the rates of the N applications according to the state information and the traffic consumption information of the N applications.

[0039] Step 230: Adjust channel bandwidth usage information based on signal strength information and rate of the network to which the electronic device is connected.

[0040] In this way, it is possible to automatically detect the signal strength of electronic devices and adjust the channel of each application, helping to alleviate the problem of application lag caused by weak signals, background program occupancy, etc. Users do not need to manually adjust the channel bandwidth of the application, which reduces user operations and improves the efficiency of users using electronic devices.

[0041] The above steps are described in detail below, as shown below.

[0042] First, step 210 is involved. In one or more possible embodiments, the N applications include a first application running in the foreground and a second application running in the background. Next, the status information of each application is determined according to the displayed content of each application in the N applications.

[0043] For example, if the displayed content of the application is text, the status information of the application is reading category status information; if the displayed content of the application is images, videos, etc. including playing images, the status information of the application is playing category status information.

[0044] Next, step 220 is involved. The embodiment of the present application describes step 220 in detail based on the status information of different applications involved in step 210.

[0045] 1) When the status information of N applications is to display text content, obtain the speed of switching the text interface of each application in the N applications and the average number of words in the text in the interface;

[0046] Calculate the rate for N applications based on speed and average word count.

[0047] For example, a first application interface screenshot of the application at a preset time t1 is obtained, and a second application interface screenshot of the application at a preset time t2 is obtained. Then, the screen sliding distance s of switching from the first application interface screenshot to the second application interface screenshot is obtained. Based on this, the speed v of switching the text interface is calculated by formula (1):

[0048] v=s / (t2-t1) (1)

[0049] Next, the number of words per page m1 in the first application interface screenshot and the number of words per page m2 in the second application interface screenshot are obtained by optical character recognition (OCR), and the average number of words in the text in the interface is calculated by the following formula (2):

[0050] m=(m1+m2) / 2 (2)

[0051] Then, according to the speed v of switching the text interface and the average number of words m in the text in the interface, the rate bit of the application is calculated by the following formula (3)-formula (4), as shown below:

[0052] b (number of bytes) = v (speed of switching text interface) * 1s * m (average number of words in the text interface) * 2 (3)

[0053] bit (amount of information) = b*8 (4).

[0054] 2) when the status information of the N applications is to display image content, obtaining the playback speed of at least two frames of images and the resolution of each frame of the at least two frames of images in the N applications within a preset time window;

[0055] The rates of the N applications are calculated according to the playback speed of the at least two frames of images and the resolution of each of the at least two frames of images.

[0056] Exemplarily, when the displayed image content is a video playback, at least two frames of images in the video are obtained, such as an image at a preset time t3 and an image at a preset time t4. Also, the playback durations of the image at the preset time t3 and the image at the preset time t4 in the video are respectively obtained, such as the playback duration of the image at the preset time t3 is l1 and the playback duration of the image at the preset time t4 is l2.

[0057] Based on this, the playback speed v of at least two frames of images is calculated by formula (3), as shown below:

[0058] v = (l2-l1) / (t3-t4), (5)

[0059] Then, the resolution P of the image at the preset time t3 and the image at the preset time t4 is obtained through the image at the preset time t3 and the image at the preset time t4. Here, the embodiment of the present application provides at least one of the following resolutions:

[0060] P(144p)=192×144*20 per second

[0061] P(240p)=320×240*20 per second

[0062] P(360p)=480×360*20 per second

[0063] P(480p)=640×480*20 per second

[0064] P(720p)=1280×720*30 per second

[0065] P(1080p)=1920×1080*30 per second

[0066] Therefore, according to the resolution P and the playback speed v of at least two frames of images, the rate bit of the application is calculated by formula (6), as shown below:

[0067] bit=v*P*32 (6)

[0068] Then, referring to step 330, in one or more possible embodiments, in order to reduce power consumption of the electronic device in adjusting the channel bandwidth usage information, before step 330, the signal detection module in the electronic device automatically detects the signal strength information of the network to which the electronic device is connected.

[0069] If it is determined that the signal strength information of the network to which the electronic device is connected is less than or equal to the first preset threshold value, that is, it is in a weak signal environment, then step 330 is executed. On the contrary, if it is determined that the signal strength information of the network to which the electronic device is connected is greater than the first preset threshold value, that is, it is in a strong signal environment, then the signal strength information of the network to which the electronic device is connected is assumed to be high, and there is no need to adjust the channel bandwidth of each application. Based on this, it can be implemented based on the following steps:

[0070] Determine whether a signal strength value of signal strength information of a network to which the electronic device is connected is less than or equal to a first preset threshold;

[0071] When the signal strength value is less than or equal to the first preset threshold, the channel bandwidth usage information is adjusted based on the signal strength information and rate of the network to which the electronic device is connected.

[0072] Thus, in one or more possible embodiments, the N applications include a first application running in the foreground and a second application running in the background. Based on this, step 330 may specifically include:

[0073] According to the signal strength information, obtaining target channel bandwidth usage information corresponding to the signal strength information;

[0074] Determine first channel bandwidth usage information of the first application according to a first rate of the first application; and determine second channel bandwidth usage information of the second application according to a second rate of the second application;

[0075] The difference between the target channel bandwidth usage information and the first channel bandwidth usage information is determined as the second channel bandwidth usage information.

[0076] Exemplarily, based on the rates of the application program calculated based on the different state information involved in step 320, step 330 is described separately as follows.

[0077] The first channel bandwidth usage information or the second channel bandwidth usage information may be calculated by the following formula (7), as shown below:

[0078] According to Shannon's theorem, C (channel capacity) = Blog2 (1 + S / N) (7)

[0079] By setting the value of the channel capacity C to the value of the information amount bit (i.e., the bit calculated by formula (4) or the bit calculated by formula (6)), the first channel bandwidth usage information and the second channel bandwidth usage information can be calculated, wherein the S / N signal-to-noise ratio is a constant and is related to the transmission medium.

[0080] Furthermore, if the first rate of the first application is the bit calculated in formula (4), the bit calculated in formula (4) can be substituted into formula (7) to obtain the first channel bandwidth usage information.

[0081] Similarly, if the first rate of the first application is the bit calculated in formula (6), the bit calculated in formula (6) can be substituted into formula (7) to obtain the first channel bandwidth usage information.

[0082] Of course, if the second rate of the second application is the bit calculated in formula (4), the bit calculated in formula (4) can be substituted into formula (7) to obtain the second channel bandwidth usage information.

[0083] Based on this, the electronic device can set the channel width of the first application Z to B based on the first channel bandwidth usage information, give priority to the bandwidth of the first application Z in the target channel bandwidth usage information, and then determine the difference between the target channel bandwidth usage information and the first channel bandwidth usage information as the second channel bandwidth usage information, and based on the second channel bandwidth usage information, allocate the channel width of at least one second application such as the second application M and the second application N.

[0084] Here, the channel bandwidth usage information in the embodiment of the present application (i.e., the first channel bandwidth usage information and the second channel bandwidth usage information) includes (within a preset time period such as 20 minutes) the range of the traffic speed consumed by the application per minute and the input / output rate and the traffic mean, for example, the first application Z, the second application M and the second application N, the range of the traffic speed consumed per minute and the input / output rate and the traffic mean, wherein the range of the input / output rate of Z is {z1, z2}, and the traffic mean is The range of input / output rate of M is {m1, m2}, and the mean flow rate is The range of input / output rate of N is {n1, n2}, and the mean flow rate is

[0085] In another or more possible embodiments, that is, when the second application includes a first type of application that is downloading content or has a download demand and a second type of application that has not downloaded content, after the above-mentioned step of determining the difference between the target channel bandwidth usage information and the first channel bandwidth usage information as the second channel bandwidth usage information, the information processing method may further include:

[0086] Allocating the first sub-channel bandwidth usage information in the second channel bandwidth usage information to the first type of application;

[0087] The second sub-channel bandwidth usage information except the first sub-channel bandwidth usage information in the second channel bandwidth usage information is determined as the channel bandwidth usage information of the second type of application.

[0088] Exemplarily, when there are download and buffer tasks among the first category of applications in the second application running in the background of the electronic device, on the premise of ensuring the channel bandwidth usage information of the first application, i.e. the first application is playing normally, the remaining channel bandwidth usage information (i.e. the difference between the target channel bandwidth usage information and the first channel bandwidth usage information) is allocated to the first category of applications, and on the premise of further ensuring the channel bandwidth usage information of the first category of applications, i.e. the normal download and buffer tasks, the channel bandwidth usage information of the second category of applications, i.e. the non-task applications, is reduced to as small as possible. Then, on the premise of ensuring the channel bandwidth usage information of the first category of applications, i.e. the normal download and buffer tasks, the remaining channel bandwidth usage information is allocated to the second category of applications, and the remaining channel bandwidth usage information at this time is the difference between the target channel bandwidth usage information and the first channel bandwidth usage information and the channel bandwidth usage information of the first category of applications.

[0089] In addition, the embodiment of the present application also provides a method for a user to manually adjust the channel bandwidth usage information of N applications, that is, step 230 may specifically include:

[0090] Displaying a plurality of selection controls according to the signal strength information, the plurality of selection controls including a selection control for initial channel bandwidth usage information corresponding to each of the N application programs;

[0091] receiving a second input from a user on a target selection control among the plurality of selection controls;

[0092] In response to the second input, the channel bandwidth usage information corresponding to the target selection control is adjusted.

[0093] For example, after the rates of N applications are determined (or the first channel bandwidth usage information and the second channel bandwidth usage information have been automatically adjusted), the following information may be displayed: Figure 3The middle left figure shows the channel adjustment floating window 30. When a touch input to the channel adjustment floating window is received, the following is displayed: Figure 3 The right figure shows multiple selection controls, which display the value range of the channel bandwidth usage information of N applications for the user to adjust. The multiple selection controls include a first selection control corresponding to the initial channel bandwidth usage information corresponding to the first application Z, and a second selection control corresponding to the initial channel bandwidth usage information corresponding to the second applications M and N, and, for example, the minimum value of the channel bandwidth usage information of the second application M is m1 and the maximum value is m2, and the current value of the second channel bandwidth usage information is B2, so that the user can slide the selection control to customize the second channel bandwidth usage information of the application, that is, the user can slide the selection control to increase or decrease the value of the channel bandwidth usage information of the application. Here, when the value of the current second channel bandwidth usage information of the first application Z is adjusted, the channel bandwidth usage information of the second application M will be affected. Similarly, when the user adjusts the value of the current second channel bandwidth usage information of the second application M, the value of the channel bandwidth usage information of the second application N after the second application M will be affected, and so on.

[0094] Here, the application display order represents the order of the probability values ​​of jumping from the first application to each second application in the electronic device from large to small. For example, the probability value of jumping from the first application Z to the application M in the electronic device is greater than the probability value of jumping from the first application Z to the second application N in the electronic device. The probability value of jumping from the first application Z to the second application N in the electronic device is greater than the probability value of jumping from the first application Z to the second application A in the electronic device, and so on.

[0095] In some embodiments, Figure 4 As shown, the user can also change the arrangement order of the second applications. If the user wants to move the second application N to the position of the second application M, the user can drag the selection control of the second application N to the front of the second application M.

[0096] In other embodiments, Figure 5 As shown, the user can move subsequent applications such as application A among application A, application B and application C to an area of ​​a size range that can display the value of the channel bandwidth usage information of the application as required, so that the user can adjust it.

[0097] It should be noted that, in addition to displaying the channel adjustment floating window after obtaining the signal strength information, the channel adjustment floating window can also be displayed after the first channel bandwidth usage information corresponding to the first application and the second channel bandwidth usage information corresponding to the second application have been adjusted according to the signal strength information. In order to improve accuracy, the channel adjustment floating window can be displayed so that it can be adjusted according to the user's touch.

[0098] In order to apply the information processing method provided in the embodiment of the present application to various scenarios, the embodiment of the present application provides at least three of the following methods to determine the second application corresponding to the first application among N applications.

[0099] Method 1: Input application information of the first application into the user behavior discrimination model, and output user application usage tendency information, where the user application usage tendency information includes probability values ​​of jumping from the first application to N applications;

[0100] Target user tendency information satisfying a second preset condition is extracted from the user usage tendency information, and an application corresponding to the target user tendency information is determined as a second application.

[0101] Furthermore, the first channel bandwidth usage information may include a traffic consumption speed and an input / output rate range of the first application program and a traffic average.

[0102] It should be noted that before outputting the user's application usage tendency information, the information processing method may also include generating a user behavior discrimination model. Specifically, the main program currently used by the user, i.e., the first application, is obtained, denoted as Z, and the user's historical application usage records are read through the log reading module. The user's historical application usage records are used as training data, and the sequence of the user using application X1 and then application X2 is used as a positive sample, and the use of application X1 and then application X3 is used as a negative sample to train the initial user behavior discrimination model to obtain the user behavior discrimination model. It should be noted that application X1 can be any application in the electronic device, that is, application X1 can be application Z.

[0103] Based on this, the application information of the first application is input into the user behavior discrimination model, the user's application usage tendency information is output, the target user tendency information that meets the second preset condition is extracted from the user usage tendency information, and the application corresponding to the target user tendency information is determined as the second application, that is, after the user uses the current main program Z, at least one second application to be used subsequently, such as two applications, is recorded as {M, N}.

[0104] Mode 2: receiving a first input to N applications in the electronic device;

[0105] In response to the first input, an application corresponding to the first input is determined as a second application.

[0106] In this way, the second application can be determined based on the user's selection, thereby further improving the accuracy of determining the second application.

[0107] Method 3: Detect whether there is an application running in the background of the electronic device;

[0108] When it is detected that an application is running in the background of the electronic device, the application running in the background of the electronic device is determined as the second application.

[0109] Thus, the applications running in the background of the electronic device are automatically detected, and the default background running applications are applications that the user will browse (use) in a short period of time. Based on this, the accuracy of determining the second application can also be improved.

[0110] It should be noted that the above-mentioned methods 1 to 3 may be used to determine the second application program by any one of the above-mentioned methods, or may be used to determine the second application program by at least two of the above-mentioned methods at the same time.

[0111] In an embodiment of the present application, by obtaining status information of N applications running in an electronic device and traffic consumption information of the N applications, the rates of the N applications are determined, and based on the signal strength information and rate of the network to which the electronic device is connected, the channel bandwidth usage information is adjusted, so that the signal strength information of the network to which the electronic device is connected is divided into channel bandwidths according to the rate of each application. Thus, it is possible to automatically detect the signal strength of the electronic device and adjust the channel of each application, thereby helping to alleviate the problem of application freezes caused by weak signals, background program occupancy, etc. The user does not need to manually adjust the channel bandwidth of the application, which reduces user operations and improves the efficiency of the user in using the electronic device.

[0112] The information processing method provided in the embodiment of the present application can be executed by an information processing device. In the embodiment of the present application, an information processing device executing the information processing method is taken as an example to illustrate the information processing device provided in the embodiment of the present application.

[0113] Based on the same inventive concept, the present application also provides an information processing device. Figure 6 Provide detailed explanation.

[0114] Figure 6 A schematic diagram of the structure of an information processing device provided in an embodiment of the present application.

[0115] like Figure 6 As shown, the information processing device 60 is applied to Figure 1The electronic device shown, the information processing device may specifically include:

[0116] The acquisition module 601 is used to acquire the status information of N applications running in the electronic device, where the status information is determined by the display content of the application, wherein N is a positive integer greater than or equal to 1;

[0117] A determination module 602, configured to determine the rates of the N applications according to the state information and the traffic consumption information of the N applications;

[0118] The adjustment module 603 is used to adjust the channel bandwidth usage information based on the signal strength information and rate of the network to which the electronic device is connected.

[0119] The above-mentioned information processing device 60 is described in detail below, as shown below.

[0120] In one or more possible embodiments, the determination module 602 is further used to determine whether a signal strength value of the signal strength information of the network to which the electronic device is connected is less than or equal to a first preset threshold;

[0121] The adjustment module 603 is further configured to adjust the channel bandwidth usage information based on the signal strength information and rate of the network to which the electronic device is connected when the signal strength value is less than or equal to the first preset threshold.

[0122] In another or more possible embodiments, the acquisition module 601 is further used to, when the N applications include a first application running in the foreground and a second application running in the background, acquire, according to the signal strength information, target channel bandwidth usage information corresponding to the signal strength information;

[0123] The determination module 602 is further configured to determine first channel bandwidth usage information of the first application according to the first rate of the first application; and determine second channel bandwidth usage information of the second application according to the second rate of the second application;

[0124] The determination module 602 is further configured to determine a difference between the target channel bandwidth usage information and the first channel bandwidth usage information as the second channel bandwidth usage information.

[0125] In one or more possible embodiments, the determining module 602 is further configured to, when the second application includes the first category of application and the second category of application, allocate the first sub-channel bandwidth usage information in the second channel bandwidth usage information to the first category of application;

[0126] The determination module 602 is further configured to determine the second sub-channel bandwidth usage information in the second channel bandwidth usage information except the first sub-channel bandwidth usage information as the channel bandwidth usage information of the second type of application.

[0127] In one or more possible embodiments, the information processing device 60 in the embodiment of the present application further includes a display module and a receiving module; wherein,

[0128] A display module, configured to display a plurality of selection controls according to the signal strength information, the plurality of selection controls including a selection control for initial channel bandwidth usage information corresponding to each of the N application programs;

[0129] A receiving module, used for receiving a second input of a user to a target selection control among the multiple selection controls;

[0130] The adjustment module 603 is further configured to adjust the channel bandwidth usage information corresponding to the target selection control in response to the second input.

[0131] In one or more possible embodiments, the determination module 602 is specifically used to obtain the speed of switching text interfaces and the average number of words in the interfaces of the N applications when the status information of the N applications is to display text content;

[0132] Calculate the rate for N applications based on speed and average word count.

[0133] In one or more possible embodiments, the determination module 602 is specifically configured to, when the status information of the N applications is displaying image content, obtain the playback speed of at least two frames of images in the N applications within a preset time window and the resolution of each of the at least two frames of images;

[0134] The rates of the N applications are calculated according to the playback speed of the at least two frames of images and the resolution of each of the at least two frames of images.

[0135] The information processing device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0136] The electronic 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.

[0137] The electronic device provided in the embodiment of the present application can achieve Figures 1 to 6 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0138] In an embodiment of the present application, by obtaining status information of N applications running in an electronic device and traffic consumption information of the N applications, the rates of the N applications are determined, and based on the signal strength information and rate of the network to which the electronic device is connected, the channel bandwidth usage information is adjusted, so that the signal strength information of the network to which the electronic device is connected is divided into channel bandwidths according to the rate of each application. Thus, it is possible to automatically detect the signal strength of the electronic device and adjust the channel of each application, thereby helping to alleviate the problem of application freezes caused by weak signals, background program occupancy, etc. The user does not need to manually adjust the channel bandwidth of the application, which reduces user operations and improves the efficiency of the user in using the electronic device.

[0139] Optional, such as Figure 7As shown, an embodiment of the present application also provides an electronic device 70, including a processor 701 and a memory 702, and the memory 702 can store programs or instructions running on the processor 701. When the program or instructions are executed by the processor 701, the various steps of the above-mentioned information processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.

[0140] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0141] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.

[0142] The electronic device 800 includes but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810 and other components.

[0143] Those skilled in the art will appreciate that the electronic device 800 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 810 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0144] In the embodiment of the present application, the processor 810 is used to obtain the status information of N applications running in the electronic device, where the status information is determined by the display content of the application, where N is a positive integer greater than or equal to 1. The processor 810 is also used to determine the rate of the N applications based on the status information and the traffic consumption information of the N applications. The processor 810 is also used to adjust the channel bandwidth usage information based on the signal strength information and rate of the network to which the electronic device is connected.

[0145] The electronic device 800 is described in detail below, as shown below.

[0146] In one or more possible embodiments, the processor 810 in the embodiment of the present application is also used to determine whether the signal strength value of the signal strength information of the network to which the electronic device is connected is less than or equal to a first preset threshold; and, when the signal strength value is less than or equal to the first preset threshold, adjust the channel bandwidth usage information based on the signal strength information and rate of the network to which the electronic device is connected.

[0147] In another or more possible embodiments, the processor 810 in the embodiment of the present application is also used to obtain target channel bandwidth usage information corresponding to the signal strength information based on the signal strength information when N applications include a first application running in the foreground and a second application running in the background; determine the first channel bandwidth usage information of the first application based on the first rate of the first application; and determine the second channel bandwidth usage information of the second application based on the second rate of the second application; and determine the difference between the target channel bandwidth usage information and the first channel bandwidth usage information as the second channel bandwidth usage information.

[0148] In one or more possible embodiments, the processor 810 in the embodiment of the present application is also used to allocate the first sub-channel bandwidth usage information in the second channel bandwidth usage information to the first category of applications when the second application includes the first category of applications and the second category of applications; and determine the second sub-channel bandwidth usage information in the second channel bandwidth usage information except the first sub-channel bandwidth usage information as the channel bandwidth usage information of the second category of applications.

[0149] In one or more possible embodiments, the display unit 806 in the embodiment of the present application is used to display multiple selection controls based on signal strength information, and the multiple selection controls include a selection control for initial channel bandwidth usage information corresponding to each of N applications; the user input unit 807 is used to receive a second input from the user for a target selection control among the multiple selection controls; the processor 810 is also used to adjust the channel bandwidth usage information corresponding to the target selection control in response to the second input.

[0150] In one or more possible embodiments, the processor 810 in the embodiment of the present application can be specifically used to obtain the speed of switching text interfaces in N applications and the average number of words in the text in the interface when the status information of N applications is to display text content; and calculate the rate of N applications based on the speed and the average number of words.

[0151] In one or more further possible embodiments, the processor 810 in the embodiment of the present application may be specifically used to, when the status information of N applications is to display image content, obtain the playback speed of at least two frames of images in the N applications within a preset time window and the resolution of each of the at least two frames of images; and, calculate the rate of the N applications based on the playback speed of at least two frames of images and the resolution of each of the at least two frames of images.

[0152] It should be understood that the input unit 804 may include a graphics processor (GPU) 8041 and a microphone 8042, and the graphics processor 8041 processes the image data of the static image or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 807 includes a touch panel 8071 and at least one of other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include two parts: a touch detection device and a touch display. Other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as a volume display button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0153] The memory 809 can be used to store software programs and various data. The memory 809 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, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 809 may include a volatile memory or a non-volatile memory, or the memory 809 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 809 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory. 。

[0154] The processor 810 may include one or more processing units; optionally, the processor 810 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 810.

[0155] 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 information processing method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0156] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0157] In addition, an embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned information processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0158] 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.

[0159] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including 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 sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0160] 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 a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.

[0161] 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 a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, 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, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0162] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. An information processing method, characterized in that: include: Acquire status information of N applications running in the electronic device, where the status information is determined by displayed content of the applications, where N is a positive integer greater than or equal to 1; Determining the rates of the N applications according to the state information and the traffic consumption information of the N applications; The channel bandwidth usage information is adjusted based on the signal strength information of the network to which the electronic device is connected and the rate.

2. The method according to claim 1, characterized in that Before adjusting the channel bandwidth usage information based on the signal strength information and the rate of the network to which the electronic device is connected, the method further includes: Determine whether a signal strength value of signal strength information of a network to which the electronic device is connected is less than or equal to a first preset threshold; When the signal strength value is less than or equal to a first preset threshold, the channel bandwidth usage information is adjusted based on the signal strength information and the rate of the network to which the electronic device is connected.

3. The method according to claim 1 or 2, characterized in that: The N applications include a first application running in the foreground and a second application running in the background; and adjusting the channel bandwidth usage information based on the signal strength information and the rate of the network to which the electronic device is connected includes: According to the signal strength information, acquiring target channel bandwidth usage information corresponding to the signal strength information; Determine first channel bandwidth usage information of the first application according to a first rate of the first application; and determine second channel bandwidth usage information of the second application according to a second rate of the second application; A difference between the target channel bandwidth usage information and the first channel bandwidth usage information is determined as second channel bandwidth usage information.

4. The method according to claim 3, characterized in that The second application includes a first type of application and a second type of application; after determining the difference between the target channel bandwidth usage information and the first channel bandwidth usage information as the second channel bandwidth usage information, the method further includes: allocating the first sub-channel bandwidth usage information in the second channel bandwidth usage information to the first type of application; The second sub-channel bandwidth usage information except the first sub-channel bandwidth usage information in the second channel bandwidth usage information is determined as the channel bandwidth usage information of the second type of application.

5. The method according to claim 1 or 2, characterized in that: The adjusting the channel bandwidth usage information based on the signal strength information and the rate of the network to which the electronic device is connected includes: Displaying a plurality of selection controls according to the signal strength information, the plurality of selection controls including a selection control for initial channel bandwidth usage information corresponding to each of the N applications; receiving a second input from a user on a target selection control among the multiple selection controls; In response to the second input, channel bandwidth usage information corresponding to the target selection control is adjusted.

6. The method according to claim 1, characterized in that The determining, according to the state information and the traffic consumption information of the N applications, the rates of the N applications comprises: When the status information of the N applications is displaying text content, obtaining a speed of switching text interfaces in the N applications and an average number of words in the text in the interfaces; The rates of the N applications are calculated based on the speed and the average word count.

7. The method according to claim 1, characterized in that The determining, according to the state information and the traffic consumption information of the N applications, the rates of the N applications comprises: When the status information of the N applications is to display image content, obtaining the playback speed of at least two frames of images in the N applications within a preset time window and the resolution of each of the at least two frames of images; The rates of the N applications are calculated according to the playing speed of the at least two frames of images and the resolution of each frame of the at least two frames of images.

8. An information processing device, characterized in that: include: An acquisition module, used to acquire status information of N applications running in the electronic device, wherein the status information is determined by the display content of the application, wherein N is a positive integer greater than or equal to 1; A determination module, configured to determine the rates of the N applications according to the state information and the traffic consumption information of the N applications; The adjustment module is used to adjust the channel bandwidth usage information based on the signal strength information of the network to which the electronic device is connected and the rate.

9. The device according to claim 8, characterized in that The determination module is further used to determine whether a signal strength value of the signal strength information of the network to which the electronic device is connected is less than or equal to a first preset threshold; The adjustment module is further configured to adjust the channel bandwidth usage information based on the signal strength information and the rate of the network to which the electronic device is connected when the signal strength value is less than or equal to a first preset threshold.

10. The device according to claim 8 or 9, characterized in that The acquisition module is further used to acquire, according to the signal strength information, target channel bandwidth usage information corresponding to the signal strength information when the N applications include a first application running in the foreground and a second application running in the background; The determination module is further configured to determine first channel bandwidth usage information of the first application according to a first rate of the first application; and determine second channel bandwidth usage information of the second application according to a second rate of the second application; The determination module is further configured to determine a difference between the target channel bandwidth usage information and the first channel bandwidth usage information as second channel bandwidth usage information.

11. The device according to claim 10, characterized in that The determining module is further configured to, when the second application includes a first category of application and a second category of application, allocate the first sub-channel bandwidth usage information in the second channel bandwidth usage information to the first category of application; The determination module is further configured to determine second sub-channel bandwidth usage information in the second channel bandwidth usage information except the first sub-channel bandwidth usage information as channel bandwidth usage information of the second type of application.

12. The device according to claim 8 or 9, characterized in that The information processing device also includes a display module and a receiving module; wherein, The display module is used to display a plurality of selection controls according to the signal strength information, wherein the plurality of selection controls include a selection control for initial channel bandwidth usage information corresponding to each of the N application programs; The receiving module is used to receive a second input from a user on a target selection control among the multiple selection controls; The adjustment module is further configured to adjust, in response to the second input, channel bandwidth usage information corresponding to the target selection control.

13. The device according to claim 8, characterized in that The determination module is specifically used to obtain the speed of switching text interfaces in the N applications and the average number of words in the text in the interface when the status information of the N applications is to display text content; The rates of the N applications are calculated based on the speed and the average word count.

14. The device according to claim 8, characterized in that The determination module is specifically configured to obtain, when the status information of the N applications is displaying image content, the playback speed of at least two frames of images in the N applications within a preset time window and the resolution of each frame of the at least two frames of images; The rates of the N applications are calculated according to the playing speed of the at least two frames of images and the resolution of each frame of the at least two frames of images.

15. An electronic device, characterized in that: include: A processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the information processing method according to any one of claims 1 to 7.

16. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the information processing method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Network bandwidth allocation method, terminal and computer storage medium

    CN110493828A

  • Network handover method, device, terminal, network server, and data storage medium

    WO2018072423A1