A software preloading method and preloading system based on location information
By detecting the location information and attribute tags of the smart terminal, suitable applications are automatically obtained and preloaded, which solves the problem in the existing technology that application preloading relies on manual mode switching, realizes intelligent application preloading, and improves response speed and User experience.
Patent Information
- Application Number
- CN202210330137.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-31
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-03-31
AI Technical Summary
Application preloading on existing smart terminals relies on users' manual mode switching and cannot automatically select matching applications based on the current environment, resulting in application loading delays and insufficient response time.
By detecting the location information of the terminal, determine the attribute tag of the current location, and obtain the application recommendation list for preloading based on the tag, including using the GPS module and barometer to obtain location information, determine the user's movement mode and dwell time, and automatically trigger preloading Conditions, silently download and install necessary applications.
It realizes the automatic selection and preloading of suitable applications based on the user's current location, simplifies the operation process, reduces the response time for opening applications, and improves the user experience.
Smart Images

Figure CN114661377B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of terminal local area network, and in particular to a software preloading method based on location information and a preloading system thereof. Background Art
[0002] Existing smart terminals often install various applications (APPs, referred to as applications) with different functions. Since these applications occupy a lot of storage space, the application is loaded only when the user opens any application. It takes a certain amount of time to wait and cannot respond immediately. For this reason, when the smart terminal detects that the user has switched to a certain mode, it will preload some applications in a targeted manner according to the user's settings in the mode, so as to shorten the loading time when the application is opened and increase the speed at which the user opens the corresponding application. Since the preloading of existing applications depends on the user's manual mode switching and application selection, when a new mode that has not been set appears, or a newly installed application is not classified into a mode, there will still be a delay in application loading, and the corresponding application cannot be selected for preloading according to the current environment, and intelligent selection and switching of application preloading cannot be realized.
[0003] Therefore, the prior art still needs to be improved and developed. Summary of the invention
[0004] In view of the above-mentioned deficiencies in the prior art, an object of the present invention is to provide a software preloading method and a preloading system based on location information, so as to solve the problem that the existing manual preloading cannot automatically select a matching application according to the current environment.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions:
[0006] A software preloading method based on location information comprises the steps of:
[0007] When the preloading condition is detected, the terminal obtains the location information of the current location;
[0008] Determine the attribute tag of the current location according to the location information, and obtain the application recommendation list corresponding to the attribute tag;
[0009] Preload the applications in the application recommendation list.
[0010] In the software preloading method based on location information, the trigger preloading condition is when the terminal accesses a new base station, and the step of detecting the trigger preloading condition includes:
[0011] After the terminal detects that it is connected to a new base station, the preloading condition is triggered.
[0012] In the software preloading method based on location information, the preloading triggering condition is leaving the previous activity range, and the step of detecting the preloading triggering condition includes:
[0013] The terminal obtains the positioning information collected by the GPS module at a set interval, and calculates the coordinate values corresponding to each positioning point based on the positioning information;
[0014] Determine whether the distance between the previous positioning point and the current positioning point is greater than the preset distance value based on the coordinate value: if yes, it is determined that the user is moving fast, otherwise, the user is moving slowly;
[0015] Preload navigation and entertainment apps when the user is moving quickly.
[0016] When it is determined that the user is moving slowly, the activity range is confirmed according to the user's stay time, and when it is determined that the user leaves the activity range, the preloading condition is triggered.
[0017] In the software preloading method based on location information, the coordinate value of the location information is (x, y, z), wherein x and y are coordinate values (x, y) based on the x-axis and y-axis calculated according to the positioning information collected by the GPS module in the terminal; z is the z-axis data, the physical height of the current location obtained by the barometer in the terminal.
[0018] In the software preloading method based on location information, the step of determining the attribute tag of the current location according to the location information and obtaining the application recommendation list corresponding to the attribute tag includes:
[0019] The terminal obtains the attribute tag of the current location based on the location information and the local map;
[0020] When the acquisition of the attribute tag fails, the terminal uploads the location information to the server, and the server determines the attribute tag of the current location and feeds it back to the terminal;
[0021] The terminal obtains a preset application recommendation list according to the attribute tag.
[0022] In the software preloading method based on location information, the attribute tag is used to indicate the type of place of the current location, including but not limited to leisure and shopping places, transportation places, public service places, cultural and sports places and personal customization places.
[0023] In the software preloading method based on location information, an application recommendation list lists applications recommended for use in a location type corresponding to an attribute tag, and each application recommendation list is stored in the settings and named with the corresponding attribute tag.
[0024] In the software preloading method based on location information, the step of preloading applications in the application recommendation list includes:
[0025] Determine whether each application in the application recommendation list has been installed: If so, preload each application in the application recommendation list; otherwise, silently download and install the uninstalled application in the background, and preload the application.
[0026] In the software preloading method based on location information, after the step of preloading the application in the application recommendation list, the method further includes:
[0027] When the detection terminal closes the application, the application information opened by the user is collected and the application recommendation list is updated.
[0028] A preloading system for implementing the software preloading method based on location information, comprising a terminal and a server, wherein the terminal comprises a GPS module, a barometer and a control processing module;
[0029] When the control processing module detects the triggering preloading condition, the location information of the current location is obtained through the GPS module and the barometer, the control processing module determines the attribute tag of the current location according to the location information, obtains the application recommendation list corresponding to the attribute tag, and preloads the application in the application recommendation list;
[0030] When the control processing module fails to obtain the attribute tag, the location information is uploaded to the server, and the server determines the attribute tag of the current location and feeds it back to the control processing module.
[0031] Compared with the prior art, the software preloading method based on location information and the preloading system provided by the present invention include the following steps: when the preloading condition is detected, the terminal obtains the location information of the current location; according to the location information, the attribute tag of the current location is determined, and the application recommendation list corresponding to the attribute tag is obtained; and the application in the application recommendation list is preloaded. The corresponding application can be selected for preloading according to the user's current location information, without the need for manual mode switching or setting, which simplifies the preloading operation and solves the problem that the existing manual preloading cannot automatically select the matching application according to the current environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A flowchart of a method for preloading software based on location information provided by the present invention;
[0033] Figure 2 This is a structural block diagram of the position information-based preloading system provided by the present invention. DETAILED DESCRIPTION
[0034] The present invention provides a software preloading method based on location information and a preloading system thereof, which can select related applications for preloading according to the user's current location information, without the need for manual mode switching or setting, thereby simplifying the preloading operation. In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0035] It will be understood by those skilled in the art that, unless expressly stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the term "comprising" used in the specification of the present invention refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof. It should be understood that when we refer to an element as being "connected" or "coupled" to another element, it may be directly connected or coupled to the other element, or there may be an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein includes all or any module and all combinations of one or more associated listed items.
[0036] It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined as herein.
[0037] See also Figure 1 , which is a flow chart of the software preloading method based on location information provided by the present invention. Figure 1 As shown, the software preloading method includes the following steps:
[0038] S10. When a preloading triggering condition is detected, the terminal obtains location information of the current location.
[0039] S20: Determine the attribute tag of the current location according to the location information, and obtain an application recommendation list corresponding to the attribute tag.
[0040] S30: Preload applications in the application recommendation list.
[0041] Since the present embodiment mainly selects the corresponding application for preloading based on the location information, in step S10, the preloading condition is that the location information of the terminal has changed compared with the previous one, that is, the terminal moves to a new area with the user, and when it is judged that the terminal enters the new area, the preloading condition is triggered. The situation of entering the new area includes accessing a new base station and leaving the previous activity range, and entering the new area can be judged when either of the two is met.
[0042] Accessing a new base station, that is, when the terminal leaves the working range of the previous base station and enters the working range of the new base station, it will automatically connect to the new base station. The connection switching of the base station is an existing technology; in this embodiment, the terminal can trigger the preloading condition after detecting that it is connected to the new base station.
[0043] Leaving the previous activity range means that the user is moving. The user's movement mode is usually divided into slow movement (such as walking) and fast movement (such as riding, driving). The positioning information output by the GPS module in the terminal includes the latitude and longitude of the user's current location, the direction angle of movement, time and other data. The terminal can calculate the current coordinate values of the terminal on the X-axis and Y-axis based on these data. In order to reduce the amount of calculation, the terminal can obtain the positioning information collected by the GPS module once at a set interval (such as 4 seconds), calculate the coordinate values corresponding to each positioning point based on the positioning information, and judge whether the distance between the previous positioning point and the current positioning point (the calculation of the distance between two points based on the coordinate value (x, y) is the existing technology) is greater than the preset distance value (such as 3 meters). If so, it is judged that the user is moving quickly, otherwise the user is moving slowly.
[0044] When moving quickly, such as riding a bicycle or driving a car, the applications that users are most likely to use are navigation (when the users are driving or riding a bicycle) and entertainment (when the users are taking public transportation). At this time, the preloading condition is triggered, and the navigation and entertainment applications can be preloaded directly.
[0045] In the case of slow movement, such as when the user is shopping or taking a walk, it is necessary to intelligently recommend corresponding applications to the user for preloading based on the surrounding environment. Based on the fact that the location information changes less during slow movement, this embodiment uses the user's stay time to confirm the activity range, that is, when the terminal detects the user's stay (determines that the distance between the previous positioning point and the current positioning point is less than or equal to the lower limit value (such as 50 cm)), it starts timing and determines whether the stay time is greater than the preset time: if yes, the current position is set as the center of the circle, and the preset distance (such as 50 meters, 100 meters, etc.) is used as the radius to divide an activity range; otherwise, continue to detect the next stay. Next, the terminal determines whether the user has left the activity range. If yes (that is, the current positioning point is not within the activity range), it means entering a new area, triggering the preloading condition; otherwise, it is not triggered. After that, the terminal continues to detect the next stay.
[0046] After the preloading condition is triggered, the terminal obtains the location information of the current location. The coordinate value of the location information is (x, y, z), where x and y are the coordinate values (x, y) based on the x-axis and y-axis calculated according to the positioning information collected by the GPS module; z is the z-axis data, that is, the physical height of the current location obtained by the barometer in the terminal. In specific implementation, other modules or devices can also be used to obtain the data of the x-axis, y-axis and z-axis, which are not limited here.
[0047] In this embodiment, the step S20 specifically includes:
[0048] Step 21: The terminal obtains the attribute label of the current location based on the location information and the local map.
[0049] In this step, the attribute tag is used to indicate the type of place at the current location, including but not limited to leisure and shopping places, such as various entertainment (such as cinemas, KTV) cities or amusement parks, shopping centers (such as supermarkets, clothing plazas, restaurants, pedestrian streets, etc.), tourist attractions, etc.; transportation places, such as high-speed railway stations, railway stations, airports, bus stations, etc.; public service places, such as banks, hotels, hospitals, government service halls and other places with specific functions; cultural and sports places, such as schools, libraries, gymnasiums, etc.; personal customized places, such as homes, companies, etc.
[0050] At present, shopping, leisure, entertainment, hotels and other places are often included in one or several commercial buildings, and each floor has corresponding functional divisions, such as the underground first floor is a supermarket, the first floor sells electronic products and cosmetics, the second to fourth floors sell clothing, the fifth floor is a variety of restaurants, and the sixth floor is a cinema, etc. This embodiment identifies the floor in the building according to the physical height of the current location, and further determines the current floor of the user and the type of place corresponding to the floor according to the indoor layout of the building (usually there is a relevant introduction on the Internet).
[0051] Preset corresponding attribute tags for each specific location on the local map. For example, set the attribute tag of a movie theater as a leisure shopping place. When the terminal locates the current location on the map as a movie theater (within 10 meters around the movie theater, it also belongs to the movie theater) according to the location information, query the attribute tag of the movie theater, that is, the leisure shopping place. In specific implementation, multiple attribute tags can also be set for the same address. For example, a hotel can be set as a public service place and a leisure shopping place at the same time. The attribute tags of each address can be automatically set by network big data push, and can also be modified by the user.
[0052] Step 22: When the acquisition of the attribute tag fails, the terminal uploads the location information to the server, and the server determines the attribute tag of the current location and feeds it back to the terminal.
[0053] If the local map data is not updated, or the location is not classified into place types, the corresponding attribute tags cannot be obtained and can be uploaded to the server for processing and judgment. The server queries the geographical name of the current location on the map (such as a certain community, a certain square, a certain hotel) based on the location information, sets the corresponding attribute tags based on the network big data, and feeds back the location information, the corresponding geographical name and the attribute tags to the terminal.
[0054] Step 23: The terminal obtains a preset application recommendation list according to the attribute tag.
[0055] An application recommendation list lists all applications corresponding to an attribute label, that is, applications recommended for a certain type of place. For example, leisure shopping places require consumption, and in special cases, it is also necessary to verify the itinerary code. Some users also like to take pictures, so it is recommended to use online banking, WeChat, Alipay, camera and other applications; when the attribute label is leisure shopping places, its corresponding application recommendation list can list online banking, WeChat, Alipay, camera and other applications. Transportation places need to verify the itinerary code, some support scanning to pay the fare, some users like to play games or watch videos to pass the time, and some bus stops can view the real-time arrival time. When the attribute label is transportation places, its corresponding application recommendation list can list WeChat, Alipay, games, videos, music and other applications. Public service places need to verify the itinerary code, payment or transaction, so its corresponding application recommendation list can list online banking, place-customized applications (such as banks, hotels, hospitals, and government service halls’ self-defined APPs) and other applications. The application recommendation list for cultural and sports venues can list customized applications for the venues, such as the school's own on-campus applications, various learning software (select appropriate learning software according to primary school, junior high school, high school, university, etc.), library applications (facilitating online borrowing and returning of books, and checking the location of books), gymnasium applications (checking the time of competition events in the gymnasium, and the rental of venues), etc. The application recommendation list for cultural and sports venues can list customized applications, such as applications commonly used by users at home, applications needed to be used in the company, etc.
[0056] These application recommendation lists are stored in the settings and named with corresponding attribute tags. In specific implementation, the user can also enter the settings of the terminal, open each application recommendation list, and delete or add applications.
[0057] In the step S30, each application in the application recommendation list may have been installed in the terminal, or a certain application may not be present, so it is necessary to first determine whether each application in the application recommendation list has been installed: if so, preload each application in the application recommendation list; otherwise, directly download and install silently in the background to preload the application; when detecting that the user opens the application, prompt the user that the download is complete and can be used.
[0058] In the specific implementation, the user may open an application that is not in the application recommendation list. In order to optimize the subsequent use effect, after step S30, the following further steps are included: step S40, when detecting that the terminal closes the application, collecting the application information opened by the user this time and updating the application recommendation list; specifically:
[0059] Step 41, when the detection terminal closes an application, determine whether the application is in the current application recommendation list: if yes, execute step 42; otherwise, add the application to the application recommendation list;
[0060] A user may open and use an application that is not in the application recommendation list. Such an application based on user preferences can be added to the application recommendation list to achieve personalized recommendations for the user.
[0061] Step 42: When the detection terminal triggers the preloading condition again, it is determined whether the preloaded application is opened: if so, the process returns to step S10; otherwise, the preloading state is cleared from the background.
[0062] When the terminal triggers the preloading condition again, it means that the user has moved to another new area. At this time, new applications will be recommended based on the new location information. If an application has been opened and used before, the current state of the application will be maintained; if some preloaded applications are not used, the preloading state of these applications can be cleared to avoid occupying memory.
[0063] It is important to understand that as long as the environment is different from the last time, it can be considered a new area. If you return to a place you have been to before, it is also considered a new area if it is different from the last time. For example, from A to B, B is equivalent to a new area in A; and from B to A, A is equivalent to a new area in B. If the corresponding application has been preloaded in A before, you can directly obtain the application recommendation list corresponding to the attribute tag of A and preload it.
[0064] Preferably, in order to further avoid memory occupation, when the terminal is shut down, it is determined whether the application downloaded and installed in step S30 is opened: if not, it means that the user does not need to use the application, and the application is uninstalled from the background to reduce memory occupation; if yes, it is not processed.
[0065] Please also read Figure 2In addition to disclosing the above-mentioned software preloading method based on location information, this embodiment also discloses a preloading system, which includes a terminal 100 and a server 200. The terminal 100 is provided with a GPS module 110, a barometer 120 and a control processing module 130. When the control processing module 130 detects a triggering preloading condition, it obtains the location information of the current location through the GPS module 110 and the barometer 120. The control processing module 130 determines the attribute tag of the current location according to the location information, obtains the application recommendation list corresponding to the attribute tag, and preloads the application in the application recommendation list. When the control processing module 130 fails to obtain the attribute tag, the location information is uploaded to the server 200. The server 200 determines the attribute tag of the current location and feeds it back to the control processing module 130.
[0066] The terminal may be a mobile phone, tablet computer, smart watch, or other terminal device having a three-axis (X-axis, Y-axis, and Z-axis) data acquisition function and capable of wireless connection. Only modules related to this embodiment are shown here, and other modules of the terminal (such as a power module, a display screen, a housing, etc.) are prior art and will not be described in detail here.
[0067] To summarize, in the location information-based software preloading method and preloading system provided by the present invention, when detecting that a user has entered a new area, the location information of the current location and the corresponding attribute tag are obtained, and the corresponding application recommendation list is pushed with the attribute tag to recommend applications that are more suitable for the current environment to the user; the applications in the application recommendation list are preloaded to reduce the response time of opening the application, thereby realizing personalized and intelligent preloading of the application.
[0068] At the same time, the z-axis data obtained by the barometer can facilitate positioning to a more accurate floor, and recommend possible applications based on the functional division of the current floor, ensuring that users can quickly open related applications, making location positioning more accurate and improving the matching degree of application recommendations.
[0069] It should be understood that the application of the present invention is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A software preloading method based on location information, characterized in that: Includes steps: When the preloading condition is detected, the terminal obtains the location information of the current location; Determine the attribute tag of the current location according to the location information, and obtain the application recommendation list corresponding to the attribute tag; Preload the applications in the application recommendation list; The step of determining the attribute tag of the current location according to the location information and obtaining the application recommendation list corresponding to the attribute tag comprises: The terminal obtains the attribute tag of the current location based on the location information and the local map; multiple attribute tags are set for the same address, and the attribute tags of each address are automatically set by network big data push or modified by the user; When the acquisition of the attribute tag fails, the terminal uploads the location information to the server, and the server determines the attribute tag of the current location and feeds it back to the terminal; The terminal obtains a preset application recommendation list according to the attribute tag; Enter the terminal's settings, open each application recommendation list, and delete or add applications; After the step of preloading the application in the application recommendation list, the method further includes: When the detection terminal closes the application, collect the application information opened by the user and update the application recommendation list; When the detection terminal closes an application, it is determined whether the application is in the current application recommendation list: if yes, the next step is executed; otherwise, the application is added to the application recommendation list; When the detection terminal triggers the preloading condition again, it is determined whether the preloaded application is opened: if yes, the process returns to the step of obtaining the location information of the current location when the detection triggers the preloading condition, otherwise the preloading state is cleared from the background.
2. The method for preloading software based on location information according to claim 1, characterized in that: The trigger preloading condition is when the terminal accesses a new base station, and the step of detecting the trigger preloading condition includes: After the terminal detects that it is connected to a new base station, the preloading condition is triggered.
3. The method for preloading software based on location information according to claim 1, characterized in that: The trigger preloading condition is when leaving the previous activity range, and the step of detecting the trigger preloading condition includes: The terminal obtains the positioning information collected by the GPS module at a set interval, and calculates the coordinate values corresponding to each positioning point based on the positioning information; Determine whether the distance between the previous positioning point and the current positioning point is greater than the preset distance value based on the coordinate value: if yes, it is determined that the user is moving fast, otherwise, the user is moving slowly; Preload navigation and entertainment apps when the user is moving quickly. When it is determined that the user is moving slowly, the activity range is confirmed according to the user's stay time, and when it is determined that the user leaves the activity range, the preloading condition is triggered.
4. The software preloading method based on location information according to claim 1, characterized in that: The coordinate value of the location information is (x, y, z), where x and y are coordinate values (x, y) based on the x-axis and y-axis calculated according to the positioning information collected by the GPS module in the terminal; z is the z-axis data, the physical height of the current location obtained by the barometer in the terminal.
5. The method for preloading software based on location information according to claim 1, characterized in that: The attribute tag is used to indicate the type of place at the current location, including but not limited to leisure and shopping places, transportation places, public service places, cultural and sports places, and personal customization places.
6. The method for preloading software based on location information according to claim 1, characterized in that: An application recommendation list lists applications recommended for use in a location type corresponding to an attribute tag. Each application recommendation list is stored in the settings and named with the corresponding attribute tag.
7. The method for preloading software based on location information according to claim 1, characterized in that: The step of preloading the application in the application recommendation list includes: Determine whether each application in the application recommendation list has been installed: If so, preload each application in the application recommendation list; otherwise, silently download and install the uninstalled application in the background, and preload the application.
8. A preloading system for implementing the software preloading method based on location information according to claim 1, characterized in that: It includes a terminal and a server, wherein the terminal includes a GPS module, a barometer and a control processing module; When the control processing module detects the triggering preloading condition, the location information of the current location is obtained through the GPS module and the barometer, the control processing module determines the attribute tag of the current location according to the location information, obtains the application recommendation list corresponding to the attribute tag, and preloads the application in the application recommendation list; When the control processing module fails to obtain the attribute tag, the location information is uploaded to the server, and the server determines the attribute tag of the current location and feeds it back to the control processing module.
Citation Information
Patent Citations
Preprocessing method and device
CN106547582A
Pre-loading method and device of application program, storage medium and terminal
CN108804153A
Application preloading method and device, storage medium and terminal
CN108804156A
Application pre-loading management method and device, storage medium and intelligent terminal
CN108920202A
Method and system for file prefetching in mobile internet based on running heat
CN109240574A
