WO2023231861A1 - Data preloading method and device, terminal, and storage medium - Google Patents

Data preloading method and device, terminal, and storage medium Download PDF

Info

Publication number
WO2023231861A1
WO2023231861A1 PCT/CN2023/096001 CN2023096001W WO2023231861A1 WO 2023231861 A1 WO2023231861 A1 WO 2023231861A1 CN 2023096001 W CN2023096001 W CN 2023096001W WO 2023231861 A1 WO2023231861 A1 WO 2023231861A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
area
information
target
weak network
Prior art date
Application number
PCT/CN2023/096001
Other languages
French (fr)
Chinese (zh)
Inventor
曹杭挺
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023231861A1 publication Critical patent/WO2023231861A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • This application belongs to the field of communication technology, and specifically relates to a data preloading method, device, terminal and storage medium.
  • streaming media applications are used by more and more users, bringing great convenience to people's lives.
  • most streaming media applications use caching technology. , preloading part of the content to prevent lagging.
  • existing caching technology usually adopts a fixed strategy. For example, during the process of watching a video, the terminal keeps preloading two minutes of video resources. In this way, the existing technology preloads streaming media applications.
  • the method is relatively simple.
  • 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 in the prior art that the preloading method for streaming media applications is relatively single.
  • inventions of the present application provide a data preloading method.
  • the data preloading method includes: obtaining first weak network area information.
  • the first weak network area information includes location information and time of at least one weak network area. Information, the first weak network area information is based on the time scenario, time period, and operator, the stuck indicator is calculated, and the stuck indicator is obtained by combining the stuck indicator with the area where the terminal is located; based on the first weak network area information, the first area is determined
  • the target weak network area exists between Data corresponding to the target weak network area.
  • the data preloading device includes: an acquisition module, a determination module and a processing module.
  • the acquisition module is used to obtain 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 time scenario, time period, and operator, Calculate the lag index and combine the lag index with the region where the terminal is located to obtain it.
  • Determining module configured to determine a target weak network area existing 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.
  • embodiments of the present application provide a terminal, which includes a processor and a memory, and the memory
  • the memory stores programs or instructions executable on the processor, which when executed by the processor implement the steps of the method according to the first aspect.
  • embodiments of the present application provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the steps of the method described in the first aspect are implemented. .
  • inventions of the present application provide a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the first aspect. the method described.
  • the terminal can obtain the first weak network area information, and then determine, based on the first weak network area information, that there is an area between the area where the terminal is currently located and the predicted target area (that is, the area that the predicted terminal needs to reach).
  • the target weak network area enables the terminal to preload data before entering the target weak network area.
  • the terminal when loading data, 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, and if a weak network area exists, Preload data before entering the weak network area.
  • the terminal when the terminal determines that there will be abnormal data loading between the current area and the predicted target area, it can preload the data in advance, which improves the data processing of streaming media applications by the terminal.
  • the diversity and flexibility of preloading avoids being unable to view information due to network problems.
  • Figure 1 is one of the schematic diagrams of a data preloading method provided by an embodiment of the present application
  • Figure 2 is a schematic diagram of an example of scene recognition data division provided by an embodiment of the present application.
  • Figure 3 is a second schematic diagram of a data preloading method provided by an embodiment of the present application.
  • Figure 4 is a schematic structural diagram of a data preloading device provided by an embodiment of the present application.
  • Figure 5 is one of the schematic diagrams of the hardware structure of a terminal provided by an embodiment of the present application.
  • Figure 6 is a second schematic diagram of the hardware structure of a terminal provided by an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first,” “second,” etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • the data preloading method in the embodiment of the present application can be applied to the scenario where the terminal loads data.
  • streaming media applications are being used by more and more users, and the duration of use is also increasing.
  • caching technology will be used to preload part of the content to prevent lagging.
  • mainstream streaming media applications basically have caching strategies
  • current strategies are often fixed or some personalized strategies are adopted based on users' personal consumption habits, which have nothing to do with the actual network environment.
  • the current strategy basically does not consider when the network is poor and when preloading should be initiated, so that the content cached in advance can be consumed by users in time.
  • the current caching strategy seems relatively blind from the network side.
  • the weak network area based on the actual user experience data of user history, not only considering the situation of group users, but also adding the personalized data of individual users. 2.
  • time and space dimensions simultaneously to more accurately determine weak network areas. This enables end users to preload in time before lag occurs when using streaming media applications, so that the cache can be released in time when lag occurs, maintaining smooth playback and improving the user's network experience.
  • the terminal can obtain the first weak network area information, and then determine, based on the first weak network area information, that there is an area between the area where the terminal is currently located and the predicted target area (that is, the area that the predicted terminal needs to reach).
  • the target weak network area enables the terminal to preload data before entering the target weak network area.
  • the terminal when loading data, 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, and if a weak network area exists, Preload data before entering the weak network area.
  • the terminal when the terminal determines that there will be abnormal data loading between the current area and the predicted target area, it can preload the data in advance, which improves the data processing of streaming media applications by the terminal.
  • the diversity and flexibility of preloading avoids being unable to view information due to network problems.
  • FIG. 1 shows a flow chart of a data preloading method provided by an embodiment of the present application.
  • the data preloading method provided by the embodiment of the present application may include the following steps 201 to 203.
  • Step 201 The terminal obtains the first weak network area information.
  • 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 the stuck indicator based on the time scenario, time period, and operator, and
  • the lag indicator is obtained by combining the region where the terminal is located.
  • the terminal can obtain the first weak network area information, and then determine the first area (that is, the area where the terminal is currently located) to the second area (that is, the area that the terminal is predicted to reach) based on the first weak network area information. ) allows the terminal to preload data before entering the target weak network area.
  • the terminal can obtain the first weak network area information from the server; or, the terminal can obtain the first weak network area information from the weak network area information pre-stored in the terminal.
  • each of the above-mentioned at least one weak network area can be understood as: an area where the network quality/signal quality is less than or equal to a preset threshold, or the network quality/signal quality is within a preset range/level Area.
  • network quality can be divided into levels 1-10. The higher the network quality level of an 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. , when the network quality level of a certain area is greater than level 5, the area is a non-weak network area.
  • 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 from one location to another location. That is, the two location information of each weak network area is the location information of the two locations corresponding to each weak network area.
  • a weak network area is the area between location A and location B, then the location information of location A and the location information of location B are the locations of the weak network area. information.
  • the terminal can receive at least one historical lag data and at least one historical scene identification data sent by multiple terminals, and use the at least one historical scene identification data to record the history of each terminal when loading data. Divide the time information corresponding to the area to obtain at least one time period, and then map at least one historical lag data to the at least one time period to obtain the weak network that exists in the area through which each terminal historically loads data. area.
  • 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 in the at least one weak network area includes a time scene information. and a time period corresponding to the one time scene information.
  • the one time scene information is used to indicate the time scene corresponding to the one weak network area.
  • the time scene indicated by the time scene information of the at least one weak network area includes at least one of the following: non-holiday, holiday, working day, non-working day, working day morning peak, working day evening Peak hours, morning and evening peak hours on weekdays, off-peak hours on weekdays, etc.
  • the time period of each weak network area in the at least one weak network area includes a start time and an end time
  • the start time of the time period is the terminal's history of entering a certain weak network area.
  • the time from the time when the terminal entered the first location in history; the end time of this time period is the time between the time when history left the weak network area and the time when the terminal entered the first location in history.
  • the start time and end time of this time period are The difference is the duration of abnormal data loading between the two locations in each weak network area.
  • the first weak network area information is the weak network area information in a subway scenario.
  • a weak network area is located between subway station A and subway station B.
  • the historical time for terminal 1 to enter subway station A is At 7:10, while the subway is traveling, the historical time when terminal 1 entered the weak network area is 7:11, then the starting 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, then the end time of the time period corresponding to the weak network area is the 120th second after entering subway station A, then the time period of entering the weak network area is From the 60th second after subway station A to the 120th second after entering subway station A, the duration of the weak network area is 60 seconds.
  • the location information of a weak network area is location A-location B
  • the time scenario is the morning peak on weekdays
  • the time period is the time when a data loading exception occurs between location A and location B corresponding to the morning peak on weekdays. part.
  • step 201 can be specifically implemented through the following step 201a.
  • Step 201a The terminal obtains at least one historical lag data and at least one historical scene recognition data.
  • Each historical lag data is used to indicate the location information and time information of a loading abnormality when a terminal historically loads data.
  • Each historical scene recognition data Used to indicate the time information corresponding to the area that a terminal passes through when loading data in history; according to each historical scene recognition data, divide the time information corresponding to the area that each terminal passes through when loading data in history, and obtain at least one time period.
  • the target time period, 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 at least one weak network area information is related to the area where the terminal is located and to the terminal.
  • the weak network area information corresponding to the operator is determined as the first weak network area information.
  • the location information of a terminal where a loading exception occurs when loading historical data can be understood as: the location information of the area where a terminal is located when a loading exception occurs when historical loading data occurs.
  • the time information of a loading exception when a terminal historically loads data can be understood as: the start time and end time when a terminal's historical loading data encounters a loading exception, that is, the start time corresponding to the area where a terminal's historical loading data occurs when a loading exception occurs. (i.e. the time of entering this area) and the end time (i.e. the time of leaving this area).
  • the area a terminal passes through when loading data in history can be understood as: a terminal enters a certain area during the process of loading data and leaves the area; the area a terminal passes through when loading data in history corresponds to Time 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 loading historical data on a terminal.
  • a piece of historical lag data can be: Terminal 1 has a loading exception when loading data in area C between subway station A and subway station B from 7:10 to 7:11 on March 1, then the terminal The location information where abnormal loading occurs when loading historical data is subway station A-subway station B, and the time information is 7:10-7:11 on March 1; the corresponding historical scene identification data can be: Terminal 1 history During the process of loading data, the time of entering subway station A is 7:05 on March 1, and the time of leaving subway station B is 7:15 on March 1.
  • the time when the terminal enters a certain area in history can be divided.
  • the time when the terminal starts passing through the area and the time when the terminal ends passing through the area and the time when it leaves the area are divided into two time periods respectively, and the time period between the time when the terminal starts passing through the area and the time when it ends passing through the area is divided into two time periods.
  • Divide according to equal intervals such as Q seconds, the Q value can be adjusted according to actual usage requirements).
  • the scene recognition data 1 is: the time eTime_A when the terminal 1 enters the subway station A and the time lTime_B when it leaves the subway station B.
  • the time eTime_A when the terminal 1 enters the subway station A can be divided into the time eTime_A when the terminal leaves the subway station.
  • the time lTime_A of A i.e., the time the terminal waits at subway station A
  • the time eTime_B when the terminal arrives at subway station B to the time lTime_B i.e., the time the terminal waits at subway station B
  • the time the terminal waits at subway station B when the terminal leaves subway station B
  • the time the terminal waits at subway station B are respectively regarded as two time period, and divide the time period between the terminal leaving subway station A and the terminal entering subway station B (i.e.
  • lTime_A and eTime_B at equal intervals Q seconds, and finally obtain several time periods: [eTime_A, lTime_A), [lTime_A, lTime_A+Q), [lTime_A+Q, lTime_A+2Q), ..., [lTime_A+nQ, eTime_B), [eTime_B, lTime_B).
  • operators are divided into mobile operators, China Unicom operators and telecommunications operators.
  • the statistical period can be a preset period (for example, one month in history). )'s lag user ratio and average lag time.
  • the terminal maps at least one historical lag data to at least one time period, at least one operator and at least one time scenario information. Therefore, it can obtain: under different operators: in a certain time scenario.
  • the terminal can use this information to calculate the ratio of stuck users in a certain stuck time period in a certain time scenario, and the average stuck duration in a certain stuck time period in a certain time scenario, thereby obtaining The ratio of stuck users and the average stuck time in different time scenarios for all stuck time periods under different operators.
  • the ratio of stuck users in a certain stuck time period in a certain time scenario the number of users who are stuck in a certain stuck time period in a certain time scenario / the time that elapsed after a certain stuck time in a certain time scenario The total number of users in the segment;
  • the number of users who are stuck during the stuck time period 1 during the morning peak on weekdays is 10, and the total number of users who are stuck during the stuck time period 1 during the morning peak on weekdays is 20, then the time of the jam during the morning peak on weekdays
  • the average lag duration in a certain lag time period in a certain time scenario the total lag duration in a certain lag time period in a certain time scenario/the total lag time period in a certain time scenario of total users.
  • the total duration of the jam period during the morning peak on weekdays is 300 seconds
  • the total number of users passing through the jammed period 1 during the morning peak on weekdays is 20, then the total jam time during the morning peak on weekdays is 20 seconds.
  • the same user in the same time unit (for example, the same day) is only counted once, and the same user in different time units can be recorded as different users.
  • the terminal after the terminal obtains the time periods of all jams under different operators, the user ratio of jams in different time scenarios and the average jam duration, it can divide all jams under each operator according to the region.
  • the lag time period is ranked by the lag user ratio and the average lag duration in different time scenarios, and the ranking and the lag user ratio of all lag time periods in different time scenarios under each operator in each region are obtained.
  • rank ⁇ *rank1+(1- ⁇ )*rank2
  • rank1 is the ranking of the lag user ratio
  • rank2 is the ranking of the average lag duration
  • is the weight of rank1.
  • the top A% of each operator in each region are ranked (For example: 25%) of the stuck time period, the location information corresponding to the stuck time period and the time scene corresponding to the stuck time period are determined as at least one weak network area information (that is, all stuck information under different operators)
  • the target time period in which the lag user ratio and the average lag duration in the time period meet the preset conditions, the location information corresponding to the target time period, and the time scene corresponding to the target time period are determined to be at least one weak network area information), the specific value of A
  • the embodiments of this application are not limiting.
  • the terminal ranks the top A% (for example: 25%) of stuck time periods for each operator in each region, the location information corresponding to the stuck time period, and the stuck time periods.
  • the weak network area information in the at least one weak network area information that is in the area where the terminal is located and corresponds to the operator of the terminal is determined as the first weak network Regional information, for example: the area where the terminal is located is Region 1, and the network operator used by the terminal is a mobile operator, then the top A% of the mobile operator corresponding to Region 1 in at least one weak network area information (for example: 25 %) of the stuck time period, the location information corresponding to the stuck time period and the time scene corresponding to the stuck time period are determined as the first weak network area information.
  • Step 202 The terminal determines the target weak network area existing between the first area and the second area based on the first weak network area information.
  • the above-mentioned first area is the area where the terminal is currently located
  • the second area is the predicted target area (that is, the area that the predicted terminal needs to reach).
  • the terminal when the area where the terminal is currently located is the first area, the terminal can predict the next area (that is, the second area) that the terminal is about to arrive based on scene recognition and line data.
  • 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. .
  • 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 the one time scene information.
  • the corresponding time period, the time scene information is used to indicate the time scene corresponding to the weak network area.
  • Step 202a When the time scene information corresponding to the first area matches the first time scene information in at least one time scene information, the terminal determines the third area between the first area and the second area as the target weak network. area.
  • the above-mentioned third area is an area that the terminal needs to pass through and corresponds to the first time period
  • the first time period is a time period corresponding to the first time scene information
  • the terminal may determine the first time period in which the data loading abnormality occurs between the first area corresponding to the first time scene information and the second area, and determine the third area corresponding to the first time period as the target weak area. network area.
  • 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 in the first area. For example, if the time when the terminal arrives in the first area is 8:30 on Monday, then the time scene indicated by the time scene information corresponding to the first area is the morning peak on weekdays.
  • 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.
  • the terminal arrives at subway station A (i.e., the first area)
  • the time is 8:30 on Monday
  • the time scene indicated by the time scene information corresponding to the first area is the morning peak on weekdays.
  • the terminal can determine whether at least one time scene information contains a time scene that matches the morning peak on weekdays, and whether at least one time scene information contains the first time scene information that matches the morning peak on weekdays.
  • the terminal can determine the first time period when data loading abnormality occurs between subway station A and subway station B (ie, the first area to the second area) corresponding to the first time scene information, and will match the first time period with the first time period.
  • the corresponding area is determined as the target weak network area.
  • Step 203 The terminal preloads data corresponding to the target weak network area within the target time before entering the target weak network area.
  • the terminal can preload the data corresponding to the target weak network area at a preset time before entering the target weak network area (such as a time preset by the user or a default time of the terminal system). Preload the data corresponding to the target weak network area at any time before the target weak network area, or preload the data corresponding to the target weak network area within the target time before entering the target weak network area.
  • step 203 can be specifically implemented through the following step 203a.
  • Step 203a The terminal determines the target time based on the first information, and preloads data corresponding to the target weak network area starting from the target time.
  • the above-mentioned 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, and the type of application program corresponding to the data to be preloaded. Information and network quality of the area where the terminal was before entering the target weak network area.
  • the terminal can preload data corresponding to the target weak network area from a time point before entering the target weak network area (that is, from the target time) based on the first information, for example: before entering the target weak network area
  • the data corresponding to the target weak network area starts to be preloaded in the first 20 seconds.
  • the type information of the data to be preloaded can be any of the following: web page/text data type information, video data type information, audio data type information, and image data type information.
  • 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 for the terminal to start preloading according to the type information of the data to be preloaded.
  • the time of the data corresponding to the target weak network area that is, the target time).
  • the terminal can start preloading the data corresponding to the target weak network area 60 seconds before entering the target weak network area;
  • the type information 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.
  • the type of application corresponding to the data to be preloaded can be any of the following: video playback applications, audio playback applications, reading applications, and web page applications. etc., game applications, etc.
  • the details can be determined according to actual usage requirements, and are not limited by the embodiments of this application.
  • each application type corresponds to a time to start preloading data; the terminal can determine the time corresponding to the type according to the type of application corresponding to the data to be preloaded as The time when the terminal starts preloading data corresponding to the target weak network area (ie, the target time).
  • the terminal can start preloading the data corresponding to the target weak network area 60 seconds before entering the target weak network area;
  • the terminal can start preloading the data corresponding to the target weak network area 20 seconds before entering the target weak network area.
  • the time to start preloading the data corresponding to the target weak network area is different.
  • the terminal can be based on the terminal entering the target weak network area.
  • the network quality of the area in front of the network area is determined, and the time corresponding to the network quality is determined as the time when the terminal starts preloading the data corresponding to the target weak network area (ie, the target time).
  • the network quality of the area where the terminal is located before entering the target weak network area is different, and the speed when the terminal loads data is different, so the time required for the terminal to load data is different, so the terminal starts to preload the data corresponding to the target weak network area. Times are different.
  • the network quality can be divided into levels of 1-10. The higher the network quality level of the area, the better the network quality of the area.
  • 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 enter the target weak network area. Open 20 seconds before the zone Start preloading data corresponding to the target weak network area.
  • the terminal can preload the preset capacity corresponding to the target weak network area (such as the capacity preset by the user or the default capacity of the terminal system) within the target time before entering the target weak network area. data or target capacity data.
  • the target weak network area such as the capacity preset by the user or the default capacity of the terminal system
  • step 203 can be specifically implemented through the following step 203b.
  • Step 203b The terminal preloads the target capacity data corresponding to the target weak network area within the target time before entering the target weak network area.
  • the above 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.
  • the length of the time period corresponding to the above target weak network area can be understood as: the duration of abnormal data loading in the target weak network area between the two locations (that is, the start time and end time of the time period) time difference).
  • the terminal can determine the length of the time period corresponding to the target weak network area (i.e., the length of the time period corresponding to the target weak network area). duration), the capacity corresponding to the length of the time period is determined as the capacity of the terminal to preload data corresponding to the target weak network area (ie, the target capacity).
  • the duration of the target weak network area is different.
  • the terminal needs to load data corresponding to the duration of the target weak network area, so that the terminal preloads the same as the target weak network area.
  • the corresponding target capacity data satisfies the terminal's use during the target weak network area.
  • the terminal when the length of the time period corresponding to the target weak network area is 20 seconds, that is, when the duration of the target weak network area is 20 seconds, the terminal preloads 100MB of data; when the length of the time period corresponding to the target weak network area is 60 seconds seconds, that is, when the duration of the target weak network area is 60 seconds, the terminal preloads 300MB of data.
  • each type information corresponds to a capacity of preloaded data; the terminal can determine the capacity corresponding to the type information as the terminal preload and target according to the type information of the data to be preloaded.
  • the capacity of data corresponding to the weak network area that is, the target capacity).
  • the terminal needs to load data with a capacity corresponding to the type of data, so that the data of the target capacity corresponding to the target weak network area preloaded by the terminal meets the requirements.
  • the terminal is used during the target weak network area.
  • the terminal preloads 300 MB of data; when the type information of the data to be preloaded is text data type information, the terminal preloads 100 MB of data.
  • Embodiments of the present application provide a data preloading method.
  • the terminal can obtain the first weak network area information, and then determine the area where the terminal is currently located to the predicted target area (i.e., where the predicted terminal needs to reach) based on the first weak network area information.
  • the target weak network area that exists between the target weak network areas allows the terminal to preload data before entering the target weak network area.
  • the terminal when loading data, 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, and if a weak network area exists, Preload data before entering the weak network area.
  • the terminal when the terminal determines that there will be abnormal data loading between the current area and the predicted target area, it can preload the data in advance, which improves the data processing of streaming media applications by the terminal.
  • the diversity and flexibility of preloading avoids being unable to view information due to network problems.
  • the data preloading method provided by the embodiment of the present application may also include the following step 301.
  • Step 301 If data loading anomaly occurs in the 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 the fourth time period.
  • the above-mentioned second time period is the time period corresponding to the target weak network area
  • the fourth time period includes the second time period and the third time period.
  • the starting time or the ending time of the third time period overlaps with the second time period. It can be understood that the start time of the third time period is the same as the end time of the second time period, or the end time of the third time period is the same as the start time of the second time period.
  • the terminal after the terminal preloads data before entering the target weak network area, if an abnormal data loading occurs before or in the third time period corresponding to the second time period corresponding to the target weak network area, the terminal will The second time period corresponding to the target weak network area in the weak network area information is updated to a fourth time period including the second time period and the third time period.
  • the second time period corresponding to the target weak network area in the first weak network area information is 60 seconds to 80 seconds.
  • the distance The time for the terminal to enter subway station A is 50 seconds.
  • the time until the terminal enters subway station A is 60 seconds.
  • the terminal will be between 50 seconds and 60 seconds (that is, the first (three time periods) is in the weak network area
  • the terminal can update the second time period corresponding to the target weak network area in the first weak network area information to the fourth time period of 50 seconds to 80 seconds based on the actual stuck time (i.e. updated to include the second time period and the third time period).
  • the third time period will be The second time period corresponding to the target weak network area in the weak network area information is updated to the 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 jam time of the terminal. , In this way, the accuracy of terminal preloading data before weak network areas is improved.
  • Figure 4 shows a possible structural schematic diagram of the data preloading device involved in the embodiment of the present application.
  • the data preloading device 70 may include: an acquisition module 71 , a determination module 72 and a processing module 73 .
  • the acquisition module 71 is used to obtain the 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 time scene, time period,
  • the operator calculates the lag index and combines the lag index with the region where the terminal is located to obtain it.
  • the determination module 72 is configured to determine a target weak network area existing 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 configured to preload data corresponding to the target weak network area within a target time before entering the target weak network area.
  • Embodiments of the present application provide a data preloading device.
  • the terminal can determine the area between the current area of the terminal and the predicted target area (that is, the area that the predicted terminal needs to reach) based on the first weak network area information. Whether there is a weak network area between them, and if there is a weak network area, preload data before entering the weak network area, that is, the terminal will have data loading abnormalities between the current area and the predicted target area.
  • data can be preloaded in advance, which improves the diversity and flexibility of data preloading for streaming media applications by the terminal and avoids being unable to view information due to network problems.
  • 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 a weak network area; the above-mentioned determination module 72 , specifically used to determine the third area between the first area and the second area as the target weak network 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
  • the first time period is the time period corresponding to the first time scene information.
  • the above-mentioned acquisition module 71 is specifically used to obtain at least one historical lag data and at least one historical scene identification data.
  • Each historical lag data is used to indicate a loading exception when a terminal historically loads data.
  • the location information and time information, each historical scene recognition data is used to indicate the time information corresponding to the area that a terminal passed when loading data in history; according to each historical scene recognition data, the time information that each terminal passed when loading data in history is Divide the time information corresponding to the area to obtain at least one time period; map at least one historical lag data to the at least one time period, at least one operator, and at least one time scene information, and calculate the lag index.
  • the target time period in which the stuck user ratio and the average stuck duration satisfy the preset conditions, 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 at least one weak network area information is In the network area information, the weak network area information corresponding to the area where the terminal is located and the operator of the terminal is determined as the first weak network area information.
  • the above-mentioned processing module 73 is specifically configured to determine a target time based on the first information, and preload data corresponding to the target weak network area starting from the target time.
  • the target time is when 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 about the application program 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.
  • the above-mentioned processing module 73 is specifically used to preload the data of the target capacity corresponding to the target weak network area within the target time before entering the target weak network area.
  • the target capacity is at least as follows: One determination: the length of the time period corresponding to the target weak network area and the type information of the data to be preloaded.
  • the data preloading device 70 provided by the embodiment of the present application further includes: an update module.
  • the above-mentioned update module is used to preload data corresponding to the target weak network area 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. If data loading occurs before the second time period or in the third time period after In the abnormal situation, the time period corresponding to the second time period in the first weak network area information is updated to the fourth time period.
  • the second time period is the time period corresponding to the target weak network area.
  • the fourth time period includes The second time period and the third time period.
  • the data preloading device provided by the embodiments of the present application can realize each process implemented by the terminal in the above method embodiments, and can achieve the same technical effect. To avoid duplication, the details will not be described here.
  • the data preloading device in the embodiment of the present application may be a device, or may be a component, integrated circuit, or chip in the terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computers (personal computers, PC), televisions (television, TV), teller machines or self-service machines, etc., this application The examples are not specifically limited.
  • the data preloading device in the embodiment of the present application may be a device with an operating system.
  • This operating system can install
  • the Android operating system can be an ios operating system or other possible operating systems, which are not specifically limited in the embodiments of this application.
  • this embodiment of the present application also provides a terminal 800, including a processor 801, a memory 802, and programs or instructions stored in the memory 802 and executable on the processor 801.
  • a terminal 800 including a processor 801, a memory 802, and programs or instructions stored in the memory 802 and executable on the processor 801.
  • the program or instruction is executed by the processor 801
  • each process of the above method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, the details will not be described here.
  • Figure 6 is a schematic diagram of the hardware structure of a terminal that implements an embodiment of the present application.
  • the terminal 100 includes but is not limited to: 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, a processor 110 and other components. .
  • the terminal 100 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 110 through a power management system, thereby managing charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal structure shown in FIG. 6 does not constitute a limitation on the terminal.
  • the terminal may include more or fewer components than shown in the figure, or some components may be combined or arranged differently, which will not be described again here.
  • the processor 110 is used to obtain the first weak network area information, the first weak network area information includes the location information and time information of at least one weak network area; according to the first weak network area information, determine the first area to the third weak network area.
  • the target weak network area exists between the two areas, the first area is the area where the terminal is currently located, and the second area is the predicted target area; and within the target time before entering the target weak network area, the target is preloaded Data corresponding to weak network areas.
  • Embodiments of the present application provide a terminal.
  • the terminal can determine whether there is an area between the area where the terminal is currently located and the predicted target area (that is, the area that the predicted terminal needs to reach) based on the first weak network area information.
  • Weak network area and if there is a weak network area, preload data before entering the weak network area, that is, when the terminal determines that there will be abnormal data loading between the current area and the predicted target area
  • Data can be preloaded in advance, which improves the diversity and flexibility of data preloading for streaming media applications by the terminal, and avoids being unable to view information due to network problems.
  • 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 includes one time scene information and a time period corresponding to the one time scene information.
  • a time The scene information is used to indicate a time scene corresponding to a weak network area; the processor 110 is specifically configured to, when the time scene information corresponding to the first area matches the first time scene information in at least one time scene information, convert the first time scene information to the first time scene information.
  • the third area between the first area and the second area is determined as the target weak network area.
  • the third area is an area that the terminal needs to pass through and corresponds to the first time period.
  • the first time period is the same as the first time scenario.
  • the processor 110 is specifically configured to obtain at least one historical lag data and at least one historical scene identification data.
  • Each historical lag data is used to indicate the location information and time information where a loading abnormality occurred when a terminal historically loaded data.
  • each historical scene recognition data is used to indicate the time information corresponding to the area that a terminal passes through when loading data in history; according to each historical scene identification data, the time information corresponding to the area that each terminal passes through when loading data in history is performed.
  • the target time period of the preset condition, 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 at least one weak network area information is related to the area where the terminal is located, And the weak network area information corresponding to the operator of the terminal is determined as the first weak network area information.
  • the processor 110 is specifically configured to determine a 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,
  • the first information includes at least one of the following: type information of data to be preloaded, information about an 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.
  • the processor 110 is specifically configured to preload the data of the target capacity corresponding to the target weak network area within the target time before entering the target weak network area.
  • the target capacity is determined by at least one of the following: the target weak network area. The length of the time period corresponding to the network area and the type information of the data to be preloaded.
  • the processor 110 is also configured to preload the data corresponding to the target weak network area within the target time before entering the target weak network area. If the data appears in the third time period before or after the second time period, In the case of abnormal loading, the time period corresponding to the second time period in the first weak network area information is updated to the fourth time period.
  • the second time period is the time period corresponding to the target weak network area.
  • the fourth time period Including the second time period and the third time period.
  • the terminal provided by the embodiments of this application can implement each process implemented by the above method embodiments, and can achieve the same technical effect. To avoid duplication, details will not be described here.
  • the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042.
  • the graphics processor 1041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072 .
  • 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, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • Memory 109 may be used to store software programs as well as 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, Image playback function, etc.) etc.
  • memory 109 may include volatile memory or nonvolatile memory, or memory 109 may include both volatile and nonvolatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • synchronous dynamic random access memory Synchronous DRAM, SDRAM
  • Double data rate synchronous dynamic random access memory Double Data Rate SDRAM, DDRSDRAM
  • enhanced SDRAM synchronous dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory bus random access memory
  • Direct Rambus RAM Direct Rambus RAM
  • the processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 110 .
  • Embodiments of the present application also provide a readable storage medium.
  • Programs or instructions are stored on the readable storage medium.
  • the program or instructions are executed by a processor, each process of the above method embodiments is implemented and the same technology can be achieved. The effect will not be described here to avoid repetition.
  • the processor is the processor in the electronic device described in the above embodiment.
  • the readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement various processes of the above method embodiments. , and can achieve the same technical effect, so to avoid repetition, they will not be described again here.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present application discloses a data preloading method and device, a terminal, and a storage medium. The method comprises: obtaining first weak network area information, wherein the first weak network area information comprises location information and time information of at least one weak network area, the first weak network area information is based on a time scene, a time period, and an operator; calculating a lag index, and combining the lag index with an area where a terminal is located; according to the first weak network area information, determining a target weak network area present between a first area and a second area, wherein the first area is an area where the terminal is currently located, and the second area is a predicted target area; and preloading data corresponding to the target weak network area within a target time before entering the target weak network area.

Description

数据预加载方法、装置、终端及存储介质Data preloading method, device, terminal and storage medium
相关申请的交叉引用Cross-references to related applications
本申请主张在2022年06月02日在中国提交的中国专利申请号202210625622.8的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202210625622.8 filed in China on June 2, 2022, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请属于通信技术领域,具体涉及一种数据预加载方法、装置、终端及存储介质。This application belongs to the field of communication technology, and specifically relates to a data preloading method, device, terminal and storage medium.
背景技术Background technique
随着终端的不断发展,流媒体类应用被越来越多的用户使用,给人们生活带来了极大便利,而为了让用户拥有更流畅的体验,大部分流媒体类应用都会采用缓存技术,预加载一部分内容,从而防止出现卡顿的情况。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 provide users with a smoother experience, most streaming media applications use caching technology. , preloading part of the content to prevent lagging.
然而,现有的缓存技术,通常采用的是固定不变的策略,例如:在观看视频的过程中,终端保持预加载两分钟的视频资源,如此,现有技术中对流媒体类应用进行预加载的方式较为单一。However, existing caching technology usually adopts a fixed strategy. For example, during the process of watching a video, the terminal keeps preloading two minutes of video resources. In this way, the existing technology preloads streaming media applications. The method is relatively simple.
发明内容Contents of the invention
本申请实施例的目的是提供一种数据预加载方法、装置、终端及存储介质,能够解决现有技术中对流媒体类应用进行预加载的方式较为单一的问题。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 in the prior art that the preloading method for streaming media applications is relatively single.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种数据预加载方法,该数据预加载方法包括:获取第一弱网区域信息,该第一弱网区域信息包括至少一个弱网区域的地点信息和时间信息,该第一弱网区域信息基于时间场景、时间段、运营商,计算卡顿指标,并将该卡顿指标与终端所在地区进行结合获得;根据第一弱网区域信息,确定第一区域到第二区域之间存在的目标弱网区域,该第一区域为终端当前所在的区域,该第二区域为预测的目标区域;在进入目标弱网区域之前的目标时间内,预加载与该目标弱网区域对应的数据。In a first aspect, embodiments of the present application provide a data preloading method. The data preloading method includes: obtaining first weak network area information. The first weak network area information includes location information and time of at least one weak network area. Information, the first weak network area information is based on the time scenario, time period, and operator, the stuck indicator is calculated, and the stuck indicator is obtained by combining the stuck indicator with the area where the terminal is located; based on the first weak network area information, the first area is determined The target weak network area exists between Data corresponding to the target weak network area.
第二方面,本申请实施例提供了一种数据预加载装置,该数据预加载装置包括:获取模块、确定模块和处理模块。获取模块,用于获取第一弱网区域信息,该第一弱网区域信息包括至少一个弱网区域的地点信息和时间信息,该第一弱网区域信息基于时间场景、时间段、运营商,计算卡顿指标,并将该卡顿指标与终端所在地区进行结合获得。确定模块,用于根据第一弱网区域信息,确定第一区域到第二区域之间存在的目标弱网区域,该第一区域为终端当前所在的区域,该第二区域为预测的目标区域;处理模块,用于在进入目标弱网区域之前的目标时间内,预加载与该目标弱网区域对应的数据。In the second aspect, embodiments of the present application provide a data preloading device. The data preloading device includes: an acquisition module, a determination module and a processing module. The acquisition module is used to obtain 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 time scenario, time period, and operator, Calculate the lag index and combine the lag index with the region where the terminal is located to obtain it. Determining module, configured to determine a target weak network area existing 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.
第三方面,本申请实施例提供了一种终端,该终端包括处理器和存储器,所述存 储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide a terminal, which includes a processor and a memory, and the memory The memory stores programs or instructions executable on the processor, which when executed by the processor implement the steps of the method according to the first aspect.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, embodiments of the present application provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented. .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, embodiments of the present application provide a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the first aspect. the method described.
在本申请实施例中,终端可以获取第一弱网区域信息,然后根据第一弱网区域信息,确定终端当前所在的区域到预测的目标区域(即预测的终端需要到达的区域)之间存在的目标弱网区域,使得终端在进入目标弱网区域前预加载数据。本方案中,由于终端在加载数据时可以根据第一弱网区域信息,来判断终端当前所在的区域到预测的目标区域之间是否存在弱网区域,并在存在弱网区域的情况下,在进入该弱网区域之前预加载数据,即终端在判断出当前所在的区域到预测的目标区域之间会出现数据加载异常的情况时,可以提前预加载数据,提高了终端对流媒体类应用进行数据预加载的多样性和灵活性,避免因网络问题无法查看信息。In this embodiment of the present application, the terminal can obtain the first weak network area information, and then determine, based on the first weak network area information, that there is an area between the area where the terminal is currently located and the predicted target area (that is, the area that the predicted terminal needs to reach). The target weak network area enables the terminal to preload data before entering the target weak network area. In this solution, 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 based on the first weak network area information, and if a weak network area exists, Preload data before entering the weak network area. That is, when the terminal determines that there will be abnormal data loading between the current area and the predicted target area, it can preload the data in advance, which improves the data processing of streaming media applications by the terminal. The diversity and flexibility of preloading avoids being unable to view information due to network problems.
附图说明Description of the drawings
图1是本申请实施例提供的一种数据预加载方法的示意图之一;Figure 1 is one of the schematic diagrams of a data preloading method provided by an embodiment of the present application;
图2是本申请实施例提供的一种场景识别数据划分的实例示意图;Figure 2 is a schematic diagram of an example of scene recognition data division provided by an embodiment of the present application;
图3是本申请实施例提供的一种数据预加载方法的示意图之二;Figure 3 is a second schematic diagram of a data preloading method provided by an embodiment of the present application;
图4是本申请实施例提供的一种数据预加载装置的结构示意图;Figure 4 is a schematic structural diagram of a data preloading device provided by an embodiment of the present application;
图5是本申请实施例提供的一种终端的硬件结构示意图之一;Figure 5 is one of the schematic diagrams of the hardware structure of a terminal provided by an embodiment of the present application;
图6是本申请实施例提供的一种终端的硬件结构示意图之二。Figure 6 is a second schematic diagram of the hardware structure of a terminal provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the figures so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in orders other than those illustrated or described herein, and that "first," "second," etc. are distinguished Objects are usually of one type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的数据预加载方法进行详细地说明。The data preloading method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios.
本申请实施例中的数据预加载方法可以应用于终端加载数据的场景。The data preloading method in the embodiment of the present application can be applied to the scenario where the terminal loads data.
随着移动网络和终端设备的发展,流媒体类应用在被越来越多的用户使用,并且使用的时长也在增长。而为了让用户拥有更流畅的体验,当下大部分流媒体类应用,特别是短 视频类,都会采用缓存技术,预加载一部分内容,从而防止出现卡顿。虽然主流的流媒体应用基本都会有缓存的策略,但目前的策略往往都是固定不变的或者根据用户个人消费习惯而采取一些个性化的策略,与实际网络环境没有关系。也就是说,目前的策略其实基本没有考虑什么时候网络差,应该什么时候去发起预加载,从而让提前缓存的内容可以及时被用户消费。现在的缓存策略在网络侧看来是比较盲目的。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 allow users to have a smoother experience, most streaming media applications, especially short-format For videos, caching technology will be used to preload part of the content to prevent lagging. Although mainstream streaming media applications basically have caching strategies, current strategies are often fixed or some personalized strategies are adopted based on users' personal consumption habits, which have 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 preloading should be initiated, so that the content cached in advance can be consumed by users in time. The current caching strategy seems relatively blind from the network side.
本发明实施例中,1、根据用户历史的实际使用体验数据训练弱网区域,不仅考虑群体用户的情况,而且也加入个体用户的个性化数据。2、同时考虑时间和空间维度的影响,从而更加精准地进行弱网区域判断。使得终端用户能够在使用流媒体类应用发生卡顿之前及时进行预加载,从而在发生卡顿时能及时释放缓存,保持播放流畅,提升用户的网络体验。In the embodiment of the present invention, 1. Train the weak network area based on the actual user experience data of user history, not only considering the situation of group users, but also adding the personalized data of individual users. 2. Consider the impact of time and space dimensions simultaneously to more accurately determine weak network areas. This enables end users to preload in time before lag occurs when using streaming media applications, so that the cache can be released in time when lag occurs, maintaining smooth playback and improving the user's network experience.
在本申请实施例中,终端可以获取第一弱网区域信息,然后根据第一弱网区域信息,确定终端当前所在的区域到预测的目标区域(即预测的终端需要到达的区域)之间存在的目标弱网区域,使得终端在进入目标弱网区域前预加载数据。本方案中,由于终端在加载数据时可以根据第一弱网区域信息,来判断终端当前所在的区域到预测的目标区域之间是否存在弱网区域,并在存在弱网区域的情况下,在进入该弱网区域之前预加载数据,即终端在判断出当前所在的区域到预测的目标区域之间会出现数据加载异常的情况时,可以提前预加载数据,提高了终端对流媒体类应用进行数据预加载的多样性和灵活性,避免因网络问题无法查看信息。In this embodiment of the present application, the terminal can obtain the first weak network area information, and then determine, based on the first weak network area information, that there is an area between the area where the terminal is currently located and the predicted target area (that is, the area that the predicted terminal needs to reach). The target weak network area enables the terminal to preload data before entering the target weak network area. In this solution, 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 based on the first weak network area information, and if a weak network area exists, Preload data before entering the weak network area. That is, when the terminal determines that there will be abnormal data loading between the current area and the predicted target area, it can preload the data in advance, which improves the data processing of streaming media applications by the terminal. The diversity and flexibility of preloading avoids being unable to view information due to network problems.
本申请实施例提供一种数据预加载方法,图1示出了本申请实施例提供的一种数据预加载方法的流程图。如图1所示,本申请实施例提供的数据预加载方法可以包括下述的步骤201至步骤203。An embodiment of the present application provides a data preloading method. Figure 1 shows a flow chart of a data preloading method provided by an embodiment of the present application. As shown in Figure 1, the data preloading method provided by the embodiment of the present application may include the following steps 201 to 203.
步骤201、终端获取第一弱网区域信息。Step 201: The terminal obtains the first weak network area information.
本申请实施例中,上述第一弱网区域信息包括至少一个弱网区域的地点信息和时间信息,该第一弱网区域信息基于时间场景、时间段、运营商,计算卡顿指标,并将该卡顿指标与终端所在地区进行结合获得。In the embodiment of this 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 the stuck indicator based on the time scenario, time period, and operator, and The lag indicator is obtained by combining the region where the terminal is located.
本申请实施例中,终端可以获取第一弱网区域信息,然后根据第一弱网区域信息,确定第一区域(即终端当前所在的区域)到第二区域(即预测的终端需要到达的区域)之间存在的目标弱网区域,使得终端可以在进入目标弱网区域前预加载数据。In the embodiment of this application, the terminal can obtain the first weak network area information, and then determine the first area (that is, the area where the terminal is currently located) to the second area (that is, the area that the terminal is predicted to reach) based on the first weak network area information. ) allows the terminal to preload data before entering the target weak network area.
可选地,本申请实施例中,终端可以从服务器中获取第一弱网区域信息;或者,终端可以从终端中预存的弱网区域信息中获取第一弱网区域信息。Optionally, in this embodiment of the present application, the terminal can obtain the first weak network area information from the server; or, the terminal can obtain the first weak network area information from the weak network area information pre-stored in the terminal.
需要说明的是,上述至少一个弱网区域中的每个弱网区域可以理解为:网络质量/信号质量小于或等于一个预设阈值的区域,或者网络质量/信号质量在一个预设范围/等级的区域。例如:网络质量可以划分为1-10个等级,区域的网络质量等级越高,该区域的网络质量越好,当某个区域的网络质量等级小于或等于等级5时,该区域为弱网区域,当某个区域的网络质量等级大于等级5时,该区域为非弱网区域。It should be noted that each of the above-mentioned at least one weak network area can be understood as: an area where the network quality/signal quality is less than or equal to a preset threshold, or the network quality/signal quality is within a preset range/level Area. For example: network quality can be divided into levels 1-10. The higher the network quality level of an 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. , when the network quality level of a certain area is greater than level 5, the area is a non-weak network area.
可选地,本申请实施例中,上述至少一个弱网区域中的每个弱网区域的地点信息包括两个地点信息,每个弱网区域为从一个地点到另一个地点之间的区域,即每个弱网区域的两个地点信息为每个弱网区域所对应的两个地点的地点信息。例如,一个弱网区域为地点A与地点B之间的区域,则地点A的地点信息和地点B的地点信息为该弱网区域的地点 信息。Optionally, in this 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 from one location to another location. That is, the two location information of each weak network area is the location information of the two locations corresponding to each weak network area. For example, a weak network area is the area between location A and location B, then the location information of location A and the location information of location B are the locations of the weak network area. information.
可选地,本申请实施例中,终端可以通过接收多个终端发送的至少一个历史卡顿数据和至少一个历史场景识别数据,根据至少一个历史场景识别数据对每个终端历史加载数据时所经过的区域对应的时间信息进行划分,得到至少一个时间段,然后将至少一个历史卡顿数据映射到该至少一个时间段,即可得到每个终端历史加载数据时所经过的区域中存在的弱网区域。Optionally, in this embodiment of the present application, the terminal can receive at least one historical lag data and at least one historical scene identification data sent by multiple terminals, and use the at least one historical scene identification data to record the history of each terminal when loading data. Divide the time information corresponding to the area to obtain at least one time period, and then map at least one historical lag data to the at least one time period to obtain the weak network that exists in the area through which each terminal historically loads data. area.
可选地,本申请实施例中,上述至少一个弱网区域的时间信息包括至少一个时间场景信息和至少一个时间段;至少一个弱网区域中的一个弱网区域的时间信息包括一个时间场景信息和与该一个时间场景信息对应的时间段,该一个时间场景信息用于指示该一个弱网区域对应的时间场景。Optionally, in this 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 in the at least one weak network area includes a time scene information. and a time period corresponding to the one time scene information. The one time scene information is used to indicate the time scene corresponding to the one weak network area.
可选地,本申请实施例中,上述至少一个弱网区域的时间场景信息指示的时间场景包括以下至少一项:非节假日、节假日、工作日、非工作日、工作日早高峰、工作日晚高峰、工作日早晚高峰、工作日非高峰等。Optionally, in the embodiment of the present application, the time scene indicated by the time scene information of the at least one weak network area includes at least one of the following: non-holiday, holiday, working day, non-working day, working day morning peak, working day evening Peak hours, morning and evening peak hours on weekdays, off-peak hours on weekdays, etc.
可选地,本申请实施例中,上述至少一个弱网区域中的每个弱网区域的时间段包括起始时间和结束时间,该时间段的起始时间为终端历史进入某个弱网区域的时间距离终端历史进入第一个地点的时间;该时间段的结束时间为历史离开该弱网区域的时间距离终端历史进入第一个地点的时间,该时间段的起始时间和结束时间的差值为每个弱网区域在其所处的两个地点之间数据加载异常的持续时长。Optionally, in this embodiment of the present application, the time period of each weak network area in the at least one weak network area includes a start time and an end time, and the start time of the time period is the terminal's history of entering a certain weak network area. The time from the time when the terminal entered the first location in history; the end time of this time period is the time between the time when history left the weak network area and the time when the terminal entered the first location in history. The start time and end time of this time period are The difference is the duration of abnormal data loading between the two locations in each weak network area.
示例性地,以第一弱网区域信息为地铁场景下的弱网区域信息为例进行说明,一个弱网区域位于地铁站A与地铁站B之间,终端1历史进入地铁站A的时间为7点10分,在地铁行驶过程中,终端1历史进入该弱网区域时的时间为7点11分,则该弱网区域对应的时间段的起始时间为进入地铁站A的第60秒;终端1历史离开该弱网区域时的时间为7点12分,则该弱网区域对应的时间段的结束时间为进入地铁站A的第120秒,则该弱网区域的时间段为进入地铁站A之后的第60秒至进入地铁站A之后的第120秒,则该弱网区域的持续时长为60秒。For example, the first weak network area information is the weak network area information in a subway scenario. A weak network area is located between subway station A and subway station B. The historical time for terminal 1 to enter subway station A is At 7:10, while the subway is traveling, the historical time when terminal 1 entered the weak network area is 7:11, then the starting 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, then the end time of the time period corresponding to the weak network area is the 120th second after entering subway station A, then the time period of entering the weak network area is From the 60th second after subway station A to the 120th second after entering subway station A, the duration of the weak network area is 60 seconds.
可以理解,一个弱网区域的地点信息为地点A-地点B,时间场景为工作日早高峰,时间段为与工作日早高峰对应的在地点A与地点B之间出现数据加载异常时的时间段。It can be understood that the location information of a weak network area is location A-location B, the time scenario is the morning peak on weekdays, and the time period is the time when a data loading exception occurs between location A and location B corresponding to the morning peak on weekdays. part.
可选地,本申请实施例中,上述步骤201具体可以通过下述的步骤201a实现。Optionally, in this embodiment of the present application, the above step 201 can be specifically implemented through the following step 201a.
步骤201a、终端获取至少一个历史卡顿数据和至少一个历史场景识别数据,每个历史卡顿数据用于指示一个终端历史加载数据时出现加载异常的地点信息和时间信息,每个历史场景识别数据用于指示一个终端历史加载数据时所经过的区域对应的时间信息;根据每个历史场景识别数据,对每个终端历史加载数据时所经过的区域对应的时间信息进行划分,得到至少一个时间段;将至少一个历史卡顿数据映射到该至少一个时间段、至少一个运营商和至少一个时间场景信息,并计算卡顿指标,该卡顿指标包括不同运营商下所有卡顿的时间段在不同时间场景的卡顿用户比和平均卡顿时长;根据该卡顿用户比和平均卡顿时长,将不同运营商下所有卡顿的时间段中卡顿用户比和平均卡顿时长满足预设条件的目标时间段、该目标时间段对应的地点信息和目标时间段对应的时间场景确定为至少一个弱网区域信息,并将该至少一个弱网区域信息中与终端所在地区的、且与终端的运营商对应的弱网区域信息,确定为第一弱网区域信息。 Step 201a: The terminal obtains at least one historical lag data and at least one historical scene recognition data. Each historical lag data is used to indicate the location information and time information of a loading abnormality when a terminal historically loads data. Each historical scene recognition data Used to indicate the time information corresponding to the area that a terminal passes through when loading data in history; according to each historical scene recognition data, divide the time information corresponding to the area that each terminal passes through when loading data in history, and obtain at least one time period. ;Map at least one historical lag data to the at least one time period, at least one operator, and at least one time scene information, and calculate the lag index, which includes all lag time periods under different operators in different The lag user ratio and average lag duration of the time scenario; based on the lag user ratio and the average lag duration, the lag user ratio and the average lag duration in all lag time periods under different operators meet the preset conditions The target time period, 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 at least one weak network area information is related to the area where the terminal is located and to the terminal. The weak network area information corresponding to the operator is determined as the first weak network area information.
需要说明的是,一个终端历史加载数据时出现加载异常的地点信息可以理解为:一个终端历史加载数据出现加载异常时所处的区域的地点信息。一个终端历史加载数据时出现加载异常的时间信息可以理解为:一个终端历史加载数据出现加载异常时的开始时间和结束时间,即一个终端历史加载数据出现加载异常时所处的区域对应的开始时间(即进入这个区域的时间)和结束时间(即离开这个区域的时间)。It should be noted that the location information of a terminal where a loading exception occurs when loading historical data can be understood as: the location information of the area where a terminal is located when a loading exception occurs when historical loading data occurs. The time information of a loading exception when a terminal historically loads data can be understood as: the start time and end time when a terminal's historical loading data encounters a loading exception, that is, the start time corresponding to the area where a terminal's historical loading data occurs when a loading exception occurs. (i.e. the time of entering this area) and the end time (i.e. the time of leaving this area).
需要说明的是,一个终端历史加载数据时所经过的区域可以理解为:一个终端历史加载数据的过程中进入某个区域到离开该某个区域;一个终端历史加载数据时所经过的区域对应的时间可以理解为:一个终端历史加载数据的过程中进入某个区域的时间和离开该某个区域的时间。It should be noted that the area a terminal passes through when loading data in history can be understood as: a terminal enters a certain area during the process of loading data and leaves the area; the area a terminal passes through when loading data in history corresponds to Time 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 loading historical data on a terminal.
示例性地,一个历史卡顿数据可以为:3月1日的7点10分-7点11分终端1在地铁A站到地铁B站之间的区域C加载数据时出现加载异常,则终端历史加载数据时出现加载异常的地点信息为地铁A站-地铁B站,时间信息为3月1日的7点10分-7点11分;对应的一个历史场景识别数据可以为:终端1历史加载数据的过程中,进入地铁A站的时间3月1日的7点05分,离开地铁B站的时间3月1日的7点15分。For example, a piece of historical lag data can be: Terminal 1 has a loading exception when loading data in area C between subway station A and subway station B from 7:10 to 7:11 on March 1, then the terminal The location information where abnormal loading occurs when loading historical data is subway station A-subway station B, and the time information is 7:10-7:11 on March 1; the corresponding historical scene identification data can be: Terminal 1 history During the process of loading data, the time of entering subway station A is 7:05 on March 1, and the time of leaving subway station B is 7:15 on March 1.
可选地,本申请实施例中,终端根据每个历史场景识别数据,对每个终端历史加载数据时所经过的区域对应的时间信息进行划分时,可以将终端历史进入某个区域的时间到开始经过该区域的时间,和终端结束经过该区域的时间到离开该区域的时间分别划分为两个时间段,并将终端开始经过该区域的时间和结束经过该区域的时间之间的时间段按照等间隔(例如Q秒,Q值可以根据实际使用需求进行调整)进行划分。Optionally, in the embodiment of the present application, when the terminal divides the time information corresponding to the area that each terminal passes through when loading data according to each historical scene identification data, the time when the terminal enters a certain area in history can be divided. The time when the terminal starts passing through the area and the time when the terminal ends passing through the area and the time when it leaves the area are divided into two time periods respectively, and the time period between the time when the terminal starts passing through the area and the time when it ends passing through the area is divided into two time periods. Divide according to equal intervals (such as Q seconds, the Q value can be adjusted according to actual usage requirements).
示例性地,如图2所示,场景识别数据1为:终端1进入地铁站A的时间eTime_A和离开地铁站B的时间lTime_B,可以将终端1进入地铁站A的时间eTime_A到终端离开地铁站A的时间lTime_A(即终端在地铁站A等候的时间),以及将终端到达地铁站B的时间eTime_B到终端离开地铁站B的时间lTime_B(即终端在地铁站B等候的时间)分别作为两个时间段,并将终端离开地铁站A到终端进入地铁站B(即lTime_A和eTime_B)之间的时间段按照等间隔Q秒划分,最终得到若干个时间段:[eTime_A,lTime_A),[lTime_A,lTime_A+Q),[lTime_A+Q,lTime_A+2Q),……,[lTime_A+nQ,eTime_B),[eTime_B,lTime_B)。For example, as shown in Figure 2, the scene recognition data 1 is: the time eTime_A when the terminal 1 enters the subway station A and the time lTime_B when it leaves the subway station B. The time eTime_A when the terminal 1 enters the subway station A can be divided into the time eTime_A when the terminal leaves the subway station. The time lTime_A of A (i.e., the time the terminal waits at subway station A), and the time eTime_B when the terminal arrives at subway station B to the time lTime_B (i.e., the time the terminal waits at subway station B) when the terminal leaves subway station B (i.e., the time the terminal waits at subway station B) are respectively regarded as two time period, and divide the time period between the terminal leaving subway station A and the terminal entering subway station B (i.e. lTime_A and eTime_B) at equal intervals Q seconds, and finally obtain several time periods: [eTime_A, lTime_A), [lTime_A, lTime_A+Q), [lTime_A+Q, lTime_A+2Q), ..., [lTime_A+nQ, eTime_B), [eTime_B, lTime_B).
本申请实施例中,运营商区分为移动运营商、联通运营商和电信运营商。In the embodiment of this application, operators are divided into mobile operators, China Unicom operators and telecommunications operators.
可选地,本申请实施例中,终端统计不同运营商下所有卡顿的时间段在不同时间场景的卡顿用户比和平均卡顿时长时,可以统计周期为预设周期(例如历史一个月)的卡顿用户比和平均卡顿时长。Optionally, in this embodiment of the present application, when the terminal counts the lag user ratio and average lag duration in different time scenarios for all stuck time periods under different operators, the statistical period can be a preset period (for example, one month in history). )'s lag user ratio and average lag time.
可选地,本申请实施例中,终端将至少一个历史卡顿数据映射到至少一个时间段、至少一个运营商和至少一个时间场景信息,因此可以得到不同运营商下:某个时间场景下在某个卡顿的时间段发生卡顿的用户数、某个时间场景下经过某个卡顿的时间段的总用户数以及某个时间场景下在某个卡顿的时间段的总卡段时长;使得终端可以根据这些信息计算出在某个时间场景下某个卡顿的时间段的卡顿用户比,以及在某个时间场景下某个卡顿的时间段的平均卡顿时长,从而得到不同运营商下所有卡顿的时间段在不同时间场景的卡顿用户比和平均卡顿时长。Optionally, in this embodiment of the present application, the terminal maps at least one historical lag data to at least one time period, at least one operator and at least one time scenario information. Therefore, it can obtain: under different operators: in a certain time scenario. The number of users experiencing lag in a certain time period, the total number of users who experienced a certain lag period in a certain time scenario, and the total duration of the lag period in a certain time scenario. ; The terminal can use this information to calculate the ratio of stuck users in a certain stuck time period in a certain time scenario, and the average stuck duration in a certain stuck time period in a certain time scenario, thereby obtaining The ratio of stuck users and the average stuck time in different time scenarios for all stuck time periods under different operators.
具体计算方式如下: The specific calculation method is as follows:
某个时间场景下某个卡顿的时间段的卡顿用户比=某个时间场景下在某个卡顿的时间段发生卡顿的用户数/某个时间场景下经过某个卡顿的时间段的总用户数;The ratio of stuck users in a certain stuck time period in a certain time scenario = the number of users who are stuck in a certain stuck time period in a certain time scenario / the time that elapsed after a certain stuck time in a certain time scenario The total number of users in the segment;
例如:工作日早高峰在卡顿的时间段1发生卡顿的用户数为10,工作日早高峰经过卡顿的时间段1的总用户数为20,则工作日早高峰时卡顿的时间段1的卡顿用户比为10÷20=50%;For example: the number of users who are stuck during the stuck time period 1 during the morning peak on weekdays is 10, and the total number of users who are stuck during the stuck time period 1 during the morning peak on weekdays is 20, then the time of the jam during the morning peak on weekdays The ratio of stuck users in segment 1 is 10÷20=50%;
某个时间场景下某个卡顿的时间段的平均卡顿时长=某个时间场景下在某个卡顿的时间段的总卡段时长/某个时间场景下经过某个卡顿的时间段的总用户数。The average lag duration in a certain lag time period in a certain time scenario = the total lag duration in a certain lag time period in a certain time scenario/the total lag time period in a certain time scenario of total users.
例如:工作日早高峰在卡顿的时间段1的总卡段时长为300秒,工作日早高峰经过卡顿的时间段1的总用户数为20,则工作日早高峰时卡顿的时间段1的平均卡顿时长为300÷20=15秒。For example: the total duration of the jam period during the morning peak on weekdays is 300 seconds, and the total number of users passing through the jammed period 1 during the morning peak on weekdays is 20, then the total jam time during the morning peak on weekdays is 20 seconds. The average lag time in segment 1 is 300÷20=15 seconds.
可选地,本申请实施例中,终端计算用户数时,针对同一时间单位(例如同一天)内同一用户仅计一次,针对同一用户在不同时间单位可以记为不同用户。Optionally, in this embodiment of the present application, when the terminal calculates the number of users, the same user in the same time unit (for example, the same day) is only counted once, and the same user in different time units can be recorded as different users.
可选地,本申请实施例中,终端得到不同运营商下所有卡顿的时间段在不同时间场景的卡顿用户比和平均卡顿时长之后,可以按照地区划分对每个运营商下所有卡顿的时间段在不同时间场景的卡顿用户比和平均卡顿时长进行排名,分别得到每个地区的每个运营商下所有卡顿的时间段在不同时间场景的卡顿用户比的排名和平均卡顿时长的排名,然后对卡顿用户比的排名和平均卡顿时长的排名计算权重得到每个地区的每个运营商下所有卡顿的时间段在不同时间场景的最终排名;Optionally, in the embodiment of this application, after the terminal obtains the time periods of all jams under different operators, the user ratio of jams in different time scenarios and the average jam duration, it can divide all jams under each operator according to the region. The lag time period is ranked by the lag user ratio and the average lag duration in different time scenarios, and the ranking and the lag user ratio of all lag time periods in different time scenarios under each operator in each region are obtained. Ranking of average lag duration, and then calculating the weight of the ranking of lag user ratio and average lag duration to obtain the final ranking of all lag time periods under different time scenarios for each operator in each region;
具体对两者计算权重的方式如下:
rank=α*rank1+(1-α)*rank2
The specific way to calculate the weight of the two is as follows:
rank=α*rank1+(1-α)*rank2
其中,rank1为卡顿用户比的排名,rank2为平均卡顿时长的排名,α为rank1的权重,可以以0.5为例,实际可以根据两者的关注侧重不同调整α的值。Among them, rank1 is the ranking of the lag user ratio, rank2 is the ranking of the average lag duration, and α is the weight of rank1. You can take 0.5 as an example. In fact, the value of α can be adjusted according to the different focuses of the two.
可选地,本申请实施例中,计算得到每个地区的每个运营商下所有卡顿的时间段在不同时间场景的最终排名之后,将每个地区的每个运营商下排名前A%(例如:25%)的卡顿的时间段,卡顿的时间段对应的地点信息以及卡顿的时间段对应的时间场景确定为至少一个弱网区域信息(即将不同运营商下所有卡顿的时间段中卡顿用户比和平均卡顿时长满足预设条件的目标时间段、目标时间段对应的地点信息和目标时间段对应的时间场景确定为至少一个弱网区域信息),具体A的数值本申请实施例不做限制。Optionally, in the embodiment of this application, after calculating the final ranking of all stuck time periods under each operator in each region in different time scenarios, the top A% of each operator in each region are ranked (For example: 25%) of the stuck time period, the location information corresponding to the stuck time period and the time scene corresponding to the stuck time period are determined as at least one weak network area information (that is, all stuck information under different operators) The target time period in which the lag user ratio and the average lag duration in the time period meet the preset conditions, the location information corresponding to the target time period, and the time scene corresponding to the target time period are determined to be at least one weak network area information), the specific value of A The embodiments of this application are not limiting.
可选地,本申请实施例中,终端将每个地区的每个运营商下排名前A%(例如:25%)的卡顿的时间段,卡顿的时间段对应的地点信息以及卡顿的时间段对应的时间场景确定为至少一个弱网区域信息之后,将至少一个弱网区域信息中与终端所在地区的、且与终端的运营商对应的弱网区域信息,确定为第一弱网区域信息,例如:终端所在地区为地区1,终端使用的网络运营商为移动运营商,则将至少一个弱网区域信息中与地区1对应的移动运营商下的排名前A%(例如:25%)的卡顿的时间段,卡顿的时间段对应的地点信息以及卡顿的时间段对应的时间场景确定为第一弱网区域信息。Optionally, in this embodiment of the present application, the terminal ranks the top A% (for example: 25%) of stuck time periods for each operator in each region, the location information corresponding to the stuck time period, and the stuck time periods. After the time scenario corresponding to the time period is determined as at least one weak network area information, the weak network area information in the at least one weak network area information that is in the area where the terminal is located and corresponds to the operator of the terminal is determined as the first weak network Regional information, for example: the area where the terminal is located is Region 1, and the network operator used by the terminal is a mobile operator, then the top A% of the mobile operator corresponding to Region 1 in at least one weak network area information (for example: 25 %) of the stuck time period, the location information corresponding to the stuck time period and the time scene corresponding to the stuck time period are determined as the first weak network area information.
步骤202、终端根据第一弱网区域信息,确定第一区域到第二区域之间存在的目标弱网区域。Step 202: The terminal determines the target weak network area existing between the first area and the second area based on the first weak network area information.
本申请实施例中,上述第一区域为终端当前所在的区域,第二区域为预测的目标区域(即预测的终端需要到达的区域)。 In the embodiment of the present application, the above-mentioned first area is the area where the terminal is currently located, and the second area is the predicted target area (that is, the area that the predicted terminal needs to reach).
可选地,本申请实施例中,当终端当前所在的区域为第一区域时,终端可以根据场景识别和线路数据预测出终端即将到达的下一个区域(即第二区域)。Optionally, in this 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 (that is, the second area) that the terminal is about to arrive based on scene recognition and line data.
示例性地,当终端当前所在的区域(即第一区域)为地铁站A时,终端根据场景识别和地铁线路数据可以预测出终端即将到达的下一个区域(即第二区域)为地铁站B。For example, 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. .
可选地,本申请实施例中,上述至少一个弱网区域的时间信息包括至少一个时间场景信息和至少一个时间段,一个弱网区域的时间信息包括一个时间场景信息和与该一个时间场景信息对应的时间段,该一个时间场景信息用于指示该一个弱网区域对应的时间场景。上述步骤202具体可以通过下述的步骤202a实现。Optionally, in this embodiment of the present application, the time information of at least one weak network area includes at least one time scene information and at least one time period, and the time information of one weak network area includes one time scene information and the one time scene information. The corresponding time period, the time scene information is used to indicate the time scene corresponding to the weak network area. The above step 202 can be implemented specifically through the following step 202a.
步骤202a、在第一区域对应的时间场景信息与至少一个时间场景信息中的第一时间场景信息匹配的情况下,终端将第一区域到第二区域之间的第三区域确定为目标弱网区域。Step 202a: When the time scene information corresponding to the first area matches the first time scene information in at least one time scene information, the terminal determines the third area between the first area and the second area as the target weak network. area.
本申请实施例中,上述第三区域为终端需要经过的、且与第一时间段对应的区域,第一时间段为与第一时间场景信息对应的时间段。In the embodiment of the present application, the above-mentioned 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.
可以理解,当终端预测出终端即将到达的下一个区域(即第二区域),且终端到达第一区域时的时间对应的时间场景信息与至少一个时间场景信息中的第一时间场景信息匹配的情况下,终端可以确定出与第一时间场景信息对应的第一区域到第二区域之间出现数据加载异常的第一时间段,并将与第一时间段对应的第三区域确定为目标弱网区域。It can be understood that when the terminal predicts the next area (i.e., the second area) that the terminal is about to arrive, and the time scene information corresponding to the time when the terminal reaches the first area matches the first time scene information in at least one time scene information, In this case, the terminal may determine the first time period in which the data loading abnormality occurs between the first area corresponding to the first time scene information and the second area, and determine the third area corresponding to the first time period as the target weak area. network area.
需要说明的是,第一区域对应的时间场景信息可以理解为:终端到达第一区域时的时间所对应的时间场景信息。例如,终端到达第一区域时的时间为周一的8点30分,则第一区域对应的时间场景信息指示的时间场景为工作日早高峰。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 in the first area. For example, if the time when the terminal arrives in the first area is 8:30 on Monday, then the time scene indicated by the time scene information corresponding to the first area is the morning peak on weekdays.
示例性地,当终端当前所在的区域(即第一区域)为地铁站A时,终端根据场景识别和地铁线路数据可以预测出终端即将到达的下一个区域(即第二区域)为地铁站B,并且当终端到达地铁站A(即第一区域)时的时间为周一的8点30分,则第一区域对应的时间场景信息指示的时间场景为工作日早高峰,当终端在工作日早高峰到达地铁站A的情况下,终端可以判断至少一个时间场景信息中是否有与工作日早高峰匹配的时间场景,在至少一个时间场景信息中有与工作日早高峰匹配的第一时间场景信息时,终端可以确定出与第一时间场景信息对应的地铁站A-地铁站B(即第一区域到第二区域)之间出现数据加载异常的第一时间段,并将与第一时间段对应的区域确定为目标弱网区域。For example, 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), the time is 8:30 on Monday, then the time scene indicated by the time scene information corresponding to the first area is the morning peak on weekdays. When the peak arrives at subway station A, the terminal can determine whether at least one time scene information contains a time scene that matches the morning peak on weekdays, and whether at least one time scene information contains the first time scene information that matches the morning peak on weekdays. At that time, the terminal can determine the first time period when data loading abnormality occurs between subway station A and subway station B (ie, the first area to the second area) corresponding to the first time scene information, and will match the first time period with the first time period. The corresponding area is determined as the target weak network area.
步骤203、终端在进入目标弱网区域之前的目标时间内,预加载与目标弱网区域对应的数据。Step 203: The terminal preloads data corresponding to the target weak network area within the target time before entering the target weak network area.
可选地,本申请实施例中,终端可以在进入目标弱网区域前的预设时刻(例如用户预先设置的时刻或终端系统默认的时刻)预加载与目标弱网区域对应的数据,在进入目标弱网区域前的任何一个时刻预加载与目标弱网区域对应的数据、或者在进入目标弱网区域前的目标时间内,预加载与目标弱网区域对应的数据。Optionally, in this embodiment of the present application, the terminal can preload the data corresponding to the target weak network area at a preset time before entering the target weak network area (such as a time preset by the user or a default time of the terminal system). Preload the data corresponding to the target weak network area at any time before the target weak network area, or preload the data corresponding to the target weak network area within the target time before entering the target weak network area.
可选地,本申请实施例中,上述步骤203具体可以通过下述的步骤203a实现。Optionally, in this embodiment of the present application, the above step 203 can be specifically implemented through the following step 203a.
步骤203a、终端根据第一信息确定目标时间,并从目标时间开始预加载与目标弱网区域对应的数据。Step 203a: The terminal determines the target time based on the first information, and preloads data corresponding to the target weak network area starting from the target time.
本申请实施例中,上述目标时间为进入目标弱网区域前的一个时间点,第一信息包括以下至少一项:待预加载的数据的类型信息、待预加载的数据对应的应用程序的类型信息、终端进入目标弱网区域前所在的区域的网络质量。 In the embodiment of this 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, and the type of application program corresponding to the data to be preloaded. Information and network quality of the area where the terminal was before entering the target weak network area.
本申请实施例中,终端可以根据第一信息,在进入目标弱网区域前的一个时间点(即从目标时间)开始预加载与目标弱网区域对应的数据,例如:在进入目标弱网区域前的20秒开始预加载与目标弱网区域对应的数据。In this embodiment of the present application, the terminal can preload data corresponding to the target weak network area from a time point before entering the target weak network area (that is, from the target time) based on the first information, for example: before entering the target weak network area The data corresponding to the target weak network area starts to be preloaded in the first 20 seconds.
可选地,本申请实施例中,上述待预加载的数据的类型信息可以为以下任一项:网页/文本数据类型信息、视频数据类型信息、音频数据类型信息、图像数据类型信息。Optionally, in this embodiment of the present application, the type information of the data to be preloaded can be any of the following: web page/text data type information, video data type information, audio data type information, and image data type information.
可选地,本申请实施例中,每个类型信息分别对应开始预加载数据的一个时间;终端可以根据待预加载的数据的类型信息,将与该类型信息对应的时间确定为终端开始预加载与目标弱网区域对应的数据的时间(即目标时间)。Optionally, in the 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 for the terminal to start preloading according to the type information of the data to be preloaded. The time of the data corresponding to the target weak network area (that is, the target time).
可以理解,上述待预加载数据的类型信息不同,终端加载数据时所需的网络速率不同,所以终端加载数据时的速度不同,加载数据所需的时长不同,因此终端开始预加载数据的时间不同。It can be understood that the above-mentioned type information of data to be preloaded is different, the network rate required when the terminal loads data is different, so the speed when the terminal loads data is different, and the time required to load data is different, so the time when the terminal starts preloading data is different. .
示例性地,在待预加载的数据的类型信息为视频数据类型信息时,终端可以在进入目标弱网区域前的60秒开始预加载与目标弱网区域对应的数据;在待预加载的数据的类型信息为文本数据类型信息时,终端可以在进入目标弱网区域前的20秒开始预加载与目标弱网区域对应的数据。For example, 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 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.
可选地,本申请实施例中,上述待预加载的数据对应的应用程序的类型可以为以下任一项:视频播放类应用程序、音频播放类应用程序、阅读类应用程序、网页类应用程序等、游戏类应用程序等。具体的可以根据实际使用需求确定,本申请实施例不做限制。Optionally, in this embodiment of the present application, the type of application corresponding to the data to be preloaded can be any of the following: video playback applications, audio playback applications, reading applications, and web page applications. etc., game applications, etc. The details can be determined according to actual usage requirements, and are not limited by the embodiments of this application.
可选地,本申请实施例中,每个应用程序的类型分别对应开始预加载数据的一个时间;终端可以根据待预加载的数据对应的应用程序的类型,将与该类型对应的时间确定为终端开始预加载与目标弱网区域对应的数据的时间(即目标时间)。Optionally, in this embodiment of the application, each application type corresponds to a time to start preloading data; the terminal can determine the time corresponding to the type according to the type of application corresponding to the data to be preloaded as The time when the terminal starts preloading data corresponding to the target weak network area (ie, the target time).
可以理解,上述待预加载的数据对应的应用程序的类型不同,则待预加载的数据类型不同,终端加载数据时所需的网络速率不同,所以终端加载数据时的速度不同,加载数据所需的时长不同,因此终端开始预加载数据的时间不同。It can be understood that the types of applications corresponding to the above-mentioned data to be preloaded are different, so the types of data to be preloaded are different, and the network rates required when the terminal loads data are different. Therefore, the speed when the terminal loads data is different, and the speed required to load the data is different. The length of time is different, so the time when the terminal starts preloading data is different.
示例性地,在待预加载的数据对应的应用程序的信息为视频播放类应用程序的信息时,终端可以在进入目标弱网区域前的60秒开始预加载与目标弱网区域对应的数据;在待预加载的数据对应的应用程序的信息为阅读类应用程序的信息时,终端可以在进入目标弱网区域前的20秒开始预加载与目标弱网区域对应的数据。For example, when the application information corresponding to the data to be preloaded is information about 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 application information corresponding to the data to be preloaded is information about 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.
可选地,本申请实施例中,终端进入目标弱网区域前所在的区域的网络质量不同,则对应开始预加载与目标弱网区域对应的数据的一个时间不同,终端可以根据终端进入目标弱网区域前所在的区域的网络质量,将与该网络质量对应的时间确定为终端开始预加载与目标弱网区域对应的数据的时间(即目标时间)。Optionally, in the embodiment of the present application, if the network quality of the area where the terminal is located before entering the target weak network area is different, the time to start preloading the data corresponding to the target weak network area is different. The terminal can be based on the terminal entering the target weak network area. The network quality of the area in front of the network area is determined, and the time corresponding to the network quality is determined as the time when the terminal starts preloading the data corresponding to the target weak network area (ie, the target time).
可以理解,终端进入目标弱网区域前所在的区域的网络质量不同,终端加载数据时的速度不同,所以终端加载数据所需的时长不同,因此终端开始预加载与目标弱网区域对应的数据的时间不同。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 when the terminal loads data is different, so the time required for the terminal to load data is different, so the terminal starts to preload the data corresponding to the target weak network area. Times are different.
示例性地,网络质量可以划分为1-10个等级,区域的网络质量等级越高,该区域的网络质量越好,当终端进入目标弱网区域前所在的区域的网络质量等级为6时,终端可以在进入目标弱网区域前的60秒开始预加载与目标弱网区域对应的数据;当终端进入目标弱网区域前所在的区域的网络质量等级为9时,终端可以在进入目标弱网区域前的20秒开 始预加载与目标弱网区域对应的数据。For example, the network quality can be divided into levels of 1-10. The higher the network quality level of the area, the better the network quality of the area. When the network quality level of the area where the terminal is 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 enter the target weak network area. Open 20 seconds before the zone Start preloading data corresponding to the target weak network area.
可选地,本申请实施例中,终端在进入目标弱网区域前的目标时间内,可以预加载与目标弱网区域对应的预设容量(例如用户预先设置的容量或终端系统默认的容量)的数据或目标容量的数据。Optionally, in the embodiment of the present application, the terminal can preload the preset capacity corresponding to the target weak network area (such as the capacity preset by the user or the default capacity of the terminal system) within the target time before entering the target weak network area. data or target capacity data.
可选地,本申请实施例中,上述步骤203具体可以通过下述的步骤203b实现。Optionally, in this embodiment of the present application, the above step 203 can be specifically implemented through the following step 203b.
步骤203b、终端在进入目标弱网区域之前的目标时间内,预加载与目标弱网区域对应的目标容量的数据。Step 203b: The terminal preloads the target capacity data corresponding to the target weak network area within the target time before entering the target weak network area.
本申请实施例中,上述目标容量由以下至少一项确定:目标弱网区域对应的时间段长度、待预加载的数据的类型信息。In the embodiment of this application, the above 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.
需要说明的是,上述目标弱网区域对应的时间段长度可以理解为:目标弱网区域在其所处的两个地点之间数据加载异常的持续时长(即该时间段的起始时间和结束时间的差值)。It should be noted that the length of the time period corresponding to the above target weak network area can be understood as: the duration of abnormal data loading in the target weak network area between the two locations (that is, the start time and end time of the time period) time difference).
可选地,本申请实施例中,目标弱网区域对应的时间段长度不同,则对应预加载数据的一个容量不同;终端可以根据目标弱网区域对应的时间段长度(即目标弱网区域的持续时长),将与该时间段长度对应的容量确定为终端预加载与目标弱网区域对应的数据的容量(即目标容量)。Optionally, in the 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 length of the time period corresponding to the target weak network area (i.e., the length of the time period corresponding to the target weak network area). duration), the capacity corresponding to the length of the time period is determined as the capacity of the terminal to preload data corresponding to the target weak network area (ie, the target capacity).
可以理解,目标弱网区域对应的时间段长度不同,则目标弱网区域的持续时长不同,终端需要加载与该目标弱网区域持续时长对应容量的数据,使得终端预加载的与目标弱网区域对应的目标容量的数据满足终端在目标弱网区域期间使用。It can be understood that if the length of the time period corresponding to the target weak network area is different, the duration of the target weak network area is different. The terminal needs to load data corresponding to the duration of the target weak network area, so that the terminal preloads the same as the target weak network area. The corresponding target capacity data satisfies the terminal's use during the target weak network area.
示例性地,当目标弱网区域对应的时间段长度为20秒,即目标弱网区域的持续时长为20秒时,终端预加载100MB的数据;当目标弱网区域对应的时间段长度为60秒,即目标弱网区域的持续时长为60秒时,终端预加载300MB的数据。For example, when the length of the time period corresponding to the target weak network area is 20 seconds, that is, when the duration of the target weak network area is 20 seconds, the terminal preloads 100MB of data; when the length of the time period corresponding to the target weak network area is 60 seconds seconds, that is, when the duration of the target weak network area is 60 seconds, the terminal preloads 300MB of data.
可选地,本申请实施例中,每个类型信息分别对应预加载数据的一个容量;终端可以根据待预加载的数据的类型信息,将与该类型信息对应的容量确定为终端预加载与目标弱网区域对应的数据的容量(即目标容量)。Optionally, in the embodiment of the present application, each type information corresponds to a capacity of preloaded data; the terminal can determine the capacity corresponding to the type information as the terminal preload and target according to the type information of the data to be preloaded. The capacity of data corresponding to the weak network area (that is, the target capacity).
可以理解,上述待预加载数据的类型信息不同,则对应的数据大小不同,终端需要加载与该数据的类型对应容量的数据,使得终端预加载的与目标弱网区域对应的目标容量的数据满足终端在目标弱网区域期间使用。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 with a capacity corresponding to the type of data, so that the data of the target capacity corresponding to the target weak network area preloaded by the terminal meets the requirements. The terminal is used during the target weak network area.
示例性地,在待预加载的数据的类型信息为视频数据类型信息时,终端预加载300MB的数据;在待预加载的数据的类型信息为文本数据类型信息时,终端预加载100MB的数据。For example, when the type information of the data to be preloaded is video data type information, the terminal preloads 300 MB of data; when the type information of the data to be preloaded is text data type information, the terminal preloads 100 MB of data.
本申请实施例提供一种数据预加载方法,终端可以获取第一弱网区域信息,然后根据第一弱网区域信息,确定终端当前所在的区域到预测的目标区域(即预测的终端需要到达的区域)之间存在的目标弱网区域,使得终端在进入目标弱网区域前预加载数据。本方案中,由于终端在加载数据时可以根据第一弱网区域信息,来判断终端当前所在的区域到预测的目标区域之间是否存在弱网区域,并在存在弱网区域的情况下,在进入该弱网区域之前预加载数据,即终端在判断出当前所在的区域到预测的目标区域之间会出现数据加载异常的情况时,可以提前预加载数据,提高了终端对流媒体类应用进行数据预加载的多样性和灵活性,避免因网络问题无法查看信息。 Embodiments of the present application provide a data preloading method. The terminal can obtain the first weak network area information, and then determine the area where the terminal is currently located to the predicted target area (i.e., where the predicted terminal needs to reach) based on the first weak network area information. The target weak network area that exists between the target weak network areas allows the terminal to preload data before entering the target weak network area. In this solution, 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 based on the first weak network area information, and if a weak network area exists, Preload data before entering the weak network area. That is, when the terminal determines that there will be abnormal data loading between the current area and the predicted target area, it can preload the data in advance, which improves the data processing of streaming media applications by the terminal. The diversity and flexibility of preloading avoids being unable to view information due to network problems.
可选地,本申请实施例中,结合图1,如图3所示,在上述步骤203之后,本申请实施例提供的数据预加载方法还可以包括下述的步骤301。Optionally, in this embodiment of the present application, as shown in Figure 3 in conjunction with Figure 1, after the above step 203, the data preloading method provided by the embodiment of the present application may also include the following step 301.
步骤301、若第二时间段之前或之后的第三时间段出现数据加载异常的情况,则终端将第一弱网区域信息中与第二时间段对应的时间段更新为第四时间段。Step 301: If data loading anomaly occurs in the 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 the fourth time period.
本申请实施例中,上述第二时间段为目标弱网区域对应的时间段,第四时间段包括第二时间段和第三时间段。In the embodiment of the present application, the above-mentioned 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.
本申请实施例中,第三时间段的起点时刻或结束时刻与第二时间段重叠。可以理解,第三时间段的起点时刻与第二时间段的结束时刻相同,或者第三时间段的结束时刻与第二时间段的起点时刻相同。In the embodiment of the present application, the starting time or the ending time of the third time period overlaps with the second time period. It can be understood that the start time of the third time period is the same as the end time of the second time period, or the end time of the third time period is the same as the start time of the second time period.
本申请实施例中,终端在进入目标弱网区域前预加载数据之后,若在目标弱网区域对应的第二时间段之前或之后的第三时间段出现数据加载异常的情况,则终端将第一弱网区域信息中与目标弱网区域对应的第二时间段更新为包括第二时间段和第三时间段的第四时间段。In the embodiment of the present application, after the terminal preloads data before entering the target weak network area, if an abnormal data loading occurs before or in the third time period corresponding to the second time period corresponding to the target weak network area, the terminal will The second time period corresponding to the target weak network area in the weak network area information is updated to a fourth time period including the second time period and the third time period.
示例性地,第一弱网区域信息中与目标弱网区域对应的第二时间段为60秒-80秒,终端在地铁站A与地铁站B之间开始出现数据加载异常的情况时,距离终端进入地铁站A的时间为50秒,终端在地铁站A与地铁站B之间数据加载正常时,距离终端进入地铁站A的时间为60秒,则终端在50秒-60秒(即第三时间段)时处于弱网区域,则终端可以根据实际卡顿的时间将第一弱网区域信息中目标弱网区域对应的第二时间段更新为第四时间段50秒-80秒(即更新为包括第二时间段和三时间段的时间段)。For example, the second time period corresponding to the target weak network area in the first weak network area information is 60 seconds to 80 seconds. When the terminal starts to experience data loading abnormalities between subway station A and subway station B, the distance The time for the terminal to enter subway station A is 50 seconds. When the data loading between the terminal and subway station B is normal, the time until the terminal enters subway station A is 60 seconds. Then the terminal will be between 50 seconds and 60 seconds (that is, the first (three time periods) is in the weak network area, the terminal can update the second time period corresponding to the target weak network area in the first weak network area information to the fourth time period of 50 seconds to 80 seconds based on the actual stuck time (i.e. updated to include the second time period and the third time period).
本申请实施例中,终端在进入目标弱网区域前预加载数据之后,若在目标弱网区域对应的第二时间段之前或之后的第三时间段出现了数据加载异常的情况,则将第一弱网区域信息中与目标弱网区域对应的第二时间段更新为包括第二时间段和第三时间段的第四时间段,即根据终端实际卡顿的时间更新第一弱网区域信息,如此,提高了终端在弱网区域前预加载数据的精准性。In the embodiment of the present application, after the terminal preloads data before entering the target weak network area, if an abnormal data loading occurs before or in the third time period corresponding to the second time period corresponding to the target weak network area, the third time period will be The second time period corresponding to the target weak network area in the weak network area information is updated to the 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 jam time of the terminal. , In this way, the accuracy of terminal preloading data before weak network areas is improved.
图4示出了本申请实施例中涉及的数据预加载装置的一种可能的结构示意图。如图4所示,该数据预加载装置70可以包括:获取模块71、确定模块72和处理模块73。Figure 4 shows a possible structural schematic diagram of the data preloading device involved in the embodiment of the present application. As shown in FIG. 4 , the data preloading device 70 may include: an acquisition module 71 , a determination module 72 and a processing module 73 .
其中,获取模块71,用于获取第一弱网区域信息,该第一弱网区域信息包括至少一个弱网区域的地点信息和时间信息,该第一弱网区域信息基于时间场景、时间段、运营商,计算卡顿指标,并将该卡顿指标与终端所在地区进行结合获得。确定模块72,用于根据第一弱网区域信息,确定第一区域到第二区域之间存在的目标弱网区域,该第一区域为终端当前所在的区域,该第二区域为预测的目标区域。处理模块73,用于在进入目标弱网区域之前的目标时间内,预加载与目标弱网区域对应的数据。Among them, the acquisition module 71 is used to obtain the 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 time scene, time period, The operator calculates the lag index and combines the lag index with the region where the terminal is located to obtain it. The determination module 72 is configured to determine a target weak network area existing 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 configured to preload data corresponding to the target weak network area within a target time before entering the target weak network area.
本申请实施例提供一种数据预加载装置,由于终端在加载数据时可以根据第一弱网区域信息,来判断终端当前所在的区域到预测的目标区域(即预测的终端需要到达的区域)之间是否存在弱网区域,并在存在弱网区域的情况下,在进入该弱网区域之前预加载数据,即终端在判断出当前所在的区域到预测的目标区域之间会出现数据加载异常的情况时,可以提前预加载数据,提高了终端对流媒体类应用进行数据预加载的多样性和灵活性,避免因网络问题无法查看信息等。Embodiments of the present application provide a data preloading device. When loading data, the terminal can determine the area between the current area of the terminal and the predicted target area (that is, the area that the predicted terminal needs to reach) based on the first weak network area information. Whether there is a weak network area between them, and if there is a weak network area, preload data before entering the weak network area, that is, the terminal will have data loading abnormalities between the current area and the predicted target area. When the situation arises, data can be preloaded in advance, which improves the diversity and flexibility of data preloading for streaming media applications by the terminal and avoids being unable to view information due to network problems.
在一种可能的实现方式中,上述至少一个弱网区域的时间信息包括至少一个时间场景 信息和至少一个时间段,一个弱网区域的时间信息包括一个时间场景信息和与一个时间场景信息对应的时间段,一个时间场景信息用于指示一个弱网区域对应的时间场景;上述确定模块72,具体用于在第一区域对应的时间场景信息与至少一个时间场景信息中的第一时间场景信息匹配的情况下,将第一区域到第二区域之间的第三区域确定为目标弱网区域,该第三区域为终端需要经过的、且与第一时间段对应的区域,该第一时间段为与第一时间场景信息对应的时间段。In a 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 a weak network area; the above-mentioned determination module 72 , specifically used to determine the third area between the first area and the second area as the target weak network when the time scene information corresponding to the first area matches the first time scene information in at least one time scene information. area, 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 the time period corresponding to the first time scene information.
在一种可能的实现方式中,上述获取模块71,具体用于获取至少一个历史卡顿数据和至少一个历史场景识别数据,每个历史卡顿数据用于指示一个终端历史加载数据时出现加载异常的地点信息和时间信息,每个历史场景识别数据用于指示一个终端历史加载数据时所经过的区域对应的时间信息;根据每个历史场景识别数据,对每个终端历史加载数据时所经过的区域对应的时间信息进行划分,得到至少一个时间段;将至少一个历史卡顿数据映射到该至少一个时间段、至少一个运营商和至少一个时间场景信息,并计算卡顿指标,该卡顿指标包括不同运营商下所有卡顿的时间段在不同时间场景的卡顿用户比和平均卡顿时长;根据该卡顿用户比和平均卡顿时长,将不同运营商下所有卡顿的时间段中卡顿用户比和平均卡顿时长满足预设条件的目标时间段、该目标时间段对应的地点信息和该目标时间段对应的时间场景确定为至少一个弱网区域信息,并将该至少一个弱网区域信息中与终端所在地区的、且与终端的运营商对应的弱网区域信息,确定为第一弱网区域信息。In a possible implementation, the above-mentioned acquisition module 71 is specifically used to obtain at least one historical lag data and at least one historical scene identification data. Each historical lag data is used to indicate a loading exception when a terminal historically loads data. The location information and time information, each historical scene recognition data is used to indicate the time information corresponding to the area that a terminal passed when loading data in history; according to each historical scene recognition data, the time information that each terminal passed when loading data in history is Divide the time information corresponding to the area to obtain at least one time period; map at least one historical lag data to the at least one time period, at least one operator, and at least one time scene information, and calculate the lag index. Including the lag user ratio and average lag duration in different time scenarios for all lag time periods under different operators; based on the lag user ratio and the average lag duration, all the lag time periods under different operators are divided into The target time period in which the stuck user ratio and the average stuck duration satisfy the preset conditions, 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 at least one weak network area information is In the network area information, the weak network area information corresponding to the area where the terminal is located and the operator of the terminal is determined as the first weak network area information.
在一种可能的实现方式中,上述处理模块73,具体用于根据第一信息确定目标时间,并从目标时间开始预加载与目标弱网区域对应的数据,该目标时间为进入目标弱网区域前的一个时间点,第一信息包括以下至少一项:待预加载的数据的类型信息、待预加载的数据对应的应用程序的信息、终端进入目标弱网区域前所在的区域的网络质量。In a possible implementation, the above-mentioned processing module 73 is specifically configured to determine a target time based on the first information, and preload data corresponding to the target weak network area starting from the target time. The target time is when entering the target weak network area. At a time point before, the first information includes at least one of the following: type information of the data to be preloaded, information about the application program 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.
在一种可能的实现方式中,上述处理模块73,具体用于在进入目标弱网区域之前的目标时间内,预加载与该目标弱网区域对应的目标容量的数据,该目标容量由以下至少一项确定:目标弱网区域对应的时间段长度、待预加载的数据的类型信息。In a possible implementation, the above-mentioned processing module 73 is specifically used to preload the data of the target capacity corresponding to the target weak network area within the target time before entering the target weak network area. The target capacity is at least as follows: One determination: the length of the time period corresponding to the target weak network area and the type information of the data to be preloaded.
在一种可能的实现方式中,本申请实施例提供的数据预加载装置70还包括:更新模块。上述更新模块,用于在处理模块73在进入目标弱网区域之前的目标时间内,预加载与目标弱网区域对应的数据之后,若第二时间段之前或之后的第三时间段出现数据加载异常的情况,则将第一弱网区域信息中与第二时间段对应的时间段更新为第四时间段,该第二时间段为目标弱网区域对应的时间段,该第四时间段包括第二时间段和第三时间段。In a possible implementation, the data preloading device 70 provided by the embodiment of the present application further includes: an update module. The above-mentioned update module is used to preload data corresponding to the target weak network area 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. If data loading occurs before the second time period or in the third time period after In the abnormal situation, the time period corresponding to the second time period in the first weak network area information is updated to the fourth time period. The second time period is the time period corresponding to the target weak network area. The fourth time period includes The second time period and the third time period.
本申请实施例提供的数据预加载装置能够实现上述方法实施例中终端实现的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The data preloading device provided by the embodiments of the present application can realize each process implemented by the terminal in the above method embodiments, and can achieve the same technical effect. To avoid duplication, the details will not be described here.
本申请实施例中的数据预加载装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The data preloading device in the embodiment of the present application may be a device, or may be a component, integrated circuit, or chip in the terminal. The device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computers (personal computers, PC), televisions (television, TV), teller machines or self-service machines, etc., this application The examples are not specifically limited.
本申请实施例中的数据预加载装置可以为具有操作系统的装置。该操作系统可以为安 卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The data preloading device in the embodiment of the present application may be a device with an operating system. This operating system can install The Android operating system can be an ios operating system or other possible operating systems, which are not specifically limited in the embodiments of this application.
可选地,如图5所示,本申请实施例还提供一种终端800,包括处理器801、存储器802、存储在存储器802上并可在所述处理器801上运行的程序或指令,该程序或指令被处理器801执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in Figure 5, this embodiment of the present application also provides a terminal 800, including a processor 801, a memory 802, and programs or instructions 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 method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, the details will not be described here.
图6为实现本申请实施例的一种终端的硬件结构示意图。Figure 6 is a schematic diagram of the hardware structure of a terminal that implements an embodiment of the present application.
该终端100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The terminal 100 includes but is not limited to: 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, a processor 110 and other components. .
本领域技术人员可以理解,终端100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图6中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the terminal 100 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby managing charging, discharging, and power consumption through the power management system. Management and other functions. The terminal structure shown in FIG. 6 does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or some components may be combined or arranged differently, which will not be described again here.
其中,处理器110,用于获取第一弱网区域信息,该第一弱网区域信息包括至少一个弱网区域的地点信息和时间信息;根据第一弱网区域信息,确定第一区域到第二区域之间存在的目标弱网区域,该第一区域为终端当前所在的区域,该第二区域为预测的目标区域;并在进入目标弱网区域之前的目标时间内,预加载与该目标弱网区域对应的数据。Among them, the processor 110 is used to obtain the first weak network area information, the first weak network area information includes the location information and time information of at least one weak network area; according to the first weak network area information, determine the first area to the third weak network area. The target weak network area exists between the two areas, the first area is the area where the terminal is currently located, and the second area is the predicted target area; and within the target time before entering the target weak network area, the target is preloaded Data corresponding to weak network areas.
本申请实施例提供一种终端,由于终端在加载数据时可以根据第一弱网区域信息,来判断终端当前所在的区域到预测的目标区域(即预测的终端需要到达的区域)之间是否存在弱网区域,并在存在弱网区域的情况下,在进入该弱网区域之前预加载数据,即终端在判断出当前所在的区域到预测的目标区域之间会出现数据加载异常的情况时,可以提前预加载数据,提高了终端对流媒体类应用进行数据预加载的多样性和灵活性,避免因网络问题无法查看信息等。Embodiments of the present application provide a terminal. When loading data, the terminal can determine whether there is an area between the area where the terminal is currently located and the predicted target area (that is, the area that the predicted terminal needs to reach) based on the first weak network area information. Weak network area, and if there is a weak network area, preload data before entering the weak network area, that is, when the terminal determines that there will be abnormal data loading between the current area and the predicted target area, Data can be preloaded in advance, which improves the diversity and flexibility of data preloading for streaming media applications by the terminal, and avoids being unable to view information due to network problems.
可选地,上述至少一个弱网区域的时间信息包括至少一个时间场景信息和至少一个时间段,一个弱网区域的时间信息包括一个时间场景信息和与一个时间场景信息对应的时间段,一个时间场景信息用于指示一个弱网区域对应的时间场景;处理器110,具体用于在第一区域对应的时间场景信息与至少一个时间场景信息中的第一时间场景信息匹配的情况下,将第一区域到第二区域之间的第三区域确定为目标弱网区域,该第三区域为终端需要经过的、且与第一时间段对应的区域,该第一时间段为与第一时间场景信息对应的时间段。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. The time information of one weak network area includes one time scene information and a time period corresponding to the one time scene information. A time The scene information is used to indicate a time scene corresponding to a weak network area; the processor 110 is specifically configured to, when the time scene information corresponding to the first area matches the first time scene information in at least one time scene information, convert the first time scene information to the first time scene information. The third area between the first area and the second area is determined as the target weak network area. The third area is an area that the terminal needs to pass through and corresponds to the first time period. The first time period is the same as the first time scenario. The time period corresponding to the information.
可选地,处理器110,具体用于获取至少一个历史卡顿数据和至少一个历史场景识别数据,每个历史卡顿数据用于指示一个终端历史加载数据时出现加载异常的地点信息和时间信息,每个历史场景识别数据用于指示一个终端历史加载数据时所经过的区域对应的时间信息;根据每个历史场景识别数据,对每个终端历史加载数据时所经过的区域对应的时间信息进行划分,得到至少一个时间段;将至少一个历史卡顿数据映射到该至少一个时间段、至少一个运营商和至少一个时间场景信息,并计算卡顿指标,该卡顿指标包括不同运营商下所有卡顿的时间段在不同时间场景的卡顿用户比和平均卡顿时长;根据该卡顿用户比和平均卡顿时长,将不同运营商下所有卡顿的时间段中卡顿用户比和平均卡顿时长满足 预设条件的目标时间段、该目标时间段对应的地点信息和该目标时间段对应的时间场景确定为至少一个弱网区域信息,并将该至少一个弱网区域信息中与终端所在地区的、且与终端的运营商对应的弱网区域信息,确定为第一弱网区域信息。Optionally, the processor 110 is specifically configured to obtain at least one historical lag data and at least one historical scene identification data. Each historical lag data is used to indicate the location information and time information where a loading abnormality occurred when a terminal historically loaded data. , each historical scene recognition data is used to indicate the time information corresponding to the area that a terminal passes through when loading data in history; according to each historical scene identification data, the time information corresponding to the area that each terminal passes through when loading data in history is performed. Divide to obtain at least one time period; map at least one historical lag data to the at least one time period, at least one operator and at least one time scenario information, and calculate the lag index, which includes all lags under different operators The ratio of users who are stuck and the average duration of lag in different time scenarios during the stuck time period; based on the ratio of users who are stuck and the average duration of lag, the ratio and average number of users who are stuck in all stuck time periods under different operators are Satisfactory lag time The target time period of the preset condition, 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 at least one weak network area information is related to the area where the terminal is located, And the weak network area information corresponding to the operator of the terminal is determined as the first weak network area information.
可选地,处理器110,具体用于根据第一信息确定目标时间,并从目标时间开始预加载与目标弱网区域对应的数据,该目标时间为进入目标弱网区域前的一个时间点,第一信息包括以下至少一项:待预加载的数据的类型信息、待预加载的数据对应的应用程序的信息、终端进入目标弱网区域前所在的区域的网络质量。Optionally, the processor 110 is specifically configured to determine a 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, The first information includes at least one of the following: type information of data to be preloaded, information about an 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.
可选地,处理器110,具体用于在进入目标弱网区域之前的目标时间内,预加载与该目标弱网区域对应的目标容量的数据,该目标容量由以下至少一项确定:目标弱网区域对应的时间段长度、待预加载的数据的类型信息。Optionally, the processor 110 is specifically configured to preload the data of the target capacity corresponding to the target weak network area within the target time before entering the target weak network area. The target capacity is determined by at least one of the following: the target weak network area. The length of the time period corresponding to the network area and the type information of the data to be preloaded.
可选地,处理器110,还用于在进入目标弱网区域之前的目标时间内,预加载与目标弱网区域对应的数据之后,若第二时间段之前或之后的第三时间段出现数据加载异常的情况,则将第一弱网区域信息中与第二时间段对应的时间段更新为第四时间段,该第二时间段为目标弱网区域对应的时间段,该第四时间段包括第二时间段和第三时间段。Optionally, the processor 110 is also configured to preload the data corresponding to the target weak network area within the target time before entering the target weak network area. If the data appears in the third time period before or after the second time period, In the case of abnormal loading, the time period corresponding to the second time period in the first weak network area information is updated to the fourth time period. The second time period is the time period corresponding to the target weak network area. The fourth time period Including the second time period and the third time period.
本申请实施例提供的终端能够实现上述方法实施例实现的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The terminal provided by the embodiments of this application can implement each process implemented by the above method embodiments, and can achieve the same technical effect. To avoid duplication, details will not be described here.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For specific beneficial effects of various implementation methods in this embodiment, please refer to the beneficial effects of corresponding implementation methods in the above method embodiments. To avoid duplication, they will not be described again here.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072中的至少一种。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。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. The graphics processor 1041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras). The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and at least one of other input devices 1072 . 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, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器109可以包括易失性存储器或非易失性存储器,或者,存储器109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器109包括但不限于这些和任 意其它适合类型的存储器。Memory 109 may be used to store software programs as well as 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, Image playback function, etc.) etc. Additionally, memory 109 may include volatile memory or nonvolatile memory, or memory 109 may include both volatile and nonvolatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). The memory 109 in the embodiment of the present application includes but is not limited to these and any Note other suitable types of memory.
处理器110可包括一个或多个处理单元;可选的,处理器110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。The processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 110 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium. Programs or instructions are stored on the readable storage medium. When the program or instructions are executed by a processor, each process of the above method embodiments is implemented and the same technology can be achieved. The effect will not be described here to avoid repetition.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement various processes of the above method embodiments. , and can achieve the same technical effect, so to avoid repetition, they will not be described again here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-a-chip or system-on-chip, etc.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that 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, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。。 The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application. .

Claims (16)

  1. 一种数据预加载方法,所述方法包括:A data preloading method, the method includes:
    获取第一弱网区域信息,所述第一弱网区域信息包括至少一个弱网区域的地点信息和时间信息,所述第一弱网区域信息基于时间场景、时间段、运营商,计算卡顿指标,并将所述卡顿指标与终端所在地区进行结合获得;Obtain 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 time scenarios, time periods, and operators to calculate lags. The indicator is obtained by combining the stuck indicator with the region where the terminal is located;
    根据所述第一弱网区域信息,确定第一区域到第二区域之间存在的目标弱网区域,所述第一区域为所述终端当前所在的区域,所述第二区域为预测的目标区域;According to the first weak network area information, determine the target weak network area existing between the first area and the second area, the first area is the area where the terminal is currently located, and the second area is the predicted target area;
    在进入所述目标弱网区域之前的目标时间内,预加载与所述目标弱网区域对应的数据。Within the target time before entering the target weak network area, data corresponding to the target weak network area is preloaded.
  2. 根据权利要求1所述的方法,其中,所述至少一个弱网区域的时间信息包括至少一个时间场景信息和至少一个时间段,一个弱网区域的时间信息包括一个时间场景信息和与所述一个时间场景信息对应的时间段,所述一个时间场景信息用于指示所述一个弱网区域对应的时间场景;The method according to claim 1, wherein 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 the one time period. The time period corresponding to the time scene information, the one time scene information is used to indicate the time scene corresponding to the one weak network area;
    所述根据所述第一弱网区域信息,确定第一区域到第二区域之间存在的目标弱网区域,包括:Determining the target weak network area existing between the first area and the second area based on the first weak network area information 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, a third area between the first area and the second area is determined. is the target weak network area, 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 the time period corresponding to the first time scene information. .
  3. 根据权利要求1所述的方法,其中,所述获取第一弱网区域信息包括:The method according to claim 1, wherein said obtaining the first weak network area information includes:
    获取至少一个历史卡顿数据和至少一个历史场景识别数据,每个历史卡顿数据用于指示一个终端历史加载数据时出现加载异常的地点信息和时间信息,每个历史场景识别数据用于指示一个终端历史加载数据时所经过的区域对应的时间信息;Obtain at least one historical lag data and at least one historical scene recognition data. Each historical lag data is used to indicate the location information and time information of a loading exception when a terminal historically loads data. Each historical scene recognition data is used to indicate a terminal. The time information corresponding to the area passed by when loading data in the terminal history;
    根据每个历史场景识别数据,对每个终端历史加载数据时所经过的区域对应的时间信息进行划分,得到至少一个时间段;According to each historical scene recognition data, divide the time information corresponding to the area that each terminal passes through when loading historical data, and obtain at least one time period;
    将所述至少一个历史卡顿数据映射到所述至少一个时间段、至少一个运营商和至少一个时间场景信息,并计算所述卡顿指标,所述卡顿指标包括不同运营商下所有卡顿的时间段在不同时间场景的卡顿用户比和平均卡顿时长;Mapping the at least one historical lag data to the at least one time period, at least one operator and at least one time scene information, and calculating the lag index, where the lag index includes all lags under different operators The ratio of stuck users and the average stuck time in different time scenarios during the time period;
    根据所述卡顿用户比和所述平均卡顿时长,将不同运营商下所有卡顿的时间段中所述卡顿用户比和所述平均卡顿时长满足预设条件的目标时间段、所述目标时间段对应的地点信息和所述目标时间段对应的时间场景确定为至少一个弱网区域信息,并将所述至少一个弱网区域信息中与所述终端所在地区的、且与所述终端的运营商对应的 弱网区域信息,确定为所述第一弱网区域信息。According to the lag user ratio and the average lag duration, the target time period in which the lag user ratio and the average lag duration satisfy the preset conditions in all jam time periods under different operators are determined. 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 at least one weak network area information is related to the area where the terminal is located and is related to the area where the terminal is located. Corresponding to the operator of the terminal Weak network area information is determined as the first weak network area information.
  4. 根据权利要求1至3中任一项所述的方法,其中,所述在进入所述目标弱网区域之前的目标时间内,预加载与所述目标弱网区域对应的数据,包括:The method according to any one of claims 1 to 3, wherein preloading data corresponding to the target weak network area within a target time before entering the target weak network area includes:
    根据第一信息确定目标时间,并从所述目标时间开始预加载与所述目标弱网区域对应的数据,所述目标时间为进入所述目标弱网区域前的一个时间点,所述第一信息包括以下至少一项:待预加载的数据的类型信息、待预加载的数据对应的应用程序的类型信息、所述终端进入所述目标弱网区域前所在的区域的网络质量。Determine a target time according to the first information, and preload data corresponding to the target weak network area starting from the target time. The target time is a time point before entering the target weak network area. The first The information includes at least one of the following: type information of the data to be preloaded, type information of the application program 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.
  5. 根据权利要求1至3中任一项所述的方法,其中,所述在进入所述目标弱网区域之前的目标时间内,预加载与所述目标弱网区域对应的数据,包括:The method according to any one of claims 1 to 3, wherein preloading data corresponding to the target weak network area within a target time before entering the target weak network area includes:
    在进入所述目标弱网区域之前的目标时间内,预加载与所述目标弱网区域对应的目标容量的数据,所述目标容量由以下至少一项确定:所述目标弱网区域对应的时间段长度、待预加载的数据的类型信息。During the target time before entering the target weak network area, preload the data of the target capacity corresponding to the target weak network area. The target capacity is determined by at least one of the following: the time corresponding to the target weak network area. Segment length, type information of data to be preloaded.
  6. 根据权利要求1所述的方法,其中,所述在进入所述目标弱网区域之前的目标时间内,预加载与所述目标弱网区域对应的数据之后,所述方法还包括:The method according to claim 1, wherein after preloading data corresponding to the target weak network area within the target time before entering the target weak network area, the method further includes:
    若第二时间段之前或之后的第三时间段出现数据加载异常的情况,则将所述第一弱网区域信息中与所述第二时间段对应的时间段更新为第四时间段,所述第二时间段为所述目标弱网区域对应的时间段,所述第四时间段包括所述第二时间段和所述第三时间段。If data loading anomaly occurs in the 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 the fourth time period, so 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.
  7. 一种数据预加载装置,所述数据预加载装置包括:获取模块、确定模块和处理模块;A data preloading device, the data preloading device includes: an acquisition module, a determination module and a processing module;
    所述获取模块,用于获取第一弱网区域信息,所述第一弱网区域信息包括至少一个弱网区域的地点信息和时间信息,所述第一弱网区域信息基于时间场景、时间段、运营商,计算卡顿指标,并将所述卡顿指标与终端所在地区进行结合获得;The acquisition module is used to obtain 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 time scenarios and time periods. , the operator calculates the lag index and combines the lag index with the region where the terminal is located to obtain it;
    所述确定模块,用于根据所述第一弱网区域信息,确定第一区域到第二区域之间存在的目标弱网区域,所述第一区域为所述终端当前所在的区域,所述第二区域为预测的目标区域;The determination module is configured to determine a target weak network area existing between a first area and a second area based on the first weak network area information, where the first area is the area where the terminal is currently located, and the The second area is the predicted target area;
    所述处理模块,用于在进入所述目标弱网区域之前的目标时间内,预加载与所述目标弱网区域对应的数据。The processing module is configured to preload data corresponding to the target weak network area within a target time before entering the target weak network area.
  8. 根据权利要求7所述的装置,其中,所述至少一个弱网区域的时间信息包括至少一个时间场景信息和至少一个时间段,一个弱网区域的时间信息包括一个时间场景信息和与所述一个时间场景信息对应的时间段,所述一个时间场景信息用于指示所述一个弱网区域对应的时间场景; The device according to claim 7, wherein 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 the one time period. The time period corresponding to the time scene information, the one time scene information is used to indicate the time scene corresponding to the one weak network area;
    所述确定模块,具体用于在所述第一区域对应的时间场景信息与所述至少一个时间场景信息中的第一时间场景信息匹配的情况下,将所述第一区域到所述第二区域之间的第三区域确定为所述目标弱网区域,所述第三区域为所述终端需要经过的、且与第一时间段对应的区域,所述第一时间段为与所述第一时间场景信息对应的时间段。The determination module is specifically configured to, in the case where the time scene information corresponding to the first area matches the first time scene information in the at least one time scene information, change the first area to the second time scene information. The third area between the areas is determined as the target weak network area, 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 area corresponding to the first time period. A time period corresponding to scene information.
  9. 根据权利要求7所述的装置,其中,The device of claim 7, wherein
    所述获取模块,具体用于获取至少一个历史卡顿数据和至少一个历史场景识别数据,每个历史卡顿数据用于指示一个终端历史加载数据时出现加载异常的地点信息和时间信息,每个历史场景识别数据用于指示一个终端历史加载数据时所经过的区域对应的时间信息;The acquisition module is specifically used to obtain at least one historical lag data and at least one historical scene identification data. Each historical lag data is used to indicate the location information and time information of a loading exception when a terminal historically loads data. Each Historical scene recognition data is used to indicate the time information corresponding to the area that a terminal passed through when loading historical data;
    根据每个历史场景识别数据,对每个终端历史加载数据时所经过的区域对应的时间信息进行划分,得到至少一个时间段;According to each historical scene recognition data, divide the time information corresponding to the area that each terminal passes through when loading historical data, and obtain at least one time period;
    将所述至少一个历史卡顿数据映射到所述至少一个时间段、至少一个运营商和至少一个时间场景信息,并计算所述卡顿指标,所述卡顿指标包括不同运营商下所有卡顿的时间段在不同时间场景的卡顿用户比和平均卡顿时长;Mapping the at least one historical lag data to the at least one time period, at least one operator and at least one time scene information, and calculating the lag index, where the lag index includes all lags under different operators The ratio of stuck users and the average stuck time in different time scenarios during the time period;
    根据所述卡顿用户比和所述平均卡顿时长,将不同运营商下所有卡顿的时间段中所述卡顿用户比和所述平均卡顿时长满足预设条件的目标时间段、所述目标时间段对应的地点信息和所述目标时间段对应的时间场景确定为至少一个弱网区域信息,并将所述至少一个弱网区域信息中与所述终端所在地区的、且与所述终端的运营商对应的弱网区域信息,确定为所述第一弱网区域信息。According to the lag user ratio and the average lag duration, the target time period in which the lag user ratio and the average lag duration satisfy the preset conditions in all jam time periods under different operators are determined. 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 at least one weak network area information is related to the area where the terminal is located and is related to the area where the terminal is located. The weak network area information corresponding to the operator of the terminal is determined as the first weak network area information.
  10. 根据权利要求7至9中任一项所述的装置,其中,The device according to any one of claims 7 to 9, wherein
    所述处理模块,具体用于根据第一信息确定目标时间,并从所述目标时间开始预加载与所述目标弱网区域对应的数据,所述目标时间为进入所述目标弱网区域前的一个时间点,所述第一信息包括以下至少一项:待预加载的数据的类型信息、待预加载的数据对应的应用程序的信息、所述终端进入所述目标弱网区域前所在的区域的网络质量。The processing module is specifically configured to determine a target time based on the first information, and preload data corresponding to the target weak network area starting from the target time. The target time is the time before entering the target weak network area. At one point in time, the first information includes at least one of the following: type information of the data to be preloaded, information about the application program corresponding to the data to be preloaded, and the area where the terminal was located before entering the target weak network area. network quality.
  11. 根据权利要求7至9中任一项所述的装置,其中,The device according to any one of claims 7 to 9, wherein
    所述处理模块,具体用于在进入所述目标弱网区域之前的目标时间内,预加载与所述目标弱网区域对应的目标容量的数据,所述目标容量由以下至少一项确定:所述目标弱网区域对应的时间段长度、待预加载的数据的类型信息。The processing module is specifically configured to preload the data of the target capacity corresponding to the target weak network area within the target time before entering the target weak network area. The target capacity is determined by at least one of the following: Describe the length of the time period corresponding to the target weak network area and the type information of the data to be preloaded.
  12. 根据权利要求7所述的装置,其中,所述数据预加载装置还包括:更新模块;The device according to claim 7, wherein the data preloading device further includes: an update module;
    所述更新模块,用于在所述处理模块在进入所述目标弱网区域之前的目标时间内,预加载与所述目标弱网区域对应的数据之后,若第二时间段之前或之后的第三时间段 出现数据加载异常的情况,则将所述第一弱网区域信息中与所述第二时间段对应的时间段更新为第四时间段,所述第二时间段为所述目标弱网区域对应的时间段,所述第四时间段包括所述第二时间段和所述第三时间段。The update module is configured to preload the data corresponding to the target weak network area within the target time before the processing module enters the target weak network area. If the second time period is before or after the second time period, Three time periods If an abnormal data loading occurs, the time period corresponding to the second time period in the first weak network area information is updated to a fourth time period, and the second time period corresponds to the target weak network area. time period, and the fourth time period includes the second time period and the third time period.
  13. 一种终端,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至6中任一项所述的数据预加载方法的步骤。A terminal, including a processor, a memory and a program or instructions stored on the memory and executable on the processor. When the program or instructions are executed by the processor, the implementation of claims 1 to 6 is achieved. The steps of the data preloading method described in any one of the above.
  14. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至6中任一项所述的数据预加载方法的步骤。A readable storage medium on which a program or instructions are stored. When the program or instructions are executed by a processor, the steps of the data preloading method according to any one of claims 1 to 6 are implemented.
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至6中任一项所述的数据预加载方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the data according to any one of claims 1 to 6 Preload method.
  16. 一种终端,所述终端被配置成用于执行如权利要求1至6中任一项所述的数据预加载方法。 A terminal configured to perform the data preloading method according to any one of claims 1 to 6.
PCT/CN2023/096001 2022-06-02 2023-05-24 Data preloading method and device, terminal, and storage medium WO2023231861A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210625622.8 2022-06-02
CN202210625622.8A CN115017433A (en) 2022-06-02 2022-06-02 Data preloading method, device, terminal and storage medium

Publications (1)

Publication Number Publication Date
WO2023231861A1 true WO2023231861A1 (en) 2023-12-07

Family

ID=83072604

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/096001 WO2023231861A1 (en) 2022-06-02 2023-05-24 Data preloading method and device, terminal, and storage medium

Country Status (2)

Country Link
CN (1) CN115017433A (en)
WO (1) WO2023231861A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115017433A (en) * 2022-06-02 2022-09-06 维沃移动通信有限公司 Data preloading method, device, terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150324376A1 (en) * 2014-05-08 2015-11-12 Naver Corporation Apparatus and method for displaying web page
CN108304516A (en) * 2018-01-23 2018-07-20 维沃移动通信有限公司 A kind of Web content pre-add support method and mobile terminal
CN112118304A (en) * 2020-09-10 2020-12-22 北京奇艺世纪科技有限公司 Data pre-caching method and device, electronic equipment and storage medium
CN113986378A (en) * 2021-10-26 2022-01-28 维沃移动通信有限公司 Data processing method and device
CN115017433A (en) * 2022-06-02 2022-09-06 维沃移动通信有限公司 Data preloading method, device, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150324376A1 (en) * 2014-05-08 2015-11-12 Naver Corporation Apparatus and method for displaying web page
CN108304516A (en) * 2018-01-23 2018-07-20 维沃移动通信有限公司 A kind of Web content pre-add support method and mobile terminal
CN112118304A (en) * 2020-09-10 2020-12-22 北京奇艺世纪科技有限公司 Data pre-caching method and device, electronic equipment and storage medium
CN113986378A (en) * 2021-10-26 2022-01-28 维沃移动通信有限公司 Data processing method and device
CN115017433A (en) * 2022-06-02 2022-09-06 维沃移动通信有限公司 Data preloading method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN115017433A (en) 2022-09-06

Similar Documents

Publication Publication Date Title
US11240330B2 (en) Method and system for managing application programs
CN108990110B (en) Network traffic management method, device, storage medium and terminal
US10826860B2 (en) Group management method, terminal, and storage medium
CN110166371B (en) Flow control method and device, electronic equipment and storage medium
US11768694B2 (en) Content sharing method, device, terminal and storage medium
AU2022200464B2 (en) Method for reducing power consumption of terminal, and terminal
US8380999B1 (en) Power management for electronic devices
WO2023231861A1 (en) Data preloading method and device, terminal, and storage medium
CN101621567B (en) Mobile terminal and method of controlling operation of the mobile terminal
CN111526246A (en) Caching method, electronic device and computer-readable storage medium
CN107613315B (en) Video image quality adjusting method and device, terminal equipment and storage medium
CN111159436A (en) Method and device for recommending multimedia content and computing equipment
CN109412240A (en) A kind of method and apparatus adjusting charging current
US11209951B2 (en) Method and apparatus for displaying application program, terminal device, and storage medium
CN112711387A (en) Method and device for adjusting capacity of buffer area, electronic equipment and readable storage medium
US11113455B2 (en) Web page rendering on wireless devices
CN107295572B (en) Dynamic self-adaptive current limiting method and electronic equipment
CN109783337B (en) Model service method, system, apparatus and computer readable storage medium
CN113254834A (en) Page content loading method and device, electronic equipment and readable storage medium
WO2023217137A1 (en) Sleep data calibration method and electronic device
CN108762996B (en) Touch detection method and device
US20240119578A1 (en) Dynamic image-quality video playing method, apparatus, electronic device, and storage medium
WO2015039608A1 (en) Method and device for displaying information
US9143178B1 (en) Activity-based remaining battery life
CN107040659B (en) Intelligent shutdown interface display method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23815045

Country of ref document: EP

Kind code of ref document: A1