CN111352906B - Application program classification method and device - Google Patents

Application program classification method and device Download PDF

Info

Publication number
CN111352906B
CN111352906B CN202010169417.6A CN202010169417A CN111352906B CN 111352906 B CN111352906 B CN 111352906B CN 202010169417 A CN202010169417 A CN 202010169417A CN 111352906 B CN111352906 B CN 111352906B
Authority
CN
China
Prior art keywords
application program
target
folder
target application
entry file
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202010169417.6A
Other languages
Chinese (zh)
Other versions
CN111352906A (en
Inventor
喻超宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010169417.6A priority Critical patent/CN111352906B/en
Publication of CN111352906A publication Critical patent/CN111352906A/en
Application granted granted Critical
Publication of CN111352906B publication Critical patent/CN111352906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses an application program classification method and equipment. The method comprises the following steps: acquiring a first starting entry file of a target application program; determining target characteristic information of a target application program according to the first starting entry file; determining at least one reference folder according to the target characteristic information, wherein the similarity between the characteristic information of the application program corresponding to the second starting entry file in the reference folder and the target characteristic information meets a preset condition; displaying at least one reference folder; and storing the first starting entry file into a target folder in at least one reference folder so as to classify the target application program and the application program corresponding to the second starting entry file in the target folder. The application program classification method and the device can improve the application program classification efficiency.

Description

Application program classification method and device
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a method and an apparatus for classifying applications.
Background
Currently, the number of Applications (APP) on the market is large. Based on the different needs of the user, the user downloads many APPs, and the same type of APP, the user may download multiple ones.
In order to facilitate APP classification management, in a normal case, a user may drag a startup entry (such as an icon) of an APP into a folder, or drag a folder to cover a startup entry of an APP, so that the startup entry of the APP enters into the folder, so that the startup entry of the APP of the same type is implemented in the same folder, i.e., APP classification is implemented.
However, both of the above methods require manual operation by a user, and APP classification efficiency is low.
Disclosure of Invention
The embodiment of the invention provides an application program classification method and equipment, which can improve APP classification efficiency.
In a first aspect, an embodiment of the present invention provides an application program classification method applied to an electronic device, including:
acquiring a first starting entry file of a target application program;
determining target characteristic information of a target application program according to the first starting entry file;
determining at least one reference folder according to the target characteristic information; the similarity between the characteristic information of the application program corresponding to the second starting entry file in the reference folder and the target characteristic information meets a preset condition;
displaying at least one reference folder;
And storing the second starting entry file into a target folder in at least one reference folder so as to realize classification of the target application program and the application programs corresponding to the second starting entry file in the target folder.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the acquisition module is used for acquiring a first starting entry file of the target application program;
the first determining module is used for determining target characteristic information of a target application program according to the first starting entry file;
the second determining module is used for determining at least one reference folder according to the target characteristic information; the similarity between the characteristic information of the application program corresponding to the second starting entry file in the reference folder and the target characteristic information meets a preset condition;
the display module is used for displaying at least one reference folder;
and the storage module is used for storing the first starting entry file into one target folder in the at least one reference folder so as to classify the target application program and the application program corresponding to the second starting entry file in the target folder.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of the application classification method provided in the first aspect of the embodiment of the invention.
In a fourth aspect, an embodiment of the present invention provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the application classification method provided in the first aspect of the embodiment of the present invention.
According to the application program classification method, the device and the medium, the target characteristic information of the target application program can be determined through the starting entry file of the target application program; and further, the folder in which the startup entry file of the application program corresponding to the characteristic information with the similarity reaching the preset condition is located can be determined based on the target characteristic information. The startup entry file of the target application program and the startup entry file of the application program corresponding to the feature information of which the target feature information similarity satisfies the preset condition can be stored in the same file. And the similarity reaches a preset condition, the target application program and the application program corresponding to the characteristic information of which the similarity reaches the preset condition can be considered as the similar application program, so that the starting entry files of the similar application programs are placed in a folder, and the application program classification is completed. The classification of the application programs can be realized without dragging the starting inlet of a certain application program to a certain folder or dragging a certain folder to cover the starting inlet of a certain application program by the user, and the classification efficiency of the application programs can be improved.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are needed to be used in the embodiments of the present invention will be briefly described, and other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of an application program classification method applied to an electronic device according to an embodiment of the present invention;
FIG. 2a is a schematic diagram of a download interface of a screen display application according to an embodiment of the present invention;
FIG. 2b is a schematic diagram of another screen display reference folder and application main interface provided by an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to solve the problems in the prior art, the embodiment of the invention provides an application program classification method, device and medium. The following first describes in detail the application program classification method provided in the embodiment of the present invention.
The application program classification method provided by the embodiment of the invention is preferably used for the electronic equipment. Electronic devices include, but are not limited to, cell phones, tablet computers, notebook computers, palm computers, vehicle terminals, wearable devices, pedometers, and the like.
Fig. 1 is a flow chart of an application program classification method applied to an electronic device according to an embodiment of the present invention. The application program classification method applied to the electronic device may include:
s101: a first boot entry file for a target application is obtained.
In one possible implementation of the embodiment of the present invention, the launch portal file may be an application launch icon.
In one possible implementation of the embodiment of the present invention, the target application may be an application being downloaded.
At this time, if the first startup entry file exists in the downloaded content corresponding to the target application, the electronic device may acquire the first startup entry file from the downloaded content.
If the downloaded content corresponding to the target application program does not have the first startup entry file, the electronic device may send a request for requesting to start the entry file to the server, and receive the first startup entry file fed back by the server.
The server, upon receiving the request, preferentially transmits a first boot entry file of the application to the electronic device.
In one possible implementation of the embodiment of the present invention, the target application may also be a downloaded application.
By the embodiment of the invention, the application programs can be classified in the process of downloading the application programs.
S102: and determining target characteristic information of the target application program according to the first starting entry file.
In one possible implementation of the embodiment of the present invention, the target feature information may include at least one of a layout type of the main interface, content included in the main interface, and a type to which the application belongs.
Among the layout types of the main interface include, but are not limited to: list, page-flip, and video play. The main interface contains content including, but not limited to: text, pictures, video skip links, real-time video and audio, etc. Application types include, but are not limited to: information classes, video classes, browser classes, live classes, game classes, music classes, chat classes, etc.
In one possible implementation of the embodiment of the present invention, the layout type of the main interface is a list type, and the text content of the main interface is more, so that the application program can be determined as an information class. The layout type of the main interface is page-turning, the content of the main interface is video jump link, and most videos exceed 10 minutes, and the application program can be determined as video class. The main interface adopts video playing, and the content of the main interface is real-time video playing, so that the application program can be determined to be a live broadcast type. The main interface is a horizontal screen interface, and the interface is rich in color, so that the application program can be determined to be a game type. The main interface links to a batch music play portal, can determine an application as a music class, and so on.
Optionally, when determining the feature information of the target application program according to the first startup entry file, the first startup entry file may be compiled to obtain a main interface of the target application program; acquiring a resource file corresponding to a main interface; and analyzing the resource file and determining the characteristic information of the target application program.
When the part which cannot be compiled exists in the first starting entry file, a virtual file corresponding to the part which cannot be compiled can be established to replace the part which cannot be compiled; and compiling the virtual file and the part except the part which cannot be compiled in the first starting inlet file to obtain a main interface of the target application program.
Alternatively, when the content or information of the main window is absent when the main window is compiled, an empty window may be compiled to replace the incomplete portion, thereby obtaining the main interface of the application program.
Specifically, the electronic device copies the first startup entry file to the cache region, and starts compiling the download file of the cache region.
In the process of compiling the first starting entry file, the electronic device establishes a corresponding virtual file for the part which cannot be compiled, for example, when compiling a main window, the system defaults to compile an empty window to replace the incomplete part when the content and the information of the main window are absent. Thereby finding the main interface of the entry jump.
After the electronic equipment identifies the main interface of the first startup entry file, the electronic equipment sends a request for downloading the main interface resource file preferentially to the providing server. After receiving the request, the server issues a resource file of the main interface, and after receiving the resource file issued by the server, the electronic equipment presses the resource file into the cache area for analysis. The layout type, content, and application type of the main interface are identified, etc.
S103: at least one reference folder is determined based on the target characteristic information.
The similarity between the feature information of the application program corresponding to the second starting entry file in the reference folder and the target feature information meets the preset condition.
In one possible implementation of the embodiment of the present invention, the satisfaction of the above-mentioned similarity to the preset condition may be that the similarity between the feature information of the two application programs is greater than a preset threshold (for example, 90%).
The embodiment of the present invention is not limited to a specific form of calculating the similarity between the feature information, and any available manner may be applied to the embodiment of the present invention.
In one possible implementation of the embodiment of the present invention, after identifying the target feature information of the target application, the electronic device locally establishes a database to store the application information, and stores the target feature information of the target application. Searching feature information similar to the target feature information of the target application program, further searching a folder in which a second starting entry file of the application program corresponding to the found feature information is located, and taking the found folder as a reference folder.
S104: at least one reference folder is displayed.
In one possible implementation of the embodiment of the present invention, the folders may be ordered in a top-down or left-to-right order according to the ordering weights corresponding to the type of the application, the content included in the main interface of the application, and the layout type of the main interface of the application.
In one possible implementation of the embodiment of the present invention, the ranking weight corresponding to the type of the application program may be greater than the ranking weight corresponding to the content included in the main interface of the application program; the ranking weight corresponding to the content included in the main interface of the application program may be greater than the ranking weight corresponding to the layout type of the main interface of the application program.
According to the embodiment of the invention, the folders can be ordered according to the weights, and the user can designate the folders arranged at the forefront, so that the accuracy of application program classification is improved.
S105: and storing the first starting entry file into a target folder in at least one reference folder so as to classify the target application program and the application program corresponding to the second starting entry file in the target folder.
In one possible implementation of the embodiments of the present invention, the target folder may be a user-specified folder.
In one possible implementation of the embodiment of the present invention, when the first startup entry file is stored in one target folder in the at least one reference folder, a first input that the user selects the target folder from the at least one reference folder may be received; in response to the first input, a first boot entry file is stored in the target folder.
Specifically, after a folder is specified by a user, the first startup entry file is directly stored in the folder specified by the user.
In one possible implementation of the embodiment of the present invention, after the first boot entry file is stored in the target folder, the type of the target application may also be recorded.
When the application program of the same type as the target application program is installed again, the starting entry file of the application program of the same type as the target application program can be directly stored in the folder storing the first starting entry file of the target application program, and further, the application program classification efficiency can be improved.
In one possible implementation of the embodiment of the present invention, when the first startup entry file is stored in one target folder in the at least one reference folder, a main interface of the target application may be displayed; receiving a second input of a user for the main interface; and responding to the second input, and storing the first startup inlet file into a folder corresponding to the second input.
When the electronic device is a single-screen electronic device, the download task of the target application program can be displayed in one desktop of the electronic device, and the main interface and the plurality of folders of the target application program are displayed in the other desktop of the electronic device. And when the user drags the main interface to a certain folder, storing the first starting entry file of the target application program into the folder.
When the electronic device includes a first screen and a second screen, a download task of the target application may be displayed in the first screen, and a main interface of the target application and a plurality of folders may be displayed in the second screen. Fig. 2a and 2b show a schematic diagram of a downloading interface of a screen display application according to an embodiment of the present invention; FIG. 2b is a schematic diagram of another screen display reference folder and application main interface provided by an embodiment of the present invention. Wherein fig. 2a shows in a first screen the download tasks of the application in the application download, which represent the application download tasks; in fig. 2b, three folders, folder 1, folder 2, and folder 3, respectively, are shown in the second screen, along with the application main interface. The folder 1 is a folder in which a startup entry file of an application program with type similarity to a target application program meets preset conditions; the folder 2 is a folder in which a startup entry file of the application program with the similarity of the layout type with the main interface of the target application program meets the preset condition; folder 2 is a folder in which a startup entry file of an application program having a similar layout type of a face is located; the folder 3 is a folder in which a startup entry file of an application program whose content similarity with a main interface of a target application program satisfies a preset condition is located. And when the user drags the main interface to a certain folder, storing the first starting entry file of the target application program into the folder.
According to the application program classification method provided by the embodiment of the invention, the target characteristic information of the target application program can be determined through the starting entry file of the target application program; and further, the folder in which the startup entry file of the application program corresponding to the characteristic information with the similarity reaching the preset condition is located can be determined based on the target characteristic information. The startup entry file of the target application program and the startup entry file of the application program corresponding to the feature information of which the target feature information similarity satisfies the preset condition can be stored in the same file. And the similarity reaches a preset condition, the target application program and the application program corresponding to the characteristic information of which the similarity reaches the preset condition can be considered as the similar application program, so that the starting entry files of the similar application programs are placed in a folder, and the application program classification is completed. The classification of the application programs can be realized without dragging the starting inlet of a certain application program to a certain folder or dragging a certain folder to cover the starting inlet of a certain application program by the user, and the classification efficiency of the application programs can be improved.
In one possible implementation of the embodiment of the present invention, when a screen of the electronic device displays a main interface of an application program, if a user desires to access a secondary interface of the application program, the electronic device may receive an access input of the user to the secondary interface of the application program (for example, click an entry (for example, a button picture, a text, etc.) of the main interface into the secondary interface), respond to the access input, and when the secondary interface of the application program exists in the downloaded content corresponding to the target application program, display the secondary interface; and when the secondary interface of the application program does not exist in the downloaded content corresponding to the target application program, sending an access request for requesting the secondary interface to the server, and receiving the secondary interface fed back by the server.
It can be understood that the secondary interface of the application program is a lower interface of the primary interface of the application program, and the primary interface of the application program is a main interface of the application program.
In one possible implementation of the embodiment of the present invention, before sending an access request for requesting the secondary interface to the server, a prompt message for prompting the user that the secondary interface is being downloaded may also be displayed.
By the embodiment of the invention, the user can know that the secondary interface of the application program is being downloaded.
In one possible implementation of the embodiment of the present invention, in the process of sending an access request for requesting the secondary interface and receiving the secondary interface, the downloading of other contents except for the secondary interface may be interrupted.
By the embodiment of the invention, the secondary interface of the application program can be downloaded preferentially, the downloading speed of the secondary interface of the application program is improved, the display time of the secondary interface is shortened, and the user experience effect is improved.
And after the secondary interface is downloaded, other contents can be continuously downloaded.
The application program classification method provided by the embodiment of the invention is described below with reference to two specific embodiments.
When a user selects an application program to download on a server through an application store or a webpage, the electronic equipment preferentially searches whether a desktop startup entrance file exists in the content which corresponds to the application program and is downloaded currently, and if the startup entrance file does not exist, the electronic equipment transmits a request for the startup entrance file of the application program in a downloading channel. After receiving the request, the server preferentially transmits the startup entry file of the application program to the electronic device. If the startup entry file of the application program is already present in the downloaded local file, the electronic device copies the startup entry file into the cache and starts compiling the downloaded file of the cache.
In the process of compiling the startup entry file, the electronic device establishes a corresponding virtual file for the part which cannot be compiled, for example, when compiling a main window, the system defaults to compile an empty window to replace the incomplete part when lacking the content and information of the main window. Thereby finding the main interface of the entry jump.
After the electronic equipment identifies the main interface for starting the entry file, the electronic equipment sends a request for downloading the main interface resource file preferentially to the providing server. After receiving the request, the server issues a resource file of the main interface, and after receiving the resource file issued by the server, the electronic equipment presses the resource file into the cache area for analysis. The layout type of the main interface is identified.
After the electronic equipment identifies the layout type of the main interface, the electronic equipment starts to analyze whether the corresponding compiled file in the resource file exists locally, and if not, a request is sent to the server through the downloading channel. And after acquiring the compiled file corresponding to the resource file, requesting the data required to be requested by the compiled file in advance. I.e. a request is made to the application main interface loading interface once during the downloading of the application.
After the electronic equipment identifies the layout type and the content of the application program, a database is established locally to store the information of the application program, and the layout type, the content and the category of the application program are stored. Searching the layout type, the content and the category similar to the layout type, the content and the category of the application program, further searching the folder where the starting entry file of the corresponding application program is located, and sorting the folders according to the weight of the category > content > style. And displaying the ordered results on a desktop of the electronic equipment in a popup window mode.
When a user designates a certain folder, the electronic equipment automatically puts the starting entry file of the application program into the folder designated by the user, and records the classification of the folder in which the starting entry file of the application program is located. When there are more applications of the same type downloaded, the folder is recommended by default, and the launch entry file of the downloaded application is preferably placed in the folder.
According to the embodiment of the invention, the application programs can be classified in the process of downloading the application programs, and a user does not need to carry out complex classification operation. And still the classification accuracy is high for applications with fewer users than by label recommendation classification.
When the electronic equipment is the electronic equipment with two screens, when a user selects an application program to download on a server through an application store or a webpage, the electronic equipment preferentially searches whether a desktop startup entry file exists in the content which corresponds to the application program and is currently downloaded, and if the startup entry file does not exist, the electronic equipment transmits a request for the startup entry file of the application program in a downloading channel. After receiving the request, the server preferentially transmits the startup entry file of the application program to the electronic device. If the startup entry file of the application program is already present in the downloaded local file, the electronic device copies the startup entry file into the cache and starts compiling the downloaded file of the cache.
In the process of compiling the startup entry file, the electronic device establishes a corresponding virtual file for the part which cannot be compiled, for example, when compiling a main window, the system defaults to compile an empty window to replace the incomplete part when lacking the content and information of the main window. Thereby finding the main interface of the entry jump.
After the electronic equipment identifies the main interface for starting the entry file, the electronic equipment sends a request for downloading the main interface resource file preferentially to the providing server. After receiving the request, the server issues a resource file of the main interface, and after receiving the resource file issued by the server, the electronic equipment presses the resource file into the cache area for analysis. The layout type of the main interface is identified.
After the electronic equipment identifies the layout type of the main interface, the electronic equipment starts to analyze whether the corresponding compiled file in the resource file exists locally, and if not, a request is sent to the server through the downloading channel. And after acquiring the compiled file corresponding to the resource file, requesting the data required to be requested by the compiled file in advance. I.e. a request is made to the application main interface loading interface once during the downloading of the application.
After the electronic equipment identifies the layout type and the content of the application program, a database is established locally to store the information of the application program, and the layout type, the content and the category of the application program are stored. Searching the layout type, the content and the category similar to the layout type, the content and the category of the application program, further searching the folder where the starting entry file of the corresponding application program is located, and sorting the folders according to the weight of the category > content > style. And displaying the ordered results on a desktop of the electronic equipment in a popup window mode.
At this time, the electronic device may display the download task of the application program in one screen, and display the main interface of the application program and the plurality of folders in another screen of the electronic device.
The user can preview the main interface of the application program through the main interface of the displayed application program. And when the user drags the main interface to a certain folder, storing the starting entry file of the target application program into the folder.
According to the embodiment of the invention, the application programs can be classified in the process of downloading the application programs, and a user does not need to carry out complex classification operation. And still the classification accuracy is high for applications with fewer users than by label recommendation classification. And the preview interface can be provided for the user under the condition that the user does not know the application program, and after the user experience, the application program is classified, so that the user experience effect is improved.
When a user desires to access the secondary interface of the application program, clicking an entry into the secondary interface in the main interface, and at the moment, if the secondary interface is already in the cache region, putting the secondary interface into a compiling region to operate and open. If the secondary interface does not exist in the buffer area, prompting the user that the secondary interface is still in downloading, interrupting the downloading of other contents, and downloading the secondary interface preferentially. And after the secondary interface is downloaded, the downloading task interrupted before is carried out, namely, other contents are continuously downloaded.
By the embodiment of the invention, a user can know that the secondary interface of the application program is being downloaded, and can download the secondary interface of the application program preferentially, the downloading speed of the secondary interface of the application program is improved, the display time of the secondary interface is shortened, and the user experience effect is improved.
Corresponding to the method embodiment, the embodiment of the invention also provides electronic equipment. Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, as shown in fig. 3. The electronic device may include:
the obtaining module 301 is configured to obtain a first startup entry file of a target application.
The first determining module 302 is configured to determine target feature information of the target application program according to the first startup entry file.
A second determining module 303, configured to determine at least one reference folder according to the target feature information.
The similarity between the feature information of the application program corresponding to the second starting entry file in the reference folder and the target feature information meets the preset condition.
A display module 304, configured to display at least one reference folder.
The storage module 305 is configured to store the first startup entry file in a target folder in the at least one reference folder, so as to classify the target application and the application corresponding to the second startup entry file in the target folder.
In one possible implementation of an embodiment of the present invention, the storage module 305 may be specifically configured to:
receiving a first input from a user selecting a target folder from at least one reference folder;
in response to the first input, a first boot entry file is stored in the target folder.
In one possible implementation of the embodiment of the present invention, the electronic device may further include:
and the recording module is used for recording the type of the target application program.
In one possible implementation of an embodiment of the present invention, the storage module 305 may be specifically configured to:
displaying a main interface of a target application program;
receiving a second input of a user for the main interface;
and responding to the second input, and storing the first startup inlet file into a folder corresponding to the second input.
In one possible implementation of the embodiment of the present invention, the electronic device may further include:
the first receiving module is used for receiving a third input of a user aiming at the main interface;
the first response module is used for responding to the third input, and displaying the secondary interface of the target application program if the secondary interface of the target application program exists in the downloaded content corresponding to the target application program.
In one possible implementation of the embodiment of the present invention, the electronic device may further include:
The processing module is used for sending a first request to the server if the secondary interface of the target application program does not exist in the downloaded content corresponding to the target application program, wherein the first request is used for requesting the secondary interface; and receiving a secondary interface fed back by the server.
In one possible implementation of an embodiment of the present invention, the display module 304 may be further configured to:
and displaying prompt information for prompting the user that the secondary interface is being downloaded.
In one possible implementation of the embodiment of the present invention, the electronic device may further include:
and the interruption module is used for interrupting the downloading of other contents except the secondary interface in the process of sending the first request and receiving the secondary interface.
In one possible implementation of the embodiment of the present invention, the electronic device may further include:
and the downloading module is used for continuously downloading other contents after the secondary interface is downloaded.
In one possible implementation of the embodiment of the present invention, an electronic device may include: a first screen and a second screen. And displaying the download task of the target application program in a first screen, and displaying at least one reference folder and the main interface of the target application program in a second screen.
In one possible implementation of the embodiment of the present invention, the target application is the application being downloaded; the obtaining module 301 may specifically be configured to:
And if the first starting entry file exists in the downloaded content corresponding to the target application program, acquiring the first starting entry file from the downloaded content.
In one possible implementation of the embodiment of the present invention, the target application is the application being downloaded; the obtaining module 301 may specifically be configured to:
if the downloaded content corresponding to the target application program does not contain the first starting entry file, sending a second request to the server, wherein the second request is used for requesting the first starting entry file;
and receiving a first startup entry file fed back by the server.
In one possible implementation of the embodiment of the present invention, the first determining module 302 may specifically be configured to:
the compiling unit is used for compiling the first starting entry file to obtain a main interface of the target application program;
the acquisition unit is used for acquiring the resource file corresponding to the main interface;
and the analysis unit is used for analyzing the resource file and determining the characteristic information of the target application program.
In one possible implementation of the embodiment of the present invention, the compiling unit is specifically configured to:
if the first starting entry file has a part which cannot be compiled, establishing a virtual file corresponding to the part which cannot be compiled so as to replace the part which cannot be compiled;
And compiling the virtual file and the part except the part which cannot be compiled in the first starting inlet file to obtain a main interface of the target application program.
In one possible implementation of the embodiment of the present invention, the feature information may include:
at least one of the layout type of the main interface, the content contained in the main interface and the type to which the application belongs.
Fig. 4 is a schematic structural diagram of another electronic device according to an embodiment of the present invention. The electronic device 400 includes, but is not limited to: radio frequency unit 401, network module 402, audio output unit 403, input unit 404, sensor 405, display unit 406, user input unit 407, interface unit 408, memory 409, processor 410, and power source 411. Those skilled in the art will appreciate that the electronic device structure shown in fig. 4 is not limiting of the electronic device and that the electronic device may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. In the embodiment of the invention, the electronic equipment comprises, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer and the like.
A processor 410, configured to obtain a first startup entry file of a target application; determining target characteristic information of a target application program according to the first starting entry file; determining at least one reference folder according to the target characteristic information; displaying at least one reference folder; the first boot entry file is stored in a target folder of the at least one reference folder. The similarity between the feature information of the application program corresponding to the second starting entry file in the reference folder and the target feature information meets a preset condition, so that the target application program and the application program corresponding to the second starting entry file in the target folder are classified.
According to the embodiment of the invention, the classification of the application programs can be realized without dragging the starting inlet of a certain application program into a certain folder or dragging a certain folder to cover the starting inlet of a certain application program by the user, and the classification efficiency of the application programs can be improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 may be used for receiving and transmitting signals during the process of receiving and transmitting information or communication, specifically, receiving downlink data from a base station and then processing the received downlink data by the processor 410; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 401 may also communicate with networks and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 402, such as helping the user to send and receive e-mail, browse web pages, and access streaming media, etc.
The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 400. The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
The input unit 404 is used to receive an audio or video signal. The input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042, the graphics processor 4041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 406. The image frames processed by the graphics processor 4041 may be stored in memory 409 (or other storage medium) or transmitted via the radio frequency unit 401 or the network module 402. The microphone 4042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode.
The electronic device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 4061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 4061 and/or the backlight when the electronic device 400 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for recognizing the gesture of the electronic equipment (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; the sensor 405 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described herein.
The display unit 406 is used to display information input by a user or information provided to the user. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 407 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 4071 or thereabout using any suitable object or accessory such as a finger, stylus, etc.). The touch panel 4071 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 410, and receives and executes commands sent from the processor 410. In addition, the touch panel 4071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 407 may include other input devices 4072 in addition to the touch panel 4071. In particular, other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 4071 may be overlaid on the display panel 4061, and when the touch panel 4071 detects a touch operation thereon or thereabout, the touch operation is transferred to the processor 410 to determine the type of touch event, and then the processor 410 provides a corresponding visual output on the display panel 4061 according to the type of touch event. Although in fig. 4, the touch panel 4071 and the display panel 4061 are two independent components for implementing the input and output functions of the electronic device, in some embodiments, the touch panel 4071 may be integrated with the display panel 4061 to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 408 is an interface to which an external device is connected to the electronic apparatus 400. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 408 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 400 or may be used to transmit data between the electronic apparatus 400 and an external device.
Memory 409 may be used to store software programs as well as various data. The memory 409 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 409 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 410 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 409 and invoking data stored in the memory 409, thereby performing overall monitoring of the electronic device. Processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 410.
The electronic device 400 may also include a power supply 411 (e.g., a battery) for powering the various components, and preferably the power supply 411 may be logically connected to the processor 410 via a power management system that performs functions such as managing charging, discharging, and power consumption.
In addition, the electronic device 400 includes some functional modules, which are not shown, and are not described herein.
Preferably, the embodiment of the present invention further provides an electronic device, including a processor 410, a memory 409, and a computer program stored in the memory 409 and capable of running on the processor 410, where the computer program when executed by the processor 410 implements each process of the embodiment of the application program classification method applied to the electronic device, and the same technical effects can be achieved, and for avoiding repetition, a detailed description is omitted herein.
Embodiments of the present invention also provide a computer readable storage medium having computer program instructions stored thereon; when the computer program instructions are executed by the processor, the processes of the application program classification method embodiment applied to the electronic device provided by the embodiment of the invention are realized, the same technical effects can be achieved, and in order to avoid repetition, the description is omitted here. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (6)

1. An application classification method, wherein the method is applied to an electronic device, the method comprising:
acquiring a first starting entry file of a target application program;
compiling the first starting entry file to obtain a main interface of the target application program, obtaining a resource file corresponding to the main interface, analyzing the resource file, and determining target characteristic information of the target application program; the target characteristic information includes at least one of: the layout type of the main interface and the content contained in the main interface;
determining at least one reference folder according to the target characteristic information; the similarity between the characteristic information of the application program corresponding to the second starting entry file in the reference folder and the target characteristic information meets a preset condition;
Displaying a download interface of the target application program in a first screen of the electronic device, displaying the at least one reference folder and a main interface of the target application program in a second screen of the electronic device, wherein the electronic device comprises the first screen and the second screen, and the target application program is an application program which is being downloaded;
and responding to the operation of dragging the main interface of the target application program to a target folder in the at least one reference folder, and storing the first starting entry file into the target folder so as to realize classification of the target application program and the application programs corresponding to the second starting entry file in the target folder.
2. The method of claim 1, wherein after displaying the at least one reference folder and the home interface of the target application in the second screen of the electronic device, the method further comprises:
receiving a third input of a user for the main interface;
and responding to the third input, and if the secondary interface of the target application program exists in the downloaded content corresponding to the target application program, displaying the secondary interface.
3. The method of claim 2, wherein after said responding to said third input, said method further comprises:
if the downloaded content corresponding to the target application program does not contain the secondary interface of the target application program, sending a first request to a server, wherein the first request is used for requesting the secondary interface;
and receiving the secondary interface fed back by the server.
4. The method of claim 1, wherein the obtaining the first boot entry file of the target application comprises:
and if the first starting entry file exists in the downloaded content corresponding to the target application program, acquiring the first starting entry file from the downloaded content.
5. The method of claim 1, wherein the obtaining the first boot entry file of the target application comprises:
if the first starting entry file does not exist in the downloaded content corresponding to the target application program, sending a second request to a server, wherein the second request is used for requesting the first starting entry file;
and receiving the first starting entry file fed back by the server.
6. An electronic device, the electronic device comprising:
the acquisition module is used for acquiring a first starting entry file of the target application program;
the first determining module is used for compiling the first starting entry file to obtain a main interface of the target application program, obtaining a resource file corresponding to the main interface, analyzing the resource file and determining target characteristic information of the target application program; the target characteristic information includes at least one of: the layout type of the main interface and the content contained in the main interface;
the second determining module is used for determining at least one reference folder according to the target characteristic information; the similarity between the characteristic information of the application program corresponding to the second starting entry file in the reference folder and the target characteristic information meets a preset condition;
the display module is used for displaying a downloading interface of the target application program in a first screen of the electronic equipment, displaying the at least one reference folder and a main interface of the target application program in a second screen of the electronic equipment, wherein the electronic equipment comprises the first screen and the second screen, and the target application program is an application program which is being downloaded;
And the storage module is used for responding to the operation of dragging the main interface of the target application program to a target folder in the at least one reference folder, and storing the first starting entry file into one target folder in the at least one reference folder so as to realize classification of the target application program and the application programs corresponding to the second starting entry file in the target folder.
CN202010169417.6A 2020-03-12 2020-03-12 Application program classification method and device Active CN111352906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010169417.6A CN111352906B (en) 2020-03-12 2020-03-12 Application program classification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010169417.6A CN111352906B (en) 2020-03-12 2020-03-12 Application program classification method and device

Publications (2)

Publication Number Publication Date
CN111352906A CN111352906A (en) 2020-06-30
CN111352906B true CN111352906B (en) 2024-02-27

Family

ID=71192750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010169417.6A Active CN111352906B (en) 2020-03-12 2020-03-12 Application program classification method and device

Country Status (1)

Country Link
CN (1) CN111352906B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364438A (en) * 2011-10-10 2012-02-29 宇龙计算机通信科技(深圳)有限公司 Application program display and classification method, terminal and mobile terminal
CN102968338A (en) * 2012-12-13 2013-03-13 北京奇虎科技有限公司 Method and device for classifying application program of electronic equipment and electronic equipment
CN106156346A (en) * 2016-07-21 2016-11-23 乐视控股(北京)有限公司 The automatic classification method of icon and device
CN106227400A (en) * 2016-07-13 2016-12-14 乐视控股(北京)有限公司 Application icon automatic clustering method, device and terminal unit
CN107391210A (en) * 2017-08-15 2017-11-24 北京奇虎科技有限公司 The operating method and device of application program, terminal device
CN107463314A (en) * 2017-08-15 2017-12-12 北京奇虎科技有限公司 The display methods and device of application program, terminal device
CN107844344A (en) * 2016-09-19 2018-03-27 腾讯科技(深圳)有限公司 application icon management method and device
CN109213396A (en) * 2018-07-12 2019-01-15 维沃移动通信有限公司 A kind of object control method and terminal
CN109376771A (en) * 2018-09-27 2019-02-22 北京小米移动软件有限公司 Application program classification method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10809875B2 (en) * 2015-08-03 2020-10-20 Lenovo (Beijing) Co., Ltd. Display control method and device, and electronic apparatus
CN105916054A (en) * 2015-10-23 2016-08-31 乐视致新电子科技(天津)有限公司 Desktop display control method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102364438A (en) * 2011-10-10 2012-02-29 宇龙计算机通信科技(深圳)有限公司 Application program display and classification method, terminal and mobile terminal
CN102968338A (en) * 2012-12-13 2013-03-13 北京奇虎科技有限公司 Method and device for classifying application program of electronic equipment and electronic equipment
CN106227400A (en) * 2016-07-13 2016-12-14 乐视控股(北京)有限公司 Application icon automatic clustering method, device and terminal unit
CN106156346A (en) * 2016-07-21 2016-11-23 乐视控股(北京)有限公司 The automatic classification method of icon and device
CN107844344A (en) * 2016-09-19 2018-03-27 腾讯科技(深圳)有限公司 application icon management method and device
CN107391210A (en) * 2017-08-15 2017-11-24 北京奇虎科技有限公司 The operating method and device of application program, terminal device
CN107463314A (en) * 2017-08-15 2017-12-12 北京奇虎科技有限公司 The display methods and device of application program, terminal device
CN109213396A (en) * 2018-07-12 2019-01-15 维沃移动通信有限公司 A kind of object control method and terminal
CN109376771A (en) * 2018-09-27 2019-02-22 北京小米移动软件有限公司 Application program classification method and device

Also Published As

Publication number Publication date
CN111352906A (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN110798397B (en) File sending method and device and electronic equipment
CN108415652B (en) Text processing method and mobile terminal
CN111338530B (en) Control method of application program icon and electronic equipment
CN109857297B (en) Information processing method and terminal equipment
CN108255372B (en) Desktop application icon sorting method and mobile terminal
EP3699743B1 (en) Image viewing method and mobile terminal
CN109284144B (en) Fast application processing method and mobile terminal
US11481357B2 (en) Album display method, electronic device, and storage medium
CN108491148B (en) Application sharing method and terminal
CN111459349B (en) Application recommendation method and electronic equipment
CN110381204B (en) Information display method, mobile terminal and computer readable storage medium
CN109165320B (en) Information collection method and mobile terminal
CN110096203B (en) Screenshot method and mobile terminal
CN110688497A (en) Resource information searching method and device, terminal equipment and storage medium
CN108446339B (en) Application icon classification method and mobile terminal
CN110990679A (en) Information searching method and electronic equipment
CN111125307A (en) Chat record query method and electronic equipment
CN109284146B (en) Light application starting method and mobile terminal
CN110045892B (en) Display method and terminal equipment
CN109857578B (en) Text copying method and electronic equipment
CN111597435A (en) Voice search method and device and electronic equipment
CN111309934A (en) Collected resource processing method and electronic equipment
CN110888572A (en) Message display method and terminal equipment
CN111352906B (en) Application program classification method and device
CN111475081B (en) Information display method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant