Application access method, device, electronic device and storage medium
By determining the search keywords in the mobile terminal and finding the matching package name in the database, the problem of low access efficiency of applications without desktop icons is solved, quick startup of applications and database updates is achieved, and the overall access efficiency is improved.
Patent Information
- Application Number
- CN202010959895.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2040-09-14
AI Technical Summary
In the existing technology, users need to enter relevant pages to find access to applications without desktop icons, resulting in low application access efficiency.
By determining the entered search keywords, the matching package name is found in the set database, and the access portal of the target application is loaded based on the found package name, and the database is updated to improve search efficiency.
It enables quick startup of applications by searching for keywords, improves application access efficiency, and supports search and update of applications without desktop icons.
Smart Images

Figure CN112100479B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile terminal technology, and in particular to an application access method, device, electronic device and storage medium. Background Art
[0002] In the related art, the user needs to enter the relevant page to find the access entry corresponding to the application without desktop icon, which reduces the access efficiency of the application. Summary of the invention
[0003] In view of this, embodiments of the present application provide an application access method, device, electronic device, and storage medium to at least solve the problem of low search efficiency of application programs in related technologies.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The present application provides an application access method, the method comprising:
[0006] Determine the search keywords entered about the target application;
[0007] Searching for a program package name matching the search keyword in a setting database; the setting database is used to store a program package name and an access entry for each application in at least one application;
[0008] Based on the found program package name, load the corresponding access entry of the target application.
[0009] In the above scheme, the method further includes:
[0010] The package name and access entry of each application in at least one application stored in the setting database are updated at a set time.
[0011] In the above solution, updating the package name and access entry of each application in at least one application stored in the setting database at a set time includes any one of the following:
[0012] At every set period, updating the package name and access entry of each application in at least one application stored in the setting database;
[0013] When the operating system is updated, the package name and access entry of each application in the at least one application stored in the setting database are updated.
[0014] In the above solution, the setting database stores a first character string; the first character string is obtained by concatenating the package name of each application in at least one application stored in the setting database;
[0015] The updating of the package name and access entry of each application in at least one application stored in the setting database at a set time includes:
[0016] Traversing the package name of each application in all applications in the operating system, concatenating all the traversed package names to generate a second character string;
[0017] When the second character string is different from the first character string, the package name and access entry of each application in the at least one application stored in the setting database are updated.
[0018] In the above scheme, the method further comprises:
[0019] When the first character string is identical to the second character string, the first character string stored in the setting database is retained.
[0020] In the above solution, when the first character string is different from the second character string, updating the package name and access entry of each application in at least one application stored in the setting database includes:
[0021] comparing the first character string with the second character string, and determining a first application according to the comparison result; wherein the first application represents a deleted application or an added application;
[0022] Based on the package name and access entry of the first application, updating the setting database;
[0023] The first character string stored in the setting database is replaced with the second character string.
[0024] In the above solution, comparing the first character string with the second character string and determining the first application according to the comparison result includes:
[0025] Determine at least one first package name and at least one second package name; the first package name is obtained by performing data segmentation processing based on the first character string; the second package name is obtained by performing data segmentation processing based on the second character string;
[0026] The first application is determined according to the at least one first program package name and the at least one second program package name.
[0027] The embodiment of the present application also provides an application access device, characterized by comprising:
[0028] A determination unit, used to determine an input search keyword related to a target application;
[0029] A search unit, configured to search a setting database for a program package name matching the search keyword; the setting database is configured to store a program package name and an access entry for each application in at least one application;
[0030] The loading unit is used to load the corresponding access entry of the target application based on the found program package name.
[0031] The present application also provides an electronic device, including: a processor and a memory for storing a computer program that can be run on the processor.
[0032] Wherein, the processor is used to execute the steps of any of the above methods when running the computer program.
[0033] An embodiment of the present application further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above methods are implemented.
[0034] In an embodiment of the present application, a search keyword input about a target application is determined, a package name matching the search keyword is searched in a setting database, the setting database is used to store the package name and access entry of each application in at least one application, and based on the found package name, the access entry of the corresponding target application is loaded, so that the application can be quickly started by calling the application package through the search keyword, thereby improving the access efficiency of the application. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A flowchart of an implementation method of an application access method provided in an embodiment of the present application;
[0036] Figure 2 A schematic diagram of an interface for accessing a target application provided by an embodiment of the present application;
[0037] Figure 3 A flowchart of an implementation method of an application access method provided in an embodiment of the present application;
[0038] Figure 4 A flowchart of an implementation method of an application access method provided in another embodiment of the present application;
[0039] Figure 5 A flowchart of an implementation method of an application access method provided in another embodiment of the present application;
[0040] Figure 6 A schematic diagram of the structure of an application access device provided in one embodiment of the present application;
[0041] Figure 7 A schematic diagram of the hardware structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0042] The present application is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0043] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0044] It should be noted that the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0045] In addition, in the embodiments of the present application, "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0046] The present application embodiment provides an application access method. Figure 1 A flow chart of the application access method according to an embodiment of the present application. Figure 1 As shown, the method includes:
[0047] S101: Determine input search keywords related to a target application.
[0048] Here, the search keyword input about the target application is determined, wherein the target application refers to the application that needs to be opened, and the search keyword is used to determine the target application in the application of the operating system. In actual application, the search keyword about the target application can be entered in the search bar of the terminal, and the search keyword can be the application name of the target application. According to the icon of the application, the application can be divided into an application without a desktop icon and an application with a desktop icon, wherein the application without a desktop icon means that the icon of the application is not displayed on the desktop, and it is necessary to enter the relevant menu bar to start the application. For example, for example, the operating system has an application without a desktop icon for gesture service. If the gesture service application needs to be opened, the application needs to be started in the menu bar where the gesture service is located. For example, the menu bar where the gesture service is located is opened through the path of Settings-->Application-->Application Management, and then the access entry of the gesture service is found from the menu bar to start the gesture service. The application with a desktop icon means that the icon of the application is displayed on the desktop, so that the application can be started through the icon on the desktop, for example, a third-party application downloaded from the network, and the target application can be an application without a desktop icon or an application with a desktop icon. In actual applications, the application icon is usually used as the access entrance to the application. In order to quickly access the application, a search keyword is entered in the search box of the notification bar, so that the application can be quickly accessed according to the search results.
[0049] S102: searching a setting database for a program package name that matches the search keyword; the setting database is used to store a program package name and an access entry for each application in at least one application.
[0050] Here, according to the input search keyword about the target application, the package name matching the search keyword is searched in the setting database, and the setting database is used to store the package name and access entry of each application in at least one application, wherein the package contains different files that can ensure the normal operation of the application, and the package file formats used in different operating systems are different. For example, the package on the Android system is an Android application package (APK, Android application package). When running an application on the Android system, it is necessary to call the APK corresponding to the application. An APK file contains compiled code files, file resources, native resource files, certificates and manifest files. In actual applications, the package names corresponding to different applications are different, and the package names are unique, so that different packages can be distinguished. For example, the package name corresponding to the one-handed mode is com.coloros.focusmode, and the package name corresponding to the focus mode is com.coloros.exserviceui. In actual applications, the package names and access entries of all applications of the operating system are stored in the setting database, and the search keyword is usually the application name of the target application, so that the package name matching the search keyword can be determined in the setting database according to the search keyword, that is, the package name of the target application is determined.
[0051] S103: Based on the found program package name, load the corresponding access entry of the target application.
[0052] Here, based on the found package name, the access entry of the corresponding target application is loaded. The access entry can be displayed through the icon of the target application and the application name of the target application. The search keyword about the target application is entered in the search box of the notification bar. Based on the found package name, the application name and icon corresponding to the package name are obtained from the system interface, and the application name and icon are displayed on the terminal interface. The target application can be started by clicking the access entry of the target application, such as Figure 2 As shown, Figure 2 A schematic diagram of the interface for loading the access entry of the target application is shown. Figure 2In the search bar, the target application is a gesture service, and the access entry corresponding to the gesture service is loaded in the interface by entering the keyword in the search bar. In actual applications, the search results of non-desktop applications can be displayed in the notification bar. When the target application is a non-desktop application, the non-desktop application can be started according to the access entry in the search results, and there is no need to enter the relevant menu bar to start the non-desktop application, thereby improving the access efficiency of the application. In actual applications, when the search keyword entered is about an application without a desktop icon, the corresponding access entry of the non-desktop icon application can also be loaded, so as to support the search of the non-desktop icon application. In actual applications, for function keys without a desktop, for example, the flashlight button on the lock screen interface, the corresponding function of the function key can also be started through the loaded access entry by entering the corresponding keyword in the search box in the notification bar.
[0053] In the above embodiment, the input search keyword about the target application is determined, and the package name matching the search keyword is searched in the setting database. The setting database is used to store the package name and access entry of each application in at least one application. Based on the found package name, the access entry of the corresponding target application is loaded, and the application package can be called by the search keyword, so that applications with desktop icons and applications without desktop icons can be quickly started, thereby improving the access efficiency of the application and increasing the search scope of the application.
[0054] In one embodiment, the method further comprises:
[0055] The package name and access entry of each application in at least one application stored in the setting database are updated at a set time.
[0056] Here, the application of the operating system may change, and it is necessary to update the package name and access entry of each application in at least one application stored in the setting database at a set time. In actual applications, new applications can be downloaded to the operating system, or applications can be uninstalled, so that the application of the operating system will change. Therefore, the setting database is updated at a set time so that the package name and access entry of each application in at least one application stored in the setting database are all applications of the operating system. In actual applications, new desktop icon-free applications can be configured through the terminal, and configured desktop icon-free applications can also be removed. The setting database can be updated within a set time according to the configuration of the desktop icon-free applications.
[0057] In the above embodiment, the package name and access entry of each application in at least one application stored in the setting database are updated at a set time, so that the information stored in the setting database can be updated according to the application situation of the operating system, so that the information corresponding to the application of the operating system is stored in the setting database, thereby improving the access efficiency of the application.
[0058] In one embodiment, updating the package name and access entry of each application in at least one application stored in the setting database at a set time includes any one of the following:
[0059] At every set period, updating the package name and access entry of each application in at least one application stored in the setting database;
[0060] When the operating system is updated, the package name and access entry of each application in the at least one application stored in the setting database are updated.
[0061] Here, in each setting cycle, the package name and access entry of each application in at least one application stored in the setting database are updated. For example, users will download or uninstall some applications according to personal needs, so that the applications on the operating system change. The setting cycle can be to update the setting database every day when entering the terminal homepage, so that the setting database can be updated according to the changes in the terminal's applications every day. When the terminal's operating system is updated, due to changes in the operating system, the system applications may change with the changes in the operating system, and applications without desktop icons may be added or reduced. For example, after the operating system is updated, a dark mode is added to the operating system to change the color mode of the screen display. Therefore, it is necessary to update the information stored in the setting database when the operating system is updated.
[0062] In the above embodiment, the package name and access entry of each application in the at least one application stored in the setting database are updated at a set time, including updating the package name and access entry of each application in the at least one application stored in the setting database at set intervals, and updating the package name and access entry of each application in the at least one application stored in the setting database at set intervals. This allows the setting database to be updated in a timely manner according to the application status of the operating system, and the setting database to be updated when the application of the operating system may change, which is beneficial to improving the accuracy of the information stored in the setting database, thereby improving the access efficiency of the application.
[0063] In one embodiment, if Figure 3As shown, the setting database stores a first character string; the first character string is obtained by concatenating the package name of each application in at least one application stored in the setting database;
[0064] The updating of the package name and access entry of each application in at least one application stored in the setting database at a set time includes:
[0065] S301: Traverse the package name of each application in all applications in the operating system, concatenate all the traversed package names, and generate a second character string.
[0066] Here, the package name of each application in all applications in the operating system is traversed, the package names of all applications in the operating system are obtained, and all the traversed package names are spliced to generate a second character, wherein the second character contains the package name of each application in all applications in the operating system. For example, there are two applications in the operating system, namely gesture service and one-handed mode. The package name of the focus mode is spliced with the package name of the one-handed mode to generate a second string. In actual applications, the package name of the application without desktop icon can be obtained through the configured application interface, and the package name of the application with desktop icon can be obtained through the system interface.
[0067] S302: When the second character string is different from the first character string, updating the package name and access entry of each application in at least one application stored in the setting database.
[0068] Here, a first string is stored in the setting database, and the first string is obtained by concatenating the package name of each application in at least one application stored in the setting database. For example, the package name of the focus mode and the package name of the one-handed mode are stored in the setting database, and the package name of the focus mode and the package name of the one-handed mode are concatenated to obtain the first string. When the second string is different from the first string, it means that the application of the operating system is different from all the applications in at least one application stored in the setting database. For example, the application stored in the setting database does not exist on the operating system, or there is an application on the operating system that does not appear in the setting database, and the package name and access entry of each application in at least one application stored in the setting database need to be updated. In actual applications, by concatenating the package names of the applications, it is determined whether the package names of all applications in the operating system are the same as the package names of the applications stored in the setting database, thereby improving the efficiency of updating the setting database.
[0069] In the above embodiment, a first string is stored in the setting database, and the first string is obtained by concatenating the package name of each application in at least one application stored in the setting database. The package name of each application in all applications in the operating system is traversed, and all the traversed package names are concatenated to generate a second string. When the second string is different from the first string, the package name and access entry of each application in at least one application stored in the setting database are updated, so that it is possible to determine whether the setting database needs to be updated through the concatenated package name, which is beneficial to improving the update efficiency of the setting database, and can timely update the information of the setting database according to the application situation on the operating system, which is beneficial to improving the access efficiency of the application.
[0070] In one embodiment, the method further comprises:
[0071] When the first character string is identical to the second character string, the first character string stored in the setting database is retained.
[0072] Here, after comparing the first string with the second string, if the first string is the same as the second string, it means that all applications on the operating system are the same as each application stored in the setting database, that is, the setting database has stored the package names of all applications on the operating system, and the first string stored in the setting database is retained, and there is no need to update the setting database.
[0073] In the above embodiment, when the first character string is identical to the second character string, the first character string stored in the setting database is retained, thereby avoiding storing identical data in the setting database and improving the storage efficiency of the setting database.
[0074] In one embodiment, if Figure 4 As shown, when the first character string is different from the second character string, updating the package name and access entry of each application in at least one application stored in the setting database includes:
[0075] S401: Compare the first character string with the second character string, and determine a first application according to the comparison result; wherein the first application represents a deleted application or an added application.
[0076] Here, when it is determined that the first string is different from the second string, it indicates that there is a situation where the package name of the application is removed or added, the first string is compared with the second string, and the first application is determined according to the comparison result, wherein when the comparison result indicates that the package name of the application is removed from the second string, the first application indicates a deleted application, when the comparison result indicates that the package name of the application is added to the second string, the first application indicates an added application, and when the comparison result indicates that the package name of the application is removed from the second string and there is an addition to the package name of the application, the first application may indicate a deleted application or an added application.
[0077] In one embodiment, if Figure 5 As shown, comparing the first character string with the second character string and determining the first application according to the comparison result includes:
[0078] S501: Determine at least one first package name and at least one second package name; the first package name is obtained by performing data segmentation processing based on the first character string; the second package name is obtained by performing data segmentation processing based on the second character string.
[0079] Here, at least one first package name and at least one second package name are determined, wherein the first package name is obtained by performing data segmentation processing on the first string, and the second package name is obtained by performing data segmentation processing on the second string. In actual applications, both the first string and the second string are obtained by concatenating the package name of the application to obtain a string of characters. The first string and the second string can determine whether the strings are the same. When determining the different package names in the first string and the second string, it is necessary to compare each package name in the first string with each package name in the second string to determine, therefore, it is necessary to perform data segmentation processing on the first string and the second string. In actual applications, when concatenating the package names of the application, each package name can be separated by a set character. For example, when concatenating the package name of the focus mode with the package name of the one-handed mode, the generated second string can be com.coloros.focusmode#com.coloros.exserviceui, wherein # is a set character used to separate the package name of the focus mode from the package name of the one-handed mode. When there is a set character for separation, when performing data segmentation processing on the first character and the second character, the position of the set character in the character string is determined, and the package name between every two set characters is extracted, so that the data segmentation processing can be completed quickly.
[0080] S502: Determine the first application according to the at least one first program package name and the at least one second program package name.
[0081] Here, according to at least one first package name and at least one second package name, the first package name is compared with the second package name to determine the first application. In actual applications, when a first package name is the same as a second package name, it means that the corresponding application on the operating system has not changed. For example, when the package name corresponding to the one-handed mode can be found in both the first package name and the second package name, it means that the one-handed mode is not an added application, nor a deleted application. When a second package name is different from all first package names, it means that the corresponding application is an added application, and the corresponding application is determined as the first application. When a first package name is different from all second package names, it means that the corresponding application has been deleted, and the corresponding application is determined as the first application. In actual applications, the package names that are different from at least one first package name and at least one second package name can be directly determined, and the applications corresponding to the different package names are determined as the first application. When the package name belongs to the first package name, it means that the corresponding application is a first application that has been deleted, and when the package name belongs to the second package name, it means that the corresponding application should be a first application that has been added.
[0082] In the above embodiment, at least one first package name and at least one second package name are determined, the first package name is obtained by performing data segmentation processing based on the first character string, and the second package name is obtained by performing data segmentation processing based on the second character string. According to the at least one first package name and the at least one second package name, the first application is determined, and the changed application can be quickly determined through the segmented package names, so that the setting database can be updated according to the changed application, thereby improving the updating efficiency of the setting database.
[0083] S402: Based on the package name and access entry of the first application, the setting database is updated.
[0084] Here, based on the package name and access entry of the first application, the setting database is updated, wherein, when the first application represents a deleted application, it means that the first application does not exist on the operating system, and the access entry of the first application is deleted in the setting database to complete the update of the setting database. When the first application represents an added application, it means that the access entry of the first application does not exist in the setting database, and based on the package name and access entry of the first application, the access entry of the first application is stored in the setting database, so that the access entry of the newly added application can be stored in the setting database. In actual applications, the setting database can be updated in a targeted manner through the first application, and there is no need to process all the data stored in the setting database, thereby reducing the amount of data that needs to be processed during the update process and quickly completing the update of the setting database.
[0085] S403: Replace the first character string stored in the setting database with the second character string.
[0086] Here, by replacing the first character string stored in the setting database with the second character string, the package names of all applications on the operating system can be stored in the setting database, thereby updating the package names of the applications stored in the setting database, and all applications on the operating system can be recorded through the setting database, so that when the applications on the operating system change, the changed applications can be identified.
[0087] In the above embodiment, the first string is compared with the second string, and the first application is determined according to the comparison result, wherein the first application represents a deleted application or an added application, and based on the package name and access entry of the first application, the setting database is updated, and the first string stored in the setting database is replaced with the second string, so that the setting database can be updated accordingly according to different changes in the application, thereby reducing the amount of data to be processed during the setting database update process and improving the efficiency of the setting database update.
[0088] To implement the method of the embodiment of the present application, the embodiment of the present application also provides an application access device, such as Figure 6 As shown, the device comprises:
[0089] A determination unit 601 is used to determine an input search keyword related to a target application;
[0090] A search unit 602 is used to search a setting database for a package name that matches the search keyword; the setting database is used to store a package name and an access entry for each application in at least one application;
[0091] The loading unit 603 is used to load the corresponding access entry of the target application based on the found program package name.
[0092] In one embodiment, the device further comprises:
[0093] The updating unit is used to update the package name and access entry of each application in the at least one application stored in the setting database at a set time.
[0094] In one embodiment, the updating unit sets a time to update the package name and access entry of each application in at least one application stored in the setting database, including any one of the following:
[0095] At every set period, updating the package name and access entry of each application in at least one application stored in the setting database;
[0096] When the operating system is updated, the package name and access entry of each application in the at least one application stored in the setting database are updated.
[0097] In one embodiment, the setting database stores a first string; the first string is obtained by concatenating the package name of each application in at least one application stored in the setting database; the updating unit updates the package name and access entry of each application in at least one application stored in the setting database at a set time, including:
[0098] Traversing the package name of each application in all applications in the operating system, concatenating all the traversed package names to generate a second character string;
[0099] When the second character string is different from the first character string, the package name and access entry of each application in the at least one application stored in the setting database are updated.
[0100] In one embodiment, the device further comprises:
[0101] A retaining unit is used to retain the first character string stored in the setting database when the first character string is the same as the second character string.
[0102] In one embodiment, when the first character string is different from the second character string, the updating unit updates the package name and access entry of each application in the at least one application stored in the setting database, including:
[0103] comparing the first character string with the second character string, and determining a first application according to the comparison result; wherein the first application represents a deleted application or an added application;
[0104] Based on the package name and access entry of the first application, updating the setting database;
[0105] The first character string stored in the setting database is replaced with the second character string.
[0106] In one embodiment, the updating unit compares the first character string with the second character string, and determines the first application according to the comparison result, including:
[0107] Determine at least one first package name and at least one second package name; the first package name is obtained by performing data segmentation processing based on the first character string; the second package name is obtained by performing data segmentation processing based on the second character string;
[0108] The first application is determined according to the at least one first program package name and the at least one second program package name.
[0109] In actual application, the determination unit 601, the search unit 602, and the loading unit 603 can be implemented by a processor in the application access device. Of course, the processor needs to run the program stored in the memory to implement the functions of the above program modules.
[0110] It should be noted that the above Figure 6 The application access device provided in the embodiment only uses the division of the above-mentioned program modules as an example to illustrate when performing application access. In actual applications, the above-mentioned processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-mentioned processing. In addition, the application access device provided in the above embodiment and the application access method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0111] Based on the hardware implementation of the above program module, and in order to implement the method of the embodiment of the present application, the embodiment of the present application also provides an electronic device, Figure 7 Schematic diagram of the hardware structure of the electronic device of the present application embodiment. Figure 7 As shown, the electronic equipment includes:
[0112] Communication interface 1, capable of exchanging information with other devices such as network devices;
[0113] The processor 2 is connected to the communication interface 1 to implement information exchange with other devices and is used to execute the application access method provided by one or more of the above technical solutions when running a computer program. The computer program is stored in the memory 3.
[0114] Of course, in actual application, the various components in the electronic device are coupled together through the bus system 4. It can be understood that the bus system 4 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 4 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 7 Various buses are labeled as bus system 4.
[0115] The memory 3 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device. Examples of such data include: any computer program used to operate on the electronic device.
[0116] It can be understood that the memory 3 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 3 described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memories.
[0117] The method disclosed in the above embodiment of the present application can be applied to the processor 2, or implemented by the processor 2. The processor 2 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 2 or the instruction in the form of software. The above processor 2 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 2 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the memory 3, and the processor 2 reads the program in the memory 3 and completes the steps of the above method in combination with its hardware.
[0118] When the processor 2 executes the program, the corresponding processes in the various methods of the embodiments of the present application are implemented, which will not be repeated here for the sake of brevity.
[0119] In an exemplary embodiment, the present application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, a memory 3 storing a computer program, and the computer program can be executed by a processor 2 to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
[0120] In the several embodiments provided in the present application, it should be understood that the disclosed devices, terminals and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0121] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0122] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be a separate unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0123] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.
[0124] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.
[0125] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An application access method, It is characterized in that include: Determine the search keyword about the target application entered in the search bar of the terminal; wherein the target application is an application without a desktop icon; the application without a desktop icon means that the icon of the application is not displayed on the desktop of the terminal, and it is necessary to enter the relevant menu bar to start the application; Searching for a program package name matching the search keyword in a setting database; the setting database is used to store a program package name and an access entry for each application in at least one application; Based on the found package name, load the corresponding access entry of the target application; The updating of the setting database is achieved in the following manner: The setting database stores a first string, and determines a second string in the operating system; wherein the first string is obtained by concatenating the package name of each application in at least one application stored in the setting database; and the second string is obtained by traversing the package name of each application in all applications in the operating system and concatenating all the traversed package names; In the case where the second character string is different from the first character string, determining at least one first program package name and at least one second program package name; wherein the first program package name is obtained by performing data segmentation processing based on the first character string; and the second program package name is obtained by performing data segmentation processing based on the second character string; In a case where a second program package name is different from all the first program package names, an application corresponding to the second program package name is an added application, and the corresponding application is determined as the first application; In the case where the name of one of the first program packages is different from the names of all the second program packages, the application corresponding to the name of the first program package has been deleted, and the corresponding application is determined to be the first application; wherein the first application represents a deleted application or an added application; The setting database is updated based on the package name and access entry of the first application.
2. The application access method according to claim 1, It is characterized in that The method further comprises: The updating is performed on the package name and access entry of each application in the at least one application stored in the setting database at a set time.
3. The application access method according to claim 2, It is characterized in that The updating of the package name and access entry of each application in at least one application stored in the setting database at a set time includes any one of the following: At every set period, updating the package name and access entry of each application in at least one application stored in the setting database; When the operating system completes the updating, the package name and access entry of each application in the at least one application stored in the setting database are updated.
4. The application access method according to claim 2, It is characterized in that The updating of the package name and access entry of each application in at least one application stored in the setting database at a set time includes: When the second character string is different from the first character string, the package name and access entry of each application in the at least one application stored in the setting database are updated.
5. The application access method according to claim 4, It is characterized in that The method further comprises: When the first character string is identical to the second character string, the first character string stored in the setting database is retained.
6. The application access method according to claim 4, It is characterized in that In the case where the first character string is different from the second character string, the method further includes: The first character string stored in the setting database is replaced with the second character string.
7. An application access device, It is characterized in that include: A determination unit, configured to determine a search keyword about a target application entered in a search bar of a terminal; wherein the target application is an application without a desktop icon; the application without a desktop icon means that the application icon is not displayed on the desktop of the terminal, and it is necessary to enter a related menu bar to start the application; A search unit, configured to search a setting database for a program package name matching the search keyword; the setting database is configured to store a program package name and an access entry for each application in at least one application; A loading unit, configured to load the corresponding access entry of the target application based on the found program package name; An updating unit is configured to store a first string in the setting database and determine a second string in the operating system; wherein the first string is obtained by concatenating the package name of each application in at least one application stored in the setting database; the second string is obtained by traversing the package name of each application in all applications in the operating system and concatenating all the traversed package names; when the second string is different from the first string, determining at least one first package name and at least one second package name; wherein the first package name is obtained by data segmentation based on the first string; the second package name is obtained by data segmentation based on the second string; when one of the second package names is different from all of the first package names, the application corresponding to the one second package name is an added application, and the corresponding application is determined as the first application; when one of the first package names is different from all of the second package names, the application corresponding to the one first package name has been deleted, and the corresponding application is determined as the first application; wherein the first application represents a deleted application or an added application; and updating the setting database based on the package name and access entry of the first application.
8. An electronic device, It is characterized in that include: a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method described in any one of claims 1 to 6.
9. A storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and equipment for providing service entry
CN106468990A
Method for testing application carried smart TV
CN107333131A
Application lookup method, device, storage medium and electronic device
CN109284261A
