Data preloading method, device, terminal and storage medium

By acquiring and analyzing information on weak network areas, the terminal can preload data in advance before entering the weak network areas, solving the problem of single preloading methods in the prior art and improving the user experience of streaming media applications.

CN115017433BActive Publication Date: 2025-04-01VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210625622.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-02
Publication Date
2025-04-01
Estimated Expiration
2042-06-02

AI Technical Summary

Technical Problem

In the prior art, the preloading method of streaming media applications is relatively simple, and the changes in the network environment cannot be effectively considered, resulting in the inability to preload data in areas with poor networks, affecting the user experience.

Method used

By obtaining location and time information of weak network areas, calculating the lag indicators, and determining the target weak network area in combination with the terminal area, preloading the corresponding data before entering the area in advance.

Benefits of technology

It improves the diversity and flexibility of terminal preloading data for streaming applications, avoiding the inability to view information due to network problems, and improves the user's network experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115017433B_ABST
    Figure CN115017433B_ABST
Patent Text Reader

Abstract

The present application discloses a data preloading method, device, terminal and storage medium, belonging to the field of communication technology. The method comprises: obtaining first weak network area information, the first weak network area information comprising location information and time information of at least one weak network area, the first weak network area information is based on time scene, time period and operator, calculates a jamming index, and obtains the jamming index by combining it with the area where the terminal is located; according to the first weak network area information, determining a target weak network area between the first area and the second area, the first area being the area where the terminal is currently located, and the second area being the predicted target area; and preloading data corresponding to the target weak network area within a target time before entering the target weak network area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a data preloading method, device, terminal and storage medium. Background Art

[0002] With the continuous development of terminals, streaming media applications are used by more and more users, bringing great convenience to people's lives. In order to give users a smoother experience, most streaming media applications will use caching technology to preload part of the content to prevent lag.

[0003] However, the existing cache technology usually adopts a fixed strategy. For example, during the video watching process, the terminal keeps preloading two minutes of video resources. Thus, the method of preloading streaming media applications in the existing technology is relatively simple. Summary of the invention

[0004] The purpose of the embodiments of the present application is to provide a data preloading method, device, terminal and storage medium, which can solve the problem that the method of preloading streaming media applications in the prior art is relatively single.

[0005] In order to solve the above technical problems, this application is implemented as follows:

[0006] In the first aspect, an embodiment of the present application provides a data preloading method, which includes: obtaining first weak network area information, the first weak network area information including location information and time information of at least one weak network area, the first weak network area information is based on the time scene, time period, and operator, calculating a jamming index, and combining the jamming index with the area where the terminal is located; according to the first weak network area information, determining a target weak network area between the first area and the second area, the first area being the area where the terminal is currently located, and the second area being the predicted target area; within the target time before entering the target weak network area, preloading data corresponding to the target weak network area.

[0007] In the second aspect, an embodiment of the present application provides a data preloading device, which includes: an acquisition module, a determination module and a processing module. The acquisition module is used to obtain the first weak network area information, and the first weak network area information includes the location information and time information of at least one weak network area. The first weak network area information is based on the time scene, time period, and operator, and calculates the jamming index, and combines the jamming index with the area where the terminal is located. The determination module is used to determine the target weak network area between the first area and the second area based on the first weak network area information, the first area is the area where the terminal is currently located, and the second area is the predicted target area; the processing module is used to preload the data corresponding to the target weak network area within the target time before entering the target weak network area.

[0008] In a third aspect, an embodiment of the present application provides a terminal comprising a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0009] 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 method described in the first aspect are implemented.

[0010] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.

[0011] In an embodiment of the present application, the terminal can obtain the first weak network area information, and then determine the target weak network area between the area where the terminal is currently located and the predicted target area (i.e., the area that the terminal is predicted to need to reach) based on the first weak network area information, so that the terminal preloads data before entering the target weak network area. In this solution, since the terminal can determine whether there is a weak network area between the area where the terminal is currently located and the predicted target area based on the first weak network area information when loading data, and if there is a weak network area, the data is preloaded before entering the weak network area, that is, when the terminal determines that there will be data loading anomalies between the current area and the predicted target area, the terminal can preload data in advance, which improves the diversity and flexibility of the terminal's data preloading for streaming media applications and avoids the inability to view information due to network problems. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is one of the schematic diagrams of a data preloading method provided in an embodiment of the present application;

[0013] Figure 2 This is a schematic diagram of an example of scene recognition data division provided in an embodiment of the present application;

[0014] Figure 3 This is a second schematic diagram of a data preloading method provided in an embodiment of the present application;

[0015] Figure 4 is a structural schematic diagram of a data preloading device provided in an embodiment of the present application;

[0016] Figure 5 This is one of the hardware structure diagrams of a terminal provided in an embodiment of the present application;

[0017] Figure 6 This is a second schematic diagram of a hardware structure of a terminal provided in an embodiment of the present application; DETAILED DESCRIPTION

[0018] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

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

[0020] The data preloading method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.

[0021] The data preloading method in the embodiment of the present application can be applied to the scenario of a terminal loading data.

[0022] With the development of mobile networks and terminal devices, streaming media applications are being used by more and more users, and the duration of use is also increasing. In order to give users a smoother experience, most current streaming media applications, especially short video applications, use caching technology to preload part of the content to prevent lag. Although mainstream streaming media applications basically have caching strategies, the current strategies are often fixed or personalized based on the user's personal consumption habits, which has nothing to do with the actual network environment. In other words, the current strategy basically does not consider when the network is poor and when to initiate preloading, so that the pre-cached content can be consumed by users in a timely manner. The current caching strategy seems to be relatively blind on the network side.

[0023] In the embodiment of the present invention, 1. The weak network area is trained based on the actual user experience data of the user history, not only considering the situation of the group users, but also adding the personalized data of the individual users. 2. The influence of the time and space dimensions are considered at the same time, so as to make a more accurate judgment on the weak network area. This enables the terminal user to preload in time before the streaming media application is stuck, so that the cache can be released in time when the stuck occurs, so as to keep the playback smooth and improve the user's network experience.

[0024] In an embodiment of the present application, the terminal can obtain the first weak network area information, and then determine the target weak network area between the area where the terminal is currently located and the predicted target area (i.e., the area that the terminal is predicted to need to reach) based on the first weak network area information, so that the terminal preloads data before entering the target weak network area. In this solution, since the terminal can determine whether there is a weak network area between the area where the terminal is currently located and the predicted target area based on the first weak network area information when loading data, and if there is a weak network area, the data is preloaded before entering the weak network area, that is, when the terminal determines that there will be data loading anomalies between the current area and the predicted target area, the terminal can preload data in advance, which improves the diversity and flexibility of the terminal's data preloading for streaming media applications and avoids the inability to view information due to network problems.

[0025] The present application embodiment provides a data preloading method. Figure 1 FIG. 1 is a flow chart of a data preloading method provided by an embodiment of the present application. Figure 1 As shown, the data preloading method provided in the embodiment of the present application may include the following steps 201 to 203.

[0026] Step 201: The terminal obtains first weak network area information.

[0027] In an embodiment of the present application, the above-mentioned first weak network area information includes location information and time information of at least one weak network area. The first weak network area information calculates a jamming index based on a time scenario, time period, and operator, and obtains the jamming index by combining it with the region where the terminal is located.

[0028] In an embodiment of the present application, the terminal can obtain the first weak network area information, and then determine the target weak network area between the first area (i.e., the area where the terminal is currently located) and the second area (i.e., the area that the terminal is predicted to need to reach) based on the first weak network area information, so that the terminal can preload data before entering the target weak network area.

[0029] Optionally, in an embodiment of the present application, the terminal may obtain the first weak network area information from a server; or, the terminal may obtain the first weak network area information from weak network area information pre-stored in the terminal.

[0030] It should be noted that each weak network area in the at least one weak network area mentioned above can be understood as: an area where the network quality / signal quality is less than or equal to a preset threshold, or an area where the network quality / signal quality is within a preset range / level. For example: network quality can be divided into 1-10 levels, the higher the network quality level of the area, the better the network quality of the area, when the network quality level of a certain area is less than or equal to level 5, the area is a weak network area, and when the network quality level of a certain area is greater than level 5, the area is a non-weak network area.

[0031] Optionally, in an embodiment of the present application, the location information of each weak network area in the at least one weak network area includes two location information, and each weak network area is an area between one location and another location, that is, the two location information of each weak network area is the location information of two locations corresponding to each weak network area. For example, if a weak network area is an area between location A and location B, then the location information of location A and the location information of location B are the location information of the weak network area.

[0032] Optionally, in an embodiment of the present application, the terminal can receive at least one historical freeze data and at least one historical scene identification data sent by multiple terminals, divide the time information corresponding to the area passed by each terminal when historically loading data according to the at least one historical scene identification data, obtain at least one time period, and then map at least one historical freeze data to the at least one time period, so as to obtain the weak network area existing in the area passed by each terminal when historically loading data.

[0033] Optionally, in an embodiment of the present application, the time information of the at least one weak network area includes at least one time scene information and at least one time period; the time information of one weak network area among the at least one weak network area includes one time scene information and a time period corresponding to the one time scene information, and the one time scene information is used to indicate the time scene corresponding to the one weak network area.

[0034] Optionally, in an embodiment of the present application, the time scenario indicated by the time scenario information of the at least one weak network area includes at least one of the following: non-holidays, holidays, weekdays, non-working days, weekday morning peak, weekday evening peak, weekday morning and evening peak, weekday non-peak, etc.

[0035] Optionally, in an embodiment of the present application, the time period of each weak network area in at least one of the above-mentioned weak network areas includes a start time and an end time, the start time of the time period being the distance between the terminal's historical entry into a certain weak network area and the terminal's historical entry into a first location; the end time of the time period being the distance between the terminal's historical departure from the weak network area and the terminal's historical entry into the first location, and the difference between the start time and the end time of the time period is the duration of the data loading anomaly of each weak network area between its two locations.

[0036] Exemplarily, taking the first weak network area information as the weak network area information in the subway scenario as an example, a weak network area is located between subway station A and subway station B. The historical time when terminal 1 entered subway station A is 7:10. During the subway travel, the historical time when terminal 1 entered the weak network area is 7:11. The start time of the time period corresponding to the weak network area is the 60th second after entering subway station A; the historical time when terminal 1 left the weak network area is 7:12. The end time of the time period corresponding to the weak network area is the 120th second after entering subway station A. The time period of the weak network area is from the 60th second after entering subway station A to the 120th second after entering subway station A. The duration of the weak network area is 60 seconds.

[0037] It can be understood that the location information of a weak network area is location A-location B, the time scenario is the morning rush hour on weekdays, and the time period is the time period when data loading anomalies occur between location A and location B corresponding to the morning rush hour on weekdays.

[0038] Optionally, in the embodiment of the present application, the above step 201 can be specifically implemented by the following step 201a.

[0039] Step 201a, the terminal obtains at least one historical jamming data and at least one historical scene identification data, each historical jamming data is used to indicate the location information and time information of a terminal when loading data historically, and each historical scene identification data is used to indicate the time information corresponding to the area passed by the terminal when loading data historically; according to each historical scene identification data, the time information corresponding to the area passed by each terminal when loading data historically is divided to obtain at least one time period; at least one historical jamming data is mapped to the at least one time period, at least one operator and at least one time scene information, and a jamming index is calculated, the jamming index includes the jamming user ratio and the average jamming duration of all jamming time periods under different operators in different time scenes; according to the jamming user ratio and the average jamming duration, the target time period in which the jamming user ratio and the average jamming duration meet the preset conditions in all jamming time periods under different operators, the location information corresponding to the target time period, and the time scene corresponding to the target time period are determined as at least one weak network area information, and the weak network area information corresponding to the area where the terminal is located and the operator of the terminal in the at least one weak network area information is determined as the first weak network area information.

[0040] It should be noted that the location information of a terminal where a loading anomaly occurs when loading historical data can be understood as: the location information of the area where a terminal is located when loading historical data occurs. The time information of a terminal where a loading anomaly occurs when loading historical data occurs can be understood as: the start time and end time of a terminal where a loading anomaly occurs, that is, the start time (i.e., the time of entering this area) and the end time (i.e., the time of leaving this area) corresponding to the area where a terminal is located when loading historical data occurs.

[0041] It should be noted that the area passed by a terminal when historically loading data can be understood as: the time from entering a certain area to leaving the certain area during the process of historically loading data; the time corresponding to the area passed by a terminal when historically loading data can be understood as: the time when a terminal enters a certain area and the time when it leaves the certain area during the process of historically loading data.

[0042] Exemplarily, a historical jamming data may be: from 7:10 to 7:11 on March 1st, terminal 1 encountered a loading exception when loading data in area C between subway station A and subway station B. Then the location information where the terminal historically loaded data and the loading exception occurred was subway station A-subway station B, and the time information was 7:10 to 7:11 on March 1st; a corresponding historical scene recognition data may be: during the historical data loading process of terminal 1, the time of entering subway station A was 7:05 on March 1st, and the time of leaving subway station B was 7:15 on March 1st.

[0043] Optionally, in an embodiment of the present application, when the terminal divides the time information corresponding to the area passed by each terminal when loading data historically based on each historical scene identification data, the time from the terminal's historical entry into a certain area to the time from the beginning of passing through the area, and the time from the terminal's end of passing through the area to the time from leaving the area can be divided into two time periods respectively, and the time period between the time the terminal starts passing through the area and the time the terminal ends passing through the area can be divided according to equal intervals (for example, Q seconds, and the Q value can be adjusted according to actual usage requirements).

[0044] For example, Figure 2 As shown, scene recognition data 1 is: the time eTime_A when terminal 1 enters subway station A and the time lTime_B when terminal 1 leaves subway station B. The time eTime_A when terminal 1 enters subway station A to the time lTime_A when terminal leaves subway station A (i.e. the time terminal waits at subway station A), and the time eTime_B when terminal arrives at subway station B to the time lTime_B when terminal leaves subway station B (i.e. the time terminal waits at subway station B) can be taken as two time periods respectively, and the time period between the terminal leaving subway station A and the terminal entering subway station B (i.e. lTime_A and eTime_B) can be divided into equal intervals of Q seconds, and finally several time periods are obtained: [eTime_A, lTime_A), [lTime_A, lTime_A+Q), [lTime_A+Q, lTime_A+2Q), ... , [lTime_A+nQ, eTime_B), [eTime_B, lTime_B).

[0045] In the embodiment of the present application, operators are divided into mobile operators, Unicom operators and telecom operators.

[0046] Optionally, in an embodiment of the present application, when the terminal counts the user ratio of freezers and the average freeze duration in different time scenarios for all freeze time periods under different operators, the user ratio of freezers and the average freeze duration for a preset period (for example, a historical month) can be counted.

[0047] Optionally, in an embodiment of the present application, the terminal maps at least one historical freeze data to at least one time period, at least one operator and at least one time scenario information, so that under different operators: the number of users who experience freezes in a certain freeze time period in a certain time scenario, the total number of users who pass through a certain freeze time period in a certain time scenario, and the total freeze duration in a certain freeze time period in a certain time scenario; so that the terminal can calculate the freeze user ratio of a certain freeze time period in a certain time scenario and the average freeze duration of a certain freeze time period in a certain time scenario based on this information, thereby obtaining the freeze user ratio and average freeze duration of all freeze time periods in different time scenarios under different operators.

[0048] The specific calculation method is as follows:

[0049] The ratio of users experiencing lag in a certain lag time period in a certain time scenario = the number of users experiencing lag in a certain lag time period in a certain time scenario / the total number of users experiencing a certain lag time period in a certain time scenario;

[0050] For example, the number of users who experience lag in time period 1 during the morning rush hour on weekdays is 10, and the total number of users who pass through time period 1 during the morning rush hour on weekdays is 20. Then the ratio of users who experience lag in time period 1 during the morning rush hour on weekdays is 10÷20=50%.

[0051] The average lag duration of a lag time period in a certain time scenario = the total lag duration of a lag time period in a certain time scenario / the total number of users who passed through a lag time period in a certain time scenario.

[0052] For example, the total stuck time in time period 1 during the morning rush hour on weekdays is 300 seconds, and the total number of users passing through time period 1 during the morning rush hour on weekdays is 20. Then the average stuck time in time period 1 during the morning rush hour on weekdays is 300÷20=15 seconds.

[0053] Optionally, in the embodiment of the present application, when the terminal calculates the number of users, the same user is counted only once in the same time unit (for example, the same day), and the same user can be recorded as different users in different time units.

[0054] Optionally, in an embodiment of the present application, after the terminal obtains the jamming user ratio and the average jamming duration of all jamming time periods under different operators in different time scenarios, the jamming user ratio and the average jamming duration of all jamming time periods under each operator in different time scenarios can be ranked according to regions, and the ranking of the jamming user ratio and the ranking of the average jamming duration of all jamming time periods under each operator in each region in different time scenarios are obtained respectively, and then the ranking of the jamming user ratio and the ranking of the average jamming duration are weighted to obtain the final ranking of all jamming time periods under each operator in each region in different time scenarios;

[0055] The specific way to calculate the weights of the two is as follows:

[0056] rank=α*rank1+(1-α)*rank2

[0057] Among them, rank1 is the ranking of the ratio of users experiencing lag, rank2 is the ranking of the average lag duration, and α is the weight of rank1. 0.5 can be taken as an example. In practice, the value of α can be adjusted according to the different focuses of the two.

[0058] Optionally, in an embodiment of the present application, after calculating the final ranking of all stuck time periods under each operator in each region in different time scenarios, the top A% (for example, 25%) of stuck time periods under each operator in each region, the location information corresponding to the stuck time periods, and the time scenarios corresponding to the stuck time periods are determined as at least one weak network area information (that is, the target time period in which the stuck user ratio and the average stuck duration in all stuck time periods under different operators meet preset conditions, the location information corresponding to the target time period, and the time scenario corresponding to the target time period are determined as at least one weak network area information), and the specific value of A is not limited in the embodiment of the present application.

[0059] Optionally, in an embodiment of the present application, after the terminal determines the top A% (for example, 25%) of the time periods of freezes under each operator in each region, the location information corresponding to the time periods of freezes, and the time scenes corresponding to the time periods of freezes as at least one weak network area information, the terminal determines the weak network area information in at least one weak network area information that corresponds to the region where the terminal is located and to the operator of the terminal as the first weak network area information. For example, if the region where the terminal is located is region 1 and the network operator used by the terminal is a mobile operator, then the top A% (for example, 25%) of the time periods of freezes under the mobile operator corresponding to region 1 in at least one weak network area information, the location information corresponding to the time periods of freezes, and the time scenes corresponding to the time periods of freezes are determined as the first weak network area information.

[0060] Step 202: The terminal determines a target weak network area between the first area and the second area according to the first weak network area information.

[0061] In the embodiment of the present application, the first area is the area where the terminal is currently located, and the second area is the predicted target area (ie, the area that the terminal is predicted to reach).

[0062] Optionally, in an embodiment of the present application, when the area where the terminal is currently located is the first area, the terminal can predict the next area (ie, the second area) that the terminal is about to arrive at based on scene recognition and line data.

[0063] Exemplarily, when the area where the terminal is currently located (ie, the first area) is subway station A, the terminal can predict that the next area (ie, the second area) that the terminal is about to arrive at is subway station B based on scene recognition and subway line data.

[0064] Optionally, in an embodiment of the present application, the time information of the at least one weak network area includes at least one time scene information and at least one time period, and the time information of a weak network area includes a time scene information and a time period corresponding to the time scene information, and the time scene information is used to indicate the time scene corresponding to the weak network area. The above step 202 can be specifically implemented by the following step 202a.

[0065] Step 202a: When the time scene information corresponding to the first area matches the first time scene information in the at least one time scene information, the terminal determines a third area between the first area and the second area as a target weak network area.

[0066] In the embodiment of the present application, the third area is an area that the terminal needs to pass through and corresponds to the first time period, and the first time period is a time period corresponding to the first time scene information.

[0067] It can be understood that when the terminal predicts the next area (i.e., the second area) that the terminal is about to arrive at, and the time scene information corresponding to the time when the terminal arrives at the first area matches the first time scene information in at least one time scene information, the terminal can determine the first time period where data loading abnormality occurs between the first area and the second area corresponding to the first time scene information, and determine the third area corresponding to the first time period as the target weak network area.

[0068] It should be noted that the time scene information corresponding to the first area can be understood as: the time scene information corresponding to the time when the terminal arrives at the first area. For example, if the time when the terminal arrives at the first area is 8:30 on Monday, the time scene indicated by the time scene information corresponding to the first area is the morning rush hour on weekdays.

[0069] Exemplarily, when the area where the terminal is currently located (i.e., the first area) is subway station A, the terminal can predict that the next area (i.e., the second area) that the terminal is about to arrive at is subway station B based on scene recognition and subway line data, and when the terminal arrives at subway station A (i.e., the first area) at 8:30 on Monday, the time scene indicated by the time scene information corresponding to the first area is the weekday morning rush hour. When the terminal arrives at subway station A during the weekday morning rush hour, the terminal can determine whether there is a time scene matching the weekday morning rush hour in at least one time scene information. When there is first time scene information matching the weekday morning rush hour in at least one time scene information, the terminal can determine the first time period corresponding to the first time scene information where data loading abnormality occurs between subway station A and subway station B (i.e., the first area to the second area), and determine the area corresponding to the first time period as the target weak network area.

[0070] Step 203: The terminal preloads data corresponding to the target weak network area within a target time before entering the target weak network area.

[0071] Optionally, in an embodiment of the present application, the terminal can preload data corresponding to the target weak network area at a preset time before entering the target weak network area (for example, a time pre-set by the user or a time defaulted by the terminal system), preload data corresponding to the target weak network area at any time before entering the target weak network area, or preload data corresponding to the target weak network area within a target time before entering the target weak network area.

[0072] Optionally, in the embodiment of the present application, the above step 203 can be specifically implemented by the following step 203a.

[0073] Step 203a: The terminal determines the target time according to the first information, and preloads data corresponding to the target weak network area starting from the target time.

[0074] In an embodiment of the present application, the above-mentioned target time is a time point before entering the target weak network area, and the first information includes at least one of the following: type information of the data to be preloaded, type information of the application corresponding to the data to be preloaded, and network quality of the area where the terminal is located before entering the target weak network area.

[0075] In an embodiment of the present application, the terminal can preload data corresponding to the target weak network area at a time point before entering the target weak network area (i.e., from the target time) based on the first information. For example: preloading data corresponding to the target weak network area starts 20 seconds before entering the target weak network area.

[0076] Optionally, in an embodiment of the present application, the type information of the data to be preloaded may be any one of the following: web page / text data type information, video data type information, audio data type information, image data type information.

[0077] Optionally, in an embodiment of the present application, each type of information corresponds to a time for starting to preload data; the terminal can determine the time corresponding to the type information as the time when the terminal starts preloading data corresponding to the target weak network area (i.e., the target time) based on the type information of the data to be preloaded.

[0078] It can be understood that the type information of the above-mentioned data to be preloaded is different, and the network rate required by the terminal to load data is different, so the terminal loads data at different speeds and takes different times to load data, so the time when the terminal starts preloading data is different.

[0079] Exemplarily, when the type information of the data to be preloaded is video data type information, the terminal can start preloading the data corresponding to the target weak network area 60 seconds before entering the target weak network area; when the type information of the data to be preloaded is text data type information, the terminal can start preloading the data corresponding to the target weak network area 20 seconds before entering the target weak network area.

[0080] Optionally, in the embodiment of the present application, the type of application corresponding to the data to be preloaded may be any of the following: video playback application, audio playback application, reading application, web application, game application, etc. The specific type may be determined according to actual use requirements, and the embodiment of the present application does not limit it.

[0081] Optionally, in an embodiment of the present application, the type of each application corresponds to a time for starting preloading data; the terminal can determine the time corresponding to the type as the time when the terminal starts preloading data corresponding to the target weak network area (i.e., the target time) based on the type of application corresponding to the data to be preloaded.

[0082] It can be understood that the types of applications corresponding to the above-mentioned data to be preloaded are different, and the types of data to be preloaded are different. The network rate required for the terminal to load data is different, so the speed at which the terminal loads data is different, and the time required to load data is different. Therefore, the time when the terminal starts preloading data is different.

[0083] Exemplarily, when the information of the application corresponding to the data to be preloaded is information of a video playback application, the terminal can start preloading the data corresponding to the target weak network area 60 seconds before entering the target weak network area; when the information of the application corresponding to the data to be preloaded is information of a reading application, the terminal can start preloading the data corresponding to the target weak network area 20 seconds before entering the target weak network area.

[0084] Optionally, in an embodiment of the present application, if the network quality of the area where the terminal was located before entering the target weak network area is different, the corresponding time for starting preloading data corresponding to the target weak network area is different. The terminal can determine the time corresponding to the network quality as the time when the terminal starts preloading data corresponding to the target weak network area (i.e., the target time) based on the network quality of the area where the terminal was located before entering the target weak network area.

[0085] It can be understood that the network quality of the area where the terminal is located before entering the target weak network area is different, and the speed at which the terminal loads data is different, so the time required for the terminal to load data is different, and therefore the time when the terminal starts preloading data corresponding to the target weak network area is different.

[0086] Exemplarily, network quality can be divided into 1-10 levels. The higher the network quality level of an area, the better the network quality of the area. When the network quality level of the area where the terminal is located before entering the target weak network area is 6, the terminal can start preloading data corresponding to the target weak network area 60 seconds before entering the target weak network area; when the network quality level of the area where the terminal is located before entering the target weak network area is 9, the terminal can start preloading data corresponding to the target weak network area 20 seconds before entering the target weak network area.

[0087] Optionally, in an embodiment of the present application, the terminal can preload data of a preset capacity (such as a capacity preset by the user or a capacity defaulted by the terminal system) or target capacity corresponding to the target weak network area within a target time before entering the target weak network area.

[0088] Optionally, in the embodiment of the present application, the above step 203 can be specifically implemented by the following step 203b.

[0089] Step 203b: The terminal preloads data of a target capacity corresponding to the target weak network area within a target time before entering the target weak network area.

[0090] In the embodiment of the present application, the target capacity is determined by at least one of the following: the length of the time period corresponding to the target weak network area, and the type information of the data to be preloaded.

[0091] It should be noted that the length of the time period corresponding to the above-mentioned target weak network area can be understood as: the duration of the data loading anomaly between the two locations of the target weak network area (ie, the difference between the start time and the end time of the time period).

[0092] Optionally, in an embodiment of the present application, if the length of the time period corresponding to the target weak network area is different, the corresponding capacity of the preloaded data is different; the terminal can determine the capacity corresponding to the length of the time period as the capacity of the terminal to preload data corresponding to the target weak network area (i.e., the duration of the target weak network area) based on the length of the time period corresponding to the target weak network area.

[0093] It can be understood that the length of the time period corresponding to the target weak network area is different, and the duration of the target weak network area is different. The terminal needs to load data with a capacity corresponding to the duration of the target weak network area, so that the target capacity data corresponding to the target weak network area preloaded by the terminal satisfies the terminal's use during the target weak network area.

[0094] Exemplarily, when the time period corresponding to the target weak network area is 20 seconds, that is, the duration of the target weak network area is 20 seconds, the terminal preloads 100MB of data; when the time period corresponding to the target weak network area is 60 seconds, that is, the duration of the target weak network area is 60 seconds, the terminal preloads 300MB of data.

[0095] Optionally, in an embodiment of the present application, each type of information corresponds to a capacity of preloaded data; the terminal can determine the capacity corresponding to the type information as the capacity of the terminal to preload data corresponding to the target weak network area (i.e., the target capacity) based on the type information of the data to be preloaded.

[0096] It can be understood that if the type information of the above-mentioned data to be preloaded is different, the corresponding data size will be different. The terminal needs to load data of the capacity corresponding to the type of the data, so that the data of the target capacity corresponding to the target weak network area preloaded by the terminal can meet the terminal's use during the target weak network area.

[0097] Exemplarily, when the type information of the data to be preloaded is video data type information, the terminal preloads 300MB of data; when the type information of the data to be preloaded is text data type information, the terminal preloads 100MB of data.

[0098] The embodiment of the present application provides a data preloading method, in which the terminal can obtain the first weak network area information, and then determine the target weak network area between the area where the terminal is currently located and the predicted target area (that is, the area that the terminal is predicted to need to reach) based on the first weak network area information, so that the terminal preloads data before entering the target weak network area. In this scheme, since the terminal can determine whether there is a weak network area between the area where the terminal is currently located and the predicted target area based on the first weak network area information when loading data, and if there is a weak network area, the data is preloaded before entering the weak network area, that is, when the terminal determines that there will be a data loading anomaly between the current area and the predicted target area, the terminal can preload the data in advance, which improves the diversity and flexibility of the terminal in preloading data for streaming media applications, and avoids the inability to view information due to network problems.

[0099] Optionally, in the embodiment of the present application, combined with Figure 1 ,like Figure 3 As shown, after the above step 203, the data preloading method provided in the embodiment of the present application may further include the following step 301.

[0100] Step 301: If a data loading exception occurs in a third time period before or after the second time period, the terminal updates the time period corresponding to the second time period in the first weak network area information to a fourth time period.

[0101] In the embodiment of the present application, the second time period is a time period corresponding to the target weak network area, and the fourth time period includes the second time period and the third time period.

[0102] In the embodiment of the present application, the starting time or ending time of the third time period overlaps with the second time period. It is understandable that the starting time of the third time period is the same as the ending time of the second time period, or the ending time of the third time period is the same as the starting time of the second time period.

[0103] In an embodiment of the present application, after the terminal preloads data before entering the target weak network area, if a data loading abnormality occurs in a third time period before or after the second time period corresponding to the target weak network area, the terminal updates the second time period corresponding to the target weak network area in the first weak network area information to a fourth time period including the second time period and the third time period.

[0104] Exemplarily, the second time period corresponding to the target weak network area in the first weak network area information is 60 seconds-80 seconds. When the terminal starts to experience abnormal data loading between subway stations A and B, the time from the terminal entering subway station A is 50 seconds. When the data loading between subway stations A and B is normal, the time from the terminal entering subway station A is 60 seconds. The terminal is in the weak network area from 50 seconds to 60 seconds (i.e., the third time period). The terminal can update the second time period corresponding to the target weak network area in the first weak network area information to a fourth time period of 50 seconds-80 seconds (i.e., updated to a time period including the second time period and the third time period) according to the actual time of the freeze.

[0105] In an embodiment of the present application, after the terminal preloads data before entering the target weak network area, if a data loading abnormality occurs in a third time period before or after the second time period corresponding to the target weak network area, the second time period corresponding to the target weak network area in the first weak network area information is updated to a fourth time period including the second time period and the third time period, that is, the first weak network area information is updated according to the actual time when the terminal is stuck, thereby improving the accuracy of preloading data before the terminal in the weak network area.

[0106] Figure 4 A possible structural diagram of a data preloading device involved in an embodiment of the present application is shown. Figure 4 As shown, the data preloading device 70 may include: an acquisition module 71 , a determination module 72 and a processing module 73 .

[0107] Among them, the acquisition module 71 is used to obtain the first weak network area information, and the first weak network area information includes the location information and time information of at least one weak network area. The first weak network area information is based on the time scene, time period, and operator, and calculates the jamming index, and obtains it by combining the jamming index with the area where the terminal is located. The determination module 72 is used to determine the target weak network area between the first area and the second area based on the first weak network area information, the first area is the area where the terminal is currently located, and the second area is the predicted target area. The processing module 73 is used to preload the data corresponding to the target weak network area within the target time before entering the target weak network area.

[0108] An embodiment of the present application provides a data preloading device. When loading data, the terminal can determine whether there is a weak network area between the area where the terminal is currently located and the predicted target area (that is, the area that the terminal is predicted to need to reach) based on the first weak network area information, and if there is a weak network area, the data is preloaded before entering the weak network area. That is, when the terminal determines that there will be a data loading abnormality between the current area and the predicted target area, the terminal can preload the data in advance, thereby improving the diversity and flexibility of the terminal's data preloading for streaming media applications, and avoiding the inability to view information due to network problems.

[0109] In one possible implementation, the time information of the at least one weak network area includes at least one time scene information and at least one time period. The time information of a weak network area includes a time scene information and a time period corresponding to the time scene information. The time scene information is used to indicate the time scene corresponding to the weak network area. The determination module 72 is specifically used to determine the third area between the first area and the second area as the target weak network area when the time scene information corresponding to the first area matches the first time scene information in the at least one time scene information. The third area is the area that the terminal needs to pass through and corresponds to the first time period. The first time period is the time period corresponding to the first time scene information.

[0110] In a possible implementation, the acquisition module 71 is specifically used to acquire at least one historical jamming data and at least one historical scene identification data, each historical jamming data is used to indicate the location information and time information of a terminal when loading data historically, and each historical scene identification data is used to indicate the time information corresponding to the area passed by a terminal when loading data historically; according to each historical scene identification data, the time information corresponding to the area passed by each terminal when loading data historically is divided to obtain at least one time period; at least one historical jamming data is mapped to the at least one time period, at least one operator and at least one time scene information, and a jamming index is calculated, the jamming index includes the jamming user ratio and the average jamming duration of all jamming time periods under different operators in different time scenes; according to the jamming user ratio and the average jamming duration, the target time period in which the jamming user ratio and the average jamming duration meet the preset conditions in all jamming time periods under different operators, the location information corresponding to the target time period, and the time scene corresponding to the target time period are determined as at least one weak network area information, and the weak network area information corresponding to the area where the terminal is located and the operator of the terminal in the at least one weak network area information is determined as the first weak network area information.

[0111] In one possible implementation, the above-mentioned processing module 73 is specifically used to determine the target time based on the first information, and preload data corresponding to the target weak network area from the target time. The target time is a time point before entering the target weak network area. The first information includes at least one of the following: type information of the data to be preloaded, information of the application corresponding to the data to be preloaded, and network quality of the area where the terminal is located before entering the target weak network area.

[0112] In one possible implementation, the above-mentioned processing module 73 is specifically used to preload data of a target capacity corresponding to the target weak network area within a target time before entering the target weak network area, and the target capacity is determined by at least one of the following: the length of the time period corresponding to the target weak network area and the type information of the data to be preloaded.

[0113] In a possible implementation, the data preloading device 70 provided in the embodiment of the present application further includes: an update module. The update module is used to update the time period corresponding to the second time period in the first weak network area information to a fourth time period, where the second time period is the time period corresponding to the target weak network area, and the fourth time period includes the second time period and the third time period, after the processing module 73 preloads the data corresponding to the target weak network area within the target time before entering the target weak network area.

[0114] The data preloading device provided in the embodiment of the present application can implement each process implemented by the terminal in the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described here.

[0115] The data preloading device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, 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 the non-mobile electronic device can 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.

[0116] The data preloading 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.

[0117] Alternatively, if Figure 5 As shown, an embodiment of the present application also provides a terminal 800, including a processor 801, a memory 802, and a program or instruction stored in the memory 802 and executable on the processor 801. When the program or instruction is executed by the processor 801, each process of the above-mentioned method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0118] Figure 6 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.

[0119] The terminal 100 includes but is not limited to components such as a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.

[0120] Those skilled in the art will appreciate that the terminal 100 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 6 The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal 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.

[0121] Among them, the processor 110 is used to obtain first weak network area information, which includes location information and time information of at least one weak network area; determine the target weak network area between the first area and the second area based on the first weak network area information, the first area is the area where the terminal is currently located, and the second area is the predicted target area; and preload data corresponding to the target weak network area within the target time before entering the target weak network area.

[0122] An embodiment of the present application provides a terminal. When loading data, the terminal can determine whether there is a weak network area between the area where the terminal is currently located and the predicted target area (that is, the area that the terminal is predicted to need to reach) based on the first weak network area information, and when a weak network area exists, the terminal preloads data before entering the weak network area. That is, when the terminal determines that there will be a data loading abnormality between the current area and the predicted target area, the terminal can preload data in advance, thereby improving the diversity and flexibility of the terminal in preloading data for streaming media applications, and avoiding the inability to view information due to network problems.

[0123] Optionally, the time information of the at least one weak network area includes at least one time scene information and at least one time period, and the time information of a weak network area includes a time scene information and a time period corresponding to the time scene information, and the time scene information is used to indicate the time scene corresponding to a weak network area; the processor 110 is specifically used to determine a third area between the first area and the second area as a target weak network area when the time scene information corresponding to the first area matches the first time scene information in at least one time scene information. The third area is an area that the terminal needs to pass through and corresponds to the first time period, and the first time period is a time period corresponding to the first time scene information.

[0124] Optionally, the processor 110 is specifically used to obtain at least one historical jamming data and at least one historical scene identification data, each historical jamming data is used to indicate the location information and time information of a terminal when a loading abnormality occurs during historical data loading, and each historical scene identification data is used to indicate the time information corresponding to the area passed by a terminal when historically loading data; according to each historical scene identification data, the time information corresponding to the area passed by each terminal when historically loading data is divided to obtain at least one time period; at least one historical jamming data is mapped to the at least one time period, at least one operator and at least one time scene information, and a jamming index is calculated, the jamming index including the jamming user ratio and the average jamming duration of all jamming time periods under different operators in different time scenes; according to the jamming user ratio and the average jamming duration, the target time period in which the jamming user ratio and the average jamming duration meet preset conditions in all jamming time periods under different operators, the location information corresponding to the target time period, and the time scene corresponding to the target time period are determined as at least one weak network area information, and the weak network area information corresponding to the area where the terminal is located and to the operator of the terminal in the at least one weak network area information is determined as the first weak network area information.

[0125] Optionally, the processor 110 is specifically used to determine the target time based on the first information, and preload data corresponding to the target weak network area starting from the target time, where the target time is a time point before entering the target weak network area, and the first information includes at least one of the following: type information of the data to be preloaded, information of the application corresponding to the data to be preloaded, and network quality of the area where the terminal is located before entering the target weak network area.

[0126] Optionally, the processor 110 is specifically used to preload data of a target capacity corresponding to the target weak network area within a target time before entering the target weak network area, and the target capacity is determined by at least one of the following: the length of the time period corresponding to the target weak network area and the type information of the data to be preloaded.

[0127] Optionally, the processor 110 is also used to preload data corresponding to the target weak network area within a target time before entering the target weak network area. If a data loading abnormality occurs in a third time period before or after the second time period, the time period corresponding to the second time period in the first weak network area information is updated to a fourth time period, where the second time period is the time period corresponding to the target weak network area, and the fourth time period includes the second time period and the third time period.

[0128] The terminal provided in the embodiment of the present application can implement each process implemented in the above method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0129] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.

[0130] It should be understood that in the embodiment of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processor 1041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include two parts: a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0131] The memory 109 can be used to store software programs and various data. The memory 109 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 109 may include a volatile memory or a non-volatile memory, or the memory 109 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 109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0132] The processor 110 may include one or more processing units; optionally, the processor 110 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 110.

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

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

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

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

[0137] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out 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 reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0138] 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 described in each embodiment of the present application.

[0139] 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. A data preloading method, characterized in that: The method comprises: Acquire first weak network area information, where the first weak network area information includes location information and time information of at least one weak network area, and the first weak network area information calculates a jamming index based on a time scenario, a time period, and an operator, and obtains the jamming index by combining it with a region where the terminal is located; Determine, according to the first weak network area information, a target weak network area between the first area and the second area, where the first area is an area where the terminal is currently located, and the second area is a predicted target area; Preloading data corresponding to the target weak network area within a target time before entering the target weak network area; The time information of at least one weak network area includes at least one time scene information and at least one time period, the time information of one weak network area includes one time scene information and a time period corresponding to the one time scene information, and the one time scene information is used to indicate the time scene corresponding to the one weak network area; The determining, according to the first weak network area information, a target weak network area between the first area and the second area includes: When the time scene information corresponding to the first area matches the first time scene information in the at least one time scene information, the third area between the first area and the second area is determined as the target weak network area, and the third area is the area that the terminal needs to pass through and corresponds to the first time period, and the first time period is the time period corresponding to the first time scene information.

2. The method according to claim 1, characterized in that The obtaining of the first weak network area information includes: Obtain at least one historical jamming data and at least one historical scene identification data, each historical jamming data is used to indicate the location information and time information of a terminal when a loading exception occurs during historical data loading, and each historical scene identification data is used to indicate the time information corresponding to an area passed by a terminal when historical data loading occurs; According to each historical scene recognition data, the time information corresponding to the area passed by each terminal when loading historical data is divided to obtain at least one time period; Mapping the at least one historical jamming data to the at least one time period, at least one operator and at least one time scenario information, and calculating the jamming index, the jamming index including the jamming user ratio and average jamming duration in different time scenarios for all jamming time periods under different operators; According to the ratio of users with stuck pages and the average stuck duration, a target time period in which the ratio of users with stuck pages and the average stuck duration meet preset conditions in all stuck time periods under different operators, location information corresponding to the target time period, and a time scene corresponding to the target time period are determined as at least one weak network area information, and the weak network area information corresponding to the region where the terminal is located and the operator of the terminal in the at least one weak network area information is determined as the first weak network area information.

3. The method according to claim 1 or 2, characterized in that: The preloading of data corresponding to the target weak network area within a target time before entering the target weak network area includes: The target time is determined based on the first information, and the data corresponding to the target weak network area is preloaded starting from the target time. The target time is a time point before entering the target weak network area. The first information includes at least one of the following: type information of the data to be preloaded, type information of the application corresponding to the data to be preloaded, and network quality of the area where the terminal was located before entering the target weak network area.

4. The method according to claim 1 or 2, characterized in that: The preloading of data corresponding to the target weak network area within a target time before entering the target weak network area includes: Within the target time before entering the target weak network area, data of a target capacity corresponding to the target weak network area is preloaded, and the target capacity is determined by at least one of the following: the length of the time period corresponding to the target weak network area and the type information of the data to be preloaded.

5. The method according to claim 1, characterized in that After preloading the data corresponding to the target weak network area within the target time before entering the target weak network area, the method further includes: If a data loading abnormality occurs in a third time period before or after the second time period, the time period corresponding to the second time period in the first weak network area information is updated to a fourth time period, the second time period is the time period corresponding to the target weak network area, and the fourth time period includes the second time period and the third time period.

6. A data preloading device, characterized in that: The data preloading device comprises: an acquisition module, a determination module and a processing module; The acquisition module is used to acquire first weak network area information, the first weak network area information includes location information and time information of at least one weak network area, the first weak network area information is based on the time scene, time period, operator, calculate the jamming index, and combine the jamming index with the area where the terminal is located to obtain; The determination module is used to determine a target weak network area between a first area and a second area according to the first weak network area information, wherein the first area is an area where the terminal is currently located, and the second area is a predicted target area; The processing module is used to preload data corresponding to the target weak network area within a target time before entering the target weak network area; The time information of at least one weak network area includes at least one time scene information and at least one time period, the time information of one weak network area includes one time scene information and a time period corresponding to the one time scene information, and the one time scene information is used to indicate the time scene corresponding to the one weak network area; The determination module is specifically used to determine a third area between the first area and the second area as the target weak network area when the time scene information corresponding to the first area matches the first time scene information in the at least one time scene information. The third area is an area that the terminal needs to pass through and corresponds to a first time period. The first time period is a time period corresponding to the first time scene information.

7. The device according to claim 6, characterized in that The acquisition module is specifically used to acquire at least one historical jamming data and at least one historical scene identification data, each historical jamming data is used to indicate the location information and time information of a terminal when loading data historically and abnormally, and each historical scene identification data is used to indicate the time information corresponding to the area passed by a terminal when loading data historically; According to each historical scene recognition data, the time information corresponding to the area passed by each terminal when loading historical data is divided to obtain at least one time period; Mapping the at least one historical jamming data to the at least one time period, at least one operator and at least one time scenario information, and calculating the jamming index, the jamming index including the jamming user ratio and average jamming duration in different time scenarios for all jamming time periods under different operators; According to the ratio of users with stuck pages and the average stuck duration, a target time period in which the ratio of users with stuck pages and the average stuck duration meet preset conditions in all stuck time periods under different operators, location information corresponding to the target time period, and a time scene corresponding to the target time period are determined as at least one weak network area information, and the weak network area information corresponding to the region where the terminal is located and the operator of the terminal in the at least one weak network area information is determined as the first weak network area information.

8. The device according to claim 6 or 7, characterized in that The processing module is specifically used to determine the target time according to the first information, and preload the data corresponding to the target weak network area from the target time, the target time is a time point before entering the target weak network area, and the first information includes at least one of the following: type information of the data to be preloaded, information of the application corresponding to the data to be preloaded, and network quality of the area where the terminal was located before entering the target weak network area.

9. The device according to claim 6 or 7, characterized in that The processing module is specifically used to preload data of a target capacity corresponding to the target weak network area within a target time before entering the target weak network area, and the target capacity is determined by at least one of the following: the length of the time period corresponding to the target weak network area and the type information of the data to be preloaded.

10. The device according to claim 6, characterized in that The data preloading device further includes: an updating module; The updating module is used to update the time period corresponding to the second time period in the first weak network area information to a fourth time period after the processing module preloads the data corresponding to the target weak network area within the target time before entering the target weak network area. If a data loading abnormality occurs in a third time period before or after the second time period, the second time period is the time period corresponding to the target weak network area, and the fourth time period includes the second time period and the third time period.

11. A terminal, characterized in that: It comprises 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 data preloading method as described in any one of claims 1 to 5.

12. 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 a processor, the steps of the data preloading method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Data processing method and device

    CN113986378A

  • Application management method and device

    CN114356171A