Application resource preloading method and device, equipment and storage medium
By obtaining the user's current location and time, predicting the movement trajectory and determining the location attribute tag, and combining historical signals and resource data, the priority of application resources is determined for preloading. This solves the problem in existing technologies where preloaded resources do not meet user needs, and achieves more efficient resource loading.
Patent Information
- Application Number
- CN202510575446.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-06
- Publication Date
- 2025-09-19
AI Technical Summary
The resource preloading method used in the existing technology cannot accurately predict user needs, resulting in preloaded resources not being consistent with actual usage scenarios and failing to meet user needs in a timely manner.
By obtaining the user's current location information and time, predicting the movement trajectory, determining the location attribute tags of the trajectory points, and combining historical network signal strength and application resource data, the application resources to be preloaded and their priority are determined, and preloaded.
It improves the matching degree between preloaded resources and users' actual needs, ensures that users can quickly obtain the required resources, and improves the efficiency and timeliness of resource loading.
Smart Images

Figure CN120670044A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, apparatus, device, and storage medium for preloading application resources. Background Art
[0002] In the mobile internet era, smart devices have become the core means for users to access digital content, enriching their entertainment experience and information acquisition methods. Despite the continuous advancement of mobile network technology, mobile network instability persists in many specific scenarios, seriously impacting users' ability to use application resources. For example, in places like subways, underground parking lots, and elevators, due to their unique geographical locations, mobile network signals are often weak, and may even experience signal blind spots. This results in users frequently experiencing slow or incomplete loading of application resources.
[0003] Some existing application resource preloading methods in the prior art are mostly based only on the user's geographic location information or historical habits, which often cannot accurately predict the user's needs, resulting in the preloaded application resources not matching the user's actual usage scenarios and failing to preload the resources the user really needs in a timely manner. Summary of the Invention
[0004] The present application provides an application resource preloading method, apparatus, device and storage medium, which solves the problem in existing preloading technology that the preloaded application resources do not match the user's actual usage scenarios and cannot be preloaded in time to the resources that the user really needs, and can improve resource loading efficiency and loading timeliness.
[0005] In a first aspect, the present application provides a method for preloading application resources, comprising:
[0006] Get the user's current location information and current time;
[0007] Predicting a user's movement trajectory based on the current location information and the current time;
[0008] determining a position attribute tag of each track point in the motion track, and determining an application resource to be preloaded and a priority of the application resource to be preloaded if the position attribute tag of the track point meets a preset preloaded application resource condition;
[0009] According to the priority of the application resources to be preloaded, the corresponding application resources to be preloaded are preloaded.
[0010] Optionally, predicting the user's movement trajectory based on the current location information and the current time includes:
[0011] According to the current time and the current location information, obtaining corresponding historical navigation data and map data associated with the current location information;
[0012] determining the user's travel data based on the historical navigation data and the map data;
[0013] The user's movement trajectory is predicted based on the map data and the travel data; wherein the user's movement trajectory refers to the path of each trajectory point that the user passes through from the current location to the end location in the travel data.
[0014] Optionally, determining the position attribute label of the motion trajectory includes:
[0015] Obtaining position information of each track point in the motion track;
[0016] The location information of each track point is matched with the regional geographic information data to determine the location attribute tag type to which the location information of each track point belongs; wherein the location attribute tag is the place type corresponding to the location information of the track point.
[0017] Optionally, determining whether the location attribute tag of the trajectory point meets a preset preloaded application resource condition includes:
[0018] Obtain the historical average network signal strength of the user terminal device at the location of the trajectory point;
[0019] When the historical average network signal strength is lower than a preset signal strength threshold, it is determined that the location attribute tag of the trajectory point meets the preset pre-loaded application resource condition.
[0020] Optionally, determining the application resources to be preloaded includes:
[0021] Acquire application resource data associated with the location attribute tag of the track point;
[0022] Acquire the application resource currently used by the user at the location attribute tag of the track point to obtain first application resource data;
[0023] Obtain the historical application resources used by the user corresponding to the location attribute tag of the track point to obtain second application resource data;
[0024] Based on the associated application resource data, the first application resource data, and the second application resource data, a list of application resources to be preloaded is determined.
[0025] Optionally, determining a list of application resources to be preloaded based on the associated application resource data, the first application resource data, and the second application resource data includes:
[0026] using the first application resource data as a first candidate application resource;
[0027] Filtering the application resources matching the second application resource data from the associated application resource data as second candidate application resources;
[0028] Merge the first candidate application resource and the second candidate application resource to obtain a third candidate application resource;
[0029] The list of application resources to be preloaded is determined according to the current usage duration, historical usage frequency, and historical usage duration of each application resource in the third candidate application resources.
[0030] Optionally, determining the priority of the application resource to be preloaded includes:
[0031] Obtaining the application size of each application resource in the list of application resources to be preloaded;
[0032] Calculating the preloading duration of each application resource according to the application size of each application resource;
[0033] The application resources are sorted according to the preloading durations, and priorities of the application resources to be preloaded are determined based on the sorting.
[0034] In a second aspect, the present application provides an application resource preloading device, comprising:
[0035] Information acquisition module, used to obtain the user's current location information and current time;
[0036] A trajectory prediction module, configured to predict the user's movement trajectory based on the current location information and the current time;
[0037] a priority determination module, configured to determine a position attribute tag of each track point in the motion track, and determine an application resource to be preloaded and a priority of the application resource to be preloaded if the position attribute tag of the track point meets a preset preloaded application resource condition;
[0038] The preloading module is configured to preload the corresponding application resources to be preloaded according to the priorities of the application resources to be preloaded.
[0039] In a third aspect, the present application provides an application resource preloading device, comprising:
[0040] one or more processors;
[0041] The memory stores one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the application resource preloading method as described in the first aspect.
[0042] In a fourth aspect, the present application provides a storage medium comprising computer-executable instructions, which, when executed by a computer processor, are used to execute the application resource preloading method as described in the first aspect.
[0043] In summary, compared with the prior art, the effective effects brought about by the technical solution provided by this application include at least:
[0044] In this application, by obtaining the user's current location information and current time; predicting the user's movement trajectory based on the current location information and current time; judging the location attribute label of each track point in the movement trajectory, and when the location attribute label of the track point meets the preset preloading application resource conditions, determining the application resources to be preloaded and the priority of the application resources to be preloaded; preloading the corresponding application resources to be preloaded according to the priority of the application resources to be preloaded. In the above technical means, by obtaining the application resource data associated with the location attribute label of the track point, as well as the application resource data currently used by the user at the location attribute label and the historical application resource data, and comprehensively determining the list of application resources to be preloaded based on these data, not only common application resources related to the location scenario are taken into account, but also the application resources currently used by the user and the historical usage preferences, so that the preloaded application resources can not only meet the general usage needs of the place, but also meet the immediate needs of the current user, further improving the matching degree between the preloaded resources and the actual needs of the user, ensuring that the user can quickly obtain the application resources they really need during actual use, and improving the resource loading efficiency and loading timeliness. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 This is a flowchart of an application resource preloading method provided in an embodiment of the present application;
[0046] Figure 2 This is a flowchart of predicting a user's motion trajectory provided by an embodiment of the present application;
[0047] Figure 3 This is a flow chart of determining the location attribute label of a motion trajectory provided by an embodiment of the present application;
[0048] Figure 4 This is a flowchart of determining whether the location attribute tag of a trajectory point meets the preset pre-loaded application resource conditions provided by an embodiment of the present application;
[0049] Figure 5This is a flowchart of determining application resources to be preloaded provided by an embodiment of the present application;
[0050] Figure 6 This is a flowchart of determining a list of application resources to be preloaded provided by an embodiment of the present application;
[0051] Figure 7 This is a flowchart of determining the priority of application resources to be preloaded provided by an embodiment of the present application;
[0052] Figure 8 This is a structural diagram of an application resource preloading device provided in an embodiment of the present application;
[0053] Figure 9 This is a structural diagram of an application resource preloading device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solutions and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. It should also be noted that, for ease of description, only some, but not all, of the contents related to the present application are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, function, procedure, subroutine, subprogram, etc.
[0055] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0056] Some existing application resource preloading methods in the prior art are mostly based only on the user's geographic location information or historical habits, which often cannot accurately predict the user's needs, resulting in the preloaded application resources not matching the user's actual usage scenarios and failing to preload the resources the user really needs in a timely manner.
[0057] In order to solve the problem that most of the application resource preloading methods in the above-mentioned existing technologies are based only on the user's geographic location information or the user's historical habits, which often cannot accurately predict the user's needs, resulting in the preloaded application resources not matching the user's actual usage scenarios and failing to preload the resources the user really needs in a timely manner, this embodiment provides an application resource preloading method, which obtains application resource data associated with the trajectory point location attribute tag, as well as the application resource data currently used by the user at the location attribute tag and the historical application resource data, and comprehensively determines a list of application resources to be preloaded based on these data. It not only takes into account common application resources related to the location scenario, but also combines the user's currently used application resources and historical usage preferences, so that the preloaded application resources can not only meet the usage needs of the place under general circumstances, but also meet the current user's immediate needs, further improving the matching degree between the preloaded resources and the user's actual needs, ensuring that the user can quickly obtain the application resources they really need during actual use, and improving resource loading efficiency and loading timeliness.
[0058] The application resource preloading method provided in this embodiment can be executed by an application resource preloading device, which can be implemented by software and / or hardware. The application resource preloading device can be composed of two or more physical entities or one physical entity.
[0059] The application resource preloading device is installed with at least one type of operating system, including but not limited to Android, Linux, and Windows. The application resource preloading device can install at least one application based on the operating system. The application can be an application that comes with the operating system or an application downloaded from a third-party device or server. In this embodiment, the application resource preloading device has at least one application that can execute the application resource preloading method.
[0060] The technical solutions provided by the embodiments of this application are described in detail below with reference to the accompanying drawings.
[0061] Figure 1 A flowchart of a method for preloading application resources provided by an embodiment of the present application is given. Figure 1 , the application resource preloading method specifically includes:
[0062] S110: Obtain the user's current location information and current time.
[0063] Among them, the user's current location information is the specific geographic coordinate point or area where the smart terminal device carried by the user is located in the real geographic space, which can accurately reflect the user's current location.
[0064] For example, the embodiment of the present application can use GPS, Wi-Fi positioning or cellular network technology to obtain the specific geographical coordinate point or area where the smart terminal device carried by the user is located in the real geographical space. The current time can call the system time of the smart terminal itself.
[0065] S120: Predicting a user's movement trajectory based on the current location information and the current time.
[0066] In the embodiment of the present application, the user's next movement trajectory is predicted by comprehensively analyzing the user's current location, current time, and historical behavior patterns. This prediction not only takes into account the user's immediate location, but also incorporates the time dimension and historical navigation data to make the prediction results more accurate and personalized.
[0067] Optional, Figure 2 This is a flow chart of predicting the user's motion trajectory provided by an embodiment of the present application. Figure 2 As shown, the steps of predicting the user's motion trajectory specifically include S1201-S1203:
[0068] S1201. Acquire corresponding historical navigation data and map data associated with the current location information according to the current time and the current location information.
[0069] Among them, historical navigation data is the data record generated when the user used the navigation service in the past. It can also be understood as the navigation record of the user starting from the current location in the same or similar time period in the past. It contains the user's common destinations, routes, travel preferences and other information starting from the location in similar time periods. By analyzing these historical navigation data, the user's travel patterns and habits at specific times and locations can be discovered. The map data associated with the current location information includes the geographical environment information around the location, such as the surrounding road layout, transportation facilities (such as bus stops, subway stations, etc.), the location and distribution of commercial places (such as shopping malls, supermarkets, etc.), etc.
[0070] S1202: Determine the user's travel data based on the historical navigation data and the map data.
[0071] The travel data can be understood as the destination location that the user plans or expects to reach from the current location.
[0072] Specifically, the steps of determining the user's travel data based on historical navigation data and map data may include:
[0073] First, the historical navigation data needs to be classified and filtered by time to find the data that is closest to the current time or has the same time period pattern. For example, if it is currently 9 am on Tuesday, the navigation records within the time period of 8 am to 10 am on Tuesday in the past few weeks will be filtered out first; the starting position in the filtered historical navigation data is matched with the current position to confirm whether the historical navigation data record is consistent with or close to the current actual position. Then, combined with the map data associated with the current position, the relationship between the route selected by the user in the historical navigation record and the surrounding geographical environment is analyzed. Then, by statistically analyzing the historical navigation data that meets the time and location matching conditions, the destination that users most frequently visit in that time period and location is identified, and the destination that appears most frequently is used as the end location in this trip data.
[0074] S1203. Predicting a user's movement trajectory based on the map data and the travel data; wherein the user's movement trajectory refers to a path of each trajectory point that the user passes through from the current location to the end location in the travel data.
[0075] After determining the destination location in the travel data, combined with information such as road layout or traffic rules in the map data, the various trajectory points from the current location to the destination location can be planned, that is, the user's movement trajectory can be predicted.
[0076] This application uses the user's current location and time, combined with historical navigation data and map data, to predict the user's movement trajectory, taking into account the user's historical behavior habits and actual geographical environment. For example, by combining historical navigation data from the user's current location at different times with road conditions, distance, and other information in map data, the user's itinerary data can be more accurately determined, and the path of each trajectory point passed by the user from the current location to the destination can be predicted.
[0077] S130: Determine the position attribute tag of each track point in the motion track, and if the position attribute tag of the track point meets the preset preloading application resource condition, determine the application resource to be preloaded and the priority of the application resource to be preloaded.
[0078] The location attribute tag is a tag associated with a specific geographic location and used to describe the characteristics of the geographic location or the corresponding location category. The location attribute tag may include: subway, underground parking lot, underground shopping mall, etc.
[0079] Optional, Figure 3This is a flow chart of determining the location attribute label of the motion trajectory provided by the embodiment of the present application. Figure 3 As shown, the step of determining the position attribute label of the motion trajectory specifically includes S1301-S1302:
[0080] S1301: Obtain position information of each track point in the motion track.
[0081] S1302: Match the location information of each track point with the regional geographic information data to determine the location attribute tag type to which the location information of each track point belongs; wherein the location attribute tag is the place type corresponding to the location information of the track point.
[0082] The regional geographic information data refers to a pre-stored, structured set of geographic spatial data. Optionally, the regional geographic information data may include location attribute labels and related feature information corresponding to each specific location (or area) in the real geographic space.
[0083] Specifically, after obtaining the location information of each trajectory point, the location information of the trajectory point is treated as a point element and matched with the surface element in the regional geographic information data (such as the polygon area of a shopping mall, the entrance and exit area of a subway station, etc.). By calculating whether the trajectory point is within the range of a certain surface element, the location attribute label type to which it belongs is determined. For example, if the trajectory point is within the polygon area of a shopping mall, its location attribute label is determined to be "shopping mall".
[0084] Optional, Figure 4 This is a flow chart of determining whether the location attribute tag of a track point meets the preset pre-loaded application resource conditions provided by the embodiment of the present application. Figure 4 As shown, the step of determining whether the location attribute tag of the track point meets the preset pre-loaded application resource condition specifically includes S1303-S1304:
[0085] S1303: Obtain the historical average network signal strength of the user terminal device at the location of the trajectory point.
[0086] In the present application embodiment, the historical average network signal strength refers to the average value of the network signal strength of the user terminal device near the track point location over a certain period of time. The network signal strength reflects the strength of the wireless signal between the terminal device and the network base station or WiFi access point.
[0087] Exemplarily, the location information of each trajectory point in the predicted motion trajectory is compared with the location information in the historical network signal strength data. Since the location of the trajectory point and the location of the historical data record may not completely coincide, a spatial matching accuracy range is pre-set. For example, historical data records within a certain radius (such as 50 meters or 100 meters, etc.) centered on the trajectory point are considered to be related to the location of the trajectory point. For example, if the longitude and latitude of the trajectory point are (30.123456, 110.654321), then the records with longitude and latitude within a certain range near this point in the historical data can be searched to obtain the network signal strength data in the area. Then, the historical network signal strength in the area is averaged to obtain the historical average network signal strength at the location of the trajectory point.
[0088] S1304: When the historical average network signal strength is lower than a preset signal strength threshold, determine whether the location attribute tag of the trajectory point meets a preset pre-loaded application resource condition.
[0089] The calculated historical average network signal strength is compared with the preset signal strength threshold; if the historical average network signal strength is lower than the preset signal strength threshold, it means that the terminal device's previous network signal at the location of the track point was weak, and the network connection may be unstable or slow. At this time, the location attribute tag of the track point is determined to meet the preset preloading application resource conditions. For example, if the track point is located in an underground parking lot and its historical average network signal strength is -80dBm, which is lower than the preset -70dBm threshold, then it can be considered that the location meets the preloading conditions. The application can preload relevant resources in advance before the terminal device enters the area to avoid loading delays or failures due to network problems during actual use.
[0090] After determining that the location attribute tag of the trajectory point meets the preset preloaded application resource conditions, it is necessary to determine the application resources to be preloaded required by the user so as to preload the relevant application resources to prevent the user from entering a weak signal area and being unable to obtain key information.
[0091] Optional, Figure 5 This is a flow chart of determining application resources to be preloaded provided by an embodiment of the present application. Figure 5 As shown, the step of determining the application resources to be preloaded specifically includes S1305-S1308:
[0092] S1305: Acquire application resource data associated with the location attribute tag of the track point.
[0093] Among them, application resource data associated with location attribute tags refers to application resource content or functional data that is directly associated with the attributes of a specific geographic location (i.e., location attribute tags such as "subway," "underground parking lot," "shopping mall," etc.) and that users may need to use at that location. For example, when entering the subway, users may need to check subway lines, scan a QR code for boarding, or listen to music, so they will use applications such as maps, QR codes for boarding, or music.
[0094] S1306: Obtain the application resources currently used by the user at the location attribute tag of the trajectory point to obtain first application resource data.
[0095] S1307: Obtain the historical application resources used by the user corresponding to the location attribute tag of the track point to obtain second application resource data.
[0096] S1308: Determine a list of application resources to be preloaded based on the associated application resource data, the first application resource data, and the second application resource data.
[0097] Optional, Figure 6 This is a flowchart of determining a list of application resources to be preloaded provided by an embodiment of the present application. Figure 6 As shown, the step of determining the list of application resources to be preloaded specifically includes S1309-S1312:
[0098] S1309: Use the first application resource data as a first candidate application resource.
[0099] S1310: Filter out application resources matching the second application resource data from the associated application resource data as second candidate application resources.
[0100] S1311: Merge the first candidate application resource and the second candidate application resource to obtain a third candidate application resource.
[0101] S1312: Determine the list of application resources to be preloaded according to the current usage duration, historical usage frequency, and historical usage duration of each application resource in the third candidate application resources.
[0102] Among them, the current usage duration reflects the length of time the user is using each application resource under the current location attribute tag. For example, when a user is in a shopping mall, the longer the time a shopping application is used, the more likely it is that the user is more dependent on the application, or is using the application to view product information, perform purchases, and other important operations. The historical usage frequency reflects the frequency with which users have used each application resource under the location attribute tag over the past period of time. Taking the subway scenario as an example, if a user frequently uses a music application to listen to music every time he takes the subway, then the historical usage frequency of the music application is high, indicating that the user has a relatively stable or demand for the music application under the location attribute tag of the subway. The historical usage duration represents the total time the user has spent using each application resource in the past under the location attribute tag.
[0103] Specifically, weights will be set in advance for the three factors of current usage time, historical usage frequency and historical usage time. Then, the weighted scores of each application resource in the third candidate application resources will be calculated based on the current usage time, historical usage frequency and historical usage time and their corresponding weights. The third candidate application resources will be sorted from high to low according to the scores to determine the final list of application resources to be preloaded.
[0104] In an embodiment of the present application, by obtaining application resource data associated with the location attribute tag of the trajectory point, as well as the application resource data currently used by the user at the location attribute tag and the historical application resource data, a list of application resources to be preloaded is comprehensively determined based on these data; not only common application resources related to the location scenario are taken into account, but also the application resources currently used by the user and the historical usage preferences are combined, so that the preloaded application resources can not only meet the usage requirements of the place under general circumstances, but also fit the personalized preferences and immediate needs of the current user, further improving the matching degree between the preloaded resources and the actual needs of the user, but also ensuring that the user can quickly obtain truly useful application resources during actual use, and avoiding blindly preloading a large amount of unnecessary resources, saving storage space and network bandwidth of the terminal device.
[0105] In order to further optimize the preloading process and improve the preloading efficiency, the embodiment of the present application further determines the priority of the application resources to be preloaded, and preloads the corresponding application resources to be preloaded according to their priority.
[0106] Optional, Figure 7 This is a flowchart of determining the priority of application resources to be preloaded provided by an embodiment of the present application. Figure 7 As shown, the step of determining the priority of the application resources to be preloaded specifically includes S1313-S1315:
[0107] S1313: Obtain the application size of each application resource in the list of application resources to be preloaded.
[0108] S1314: Calculate the preloading duration of each application resource according to the application size of each application resource.
[0109] S1315: Sort the application resources according to the preloading durations, and determine the priorities of the application resources to be preloaded based on the sorting.
[0110] In this embodiment of the present application, application resources with longer preload times are given higher priority to ensure that large application resources are loaded first. For example, if the preloaded resources in a shopping mall scenario include a shopping app (500MB, preload time 100 seconds) and a restaurant recommendation app (50MB, preload time 10 seconds), the former should be preloaded first to avoid the loading time being too long and not being completed when the user enters a weak signal area.
[0111] S140: Preload the corresponding application resources to be preloaded according to the priorities of the application resources to be preloaded.
[0112] This application takes into account the loading characteristics of different application resources. Application resources with longer preloading times are loaded first to ensure that the corresponding application resources are ready in advance when the user reaches the corresponding trajectory point, effectively improving the overall resource loading efficiency and loading timeliness.
[0113] In summary, the embodiment of the present application provides an application resource preloading method, which obtains the user's current location information and current time; predicts the user's movement trajectory based on the current location information and current time; determines the location attribute tag of each track point in the movement trajectory, and determines the application resources to be preloaded and the priority of the application resources to be preloaded when the location attribute tag of the track point meets the preset preloading application resource conditions; and preloads the corresponding application resources to be preloaded based on the priority of the application resources to be preloaded. In the above technical means, by obtaining the application resource data associated with the location attribute tag of the track point, as well as the application resource data currently used by the user at the location attribute tag and the historical application resource data, and comprehensively determining the list of application resources to be preloaded based on these data, not only common application resources related to the location scenario are taken into account, but also the application resources currently used by the user and the historical usage preferences, so that the preloaded application resources can not only meet the general usage requirements of the place, but also meet the immediate needs of the current user, further improving the matching degree between the preloaded resources and the actual needs of the user, ensuring that the user can quickly obtain the application resources they really need during actual use, and improving the resource loading efficiency and loading timeliness.
[0114] Figure 8 This is a schematic diagram of the structure of an application resource preloading device provided in an embodiment of the present application. Figure 8 The application resource preloading device provided in this embodiment specifically includes: an information acquisition module 21 , a trajectory prediction module 22 , a priority determination module 23 and a preloading module 24 .
[0115] Information acquisition module 21, used to obtain the user's current location information and current time;
[0116] A trajectory prediction module 22 is used to predict the user's movement trajectory based on the current location information and the current time;
[0117] a priority determination module 23 for determining a position attribute tag of each track point in the motion track, and determining an application resource to be preloaded and a priority of the application resource to be preloaded if the position attribute tag of the track point meets a preset preloaded application resource condition;
[0118] The preloading module 24 is configured to preload the corresponding application resources to be preloaded according to their priorities.
[0119] Based on the above embodiment, the trajectory prediction module 22 includes:
[0120] a data acquisition unit, configured to acquire corresponding historical navigation data and map data associated with the current location information according to the current time and the current location information;
[0121] a trip data determination unit, configured to determine the user's trip data based on the historical navigation data and the map data;
[0122] The prediction trajectory unit is used to predict the user's movement trajectory based on the map data and the travel data; wherein the user's movement trajectory refers to the path of each trajectory point that the user passes through from the current position to the end position in the travel data.
[0123] Based on the above embodiment, the priority determination module 23 includes a label determination unit;
[0124] The label determination unit includes:
[0125] A position information acquisition subunit, configured to acquire position information of each track point in the motion track;
[0126] The label determination subunit is used to match the location information of each track point with the regional geographic information data to determine the location attribute label type to which the location information of each track point belongs; wherein the location attribute label is the place type corresponding to the location information of the track point.
[0127] Based on the above embodiment, the priority determination module 23 includes a condition determination unit;
[0128] The condition determination unit includes:
[0129] A strength acquisition subunit, configured to acquire the historical average network signal strength of the user terminal device at the location of the track point;
[0130] The condition determination subunit is used to determine whether the location attribute tag of the trajectory point meets the preset pre-loaded application resource condition when the historical average network signal strength is lower than the preset signal strength threshold.
[0131] Based on the above embodiment, the priority determination module 23 includes a resource determination unit;
[0132] The resource determination unit includes:
[0133] An associated data acquisition subunit, configured to acquire application resource data associated with the location attribute tag of the track point;
[0134] A first data acquisition subunit is configured to acquire an application resource currently used by the user at the location attribute tag of the track point to obtain first application resource data;
[0135] The second data acquisition subunit is used to acquire the historical application resources used by the user corresponding to the location attribute tag of the track point to obtain second application resource data;
[0136] The resource list determining subunit is configured to determine a list of application resources to be preloaded based on the associated application resource data, the first application resource data, and the second application resource data.
[0137] Based on the above embodiment, the resource list determination subunit includes:
[0138] using the first application resource data as a first candidate application resource;
[0139] Filtering the application resources matching the second application resource data from the associated application resource data as second candidate application resources;
[0140] Merge the first candidate application resource and the second candidate application resource to obtain a third candidate application resource;
[0141] The list of application resources to be preloaded is determined according to the current usage duration, historical usage frequency, and historical usage duration of each application resource in the third candidate application resources.
[0142] Based on the above embodiment, the priority determination module 23 further includes a resource priority determination unit;
[0143] The resource priority determination unit includes:
[0144] An application size obtaining subunit, configured to obtain the application size of each application resource in the list of application resources to be preloaded;
[0145] a duration calculation subunit, configured to calculate the preloading duration of each application resource according to the application size of each application resource;
[0146] The sorting subunit is configured to sort the application resources according to the preloading durations, and determine the priorities of the application resources to be preloaded based on the sorting.
[0147] In summary, the application resource preloading device provided by the embodiment of the present application obtains the user's current location information and current time; predicts the user's movement trajectory based on the current location information and current time; determines the location attribute tag of each track point in the movement trajectory, and determines the application resources to be preloaded and the priority of the application resources to be preloaded when the location attribute tag of the track point meets the preset preloading application resource conditions; and preloads the corresponding application resources to be preloaded based on the priority of the application resources to be preloaded. In the above technical means, by obtaining the application resource data associated with the location attribute tag of the track point, as well as the application resource data currently used by the user at the location attribute tag and the historical application resource data, and comprehensively determining the list of application resources to be preloaded based on these data, not only common application resources related to the location scenario are taken into account, but also the application resources currently used by the user and the historical usage preferences, so that the preloaded application resources can not only meet the general usage requirements of the place, but also meet the immediate needs of the current user, further improving the matching degree between the preloaded resources and the actual needs of the user, ensuring that the user can quickly obtain the application resources they really need during actual use, and improving the resource loading efficiency and loading timeliness.
[0148] The application resource preloading device provided in the embodiment of the present application can be used to execute the application resource preloading method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0149] Figure 9 This is a schematic diagram of the structure of an application resource preloading device provided in an embodiment of the present application, with reference to Figure 9The application resource preloading device includes: a processor 31, a memory 32, a communication device 33, an input device 34, and an output device 35. The number of processors 31 in the application resource preloading device can be one or more, and the number of memories 32 in the application resource preloading device can be one or more. The processor 31, memory 32, communication device 33, input device 34, and output device 35 of the application resource preloading device can be connected via a bus or other means.
[0150] The memory 32, as a computer-readable storage medium, can be used to store software programs, computer executable programs, and modules, such as the program instructions / modules corresponding to the application resource preloading method of any embodiment of the present application (for example, the information acquisition module 21, the trajectory prediction module 22, the priority determination module 23, and the preloading module 24 in the application resource preloading device). The memory 32 may mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the device, etc. In addition, the memory 32 may include a high-speed random access memory and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory may further include a memory remotely located relative to the processor, and these remote memories can be connected to the device via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0151] The communication device 33 is used for data transmission.
[0152] The processor 31 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 32, that is, implements the above-mentioned application resource preloading method.
[0153] The input device 34 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the device. The output device 35 may include a display device such as a display screen.
[0154] The application resource preloading device provided above can be used to execute the application resource preloading method provided in the above embodiment, and has corresponding functions and beneficial effects.
[0155] An embodiment of the present application also provides a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to execute an application resource preloading method. The application resource preloading method includes: obtaining the user's current location information and current time; predicting the user's movement trajectory based on the current location information and current time; judging the position attribute label of each trajectory point in the movement trajectory, and determining the application resources to be preloaded and the priority of the application resources to be preloaded when the position attribute label of the trajectory point meets the preset preloading application resource conditions; and preloading the corresponding application resources to be preloaded according to the priority of the application resources to be preloaded.
[0156] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROMs, floppy disks, or tape drives; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disks or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or it may be located in a different second computer system that is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (e.g., in different computer systems connected via a network). The storage medium may store program instructions (e.g., embodied as a computer program) that can be executed by one or more processors.
[0157] Of course, the storage medium containing computer-executable instructions provided in an embodiment of the present application is not limited to the above application resource preloading method, and can also execute related operations in the application resource preloading method provided in any embodiment of the present application.
[0158] The application resource preloading device, storage medium and application resource preloading equipment provided in the above embodiments can execute the application resource preloading method provided in any embodiment of the present application. For technical details not described in detail in the above embodiments, please refer to the application resource preloading method provided in any embodiment of the present application.
[0159] The above are only preferred embodiments of the present application and the technical principles employed. The present application is not limited to the specific embodiments described herein, and any obvious changes, readjustments, and substitutions that are apparent to those skilled in the art will not depart from the scope of protection of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments and may include many other equivalent embodiments without departing from the scope of the present application. The scope of the present application is determined by the scope of the claims.
Claims
1. A method for preloading application resources, characterized in that: include: Get the user's current location information and current time; Predicting a user's movement trajectory based on the current location information and the current time; determining a position attribute tag of each track point in the motion track, and determining an application resource to be preloaded and a priority of the application resource to be preloaded if the position attribute tag of the track point meets a preset preloaded application resource condition; According to the priority of the application resources to be preloaded, the corresponding application resources to be preloaded are preloaded.
2. The application resource preloading method according to claim 1, characterized in that: The predicting of the user's movement trajectory based on the current location information and the current time includes: According to the current time and the current location information, obtaining corresponding historical navigation data and map data associated with the current location information; determining the user's travel data based on the historical navigation data and the map data; The user's movement trajectory is predicted based on the map data and the travel data; wherein the user's movement trajectory refers to the path of each trajectory point that the user passes through from the current location to the end location in the travel data.
3. The application resource preloading method according to claim 1, characterized in that: The determining of the position attribute label of the motion trajectory includes: Obtaining position information of each track point in the motion track; The location information of each track point is matched with the regional geographic information data to determine the location attribute tag type to which the location information of each track point belongs; wherein the location attribute tag is the place type corresponding to the location information of the track point.
4. The application resource preloading method according to claim 1, characterized in that: Determining whether the location attribute tag of the trajectory point meets a preset preloaded application resource condition includes: Obtain the historical average network signal strength of the user terminal device at the location of the trajectory point; When the historical average network signal strength is lower than a preset signal strength threshold, it is determined that the location attribute tag of the trajectory point meets the preset pre-loaded application resource condition.
5. The application resource preloading method according to claim 1, characterized in that: The determining of the application resources to be preloaded includes: Acquire application resource data associated with the location attribute tag of the track point; Acquire the application resource currently used by the user at the location attribute tag of the track point to obtain first application resource data; Obtain the historical application resources used by the user corresponding to the location attribute tag of the track point to obtain second application resource data; Based on the associated application resource data, the first application resource data, and the second application resource data, a list of application resources to be preloaded is determined.
6. The application resource preloading method according to claim 5, characterized in that: The determining, based on the associated application resource data, the first application resource data, and the second application resource data, a list of application resources to be preloaded includes: using the first application resource data as a first candidate application resource; Filtering the application resources matching the second application resource data from the associated application resource data as second candidate application resources; Merge the first candidate application resource and the second candidate application resource to obtain a third candidate application resource; The list of application resources to be preloaded is determined according to the current usage duration, historical usage frequency, and historical usage duration of each application resource in the third candidate application resources.
7. The application resource preloading method according to claim 6, characterized in that: Determining the priority of the application resources to be preloaded includes: Obtaining the application size of each application resource in the list of application resources to be preloaded; Calculating the preloading duration of each application resource according to the application size of each application resource; The application resources are sorted according to the preloading durations, and priorities of the application resources to be preloaded are determined based on the sorting.
8. An application resource preloading device, characterized in that: include: Information acquisition module, used to obtain the user's current location information and current time; A trajectory prediction module, configured to predict the user's movement trajectory based on the current location information and the current time; a priority determination module, configured to determine a position attribute tag of each track point in the motion track, and determine an application resource to be preloaded and a priority of the application resource to be preloaded if the position attribute tag of the track point meets a preset preloaded application resource condition; The preloading module is configured to preload the corresponding application resources to be preloaded according to the priorities of the application resources to be preloaded.
9. An application resource preloading device, characterized in that: include: one or more processors; The memory stores one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the application resource preloading method according to any one of claims 1 to 7.
10. A storage medium containing computer-executable instructions, characterized in that: When executed by a computer processor, the computer executable instructions are used to execute the application resource preloading method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Map resource loading method and device thereof, storage medium and electronic device
CN113018866A
Map data acquisition method and device and aircraft
CN113934808A
Software preloading method based on position information and preloading system thereof
CN114661377A
Page resource preloading method and device and storage medium
CN115061745A
Pre-loading processing method and device based on terminal equipment, terminal and medium
CN118377550A