WO2020087388A1 - Quick application recommendation method and apparatus, storage medium, and electronic device - Google Patents

Quick application recommendation method and apparatus, storage medium, and electronic device Download PDF

Info

Publication number
WO2020087388A1
WO2020087388A1 PCT/CN2018/113168 CN2018113168W WO2020087388A1 WO 2020087388 A1 WO2020087388 A1 WO 2020087388A1 CN 2018113168 W CN2018113168 W CN 2018113168W WO 2020087388 A1 WO2020087388 A1 WO 2020087388A1
Authority
WO
WIPO (PCT)
Prior art keywords
clustering
cluster
application
target
sample
Prior art date
Application number
PCT/CN2018/113168
Other languages
French (fr)
Chinese (zh)
Inventor
林进全
Original Assignee
深圳市欢太科技有限公司
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市欢太科技有限公司, Oppo广东移动通信有限公司 filed Critical 深圳市欢太科技有限公司
Priority to CN201880097410.9A priority Critical patent/CN112673370A/en
Priority to PCT/CN2018/113168 priority patent/WO2020087388A1/en
Publication of WO2020087388A1 publication Critical patent/WO2020087388A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/906Clustering; Classification

Definitions

  • the present application relates to the technical field of electronic equipment, and in particular, to a recommended method, device, storage medium, and electronic equipment for fast application.
  • the fast application is an application that can be experienced without installing the application. Lightweight application with native features.
  • the most recently used fast apps will be listed.
  • the order of the list is the time of the most recently opened fast apps by the user, and the recently used fast apps will be ranked according to the opening time
  • this recommendation method is relatively rigid and cannot be intelligently recommended according to user needs, and the recommendation accuracy rate is low.
  • Embodiments of the present application provide a quick application recommendation method, device, storage medium, and electronic equipment, which can improve the recommendation accuracy of fast applications.
  • an embodiment of the present application provides a quick application recommendation method, including:
  • the corresponding target quick application is determined and recommended.
  • an embodiment of the present application provides a quick application recommendation device, including:
  • the collection unit is used to collect multi-dimensional features when the fast application is started as a sample, and establish a sample library;
  • a processing unit configured to perform clustering processing on the samples in the sample library to obtain a target clustering result
  • An obtaining unit configured to obtain current environmental characteristic information when a quick application recommendation instruction is detected
  • the determining unit is used to compare the environment feature information with the target clustering result, determine the corresponding target quick application and make recommendations.
  • a storage medium provided by an embodiment of the present application has a computer program stored thereon, and when the computer program runs on a computer, the computer is allowed to execute the recommended method for fast application as provided by any embodiment of the present application .
  • an electronic device provided by an embodiment of the present application includes a processor and a memory, and the memory has a computer program, wherein the processor is used to perform the steps by calling the computer program:
  • the corresponding target quick application is determined and recommended.
  • FIG. 1 is a schematic flowchart of a quick application recommendation method provided by an embodiment of the present application.
  • FIG. 2 is another schematic flowchart of a quick application recommendation method provided by an embodiment of the present application.
  • FIG. 3 is a schematic block diagram of a quick application recommendation device provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of another module of a quick application recommendation device provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 6 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • module used in this article can be regarded as a software object executed on the computing system.
  • the different components, modules, engines and services described in this article can be regarded as the implementation objects on the computing system.
  • the device and method described herein are preferably implemented in the form of software, and of course can also be implemented in hardware, which are all within the protection scope of the present application.
  • the embodiment of the present application provides a method for recommending a fast application.
  • the main body of the method for recommending a fast application may be the device for recommending a fast application provided in the embodiment of the present application, or an electronic device integrated with the device for recommending a fast application, wherein
  • the quick application recommendation device can be implemented in hardware or software.
  • the electronic device may be a smart phone, a tablet computer, a PDA (Personal Digital Assistant) and so on.
  • An embodiment of the present invention provides a quick application recommendation method, including:
  • the corresponding target quick application is determined and recommended.
  • the step of clustering the samples in the sample library to obtain the target clustering result may include: analyzing each sample in the sample library according to the clustering model, Each sample generates a corresponding clustering point; each clustering point is clustered according to the clustering model to obtain the target clustering result.
  • the step of performing clustering processing on each clustering point according to the clustering model to obtain a target clustering result may include: performing convergence processing on the clustering points according to the clustering model to obtain A plurality of convergent cluster clusters, the cluster cluster is composed of a plurality of convergent cluster points; the plurality of convergent cluster clusters is determined as a target clustering result.
  • the step of collecting multi-dimensional features when the fast application is opened as a sample may further include: when the application is detected to be opened, acquiring the corresponding name attribute of the currently opened application; judgment Whether the name attribute is a preset name attribute; when it is determined that the name attribute is a preset name attribute, the currently opened application is determined to be a fast application, and a multi-dimensional feature when the quick application is opened is collected as a sample, and a sample is created Library steps.
  • the step of determining whether the name attribute is a preset name attribute may include: extracting keyword information from the name attribute; determining whether the keyword information and the preset keyword information Match; when it is determined that the keyword information matches the preset keyword information, it is determined that the name attribute is the preset name attribute; when it is determined that the keyword information does not match the preset keyword information, it is determined The name attribute is not a preset name attribute.
  • the step of collecting multi-dimensional features when the quick application is started as a sample and establishing a sample library may include: starting to calculate a time value and collecting the multi-dimensional features when the quick application is started as a sample; when the time When the accumulated value reaches the preset time, the collected samples will be established into a sample library.
  • FIG. 1 is a schematic flowchart of a quick application recommendation method provided by an embodiment of the present application.
  • the quick application recommendation method may include the following steps:
  • step S101 multi-dimensional features when the quick application is started are collected as samples, and a sample library is established.
  • the electronic device will correspondingly collect the multi-dimensional features at the start of the fast application.
  • the multi-features may include, but are not limited to, the start time, fast geographic location, and fast start of the fast application.
  • a sample within a preset time may be collected to establish a sample library.
  • the preset time may be 7 days or 14 days, etc.
  • the step of acquiring the multi-dimensional feature when the quick start application is used as a sample and establishing a sample library may include:
  • the user's habits when opening the fast application in the past week or two weeks can be collected as a sample to establish a sample library, that is, the time value is calculated, and the preset time can be set according to the usage habits, such as The preset time is one week or two weeks, and samples are collected continuously until the calculated time value reaches the preset time cumulatively.
  • the continuously collected samples are summarized and a sample library is established.
  • the time value can be continuously calculated, and the sample within the preset time can be collected.
  • the newly collected sample can replace the sample in the original sample library. Re-update the sample library to ensure the real-time nature of the samples.
  • step S102 perform clustering processing on the samples in the sample library to obtain the target clustering result.
  • the samples in the sample library can be clustered according to specific features through the algorithm of cluster analysis, and samples with similar specific features can be put into corresponding sets respectively to obtain multiple different sets, and combine multiple different Is determined as the target clustering result.
  • the clustering analysis algorithm may be a K-means algorithm, which is a typical distance-based clustering algorithm, and uses distance as a similarity evaluation index, that is, two objects are considered The closer the distance, the greater the similarity.
  • the algorithm believes that clusters are composed of objects close to each other, so the final goal is to obtain compact and independent clusters, that is, multiple compact and independent clusters can be used as the target clustering result.
  • the step of clustering the samples in the sample library to obtain the target clustering result may include:
  • the clustering model may be a K-means algorithm model, and each sample in the sample library is analyzed with a specific feature according to the K-means algorithm.
  • the specific feature may be a start-up time feature and a start-up location feature.
  • the K-means algorithm model generates a corresponding cluster point for each sample, and the spatial attributes of the cluster point are composed of specific features.
  • clustering points with high similarity are clustered to obtain multiple similar clustering sets, and the multiple similar clustering sets are determined as the target clustering result.
  • the step of clustering each clustering point according to the clustering model to obtain the target clustering result may include:
  • the K-means algorithm uses distance as an evaluation index of similarity, that is, the closer the distance between two objects, the greater the similarity.
  • the K-means algorithm It is considered that the clusters are composed of objects that are close to each other, so the final goal is to obtain compact and independent clusters.
  • a preset number of initial cluster centers can be randomly selected in the sample library, the distance between each cluster point and the cluster center can be calculated, and each cluster can be clustered according to the distance between each cluster point and the cluster center The point is assigned to the closest cluster. After all the cluster points are examined, an iterative operation is completed, the new cluster center is calculated, and so on, until the cluster points in the cluster cluster no longer change, that is to say The clustering cluster has converged, and multiple clustering clusters are determined as the target clustering result.
  • step S103 when the quick application recommendation instruction is detected, the current environmental characteristic information is acquired.
  • the electronic device when the user opens the quick application list, the electronic device needs to obtain multiple quick application icons to display in the quick application list.
  • the quick application icons recently used by the user are displayed on the quick application according to the order of use time In the list, this mechanical arrangement will cause inconvenience to users.
  • a quick application recommendation instruction when the user opens the quick application list, a quick application recommendation instruction will be generated, and when the electronic device detects the quick application recommendation instruction, it will obtain the current environmental feature information accordingly.
  • the environmental feature information is the user ’s current location. Scene information, such as the current time and current location, etc. It should be noted that the environmental feature information may correspond to the specific feature used for clustering.
  • step S104 according to the environmental characteristic information and the target clustering result, the corresponding target quick application is determined and recommended.
  • the environmental feature information corresponds to the specific feature of the clustering process
  • different sets of the environmental feature information and the target clustering result after the clustering process may have corresponding similarity information, corresponding,
  • the set with the highest similarity is determined as the target set, and multiple samples distributed in the target set are obtained, the application names of the fast apps in the multiple samples are extracted, and multiple target fast apps are determined and displayed on the fast Apply in the list to make recommendations.
  • the number of repeated application names may be counted, and multiple target fast applications may be sorted and displayed and recommended according to the counted order from high to low.
  • the step of comparing the environment feature information with the target clustering result to determine the corresponding target application and recommending may include:
  • the cluster cluster with the smallest Euclidean distance is determined as the target cluster cluster, and the corresponding target fast application is determined and recommended according to the target cluster cluster.
  • the Euclidean distance generally refers to the Euclidean metric, which is a commonly used distance definition, which refers to the true distance between two points in the m-dimensional space, or the natural length of the vector (That is, the distance from the point to the origin).
  • the Euclidean distance in two-dimensional and three-dimensional space is the actual distance between two points. From this, the distance between two cluster points can be measured by the Euclidean distance, and the distance between two cluster points can be obtained. Similarity.
  • the Euclidean distance (also can be understood as the similarity) of the cluster points in each cluster cluster on a specific feature is relatively close, and since the environmental feature information corresponds to the specific feature, the obtained The Euclidean distance between the environmental feature information and the center point of each cluster, the cluster with the smallest Euclidean distance, that is, the highest similarity, is determined as the target cluster.
  • the target cluster has the most environmental feature information corresponding to the current environment. Is close, so the target cluster represents the user's historical usage habits in this environment.
  • the corresponding application name of each cluster point in the target cluster is obtained, and the number of repeated application names is counted, and the corresponding fast application icons are sorted and displayed according to the order of the statistical number from high to bottom, to Recommend to users.
  • a method for recommending a fast application by collecting multi-dimensional features when the fast application is started as a sample, and establishing a sample library; clustering the samples in the sample library to obtain the target cluster Results; when the quick application recommendation instruction is detected, the current environmental feature information is obtained; according to the environmental feature information and the target clustering result is compared, the corresponding target quick application is determined and recommended.
  • a sample library is established according to the multi-dimensional features of the user when the fast application is started, and the samples in the sample library are clustered to obtain the corresponding target clustering result.
  • the recommended instruction of the fast application is detected, the current environmental feature information is obtained.
  • the target fast application suitable for the current environment is determined and intelligent recommendation is made, which improves the accuracy rate of fast application recommendation.
  • FIG. 2 is another schematic flowchart of a method for recommending a fast application provided by an embodiment of the present application.
  • the method includes:
  • step S201 when it is detected that the application is opened, the name attribute corresponding to the currently opened application is acquired.
  • electronic devices such as mobile phones include applications installed through software installation packages and lightweight fast applications that are directly opened through script file parsing configuration files.
  • this fast application does not require downloading installation packages and does not occupy The storage space of the phone, but you can also directly experience the native functions of the application.
  • the mobile phone when the mobile phone detects that the application is opened, it can obtain the corresponding name attribute of the currently opened application, that is, the name attribute of the current application can be grabbed from the background, and the name attribute can be a piece of program code, such as com.opper.mm. plugin.appbrand.ui.appBrandUI.
  • step S202 it is determined whether the name attribute is a preset name attribute.
  • the name attribute of the fast application will contain a part of the program code, such as opper, you can determine the part of the program code as the preset name attribute, determine whether the obtained name attribute matches the preset name attribute, when it is determined that the name attribute is pre
  • step S203 is executed.
  • it is determined that the name attribute is not the preset name attribute it means that the currently running application is not a fast application, and the process returns to step S201.
  • the step of determining whether the name attribute is a preset name attribute may include:
  • the keyword information in the name attribute can be extracted.
  • the keyword information can be representative information of the fast application, such as the opper, etc., and the keyword information can also be representative information of the application, such as the apk.
  • Extract keyword information opper such as com.opper.mm.plugin.appbrand.ui.appBrandUI, determine whether the keyword information opper matches the preset keyword information, the preset keyword information is fast application keyword information opper , Matches the extracted keyword information opper, then it is determined that the name attribute is a preset name attribute. If the extracted keyword information is apk and does not match the preset keyword information, it is determined that the name attribute is not the preset name attribute.
  • the name attribute is a preset name attribute
  • the currently running application is a fast application
  • the name attribute com.opper.mm.plugin.appbrand.ui.appBrandUI contains an opper
  • the currently opened application is judged to be fast Application, and collect the multi-dimensional characteristics of the currently running fast application when it is started as a sample.
  • the multi-dimensional characteristics can include the startup time, the current geographic location, the application name of the fast application, and so on. You can continuously collect samples within two weeks to establish For the sample library, it should be noted that the current geographic location can be latitude and longitude.
  • step S204 each sample in the sample library is parsed according to the clustering model, and each sample is generated into a corresponding clustering point.
  • the fast order application when the user starts the fast application, it is often started according to the actual needs in a specific scenario, for example, the fast order application will be opened near the company's geographical location at about 12 noon, and will be in the subway station at 8 am and about 6 pm Start the Metro Express app nearby, etc. It can be seen that the express app has a clustering trend at a certain point in time and geographical location.
  • each sample in the sample library can be used as a specific classification feature according to the startup time and the current geographic location, and a two-dimensional coordinate system corresponding to the startup time and the current geographic location can be established.
  • Corresponding clustering points are generated according to the starting time and geographic location.
  • step S205 the clustering points are converged according to the clustering model to obtain a plurality of convergent clustering clusters.
  • each cluster point is assigned to the corresponding cluster center to form K cluster clusters, and then all clusters in the cluster cluster are calculated
  • the mean value of the points forms a new clustering center and repeats until the clustering points begin to converge to obtain K convergent clustering clusters.
  • step S206 a plurality of converged cluster clusters are determined as the target clustering result.
  • the cluster point in each cluster cluster is closest to other cluster points in the same cluster cluster, multiple convergent cluster clusters can be opened on behalf of users at a certain time and corresponding geographic location The habit of fast application, the multiple convergent clusters form the corresponding target clustering result.
  • step S207 when the quick application recommendation instruction is detected, the current environmental characteristic information is acquired.
  • the fast application recommendation instruction can be generated.
  • the mobile phone detects the fast application recommendation instruction, the user needs to intelligently recommend the fast application that the user wants to open according to the current environmental scene application.
  • the environmental characteristic information in the current scene such as the current time and the current geographic location, can be obtained.
  • step S208 the Euclidean distance between the environmental feature information and each cluster is calculated.
  • the clustering cluster is a two-dimensional coordinate system modeling based on the start time and geographic location
  • the current time and current geographic location can be calculated with each cluster The Euclidean distance of the clustering center point of the cluster.
  • the Euclidean distance is smaller, the two are more similar.
  • the Euclidean distance is larger, the difference between the two is larger.
  • step S209 the cluster cluster with the smallest Euclidean distance is determined as the target cluster cluster, and the corresponding target quick application is determined and recommended according to the target cluster cluster.
  • the cluster cluster with the smallest Euclidean distance is determined as the target cluster cluster, that is, the cluster cluster that is most similar to the current time and the current geographic location is determined as the target cluster cluster, and the distribution of the target cluster cluster indicates that in the scene Under the habit of users to open fast apps, get the corresponding app name of each cluster point in the cluster, and count the number of repeated app names, get the target fast app corresponding to the app name, and follow the statistics from high to Sort the target fast apps in a low order and display them in the quick apps list for recommendation. For example, if the environmental feature information is 12:01 and company coordinates, then according to the usual clustering processing results, you can determine that multiple points are displayed in the list. Fast food application and so on.
  • a method for recommending a fast application determines whether the application is a fast application according to the name attribute of the current application when the application is detected to be opened, and when the fast application is Multi-dimensional features are used as samples, and a sample library is established, and the samples in the sample library are clustered according to the K-means clustering model to obtain multiple convergent cluster clusters, and the multiple convergent cluster clusters are determined as target clusters
  • the recommended instruction for fast application is detected, the current environmental feature information is obtained, the Euclidean distance between the environmental feature information and each cluster cluster is calculated, and the cluster cluster with the smallest Euclidean distance is determined as the target cluster cluster.
  • the target cluster determines the corresponding target application and recommends it.
  • a sample library is established according to the multi-dimensional features of the user when the fast application is started, and the samples in the sample library are clustered to obtain the corresponding target clustering result.
  • the recommended instruction of the fast application is detected, the current environmental feature information is obtained.
  • the target fast application suitable for the current environment is determined and intelligent recommendation is made, which improves the accuracy rate of fast application recommendation.
  • the embodiment of the present application further provides an apparatus based on the quick application recommendation method.
  • the meaning of the nouns is the same as in the above-mentioned quick application recommendation method.
  • An embodiment of the present invention provides a quick application recommendation device, including:
  • the collection unit is used to collect multi-dimensional features when the fast application is started as a sample, and establish a sample library;
  • a processing unit configured to perform clustering processing on the samples in the sample library to obtain a target clustering result
  • An obtaining unit configured to obtain current environmental characteristic information when a quick application recommendation instruction is detected
  • the determining unit is used to compare the environment feature information with the target clustering result, determine the corresponding target quick application and make recommendations.
  • the processing unit may include: a parsing subunit and a processing subunit, the parsing subunit is used to parse each sample in the sample library according to the clustering model, and generate a corresponding Clustering point; this processing subunit is used to perform clustering processing on each clustering point according to the clustering model to obtain the target clustering result.
  • the processing subunit is specifically configured to: perform convergence processing on the clustering points according to the clustering model to obtain multiple converging clustering clusters, where the clustering cluster is composed of multiple converging clustering points Composition; determine multiple clustering clusters as the target clustering result.
  • the determining unit is specifically configured to: calculate the Euclidean distance between the environmental feature information and each cluster cluster; determine the cluster cluster with the smallest Euclidean distance as the target cluster cluster, and cluster according to the target cluster The cluster determines the corresponding target application and recommends it.
  • the collection unit is specifically configured to: start to calculate the time value, collect multi-dimensional features when the application is started as a sample; when the time value reaches the preset time cumulatively, establish a sample library of the collected samples.
  • FIG. 3 is a schematic block diagram of a quick application recommendation device provided by an embodiment of the present application.
  • the quick application recommendation device 300 includes an acquisition unit 31, a processing unit 32, an acquisition unit 33, and a determination unit 34.
  • the collection unit 31 is used to collect multi-dimensional features when the fast application is started as a sample, and establish a sample library.
  • the collection unit 31 is specifically configured to start calculating a time value and collect multi-dimensional features when the application is started as a sample; when the time value reaches the preset time cumulatively, the collected sample is used to establish a sample library.
  • the processing unit 32 is configured to perform clustering processing on the samples in the sample library to obtain a target clustering result.
  • the clustering process can be realized by a cluster analysis algorithm.
  • saying goes "things are clustered by clusters, people are clustered by clusters”.
  • the clustering algorithm Put similar samples into the same set.
  • the processing unit 32 can cluster the samples in the sample library according to specific features through a cluster analysis algorithm, and put samples with similar specific features into corresponding sets to obtain multiple different sets, and Multiple different sets are determined as the target clustering result.
  • the obtaining unit 33 is configured to obtain current environmental characteristic information when a quick application recommendation instruction is detected.
  • the electronic device when the user opens the quick application list, the electronic device needs to obtain multiple quick application icons to display in the quick application list.
  • the quick application icons recently used by the user are displayed on the quick application according to the order of use time In the list, this mechanical arrangement will cause inconvenience to users.
  • a quick application recommendation instruction when the user opens the quick application list, a quick application recommendation instruction will be generated, and when the acquisition unit 33 detects the quick application recommendation instruction, it will obtain the current environmental feature information accordingly.
  • the environmental feature information is that the user is currently in The scene information, such as the current time and current location, etc. It should be noted that the environmental feature information may correspond to the specific feature used for clustering.
  • the determining unit 34 is configured to compare the environmental feature information with the target clustering result, determine the corresponding target quick application, and recommend it.
  • the determining unit 34 may count the number of times of repeated application names, sort multiple target fast apps according to the counted number from high to low, and perform display recommendation.
  • the determining unit 34 is specifically configured to calculate the Euclidean distance between the environmental feature information and each cluster cluster; determine the cluster cluster with the smallest Euclidean distance as the target cluster cluster, and cluster according to the target cluster The cluster determines the corresponding target application and recommends it.
  • the processing unit 32 may include a parsing subunit 321 and a processing subunit 322.
  • the analysis subunit 321 is configured to analyze each sample in the sample library according to the clustering model, and generate a corresponding cluster point for each sample.
  • the processing subunit 322 is configured to perform clustering processing on each clustering point according to the clustering model to obtain the target clustering result.
  • the processing subunit 322 is specifically configured to perform convergence processing on the clustering points according to the clustering model to obtain multiple converging clustering clusters, where the clustering cluster is composed of multiple converging clustering points ; Determine multiple clustering clusters as the target clustering result.
  • the electronic device 500 includes a processor 501 and a memory 502.
  • the processor 501 and the memory 502 are electrically connected.
  • the processor 500 is the control center of the electronic device 500, which uses various interfaces and lines to connect the various parts of the entire electronic device, executes or loads the computer program stored in the memory 502, and calls the data stored in the memory 502 to execute
  • the electronic device 500 performs various functions and processes data to perform overall monitoring of the electronic device 500.
  • the memory 502 can be used to store software programs and modules.
  • the processor 501 runs computer programs and modules stored in the memory 502 to execute various functional applications and data processing.
  • the memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, computer programs required by at least one function (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store Data created by the use of electronic devices, etc.
  • the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may further include a memory controller to provide the processor 501 with access to the memory 502.
  • the processor 501 in the electronic device 500 will load the instructions corresponding to the process of one or more computer programs into the memory 502 according to the following steps, and the processor 501 executes and stores the instructions in the memory 502
  • the computer program in, which realizes various functions, is as follows:
  • the corresponding target quick application is determined and recommended.
  • the processor 501 when performing clustering processing on the samples in the sample library to obtain a target clustering result, the processor 501 may specifically perform the following steps:
  • the clustering cluster being composed of multiple converging clustering points
  • the processor 501 may specifically perform the following steps:
  • the cluster cluster with the smallest Euclidean distance is determined as the target cluster cluster, and the corresponding target quick application is determined and recommended according to the target cluster cluster.
  • the processor 501 may further specifically perform the following steps:
  • the name attribute is a preset name attribute
  • it is determined that the currently opened application is a fast application and a step of collecting multi-dimensional features when the fast application is started is taken as a sample and establishing a sample library.
  • the processor 501 may specifically perform the following steps:
  • the name attribute is a preset name attribute
  • the processor 501 may specifically perform the following steps when collecting the multi-dimensional features when the fast application is started as a sample and establishing a sample library:
  • the collected samples are established into a sample library.
  • the electronic device 500 may further include: a display 503, a radio frequency circuit 504, an audio circuit 505, and a power supply 506.
  • the display 503, the radio frequency circuit 504, the audio circuit 505, and the power supply 506 are electrically connected to the processor 501, respectively.
  • the display 503 can be used to display information input by the user or provided to the user and various graphical user interfaces, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the display 503 may include a display panel.
  • the display panel may be configured in the form of a liquid crystal display (Liquid Crystal) (LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
  • LCD liquid crystal display
  • OLED Organic Light-Emitting Diode
  • the radio frequency circuit 504 may be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
  • the audio circuit 505 can be used to provide an audio interface between a user and an electronic device through speakers and microphones.
  • the power supply 506 can be used to power various components of the electronic device 500.
  • the power supply 506 may be logically connected to the processor 501 through a power management system, so as to implement functions such as charging, discharging, and power management through the power management system.
  • the electronic device 500 may further include a camera, a Bluetooth module, etc., which will not be repeated here.
  • An embodiment of the present application further provides a storage medium that stores a computer program, and when the computer program is run on a computer, the computer is allowed to execute the recommended method of fast application in any of the foregoing embodiments, such as: fast collection Use the multi-dimensional feature when the application is turned on as a sample, and establish a sample library; cluster the samples in the sample library to obtain the target clustering result; when the fast application recommendation instruction is detected, obtain the current environmental feature information; according to the environment The feature information is compared with the target clustering result, and the corresponding target quick application is determined and recommended.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read Only Memory, ROM,), or a random access memory (Random Access Memory, RAM), etc.
  • the fast application recommendation method of the embodiments of the present application ordinary testers in the art can understand that all or part of the process of implementing the fast application recommendation method of the embodiments of the present application can be controlled by a computer program.
  • the computer program can be stored in a computer-readable storage medium, such as stored in the memory of the electronic device, and executed by at least one processor in the electronic device, the execution process can include such as fast The flow of the embodiment of the recommended method of application.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
  • each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules may be integrated into one module.
  • the above integrated modules may be implemented in the form of hardware or software function modules. If the integrated module 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, such as a read-only memory, magnetic disk, or optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A quick application recommendation method and apparatus, a storage medium, and an electronic device. The recommendation method comprises: collecting multiple features available upon activation of quick applications as samples, and establishing a sample library (S101); performing clustering of samples in the sample library to obtain a target clustering result (S102); upon detecting a quick application recommendation command, acquiring current environment feature information (S103); and performing comparison according to the environment feature information and the target clustering result to determine a corresponding quick application, and recommending the same (S104). The recommendation method improves accuracy of recommending a quick application.

Description

快应用的推荐方法、装置、存储介质及电子设备Recommended method, device, storage medium and electronic equipment for fast application 技术领域Technical field
本申请涉及电子设备技术领域,尤其涉及一种快应用的推荐方法、装置、存储介质及电子设备。The present application relates to the technical field of electronic equipment, and in particular, to a recommended method, device, storage medium, and electronic equipment for fast application.
背景技术Background technique
随着电子技术的不断发展,电子设备如手机的功能越来越强大,用户可以通过各式各样的快应用程去浏览应用的原生页面,该快应用为不需要进行应用安装即可以体验应用原生功能的轻量级应用。With the continuous development of electronic technology, the functions of electronic devices such as mobile phones are becoming more and more powerful. Users can browse the original pages of the application through various fast applications. The fast application is an application that can be experienced without installing the application. Lightweight application with native features.
目前,在手机开启快应用列表后,会列出最近使用的快应用,该列出的顺序是以用户最近打开的快应用的时间进行排序,根据打开时间的先后,将最近使用的快应用排在最前面,该推荐方法较为死板,不能根据用户的需求进行智能推荐,推荐准确率较低。At present, after the mobile phone opens the list of fast apps, the most recently used fast apps will be listed. The order of the list is the time of the most recently opened fast apps by the user, and the recently used fast apps will be ranked according to the opening time At the forefront, this recommendation method is relatively rigid and cannot be intelligently recommended according to user needs, and the recommendation accuracy rate is low.
发明内容Summary of the invention
本申请实施例提供一种快应用的推荐方法、装置、存储介质及电子设备,可以提升快应用的推荐准确率。Embodiments of the present application provide a quick application recommendation method, device, storage medium, and electronic equipment, which can improve the recommendation accuracy of fast applications.
第一方面,本申请实施例了提供了一种快应用的推荐方法,包括:In the first aspect, an embodiment of the present application provides a quick application recommendation method, including:
采集快应用开启时的多维特征作为样本,并建立样本库;Collect the multi-dimensional features when the fast application is started as a sample, and establish a sample library;
对所述样本库中的样本进行聚类处理,以得到目标聚类结果;Performing clustering processing on the samples in the sample library to obtain the target clustering result;
当检测到快应用推荐指令时,获取当前的环境特征信息;When the recommended instruction for quick application is detected, the current environmental characteristic information is obtained;
根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐。Based on the comparison between the environmental characteristic information and the target clustering result, the corresponding target quick application is determined and recommended.
第二方面,本申请实施例了提供了的一种快应用的推荐装置,包括:In a second aspect, an embodiment of the present application provides a quick application recommendation device, including:
采集单元,用于采集快应用开启时的多维特征作为样本,并建立样本库;The collection unit is used to collect multi-dimensional features when the fast application is started as a sample, and establish a sample library;
处理单元,用于对所述样本库中的样本进行聚类处理,以得到目标聚类结果;A processing unit, configured to perform clustering processing on the samples in the sample library to obtain a target clustering result;
获取单元,用于当检测到快应用推荐指令时,获取当前的环境特征信息;An obtaining unit, configured to obtain current environmental characteristic information when a quick application recommendation instruction is detected;
确定单元,用于根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐。The determining unit is used to compare the environment feature information with the target clustering result, determine the corresponding target quick application and make recommendations.
第三方面,本申请实施例提供的存储介质,其上存储有计算机程序,当所 述计算机程序在计算机上运行时,使得所述计算机执行如本申请任一实施例提供的快应用的推荐方法。In a third aspect, a storage medium provided by an embodiment of the present application has a computer program stored thereon, and when the computer program runs on a computer, the computer is allowed to execute the recommended method for fast application as provided by any embodiment of the present application .
第四方面,本申请实施例提供的电子设备,包括处理器和存储器,所述存储器有计算机程序,其中,所述处理器通过调用所述计算机程序,用于执行步骤:According to a fourth aspect, an electronic device provided by an embodiment of the present application includes a processor and a memory, and the memory has a computer program, wherein the processor is used to perform the steps by calling the computer program:
采集快应用开启时的多维特征作为样本,并建立样本库;Collect the multi-dimensional features when the fast application is started as a sample, and establish a sample library;
对所述样本库中的样本进行聚类处理,以得到目标聚类结果;Performing clustering processing on the samples in the sample library to obtain the target clustering result;
当检测到快应用推荐指令时,获取当前的环境特征信息;When the recommended instruction for quick application is detected, the current environmental characteristic information is obtained;
根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐。Based on the comparison between the environmental characteristic information and the target clustering result, the corresponding target quick application is determined and recommended.
附图说明BRIEF DESCRIPTION
下面结合附图,通过对本申请的具体实施方式详细描述,将使本申请的技术方案及其它有益效果显而易见。The technical solutions and other beneficial effects of the present application will be apparent through the detailed description of the specific implementation of the present application in conjunction with the accompanying drawings.
图1是本申请实施例提供的快应用的推荐方法的流程示意图。FIG. 1 is a schematic flowchart of a quick application recommendation method provided by an embodiment of the present application.
图2为本申请实施例提供的快应用的推荐方法的另一流程示意图。FIG. 2 is another schematic flowchart of a quick application recommendation method provided by an embodiment of the present application.
图3为本申请实施例提供的快应用的推荐装置的模块示意图。FIG. 3 is a schematic block diagram of a quick application recommendation device provided by an embodiment of the present application.
图4为本申请实施例提供的快应用的推荐装置的另一模块示意图。4 is a schematic diagram of another module of a quick application recommendation device provided by an embodiment of the present application.
图5为本申请实施例提供的电子设备的结构示意图。5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
图6为本申请实施例提供的电子设备的另一结构示意图。FIG. 6 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式detailed description
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Please refer to the drawings in which the same component symbols represent the same components. The principle of the present application is illustrated by implementation in an appropriate computing environment. The following description is based on the illustrated specific embodiments of the present application, which should not be considered as limiting other specific embodiments not detailed herein.
本文所使用的术语「模块」可看做为在该运算系统上执行的软件对象。本文该的不同组件、模块、引擎及服务可看做为在该运算系统上的实施对象。而本文该的装置及方法优选的以软件的方式进行实施,当然也可在硬件上进行实施,均在本申请保护范围之内。The term "module" used in this article can be regarded as a software object executed on the computing system. The different components, modules, engines and services described in this article can be regarded as the implementation objects on the computing system. However, the device and method described herein are preferably implemented in the form of software, and of course can also be implemented in hardware, which are all within the protection scope of the present application.
本申请实施例提供一种快应用的推荐方法,该快应用的推荐方法的执行主体可以是本申请实施例提供的快应用的推荐装置,或者集成了该快应用的推荐 装置的电子设备,其中该快应用的推荐装置可以采用硬件或者软件的方式实现。其中,电子设备可以是智能手机、平板电脑、掌上电脑(PDA,Personal Digital Assistant)等。The embodiment of the present application provides a method for recommending a fast application. The main body of the method for recommending a fast application may be the device for recommending a fast application provided in the embodiment of the present application, or an electronic device integrated with the device for recommending a fast application, wherein The quick application recommendation device can be implemented in hardware or software. Among them, the electronic device may be a smart phone, a tablet computer, a PDA (Personal Digital Assistant) and so on.
以下进行具体分析说明。The specific analysis is explained below.
本发明实施例提供一种快应用的推荐方法,包括:An embodiment of the present invention provides a quick application recommendation method, including:
采集快应用开启时的多维特征作为样本,并建立样本库;Collect the multi-dimensional features when the fast application is started as a sample, and establish a sample library;
对所述样本库中的样本进行聚类处理,以得到目标聚类结果;Performing clustering processing on the samples in the sample library to obtain the target clustering result;
当检测到快应用推荐指令时,获取当前的环境特征信息;When the recommended instruction for quick application is detected, the current environmental characteristic information is obtained;
根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐。Based on the comparison between the environmental characteristic information and the target clustering result, the corresponding target quick application is determined and recommended.
在一种实施方式中,所述对所述样本库中的样本进行聚类处理,以得到目标聚类结果的步骤,可以包括:根据聚类模型对样本库中的每一样本进行解析,将每一样本生成相应的聚类点;根据聚类模型对每一聚类点进行聚类处理,以得到目标聚类结果。In one embodiment, the step of clustering the samples in the sample library to obtain the target clustering result may include: analyzing each sample in the sample library according to the clustering model, Each sample generates a corresponding clustering point; each clustering point is clustered according to the clustering model to obtain the target clustering result.
在一种实施方式中,所述根据聚类模型对每一聚类点进行聚类处理,以得到目标聚类结果的步骤,可以包括:根据聚类模型对聚类点进行收敛处理,以得到多个收敛的聚类簇,所述聚类簇由多个收敛的聚类点组成;将多个收敛的聚类簇确定为目标聚类结果。In one embodiment, the step of performing clustering processing on each clustering point according to the clustering model to obtain a target clustering result may include: performing convergence processing on the clustering points according to the clustering model to obtain A plurality of convergent cluster clusters, the cluster cluster is composed of a plurality of convergent cluster points; the plurality of convergent cluster clusters is determined as a target clustering result.
在一种实施方式中,所述根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐的步骤,可以包括:计算所述环境特征信息与每一聚类簇的欧式距离;将欧式距离最小的聚类簇确定为目标聚类簇,并根据目标聚类簇确定出相应的目标快应用并进行推荐。In an embodiment, the step of determining the corresponding target application and recommending based on the comparison between the environmental feature information and the target clustering result may include: calculating the environmental feature information and each cluster Euclidean distance of the cluster; the cluster cluster with the smallest Euclidean distance is determined as the target cluster, and the corresponding target application is determined and recommended according to the target cluster.
在一种实施方式中,所述采集快应用开启时的多维特征作为样本,并建立样本库的步骤之前,还可以包括:当检测到应用开启时,获取当前开启的应用相应的名称属性;判断所述名称属性是否为预设名称属性;当判断出所述名称属性为预设名称属性时,判定当前开启的应用为快应用,并执行采集快应用开启时的多维特征作为样本,并建立样本库的步骤。In one embodiment, the step of collecting multi-dimensional features when the fast application is opened as a sample, and before the step of establishing a sample library, may further include: when the application is detected to be opened, acquiring the corresponding name attribute of the currently opened application; judgment Whether the name attribute is a preset name attribute; when it is determined that the name attribute is a preset name attribute, the currently opened application is determined to be a fast application, and a multi-dimensional feature when the quick application is opened is collected as a sample, and a sample is created Library steps.
在一种实施方式中,所述判断所述名称属性是否为预设名称属性的步骤,可以包括:提取所述名称属性中的关键词信息;判断所述关键词信息与预设关键词信息是否匹配;当判断出所述关键词信息与预设关键词信息匹配时,判定 为所述名称属性为预设名称属性;当判断出所述关键词信息与预设关键词信息不匹配时,判定为所述名称属性不为预设名称属性。In one embodiment, the step of determining whether the name attribute is a preset name attribute may include: extracting keyword information from the name attribute; determining whether the keyword information and the preset keyword information Match; when it is determined that the keyword information matches the preset keyword information, it is determined that the name attribute is the preset name attribute; when it is determined that the keyword information does not match the preset keyword information, it is determined The name attribute is not a preset name attribute.
在一种实施方式中,所述采集快应用开启时的多维特征作为样本,并建立样本库的步骤,可以包括:开始计算时间值,采集快应用开启时的多维特征作为样本;当所述时间值累计到达预设时间时,将采集的样本建立样本库。In one embodiment, the step of collecting multi-dimensional features when the quick application is started as a sample and establishing a sample library may include: starting to calculate a time value and collecting the multi-dimensional features when the quick application is started as a sample; when the time When the accumulated value reaches the preset time, the collected samples will be established into a sample library.
本申请实施例提供一种快应用的推荐方法,如图1所示,图1为本申请实施例提供的快应用的推荐方法的流程示意图,该快应用的推荐方法可以包括以下步骤:An embodiment of the present application provides a quick application recommendation method. As shown in FIG. 1, FIG. 1 is a schematic flowchart of a quick application recommendation method provided by an embodiment of the present application. The quick application recommendation method may include the following steps:
在步骤S101中,采集快应用开启时的多维特征作为样本,并建立样本库。In step S101, multi-dimensional features when the quick application is started are collected as samples, and a sample library is established.
需要说明的是,用户在使用一些快应用时,往往是在特定场景下需要进行启动的,如中午12点会在公司附近打开点餐快应用,早上8点以及晚上6点左右会在地铁附近打开地铁快应用等等,因此,快应用在启动时,是具有聚类属性的。It should be noted that when users use some fast apps, they often need to start in specific scenarios, such as the quick order app will be opened near the company at 12 noon, and will be near the subway at 8 am and around 6 pm Open the Metro Express app and so on, so the Express app has clustering properties when it starts.
基于此,当用户开启快应用时,电子设备会相应采集在快应用启动时的多维特征,作为一个样本,该多为特征可以包括但不限于快应用启动时的启动时间、启动地理位置以及快应用的应用名称等等,可以采集预设时间内的样本建立样本库,在一实施方式中,该预设时间可以为7天或者14天等等。Based on this, when the user starts the fast application, the electronic device will correspondingly collect the multi-dimensional features at the start of the fast application. As a sample, the multi-features may include, but are not limited to, the start time, fast geographic location, and fast start of the fast application. For the application name of the application, etc., a sample within a preset time may be collected to establish a sample library. In an embodiment, the preset time may be 7 days or 14 days, etc.
在一些实施方式中,该采集快应用开启时的多维特征作为样本,并建立样本库的步骤,可以包括:In some embodiments, the step of acquiring the multi-dimensional feature when the quick start application is used as a sample and establishing a sample library may include:
(1)开始计算时间值,采集快应用开启时的多维特征作为样本;(1) Start to calculate the time value and collect the multi-dimensional features when the fast application is started as a sample;
(2)当该时间值累计到达预设时间时,将采集的样本建立样本库。(2) When the accumulated time value reaches the preset time, the collected samples will be established into a sample library.
其中,为了更贴合用户的使用习惯,可以采集用户近一周或者两周内的开启快应用时的习惯作为样本建立样本库,即计算时间值,该预设时间可以按照使用习惯进行设置,如预设时间为一周或者两周,在计算的时间值累计到达预设时间之前,持续采集样本。Among them, in order to be more in line with the user's usage habits, the user's habits when opening the fast application in the past week or two weeks can be collected as a sample to establish a sample library, that is, the time value is calculated, and the preset time can be set according to the usage habits, such as The preset time is one week or two weeks, and samples are collected continuously until the calculated time value reaches the preset time cumulatively.
进一步的,当该时间值累计到达预设时间时,将持续采集的样本进行汇总,并建立样本库。在一实施方式中,在建立样本库后,还可以继续计算时间值,采集预设时间内的样本,当时间值再次到达预设时间时,将新采集的样本替换原样本库中的样本,重新更新样本库,以保证样本的实时性。Further, when the accumulated time value reaches the preset time, the continuously collected samples are summarized and a sample library is established. In one embodiment, after the sample library is established, the time value can be continuously calculated, and the sample within the preset time can be collected. When the time value reaches the preset time again, the newly collected sample can replace the sample in the original sample library. Re-update the sample library to ensure the real-time nature of the samples.
在步骤S102中,对样本库中的样本进行聚类处理,以得到目标聚类结果。In step S102, perform clustering processing on the samples in the sample library to obtain the target clustering result.
其中,该聚类处理可以通过聚类分析的算法实现,俗话说:“物以类聚,人以群分”,在自然科学和社会科学中,存在着大量的分类问题,而该聚类分析的算法可以将相似样本放到同一个集合中。Among them, the clustering process can be realized by a cluster analysis algorithm. As the saying goes: "things are clustered by clusters, people are clustered by clusters". In the natural and social sciences, there are a lot of classification problems, and the clustering algorithm Put similar samples into the same set.
基于此,可以通过聚类分析的算法将样本库中的样本按照特定特征进行聚类处理,将特定特征相似的样本分别放到相应的集合中,得到多个不同的集合,并将多个不同的集合确定为目标聚类结果。Based on this, the samples in the sample library can be clustered according to specific features through the algorithm of cluster analysis, and samples with similar specific features can be put into corresponding sets respectively to obtain multiple different sets, and combine multiple different Is determined as the target clustering result.
在一实施方式中,该聚类分析的算法可以为K-means算法,该K-means算法是很典型的基于距离的聚类算法,采用距离作为相似性的评价指标,即认为两个对象的距离越近,其相似度就越大。该算法认为簇是由距离靠近的对象组成的,因此把得到紧凑且独立的簇作为最终目标,即可以将紧凑且独立的多个簇作为目标聚类结果。In an embodiment, the clustering analysis algorithm may be a K-means algorithm, which is a typical distance-based clustering algorithm, and uses distance as a similarity evaluation index, that is, two objects are considered The closer the distance, the greater the similarity. The algorithm believes that clusters are composed of objects close to each other, so the final goal is to obtain compact and independent clusters, that is, multiple compact and independent clusters can be used as the target clustering result.
在一些实施方式中,该对样本库中的样本进行聚类处理,以得到目标聚类结果的步骤,可以包括:In some embodiments, the step of clustering the samples in the sample library to obtain the target clustering result may include:
(1)根据聚类模型对样本库中的每一样本进行解析,将每一样本生成相应的聚类点;(1) Analyze each sample in the sample library according to the clustering model, and generate a corresponding cluster point for each sample;
(2)根据聚类模型对每一聚类点进行聚类处理,以得到目标聚类结果。(2) Perform clustering processing on each clustering point according to the clustering model to obtain the target clustering result.
其中,该聚类模型可以为K-means算法模型,根据K-means算法对样本库中的每一样本以特定特征进行解析,在一实施方式中,该特定特征可以为启动时间特征以及启动地点特征。以此,通过该K-means算法模型将每一样本生成相应的聚类点,该聚类点的空间属性由特定特征构成。Wherein, the clustering model may be a K-means algorithm model, and each sample in the sample library is analyzed with a specific feature according to the K-means algorithm. In one embodiment, the specific feature may be a start-up time feature and a start-up location feature. In this way, the K-means algorithm model generates a corresponding cluster point for each sample, and the spatial attributes of the cluster point are composed of specific features.
进一步的,根据K-means算法将相似度较高的聚类点进行聚类处理,以得到多个相似的聚类集合,将该多个相似的聚类集合确定为目标聚类结果。Further, according to the K-means algorithm, clustering points with high similarity are clustered to obtain multiple similar clustering sets, and the multiple similar clustering sets are determined as the target clustering result.
在一些实施方式中,该根据聚类模型对每一聚类点进行聚类处理,以得到目标聚类结果的步骤,可以包括:In some embodiments, the step of clustering each clustering point according to the clustering model to obtain the target clustering result may include:
(1.1)根据聚类模型对聚类点进行收敛处理,以得到多个收敛的聚类簇,所述聚类簇由多个收敛的聚类点组成;(1.1) Perform convergence processing on the clustering points according to the clustering model to obtain a plurality of converging clustering clusters, the clustering cluster is composed of a plurality of converging clustering points;
(1.2)将多个收敛的聚类簇确定为目标聚类结果。(1.2) Determine multiple convergent clusters as the target clustering result.
其中,由于该聚类模型采用K-means算法,该K-means算法为采用距离作为相似性的评价指标,即认为两个对象的距离越近,其相似度就越大,该K-means算法认为聚类簇是由距离靠近的对象组成的,因此把得到紧凑且独立 的聚类簇作为最终目标。Among them, because the clustering model uses the K-means algorithm, the K-means algorithm uses distance as an evaluation index of similarity, that is, the closer the distance between two objects, the greater the similarity. The K-means algorithm It is considered that the clusters are composed of objects that are close to each other, so the final goal is to obtain compact and independent clusters.
进一步的,可以在样本库中随机选择预设数量的初始的聚类中心,计算每一聚类点与聚类中心的距离,根据每一聚类点与聚类中心的距离将每一聚类点赋值给距离最近的簇,当考察完所有聚类点后,一次迭代运算完成,新的聚类中心被计算出来,依次类推,直至聚类簇中的聚类点不再发生变化,即说明聚类簇已经收敛,将多个收敛的聚类簇确定为目标聚类结果。Further, a preset number of initial cluster centers can be randomly selected in the sample library, the distance between each cluster point and the cluster center can be calculated, and each cluster can be clustered according to the distance between each cluster point and the cluster center The point is assigned to the closest cluster. After all the cluster points are examined, an iterative operation is completed, the new cluster center is calculated, and so on, until the cluster points in the cluster cluster no longer change, that is to say The clustering cluster has converged, and multiple clustering clusters are determined as the target clustering result.
在步骤S103中,当检测到快应用推荐指令时,获取当前的环境特征信息。In step S103, when the quick application recommendation instruction is detected, the current environmental characteristic information is acquired.
其中,当用户打开快应用列表时,电子设备需要获取多个快应用图标显示在快应用列表中,现有技术中,会根据使用时间的先后,将用户最近使用的快应用图标显示在快应用列表中,这种机械的排列方式会给用户带来不便。而在本方案中,当用户打开快应用列表时,会生成快应用推荐指令,电子设备检测到该快应用推荐指令时,会相应获取当前的环境特征信息,该环境特征信息为用户当前处于的场景信息,如当前时间以及当前的地点等等,需要说明的是,该环境特征信息可以与用于做聚类处理的特定特征对应相同。Wherein, when the user opens the quick application list, the electronic device needs to obtain multiple quick application icons to display in the quick application list. In the prior art, the quick application icons recently used by the user are displayed on the quick application according to the order of use time In the list, this mechanical arrangement will cause inconvenience to users. In this solution, when the user opens the quick application list, a quick application recommendation instruction will be generated, and when the electronic device detects the quick application recommendation instruction, it will obtain the current environmental feature information accordingly. The environmental feature information is the user ’s current location. Scene information, such as the current time and current location, etc. It should be noted that the environmental feature information may correspond to the specific feature used for clustering.
在步骤S104中,根据环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐。In step S104, according to the environmental characteristic information and the target clustering result, the corresponding target quick application is determined and recommended.
其中,由于该环境特征信息与进行聚类处理的特定特征对应相同,所以该环境特征信息与进行聚类处理后的目标聚类结果中的不同的集合可以有相应的相似度信息,相应的,将相似度最高的集合确定为目标集合,并获取该目标集合中分布的多个样本,提取出多个样本中的快应用的应用名称,根据该应用名称确定多个目标快应用并显示在快应用列表中以进行推荐。Among them, since the environmental feature information corresponds to the specific feature of the clustering process, different sets of the environmental feature information and the target clustering result after the clustering process may have corresponding similarity information, corresponding, The set with the highest similarity is determined as the target set, and multiple samples distributed in the target set are obtained, the application names of the fast apps in the multiple samples are extracted, and multiple target fast apps are determined and displayed on the fast Apply in the list to make recommendations.
在一实施方式中,可以统计重复出现的应用名称的次数,根据统计的次数由高到低的顺序对多个目标快应用进行排序并进行显示推荐。In an embodiment, the number of repeated application names may be counted, and multiple target fast applications may be sorted and displayed and recommended according to the counted order from high to low.
在一些实施方式中,该根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐的步骤,可以包括:In some embodiments, the step of comparing the environment feature information with the target clustering result to determine the corresponding target application and recommending may include:
(1)计算所述环境特征信息与每一聚类簇的欧式距离;(1) Calculate the Euclidean distance between the environmental feature information and each cluster;
(2)将欧式距离最小的聚类簇确定为目标聚类簇,并根据目标聚类簇确定出相应的目标快应用并进行推荐。(2) The cluster cluster with the smallest Euclidean distance is determined as the target cluster cluster, and the corresponding target fast application is determined and recommended according to the target cluster cluster.
需要说明的是,该欧式距离一般指欧几里得度量,该欧几里得度量是一个通常采用的距离定义,指在m维空间中两个点之间的真实距离,或者向量的 自然长度(即该点到原点的距离)。在二维和三维空间中的欧氏距离就是两点之间的实际距离,以此,可以通过该欧式距离度量两个聚类点之间的距离,从而得出两个聚类点之间的相似度。It should be noted that the Euclidean distance generally refers to the Euclidean metric, which is a commonly used distance definition, which refers to the true distance between two points in the m-dimensional space, or the natural length of the vector (That is, the distance from the point to the origin). The Euclidean distance in two-dimensional and three-dimensional space is the actual distance between two points. From this, the distance between two cluster points can be measured by the Euclidean distance, and the distance between two cluster points can be obtained. Similarity.
其中,每一聚类簇中的聚类点在特定特征上的欧式距离(也可以理解为相似度)都比较接近,而由于该环境特征信息与该特定特征对应相同,所以可以计算该获取的环境特征信息与每一聚类簇的中心点的欧式距离,将欧式距离最小,即相似度最高的聚类簇确定为目标聚类簇,该目标聚类簇与当前环境相应的环境特征信息最为接近,所以该目标聚类簇代表了在该环境下用户的历史使用习惯。Among them, the Euclidean distance (also can be understood as the similarity) of the cluster points in each cluster cluster on a specific feature is relatively close, and since the environmental feature information corresponds to the specific feature, the obtained The Euclidean distance between the environmental feature information and the center point of each cluster, the cluster with the smallest Euclidean distance, that is, the highest similarity, is determined as the target cluster. The target cluster has the most environmental feature information corresponding to the current environment. Is close, so the target cluster represents the user's historical usage habits in this environment.
进一步的,获取目标聚类簇中的每一聚类点相应的应用名称,并对重复出现的应用名称进行次数统计,依据统计次数从高到底的顺序将相应的快应用图标进行排序显示,以向用户进行推荐。Further, the corresponding application name of each cluster point in the target cluster is obtained, and the number of repeated application names is counted, and the corresponding fast application icons are sorted and displayed according to the order of the statistical number from high to bottom, to Recommend to users.
由上述可知,本实施例提供的一种快应用的推荐方法,通过采集快应用开启时的多维特征作为样本,并建立样本库;对样本库中的样本进行聚类处理,以得到目标聚类结果;当检测到快应用推荐指令时,获取当前的环境特征信息;根据环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐。以此根据用户开启快应用时的多维特征建立样本库,对样本库中的样本进行聚类处理,得到相应的目标聚类结果,当检测到快应用推荐指令时,获取当前的环境特征信息,根据环境特征信息与目标聚类结果进行对比,确定出合适当前环境的目标快应用并进行智能推荐,提升了快应用推荐的准确率。As can be seen from the above, a method for recommending a fast application provided by this embodiment, by collecting multi-dimensional features when the fast application is started as a sample, and establishing a sample library; clustering the samples in the sample library to obtain the target cluster Results; when the quick application recommendation instruction is detected, the current environmental feature information is obtained; according to the environmental feature information and the target clustering result is compared, the corresponding target quick application is determined and recommended. In this way, a sample library is established according to the multi-dimensional features of the user when the fast application is started, and the samples in the sample library are clustered to obtain the corresponding target clustering result. When the recommended instruction of the fast application is detected, the current environmental feature information is obtained. According to the comparison between the environmental feature information and the target clustering results, the target fast application suitable for the current environment is determined and intelligent recommendation is made, which improves the accuracy rate of fast application recommendation.
根据上述实施例所描述的方法,以下将举例作进一步详细说明。According to the method described in the above embodiment, the following examples will be used for further detailed description.
请参阅图2,图2为本申请实施例提供的快应用的推荐方法的另一流程示意图。Please refer to FIG. 2, which is another schematic flowchart of a method for recommending a fast application provided by an embodiment of the present application.
具体而言,该方法包括:Specifically, the method includes:
在步骤S201中,当检测到应用开启时,获取当前开启的应用相应的名称属性。In step S201, when it is detected that the application is opened, the name attribute corresponding to the currently opened application is acquired.
其中,电子设备如手机中包含有通过软件安装包安装的应用以及直接通过脚本文件解析配置文件直接开启的轻量级的快应用,该快应用与应用相比,不需要下载安装包,不占用手机的存储空间,但也可以直接体验应用的原生功能。Among them, electronic devices such as mobile phones include applications installed through software installation packages and lightweight fast applications that are directly opened through script file parsing configuration files. Compared with applications, this fast application does not require downloading installation packages and does not occupy The storage space of the phone, but you can also directly experience the native functions of the application.
因此,手机在检测到应用开启时,可以获取当前开启的应用相应的名称属 性,即可以从后台中抓取当前应用的名称属性,该名称属性可以为一段程序代码,如com.opper.mm.plugin.appbrand.ui.appBrandUI。Therefore, when the mobile phone detects that the application is opened, it can obtain the corresponding name attribute of the currently opened application, that is, the name attribute of the current application can be grabbed from the background, and the name attribute can be a piece of program code, such as com.opper.mm. plugin.appbrand.ui.appBrandUI.
在步骤S202中,判断名称属性是否为预设名称属性。In step S202, it is determined whether the name attribute is a preset name attribute.
其中,快应用的名称属性中都会包含一部分程序代码,如opper,可以将该一部分程序代码确定为预设名称属性,判断获取的名称属性与预设名称属性是否匹配,当判断出名称属性为预设名称属性时,执行步骤S203,当判断出名称属性不为预设名称属性时,说明当前运行的应用不为快应用,返回执行步骤S201。Among them, the name attribute of the fast application will contain a part of the program code, such as opper, you can determine the part of the program code as the preset name attribute, determine whether the obtained name attribute matches the preset name attribute, when it is determined that the name attribute is pre When the name attribute is set, step S203 is executed. When it is determined that the name attribute is not the preset name attribute, it means that the currently running application is not a fast application, and the process returns to step S201.
在一些实施方式中,该判断名称属性是否为预设名称属性的步骤,可以包括:In some embodiments, the step of determining whether the name attribute is a preset name attribute may include:
(1)提取该名称属性中的关键词信息;(1) Extract keyword information in the name attribute;
(2)判断该关键词信息与预设关键词信息是否匹配;(2) Determine whether the keyword information matches the preset keyword information;
(3)当判断出该关键词信息与预设关键词信息匹配时,判定为该名称属性为预设名称属性;(3) When it is determined that the keyword information matches the preset keyword information, it is determined that the name attribute is the preset name attribute;
(4)当判断出该关键词信息与预设关键词信息不匹配时,判定为该名称属性不为预设名称属性。(4) When it is determined that the keyword information does not match the preset keyword information, it is determined that the name attribute is not the preset name attribute.
其中,可以提取名称属性中的关键词信息,关键词信息可以为快应用的代表信息,如快应用为opper等,该关键词信息还可以为应用的代表信息,如apk等。提取如com.opper.mm.plugin.appbrand.ui.appBrandUI中的关键词信息opper,判断该关键词信息opper与预设关键词信息是否匹配,该预设关键词信息为快应用关键词信息opper,与提取的关键词信息opper匹配,那么判定为该名称属性为预设名称属性。如果提取的关键词信息为apk,与预设关键词信息不匹配,那么判定为该名称属性不为预设名称属性。Among them, the keyword information in the name attribute can be extracted. The keyword information can be representative information of the fast application, such as the opper, etc., and the keyword information can also be representative information of the application, such as the apk. Extract keyword information opper such as com.opper.mm.plugin.appbrand.ui.appBrandUI, determine whether the keyword information opper matches the preset keyword information, the preset keyword information is fast application keyword information opper , Matches the extracted keyword information opper, then it is determined that the name attribute is a preset name attribute. If the extracted keyword information is apk and does not match the preset keyword information, it is determined that the name attribute is not the preset name attribute.
在步骤S203中,判定当前开启的应用为快应用,并执行采集快应用开启时的多维特征作为样本,并建立样本库。In step S203, it is determined that the currently opened application is a fast application, and a multi-dimensional feature when the fast application is started is collected as a sample, and a sample library is established.
其中,当判断出名称属性为预设名称属性时,说明当前运行的应用为快应用,如名称属性com.opper.mm.plugin.appbrand.ui.appBrandUI包含了opper,判定当前开启的应用为快应用,并执行采集当前运行的快应用开启时的多维特征作为样本,该多维特征可以包括启动时间、当前地理位置、快应用的应用名称,以此类推,可以连续采集两周内的样本,建立样本库,需要说明的是,该当前 地理位置可以为经纬度。Among them, when it is judged that the name attribute is a preset name attribute, it means that the currently running application is a fast application, for example, the name attribute com.opper.mm.plugin.appbrand.ui.appBrandUI contains an opper, and the currently opened application is judged to be fast Application, and collect the multi-dimensional characteristics of the currently running fast application when it is started as a sample. The multi-dimensional characteristics can include the startup time, the current geographic location, the application name of the fast application, and so on. You can continuously collect samples within two weeks to establish For the sample library, it should be noted that the current geographic location can be latitude and longitude.
在步骤S204中,根据聚类模型对样本库中的每一样本进行解析,将每一样本生成相应的聚类点。In step S204, each sample in the sample library is parsed according to the clustering model, and each sample is generated into a corresponding clustering point.
其中,用户在开启快应用时,往往是在特定场景下根据实际需要启动,如中午12点左右会在公司的地理位置附近打开点餐快应用,早上8点以及下午6时左右会在地铁站附近开启地铁快应用等等,由此可以看出,快应用在某个时间点以及地理位置中,是具有聚类趋势的。Among them, when the user starts the fast application, it is often started according to the actual needs in a specific scenario, for example, the fast order application will be opened near the company's geographical location at about 12 noon, and will be in the subway station at 8 am and about 6 pm Start the Metro Express app nearby, etc. It can be seen that the express app has a clustering trend at a certain point in time and geographical location.
以此,可以根据K-means聚类算法模型对样本库中的每一样本按照启动时间以及当前地理位置作为特定分类特征,建立启动时间以及当前地理位置相应的二维坐标系,将每一样本根据启动时间以及地理位置生成相应的聚类点。In this way, according to the K-means clustering algorithm model, each sample in the sample library can be used as a specific classification feature according to the startup time and the current geographic location, and a two-dimensional coordinate system corresponding to the startup time and the current geographic location can be established. Corresponding clustering points are generated according to the starting time and geographic location.
在步骤S205中,根据聚类模型对聚类点进行收敛处理,以得到多个收敛的聚类簇。In step S205, the clustering points are converged according to the clustering model to obtain a plurality of convergent clustering clusters.
其中,可以通过K-means聚类算法模型随便选取任意K个对象作为初始聚类的聚类中心点,分别计算每个聚类点与聚类中心点的欧式距离,该欧式距离代表聚类点与聚类中心点的相似度,欧式距离越小,两个点之间的相似度越大,欧式距离越小,两个点之间的相似度越小。Among them, you can randomly select any K objects as the cluster center point of the initial cluster through the K-means clustering algorithm model, and calculate the Euclidean distance between each cluster point and the cluster center point, which represents the cluster point The similarity to the cluster center point, the smaller the Euclidean distance, the greater the similarity between the two points, the smaller the Euclidean distance, the smaller the similarity between the two points.
进一步的,根据每个聚类点与每一聚类中心点的距离进行分配,将距离最近的点分配到相应的聚类中心,形成K个聚类簇,然后计算聚类簇中所有聚类点的均值,形成新的聚类中心,不断重复,直至聚类点开始收敛,得到K个收敛的聚类簇。Further, according to the distance between each cluster point and each cluster center point, the nearest point is assigned to the corresponding cluster center to form K cluster clusters, and then all clusters in the cluster cluster are calculated The mean value of the points forms a new clustering center and repeats until the clustering points begin to converge to obtain K convergent clustering clusters.
在步骤S206中,将多个收敛的聚类簇确定为目标聚类结果。In step S206, a plurality of converged cluster clusters are determined as the target clustering result.
其中,由于每一聚类簇中的聚类点距离处于同一聚类簇中的其他聚类点的距离最近,所以多个收敛的聚类簇可以代表在某一时间以及地理位置相应的用户开启快应用的习惯,该多个收敛的聚类簇形成相应的目标聚类结果。Among them, since the cluster point in each cluster cluster is closest to other cluster points in the same cluster cluster, multiple convergent cluster clusters can be opened on behalf of users at a certain time and corresponding geographic location The habit of fast application, the multiple convergent clusters form the corresponding target clustering result.
在步骤S207中,当检测到快应用推荐指令时,获取当前的环境特征信息。In step S207, when the quick application recommendation instruction is detected, the current environmental characteristic information is acquired.
其中,当用户需要使用快应用时,需要开启快应用列表,相应的,可以生成快应用推荐指令,当手机检测到快应用推荐指令时,需要根据当前的环境场景智能推荐用户想要打开的快应用。Among them, when the user needs to use the fast application, the fast application list needs to be opened. Correspondingly, the fast application recommendation instruction can be generated. When the mobile phone detects the fast application recommendation instruction, the user needs to intelligently recommend the fast application that the user wants to open according to the current environmental scene application.
因此,当检测到快应用推荐指令时,可以获取当前场景下的环境特征信息,比如当前时间以及当前地理位置。Therefore, when the quick application recommendation instruction is detected, the environmental characteristic information in the current scene, such as the current time and the current geographic location, can be obtained.
在步骤S208中,计算环境特征信息与每一聚类簇的欧式距离。In step S208, the Euclidean distance between the environmental feature information and each cluster is calculated.
其中,由于聚类簇为基于启动时间以及地理位置进行二维坐标系的建模,所以在获取当前场景下的当前时间以及当前地理位置后,可以计算该当前时间以及当前地理位置与每一聚类簇的聚类中心点的欧式距离,当欧式距离越小,两者越相似,当欧式距离越大,两者相差越大。Among them, since the clustering cluster is a two-dimensional coordinate system modeling based on the start time and geographic location, after obtaining the current time and current geographic location in the current scene, the current time and current geographic location can be calculated with each cluster The Euclidean distance of the clustering center point of the cluster. When the Euclidean distance is smaller, the two are more similar. When the Euclidean distance is larger, the difference between the two is larger.
在步骤S209中,将欧式距离最小的聚类簇确定为目标聚类簇,并根据目标聚类簇确定出相应的目标快应用并进行推荐。In step S209, the cluster cluster with the smallest Euclidean distance is determined as the target cluster cluster, and the corresponding target quick application is determined and recommended according to the target cluster cluster.
其中,将欧式距离最小的聚类簇确定为目标聚类簇,即将与当前时间以及当前地理位置最相似的聚类簇确定为目标聚类簇,该目标聚类簇的分布表示了在该场景下用户打开快应用的习惯,分别获取聚类簇中每一聚类点相应的应用名称,并对重复的应用名称进行次数统计,获取应用名称相应的目标快应用,并按照统计次数由高至低的顺序对目标快应用进行排序显示在快应用列表,以进行推荐,比如,环境特征信息为12点01分以及公司坐标,那么根据平常聚类处理结果可以确定出在列表中显示多个点餐快应用等等。Among them, the cluster cluster with the smallest Euclidean distance is determined as the target cluster cluster, that is, the cluster cluster that is most similar to the current time and the current geographic location is determined as the target cluster cluster, and the distribution of the target cluster cluster indicates that in the scene Under the habit of users to open fast apps, get the corresponding app name of each cluster point in the cluster, and count the number of repeated app names, get the target fast app corresponding to the app name, and follow the statistics from high to Sort the target fast apps in a low order and display them in the quick apps list for recommendation. For example, if the environmental feature information is 12:01 and company coordinates, then according to the usual clustering processing results, you can determine that multiple points are displayed in the list. Fast food application and so on.
由上述可知,本实施例提供的一种快应用的推荐方法,通过检测到应用开启时,根据当前的应用的名称属性确定应用是否为快应用,当为快应用时,采集快应用开启时的多维特征作为样本,并建立样本库,根据K-means聚类模型对样本库中的样本进行聚类处理,以得到多个收敛的聚类簇,将多个收敛的聚类簇确定为目标聚类结果,当检测到快应用推荐指令时,获取当前的环境特征信息,计算环境特征信息与每一聚类簇的欧式距离,将欧式距离最小的聚类簇确定为目标聚类簇,并根据目标聚类簇确定出相应的目标快应用并进行推荐。以此根据用户开启快应用时的多维特征建立样本库,对样本库中的样本进行聚类处理,得到相应的目标聚类结果,当检测到快应用推荐指令时,获取当前的环境特征信息,根据环境特征信息与目标聚类结果进行对比,确定出合适当前环境的目标快应用并进行智能推荐,提升了快应用推荐的准确率。As can be seen from the above, a method for recommending a fast application provided by this embodiment determines whether the application is a fast application according to the name attribute of the current application when the application is detected to be opened, and when the fast application is Multi-dimensional features are used as samples, and a sample library is established, and the samples in the sample library are clustered according to the K-means clustering model to obtain multiple convergent cluster clusters, and the multiple convergent cluster clusters are determined as target clusters As a result, when the recommended instruction for fast application is detected, the current environmental feature information is obtained, the Euclidean distance between the environmental feature information and each cluster cluster is calculated, and the cluster cluster with the smallest Euclidean distance is determined as the target cluster cluster. The target cluster determines the corresponding target application and recommends it. In this way, a sample library is established according to the multi-dimensional features of the user when the fast application is started, and the samples in the sample library are clustered to obtain the corresponding target clustering result. When the recommended instruction of the fast application is detected, the current environmental feature information is obtained. According to the comparison between the environmental feature information and the target clustering results, the target fast application suitable for the current environment is determined and intelligent recommendation is made, which improves the accuracy rate of fast application recommendation.
为便于更好的实施本申请实施例提供的快应用的推荐方法,本申请实施例还提供一种基于上述快应用的推荐方法的装置。其中名词的含义与上述快应用的推荐方法中相同,具体实现细节可以参考方法实施例中的说明。To facilitate better implementation of the quick application recommendation method provided by the embodiments of the present application, the embodiment of the present application further provides an apparatus based on the quick application recommendation method. The meaning of the nouns is the same as in the above-mentioned quick application recommendation method. For specific implementation details, refer to the description in the method embodiment.
本发明实施例提供一种快应用的推荐装置,包括:An embodiment of the present invention provides a quick application recommendation device, including:
采集单元,用于采集快应用开启时的多维特征作为样本,并建立样本库;The collection unit is used to collect multi-dimensional features when the fast application is started as a sample, and establish a sample library;
处理单元,用于对所述样本库中的样本进行聚类处理,以得到目标聚类结果;A processing unit, configured to perform clustering processing on the samples in the sample library to obtain a target clustering result;
获取单元,用于当检测到快应用推荐指令时,获取当前的环境特征信息;An obtaining unit, configured to obtain current environmental characteristic information when a quick application recommendation instruction is detected;
确定单元,用于根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐。The determining unit is used to compare the environment feature information with the target clustering result, determine the corresponding target quick application and make recommendations.
在一种实施方式中,处理单元,可以包括:解析子单元和处理子单元,该解析子单元,用于根据聚类模型对样本库中的每一样本进行解析,将每一样本生成相应的聚类点;该处理子单元,用于根据聚类模型对每一聚类点进行聚类处理,以得到目标聚类结果。In an embodiment, the processing unit may include: a parsing subunit and a processing subunit, the parsing subunit is used to parse each sample in the sample library according to the clustering model, and generate a corresponding Clustering point; this processing subunit is used to perform clustering processing on each clustering point according to the clustering model to obtain the target clustering result.
在一种实施方式中,处理子单元,具体用于:根据聚类模型对聚类点进行收敛处理,以得到多个收敛的聚类簇,所述聚类簇由多个收敛的聚类点组成;将多个收敛的聚类簇确定为目标聚类结果。In one embodiment, the processing subunit is specifically configured to: perform convergence processing on the clustering points according to the clustering model to obtain multiple converging clustering clusters, where the clustering cluster is composed of multiple converging clustering points Composition; determine multiple clustering clusters as the target clustering result.
在一种实施方式中,确定单元,具体用于:计算所述环境特征信息与每一聚类簇的欧式距离;将欧式距离最小的聚类簇确定为目标聚类簇,并根据目标聚类簇确定出相应的目标快应用并进行推荐。In one embodiment, the determining unit is specifically configured to: calculate the Euclidean distance between the environmental feature information and each cluster cluster; determine the cluster cluster with the smallest Euclidean distance as the target cluster cluster, and cluster according to the target cluster The cluster determines the corresponding target application and recommends it.
在一种实施方式中,采集单元,具体用于:开始计算时间值,采集快应用开启时的多维特征作为样本;当所述时间值累计到达预设时间时,将采集的样本建立样本库。In one embodiment, the collection unit is specifically configured to: start to calculate the time value, collect multi-dimensional features when the application is started as a sample; when the time value reaches the preset time cumulatively, establish a sample library of the collected samples.
请参阅图3,图3为本申请实施例提供的快应用的推荐装置的模块示意图。具体而言,该快应用的推荐装置300,包括:采集单元31、处理单元32、获取单元33以及确定单元34。Please refer to FIG. 3, which is a schematic block diagram of a quick application recommendation device provided by an embodiment of the present application. Specifically, the quick application recommendation device 300 includes an acquisition unit 31, a processing unit 32, an acquisition unit 33, and a determination unit 34.
采集单元31,用于采集快应用开启时的多维特征作为样本,并建立样本库。The collection unit 31 is used to collect multi-dimensional features when the fast application is started as a sample, and establish a sample library.
其中,当用户开启快应用时,采集单元31会相应采集在快应用启动时的多维特征,作为一个样本,该多为特征可以包括但不限于快应用启动时的启动时间、启动地理位置以及快应用的应用名称等等,采集单元31可以采集预设时间内的样本建立样本库,在一实施方式中,该预设时间可以为7天或者14天等等。When the user starts the fast application, the collection unit 31 will correspondingly collect the multi-dimensional features when the fast application is started. As a sample, the multi-features may include, but are not limited to, the startup time when the fast application is started, the startup geographic location, and For the application name of the application, etc., the collection unit 31 may collect samples within a preset time to establish a sample library. In an embodiment, the preset time may be 7 days or 14 days, and so on.
在一些实施方式中,该采集单元31,具体用于开始计算时间值,采集快应用开启时的多维特征作为样本;当所述时间值累计到达预设时间时,将采集 的样本建立样本库。In some embodiments, the collection unit 31 is specifically configured to start calculating a time value and collect multi-dimensional features when the application is started as a sample; when the time value reaches the preset time cumulatively, the collected sample is used to establish a sample library.
处理单元32,用于对所述样本库中的样本进行聚类处理,以得到目标聚类结果。The processing unit 32 is configured to perform clustering processing on the samples in the sample library to obtain a target clustering result.
其中,该聚类处理可以通过聚类分析的算法实现,俗话说:“物以类聚,人以群分”,在自然科学和社会科学中,存在着大量的分类问题,而该聚类分析的算法可以将相似样本放到同一个集合中。Among them, the clustering process can be realized by a cluster analysis algorithm. As the saying goes: "things are clustered by clusters, people are clustered by clusters". In the natural and social sciences, there are a lot of classification problems, and the clustering algorithm Put similar samples into the same set.
基于此,处理单元32可以通过聚类分析的算法将样本库中的样本按照特定特征进行聚类处理,将特定特征相似的样本分别放到相应的集合中,得到多个不同的集合,并将多个不同的集合确定为目标聚类结果。Based on this, the processing unit 32 can cluster the samples in the sample library according to specific features through a cluster analysis algorithm, and put samples with similar specific features into corresponding sets to obtain multiple different sets, and Multiple different sets are determined as the target clustering result.
获取单元33,用于当检测到快应用推荐指令时,获取当前的环境特征信息。The obtaining unit 33 is configured to obtain current environmental characteristic information when a quick application recommendation instruction is detected.
其中,当用户打开快应用列表时,电子设备需要获取多个快应用图标显示在快应用列表中,现有技术中,会根据使用时间的先后,将用户最近使用的快应用图标显示在快应用列表中,这种机械的排列方式会给用户带来不便。而在本方案中,当用户打开快应用列表时,会生成快应用推荐指令,获取单元33检测到该快应用推荐指令时,会相应获取当前的环境特征信息,该环境特征信息为用户当前处于的场景信息,如当前时间以及当前的地点等等,需要说明的是,该环境特征信息可以与用于做聚类处理的特定特征对应相同。Wherein, when the user opens the quick application list, the electronic device needs to obtain multiple quick application icons to display in the quick application list. In the prior art, the quick application icons recently used by the user are displayed on the quick application according to the order of use time In the list, this mechanical arrangement will cause inconvenience to users. In this solution, when the user opens the quick application list, a quick application recommendation instruction will be generated, and when the acquisition unit 33 detects the quick application recommendation instruction, it will obtain the current environmental feature information accordingly. The environmental feature information is that the user is currently in The scene information, such as the current time and current location, etc. It should be noted that the environmental feature information may correspond to the specific feature used for clustering.
确定单元34,用于根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐。The determining unit 34 is configured to compare the environmental feature information with the target clustering result, determine the corresponding target quick application, and recommend it.
其中,由于该环境特征信息与进行聚类处理的特定特征对应相同,所以该环境特征信息与进行聚类处理后的目标聚类结果中的不同的集合可以有相应的相似度信息,相应的,确定单元34将相似度最高的集合确定为目标集合,并获取该目标集合中分布的多个样本,提取出多个样本中的快应用的应用名称,根据该应用名称确定多个目标快应用并显示在快应用列表中以进行推荐。Among them, since the environmental feature information corresponds to the specific feature of the clustering process, different sets of the environmental feature information and the target clustering result after the clustering process may have corresponding similarity information, corresponding, The determining unit 34 determines the set with the highest similarity as the target set, and acquires multiple samples distributed in the target set, extracts the application names of the fast apps in the multiple samples, and determines multiple target fast apps according to the application name and Appear in the list of quick apps for recommendations.
在一实施方式中,确定单元34可以统计重复出现的应用名称的次数,根据统计的次数由高到低的顺序对多个目标快应用进行排序并进行显示推荐。In an embodiment, the determining unit 34 may count the number of times of repeated application names, sort multiple target fast apps according to the counted number from high to low, and perform display recommendation.
在一些实施方式中,该确定单元34,具体用于计算所述环境特征信息与每一聚类簇的欧式距离;将欧式距离最小的聚类簇确定为目标聚类簇,并根据目标聚类簇确定出相应的目标快应用并进行推荐。In some embodiments, the determining unit 34 is specifically configured to calculate the Euclidean distance between the environmental feature information and each cluster cluster; determine the cluster cluster with the smallest Euclidean distance as the target cluster cluster, and cluster according to the target cluster The cluster determines the corresponding target application and recommends it.
可一并参考图4,图4为本申请实施例提供的快应用的推荐装置的另一模块示意图,该快应用的推荐装置300还可以包括:Reference may also be made to FIG. 4, which is another schematic diagram of another module for a quick application recommendation device provided by an embodiment of the present application. The quick application recommendation device 300 may further include:
其中,该处理单元32可以包括解析子单元321以及处理子单元322。The processing unit 32 may include a parsing subunit 321 and a processing subunit 322.
进一步的,该解析子单元321,用于根据聚类模型对样本库中的每一样本进行解析,将每一样本生成相应的聚类点。该处理子单元322,用于根据聚类模型对每一聚类点进行聚类处理,以得到目标聚类结果。Further, the analysis subunit 321 is configured to analyze each sample in the sample library according to the clustering model, and generate a corresponding cluster point for each sample. The processing subunit 322 is configured to perform clustering processing on each clustering point according to the clustering model to obtain the target clustering result.
在一些实施方式中,该处理子单元322具体用于根据聚类模型对聚类点进行收敛处理,以得到多个收敛的聚类簇,所述聚类簇由多个收敛的聚类点组成;将多个收敛的聚类簇确定为目标聚类结果。In some embodiments, the processing subunit 322 is specifically configured to perform convergence processing on the clustering points according to the clustering model to obtain multiple converging clustering clusters, where the clustering cluster is composed of multiple converging clustering points ; Determine multiple clustering clusters as the target clustering result.
本申请实施例还提供一种电子设备。请参阅图5,电子设备500包括处理器501以及存储器502。其中,处理器501与存储器502电性连接。An embodiment of the present application also provides an electronic device. Referring to FIG. 5, the electronic device 500 includes a processor 501 and a memory 502. The processor 501 and the memory 502 are electrically connected.
该处理器500是电子设备500的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器502内的计算机程序,以及调用存储在存储器502内的数据,执行电子设备500的各种功能并处理数据,从而对电子设备500进行整体监控。The processor 500 is the control center of the electronic device 500, which uses various interfaces and lines to connect the various parts of the entire electronic device, executes or loads the computer program stored in the memory 502, and calls the data stored in the memory 502 to execute The electronic device 500 performs various functions and processes data to perform overall monitoring of the electronic device 500.
该存储器502可用于存储软件程序以及模块,处理器501通过运行存储在存储器502的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的计算机程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器501对存储器502的访问。The memory 502 can be used to store software programs and modules. The processor 501 runs computer programs and modules stored in the memory 502 to execute various functional applications and data processing. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, computer programs required by at least one function (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store Data created by the use of electronic devices, etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may further include a memory controller to provide the processor 501 with access to the memory 502.
在本申请实施例中,电子设备500中的处理器501会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器502中,并由处理器501运行存储在存储器502中的计算机程序,从而实现各种功能,如下:In the embodiment of the present application, the processor 501 in the electronic device 500 will load the instructions corresponding to the process of one or more computer programs into the memory 502 according to the following steps, and the processor 501 executes and stores the instructions in the memory 502 The computer program in, which realizes various functions, is as follows:
采集快应用开启时的多维特征作为样本,并建立样本库;Collect the multi-dimensional features when the fast application is started as a sample, and establish a sample library;
对所述样本库中的样本进行聚类处理,以得到目标聚类结果;Performing clustering processing on the samples in the sample library to obtain the target clustering result;
当检测到快应用推荐指令时,获取当前的环境特征信息;When the recommended instruction for quick application is detected, the current environmental characteristic information is obtained;
根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应 用并进行推荐。Based on the comparison between the environmental characteristic information and the target clustering result, the corresponding target quick application is determined and recommended.
在某些实施方式中,在对所述样本库中的样本进行聚类处理,以得到目标聚类结果时,处理器501可以具体执行以下步骤:In some embodiments, when performing clustering processing on the samples in the sample library to obtain a target clustering result, the processor 501 may specifically perform the following steps:
根据聚类模型对样本库中的每一样本进行解析,将每一样本生成相应的聚类点;Analyze each sample in the sample library according to the clustering model, and generate a corresponding clustering point for each sample;
根据聚类模型对每一聚类点进行聚类处理,以得到目标聚类结果。Perform clustering processing on each clustering point according to the clustering model to obtain the target clustering result.
在某些实施方式中,在根据聚类模型对每一聚类点进行聚类处理,以得到目标聚类结果时,处理器501可以具体执行以下步骤:In some embodiments, when performing clustering processing on each clustering point according to the clustering model to obtain a target clustering result, the processor 501 may specifically perform the following steps:
根据聚类模型对聚类点进行收敛处理,以得到多个收敛的聚类簇,所述聚类簇由多个收敛的聚类点组成;Performing convergence processing on the clustering points according to the clustering model to obtain multiple converging clustering clusters, the clustering cluster being composed of multiple converging clustering points;
将多个收敛的聚类簇确定为目标聚类结果。Multiple convergent clusters are determined as the target clustering result.
在某些实施方式中,在根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐时,处理器501可以具体执行以下步骤:In some embodiments, when comparing the environment feature information with the target clustering result to determine the corresponding target application and recommend it, the processor 501 may specifically perform the following steps:
计算所述环境特征信息与每一聚类簇的欧式距离;Calculating the Euclidean distance between the environmental feature information and each cluster;
将欧式距离最小的聚类簇确定为目标聚类簇,并根据目标聚类簇确定出相应的目标快应用并进行推荐。The cluster cluster with the smallest Euclidean distance is determined as the target cluster cluster, and the corresponding target quick application is determined and recommended according to the target cluster cluster.
在某些实施方式中,在采集快应用开启时的多维特征作为样本,并建立样本库之前,处理器501还可以具体执行以下步骤:In some embodiments, before collecting the multi-dimensional features when the fast application is started as a sample and establishing a sample library, the processor 501 may further specifically perform the following steps:
当检测到应用开启时,获取当前开启的应用相应的名称属性;When it is detected that the application is opened, the corresponding name attribute of the currently opened application is obtained;
判断所述名称属性是否为预设名称属性;Determine whether the name attribute is a preset name attribute;
当判断出所述名称属性为预设名称属性时,判定当前开启的应用为快应用,并执行采集快应用开启时的多维特征作为样本,并建立样本库的步骤。When it is determined that the name attribute is a preset name attribute, it is determined that the currently opened application is a fast application, and a step of collecting multi-dimensional features when the fast application is started is taken as a sample and establishing a sample library.
在某些实施方式中,在判断所述名称属性是否为预设名称属性时,处理器501可以具体执行以下步骤:In some embodiments, when determining whether the name attribute is a preset name attribute, the processor 501 may specifically perform the following steps:
提取所述名称属性中的关键词信息;Extract keyword information in the name attribute;
判断所述关键词信息与预设关键词信息是否匹配;Determine whether the keyword information matches the preset keyword information;
当判断出所述关键词信息与预设关键词信息匹配时,判定为所述名称属性为预设名称属性;When it is determined that the keyword information matches the preset keyword information, it is determined that the name attribute is a preset name attribute;
当判断出所述关键词信息与预设关键词信息不匹配时,判定为所述名称属性不为预设名称属性。When it is determined that the keyword information does not match the preset keyword information, it is determined that the name attribute is not the preset name attribute.
在某些实施方式中,在采集快应用开启时的多维特征作为样本,并建立样本库时,处理器501可以具体执行以下步骤:In some embodiments, the processor 501 may specifically perform the following steps when collecting the multi-dimensional features when the fast application is started as a sample and establishing a sample library:
开始计算时间值,采集快应用开启时的多维特征作为样本;Start to calculate the time value and collect the multi-dimensional features when the fast application is started as a sample;
当所述时间值累计到达预设时间时,将采集的样本建立样本库。When the accumulated time value reaches the preset time, the collected samples are established into a sample library.
请一并参阅图6,在某些实施方式中,电子设备500还可以包括:显示器503、射频电路504、音频电路505以及电源506。其中,其中,显示器503、射频电路504、音频电路505以及电源506分别与处理器501电性连接。Please refer to FIG. 6 together. In some embodiments, the electronic device 500 may further include: a display 503, a radio frequency circuit 504, an audio circuit 505, and a power supply 506. Among them, the display 503, the radio frequency circuit 504, the audio circuit 505, and the power supply 506 are electrically connected to the processor 501, respectively.
该显示器503可以用于显示由用户输入的信息或提供给用户的信息以及各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示器503可以包括显示面板,在某些实施方式中,可以采用液晶显示器(Liquid Crystal Display,LCD)、或者有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板。The display 503 can be used to display information input by the user or provided to the user and various graphical user interfaces, which can be composed of graphics, text, icons, video, and any combination thereof. The display 503 may include a display panel. In some embodiments, the display panel may be configured in the form of a liquid crystal display (Liquid Crystal) (LCD) or an organic light-emitting diode (Organic Light-Emitting Diode, OLED).
该射频电路504可以用于收发射频信号,以通过无线通信与网络设备或其他电子设备建立无线通讯,与网络设备或其他电子设备之间收发信号。The radio frequency circuit 504 may be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
该音频电路505可以用于通过扬声器、传声器提供用户与电子设备之间的音频接口。The audio circuit 505 can be used to provide an audio interface between a user and an electronic device through speakers and microphones.
该电源506可以用于给电子设备500的各个部件供电。在一些实施例中,电源506可以通过电源管理系统与处理器501逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The power supply 506 can be used to power various components of the electronic device 500. In some embodiments, the power supply 506 may be logically connected to the processor 501 through a power management system, so as to implement functions such as charging, discharging, and power management through the power management system.
尽管图6中未示出,电子设备500还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 6, the electronic device 500 may further include a camera, a Bluetooth module, etc., which will not be repeated here.
本申请实施例还提供一种存储介质,该存储介质存储有计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行上述任一实施例中的快应用的推荐方法,比如:采集快应用开启时的多维特征作为样本,并建立样本库;对样本库中的样本进行聚类处理,以得到目标聚类结果;当检测到快应用推荐指令时,获取当前的环境特征信息;根据环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐。An embodiment of the present application further provides a storage medium that stores a computer program, and when the computer program is run on a computer, the computer is allowed to execute the recommended method of fast application in any of the foregoing embodiments, such as: fast collection Use the multi-dimensional feature when the application is turned on as a sample, and establish a sample library; cluster the samples in the sample library to obtain the target clustering result; when the fast application recommendation instruction is detected, obtain the current environmental feature information; according to the environment The feature information is compared with the target clustering result, and the corresponding target quick application is determined and recommended.
在本申请实施例中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM,)、或者随机存取记忆体(Random Access Memory,RAM)等。In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read Only Memory, ROM,), or a random access memory (Random Access Memory, RAM), etc.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For a part that is not detailed in an embodiment, you can refer to related descriptions in other embodiments.
需要说明的是,对本申请实施例的快应用的推荐方法而言,本领域普通测试人员可以理解实现本申请实施例的快应用的推荐方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,该计算机程序可存储于一计算机可读取存储介质中,如存储在电子设备的存储器中,并被该电子设备内的至少一个处理器执行,在执行过程中可包括如快应用的推荐方法的实施例的流程。其中,该的存储介质可为磁碟、光盘、只读存储器、随机存取记忆体等。It should be noted that, for the fast application recommendation method of the embodiments of the present application, ordinary testers in the art can understand that all or part of the process of implementing the fast application recommendation method of the embodiments of the present application can be controlled by a computer program. Hardware, the computer program can be stored in a computer-readable storage medium, such as stored in the memory of the electronic device, and executed by at least one processor in the electronic device, the execution process can include such as fast The flow of the embodiment of the recommended method of application. Among them, the storage medium may be a magnetic disk, an optical disk, a read-only memory, a random access memory, or the like.
对本申请实施例的快应用的推荐装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。该集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,该存储介质譬如为只读存储器,磁盘或光盘等。For the fast application recommendation device of the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist alone physically, or two or more modules may be integrated into one module. The above integrated modules may be implemented in the form of hardware or software function modules. If the integrated module 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, such as a read-only memory, magnetic disk, or optical disk.
以上对本申请实施例所提供的一种快应用的推荐方法、装置、存储介质及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The above describes a fast application recommendation method, device, storage medium, and electronic equipment provided by the embodiments of the present application in detail. Specific examples are used in this article to explain the principles and implementation manners of the present application. The description is only used to help understand the method and the core idea of this application; meanwhile, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation mode and application scope, in summary, The content of this specification should not be construed as limiting the application.

Claims (20)

  1. 一种快应用的推荐方法,其中,包括:A fast application recommendation method, which includes:
    采集快应用开启时的多维特征作为样本,并建立样本库;Collect the multi-dimensional features when the fast application is started as a sample, and establish a sample library;
    对所述样本库中的样本进行聚类处理,以得到目标聚类结果;Performing clustering processing on the samples in the sample library to obtain the target clustering result;
    当检测到快应用推荐指令时,获取当前的环境特征信息;When the recommended instruction for quick application is detected, the current environmental characteristic information is obtained;
    根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐。Based on the comparison between the environmental characteristic information and the target clustering result, the corresponding target quick application is determined and recommended.
  2. 如权利要求1所述的快应用的推荐方法,其中,所述对所述样本库中的样本进行聚类处理,以得到目标聚类结果的步骤,包括:The fast application recommendation method according to claim 1, wherein the step of clustering the samples in the sample library to obtain a target clustering result includes:
    根据聚类模型对样本库中的每一样本进行解析,将每一样本生成相应的聚类点;Analyze each sample in the sample library according to the clustering model, and generate a corresponding clustering point for each sample;
    根据聚类模型对每一聚类点进行聚类处理,以得到目标聚类结果。Perform clustering processing on each clustering point according to the clustering model to obtain the target clustering result.
  3. 如权利要求2所述的快应用的推荐方法,其中,所述根据聚类模型对每一聚类点进行聚类处理,以得到目标聚类结果的步骤,包括:The fast application recommendation method according to claim 2, wherein the step of clustering each clustering point according to a clustering model to obtain a target clustering result includes:
    根据聚类模型对聚类点进行收敛处理,以得到多个收敛的聚类簇,所述聚类簇由多个收敛的聚类点组成;Performing convergence processing on the clustering points according to the clustering model to obtain multiple converging clustering clusters, the clustering cluster being composed of multiple converging clustering points;
    将多个收敛的聚类簇确定为目标聚类结果。Multiple convergent clusters are determined as the target clustering result.
  4. 如权利要求3所述的快应用的推荐方法,其中,所述根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐的步骤,包括:The method for recommending a fast application according to claim 3, wherein the step of determining the corresponding target fast application and recommending by comparing the environmental feature information with the target clustering result includes:
    计算所述环境特征信息与每一聚类簇的欧式距离;Calculating the Euclidean distance between the environmental feature information and each cluster;
    将欧式距离最小的聚类簇确定为目标聚类簇,并根据目标聚类簇确定出相应的目标快应用并进行推荐。The cluster cluster with the smallest Euclidean distance is determined as the target cluster cluster, and the corresponding target quick application is determined and recommended according to the target cluster cluster.
  5. 如权利要求1所述的快应用的推荐方法,其中,所述采集快应用开启时的多维特征作为样本,并建立样本库的步骤之前,还包括:The method for recommending a quick application according to claim 1, wherein the step of collecting the multi-dimensional features when the quick application is started as a sample and establishing a sample library further comprises:
    当检测到应用开启时,获取当前开启的应用相应的名称属性;When it is detected that the application is opened, the corresponding name attribute of the currently opened application is obtained;
    判断所述名称属性是否为预设名称属性;Determine whether the name attribute is a preset name attribute;
    当判断出所述名称属性为预设名称属性时,判定当前开启的应用为快应用,并执行采集快应用开启时的多维特征作为样本,并建立样本库的步骤。When it is determined that the name attribute is a preset name attribute, it is determined that the currently opened application is a fast application, and a step of collecting multi-dimensional features when the fast application is started is taken as a sample and establishing a sample library.
  6. 如权利要求5所述的快应用的推荐方法,其中,所述判断所述名称属性是否为预设名称属性的步骤,包括:The quick application recommendation method according to claim 5, wherein the step of determining whether the name attribute is a preset name attribute includes:
    提取所述名称属性中的关键词信息;Extract keyword information in the name attribute;
    判断所述关键词信息与预设关键词信息是否匹配;Determine whether the keyword information matches the preset keyword information;
    当判断出所述关键词信息与预设关键词信息匹配时,判定为所述名称属性为预设名称属性;When it is determined that the keyword information matches the preset keyword information, it is determined that the name attribute is a preset name attribute;
    当判断出所述关键词信息与预设关键词信息不匹配时,判定为所述名称属性不为预设名称属性。When it is determined that the keyword information does not match the preset keyword information, it is determined that the name attribute is not the preset name attribute.
  7. 如权利要求1所述的快应用的推荐方法,其中,所述采集快应用开启时的多维特征作为样本,并建立样本库的步骤,包括:The method for recommending a fast application according to claim 1, wherein the step of collecting multi-dimensional features when the fast application is started as a sample and establishing a sample library includes:
    开始计算时间值,采集快应用开启时的多维特征作为样本;Start to calculate the time value and collect the multi-dimensional features when the fast application is started as a sample;
    当所述时间值累计到达预设时间时,将采集的样本建立样本库。When the accumulated time value reaches the preset time, the collected samples are established into a sample library.
  8. 一种快应用的推荐装置,其中,包括:A fast application recommendation device, which includes:
    采集单元,用于采集快应用开启时的多维特征作为样本,并建立样本库;The collection unit is used to collect multi-dimensional features when the fast application is started as a sample, and establish a sample library;
    处理单元,用于对所述样本库中的样本进行聚类处理,以得到目标聚类结果;A processing unit, configured to perform clustering processing on the samples in the sample library to obtain a target clustering result;
    获取单元,用于当检测到快应用推荐指令时,获取当前的环境特征信息;An obtaining unit, configured to obtain current environmental characteristic information when a quick application recommendation instruction is detected;
    确定单元,用于根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐。The determining unit is used to compare the environment feature information with the target clustering result, determine the corresponding target quick application and make recommendations.
  9. 如权利要求8所述的快应用的推荐装置,其中,所述处理单元,包括:The quick application recommendation device according to claim 8, wherein the processing unit comprises:
    解析子单元,用于根据聚类模型对样本库中的每一样本进行解析,将每一样本生成相应的聚类点;The analysis subunit is used to analyze each sample in the sample library according to the clustering model, and generate a corresponding cluster point for each sample;
    处理子单元,用于根据聚类模型对每一聚类点进行聚类处理,以得到目标聚类结果。The processing subunit is used to perform clustering processing on each clustering point according to the clustering model to obtain the target clustering result.
  10. 如权利要求9所述的快应用的推荐装置,其中,所述处理子单元,具体用于:The quick application recommendation device according to claim 9, wherein the processing subunit is specifically used for:
    根据聚类模型对聚类点进行收敛处理,以得到多个收敛的聚类簇,所述聚类簇由多个收敛的聚类点组成;Performing convergence processing on the clustering points according to the clustering model to obtain multiple converging clustering clusters, the clustering cluster being composed of multiple converging clustering points;
    将多个收敛的聚类簇确定为目标聚类结果。Multiple convergent clusters are determined as the target clustering result.
  11. 如权利要求10所述的快应用的推荐装置,其中,所述确定单元,具 体用于:The quick application recommendation device according to claim 10, wherein the determination unit is specifically used to:
    计算所述环境特征信息与每一聚类簇的欧式距离;Calculating the Euclidean distance between the environmental feature information and each cluster;
    将欧式距离最小的聚类簇确定为目标聚类簇,并根据目标聚类簇确定出相应的目标快应用并进行推荐。The cluster cluster with the smallest Euclidean distance is determined as the target cluster cluster, and the corresponding target quick application is determined and recommended according to the target cluster cluster.
  12. 如权利要求8所述的快应用的推荐装置,其中,所述采集单元,具体用于:The quick application recommendation device according to claim 8, wherein the collection unit is specifically used for:
    开始计算时间值,采集快应用开启时的多维特征作为样本;Start to calculate the time value and collect the multi-dimensional features when the fast application is started as a sample;
    当所述时间值累计到达预设时间时,将采集的样本建立样本库。When the accumulated time value reaches the preset time, the collected samples are established into a sample library.
  13. 一种存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1所述的快应用的推荐方法。A storage medium on which a computer program is stored, wherein, when the computer program is run on a computer, the computer is caused to execute the recommended method of fast application according to claim 1.
  14. 一种电子设备,包括处理器和存储器,所述存储器有计算机程序,其中,所述处理器通过调用所述计算机程序,用于执行步骤:An electronic device includes a processor and a memory, and the memory has a computer program, wherein the processor is used to perform steps by calling the computer program:
    采集快应用开启时的多维特征作为样本,并建立样本库;Collect the multi-dimensional features when the fast application is started as a sample, and establish a sample library;
    对所述样本库中的样本进行聚类处理,以得到目标聚类结果;Performing clustering processing on the samples in the sample library to obtain the target clustering result;
    当检测到快应用推荐指令时,获取当前的环境特征信息;When the recommended instruction for quick application is detected, the current environmental characteristic information is obtained;
    根据所述环境特征信息与目标聚类结果进行对比,确定出相应的目标快应用并进行推荐。Based on the comparison between the environmental characteristic information and the target clustering result, the corresponding target quick application is determined and recommended.
  15. 如权利要求14所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:The electronic device of claim 14, wherein the processor is used to execute the steps by calling the computer program:
    根据聚类模型对样本库中的每一样本进行解析,将每一样本生成相应的聚类点;Analyze each sample in the sample library according to the clustering model, and generate a corresponding clustering point for each sample;
    根据聚类模型对每一聚类点进行聚类处理,以得到目标聚类结果。Perform clustering processing on each clustering point according to the clustering model to obtain the target clustering result.
  16. 如权利要求15所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:The electronic device according to claim 15, wherein the processor is used to execute the steps by calling the computer program:
    根据聚类模型对聚类点进行收敛处理,以得到多个收敛的聚类簇,所述聚类簇由多个收敛的聚类点组成;Performing convergence processing on the clustering points according to the clustering model to obtain multiple converging clustering clusters, the clustering cluster being composed of multiple converging clustering points;
    将多个收敛的聚类簇确定为目标聚类结果。Multiple convergent clusters are determined as the target clustering result.
  17. 如权利要求16所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:The electronic device of claim 16, wherein the processor is configured to execute the steps by calling the computer program:
    计算所述环境特征信息与每一聚类簇的欧式距离;Calculating the Euclidean distance between the environmental feature information and each cluster;
    将欧式距离最小的聚类簇确定为目标聚类簇,并根据目标聚类簇确定出相应的目标快应用并进行推荐。The cluster cluster with the smallest Euclidean distance is determined as the target cluster cluster, and the corresponding target quick application is determined and recommended according to the target cluster cluster.
  18. 如权利要求14所述的电子设备,其中,所述处理器通过调用所述计算机程序,还用于执行步骤:The electronic device according to claim 14, wherein the processor is further used to execute the step by calling the computer program:
    当检测到应用开启时,获取当前开启的应用相应的名称属性;When it is detected that the application is opened, the corresponding name attribute of the currently opened application is obtained;
    判断所述名称属性是否为预设名称属性;Determine whether the name attribute is a preset name attribute;
    当判断出所述名称属性为预设名称属性时,判定当前开启的应用为快应用,并执行采集快应用开启时的多维特征作为样本,并建立样本库的步骤。When it is determined that the name attribute is a preset name attribute, it is determined that the currently opened application is a fast application, and a step of collecting multi-dimensional features when the fast application is started is taken as a sample and establishing a sample library.
  19. 如权利要求18所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:The electronic device of claim 18, wherein the processor is configured to execute the steps by calling the computer program:
    提取所述名称属性中的关键词信息;Extract keyword information in the name attribute;
    判断所述关键词信息与预设关键词信息是否匹配;Determine whether the keyword information matches the preset keyword information;
    当判断出所述关键词信息与预设关键词信息匹配时,判定为所述名称属性为预设名称属性;When it is determined that the keyword information matches the preset keyword information, it is determined that the name attribute is a preset name attribute;
    当判断出所述关键词信息与预设关键词信息不匹配时,判定为所述名称属性不为预设名称属性。When it is determined that the keyword information does not match the preset keyword information, it is determined that the name attribute is not the preset name attribute.
  20. 如权利要求14所述的电子设备,其中,所述处理器通过调用所述计算机程序,用于执行步骤:The electronic device of claim 14, wherein the processor is used to execute the steps by calling the computer program:
    开始计算时间值,采集快应用开启时的多维特征作为样本;Start to calculate the time value and collect the multi-dimensional features when the fast application is started as a sample;
    当所述时间值累计到达预设时间时,将采集的样本建立样本库。When the accumulated time value reaches the preset time, the collected samples are established into a sample library.
PCT/CN2018/113168 2018-10-31 2018-10-31 Quick application recommendation method and apparatus, storage medium, and electronic device WO2020087388A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880097410.9A CN112673370A (en) 2018-10-31 2018-10-31 Fast application recommendation method and device, storage medium and electronic equipment
PCT/CN2018/113168 WO2020087388A1 (en) 2018-10-31 2018-10-31 Quick application recommendation method and apparatus, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/113168 WO2020087388A1 (en) 2018-10-31 2018-10-31 Quick application recommendation method and apparatus, storage medium, and electronic device

Publications (1)

Publication Number Publication Date
WO2020087388A1 true WO2020087388A1 (en) 2020-05-07

Family

ID=70464701

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/113168 WO2020087388A1 (en) 2018-10-31 2018-10-31 Quick application recommendation method and apparatus, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN112673370A (en)
WO (1) WO2020087388A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090307262A1 (en) * 2008-06-05 2009-12-10 Samsung Electronics Co., Ltd. Situation-dependent recommendation based on clustering
CN102289478A (en) * 2011-08-01 2011-12-21 江苏广播电视大学 System and method for recommending video on demand based on fuzzy clustering
CN105183781A (en) * 2015-08-14 2015-12-23 百度在线网络技术(北京)有限公司 Information recommendation method and apparatus
CN105808743A (en) * 2016-03-11 2016-07-27 中国联合网络通信集团有限公司 Terminal recommendation method and terminal recommendation system
CN106227723A (en) * 2016-01-25 2016-12-14 百度在线网络技术(北京)有限公司 For recommending application and presenting the method and apparatus recommending application
CN107590245A (en) * 2017-09-14 2018-01-16 广州神马移动信息科技有限公司 Gently apply recommendation method, equipment and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090307262A1 (en) * 2008-06-05 2009-12-10 Samsung Electronics Co., Ltd. Situation-dependent recommendation based on clustering
CN102289478A (en) * 2011-08-01 2011-12-21 江苏广播电视大学 System and method for recommending video on demand based on fuzzy clustering
CN105183781A (en) * 2015-08-14 2015-12-23 百度在线网络技术(北京)有限公司 Information recommendation method and apparatus
CN106227723A (en) * 2016-01-25 2016-12-14 百度在线网络技术(北京)有限公司 For recommending application and presenting the method and apparatus recommending application
CN105808743A (en) * 2016-03-11 2016-07-27 中国联合网络通信集团有限公司 Terminal recommendation method and terminal recommendation system
CN107590245A (en) * 2017-09-14 2018-01-16 广州神马移动信息科技有限公司 Gently apply recommendation method, equipment and electronic equipment

Also Published As

Publication number Publication date
CN112673370A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
WO2019119985A1 (en) Method for preloading application, storage medium, and terminal device
CN108958844B (en) Application program control method and terminal
US8724963B2 (en) Method and system for gesture based searching
WO2018120813A1 (en) Smart recommendation method and terminal
US9622016B2 (en) Invisiblemask: a tangible mechanism to enhance mobile device smartness
CN109657236B (en) Guidance information acquisition method, apparatus, electronic apparatus, and storage medium
CN107545404B (en) Bill reminding method and device
CN107704070B (en) Application cleaning method and device, storage medium and electronic equipment
CN109284261B (en) Application searching method and device, storage medium and electronic equipment
US11487752B2 (en) Optimizing offline map data updates
CN108197225B (en) Image classification method and device, storage medium and electronic equipment
WO2019062358A1 (en) Application program control method and terminal device
CN110196833B (en) Application searching method, device, terminal and storage medium
CN110688497A (en) Resource information searching method and device, terminal equipment and storage medium
WO2019085750A1 (en) Application program control method and apparatus, medium, and electronic device
TWI798912B (en) Search method, electronic device and non-transitory computer-readable recording medium
CN112104505A (en) Application recommendation method and device, server and computer-readable storage medium
CN108234758B (en) Application display method and device, storage medium and electronic equipment
CN111797148A (en) Data processing method, data processing device, storage medium and electronic equipment
US10241988B2 (en) Prioritizing smart tag creation
WO2023246558A1 (en) Semantic understanding method and apparatus, and medium and device
CN108829712A (en) Transaction management method, apparatus, storage medium and terminal device
WO2020087388A1 (en) Quick application recommendation method and apparatus, storage medium, and electronic device
US20220197939A1 (en) Image-based search method, server, terminal, and medium
CN110909190B (en) Data searching method and device, electronic equipment and storage medium

Legal Events

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

Ref document number: 18938518

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 08/09/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18938518

Country of ref document: EP

Kind code of ref document: A1