CN110502168B - Multi-point touch function menu generation method, device, server, terminal and medium - Google Patents

Multi-point touch function menu generation method, device, server, terminal and medium Download PDF

Info

Publication number
CN110502168B
CN110502168B CN201910636827.4A CN201910636827A CN110502168B CN 110502168 B CN110502168 B CN 110502168B CN 201910636827 A CN201910636827 A CN 201910636827A CN 110502168 B CN110502168 B CN 110502168B
Authority
CN
China
Prior art keywords
search
touch
search result
app
module
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
CN201910636827.4A
Other languages
Chinese (zh)
Other versions
CN110502168A (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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201910636827.4A priority Critical patent/CN110502168B/en
Publication of CN110502168A publication Critical patent/CN110502168A/en
Application granted granted Critical
Publication of CN110502168B publication Critical patent/CN110502168B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/903Querying
    • G06F16/9032Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The embodiment of the invention provides a method, a device, a server, a terminal and a storage medium for generating a multi-point touch function menu, wherein the method comprises the following steps: determining the top N search result modules of all users under an application program APP within a preset time period according to search word search ranking; counting the first M search result modules of the search ranking of the common search words of the current user in the APP within the preset time period, wherein the sum of N and M meets the maximum number of items of menu options of a multi-Touch 3D Touch function menu supported by the system; and sending the identifier information corresponding to the N search result modules and the identifier information corresponding to the M search result modules to a terminal, so that the terminal can generate the multi-Touch 3D Touch function menu of the APP according to the identifier information. The invention can dynamically formulate the personalized 3D Touch function menu aiming at different users, thereby improving the user experience and the user satisfaction.

Description

Multi-point touch function menu generation method, device, server, terminal and medium
Technical Field
The invention relates to the technical field of terminals, in particular to a method, a device, a server, a terminal and a storage medium for generating a multi-point touch function menu.
Background
With the development of science and technology, the functions of mobile phone software relate to the point and drip in life, and mobile phone hardware is continuously updated and updated, so that innovation is carried out in a more intelligent and more convenient direction. Mobile terminal application programs (APPs) of various application stores are on the rise, and with the advent of multi-Touch (3D Touch), mobile phones are more widely used. One application in the 3D Touch technology is that a menu can be called out through the Icon of the main screen, and then the application function is quickly located through menu options, and the function enters the relevant function module of the APP. For example, the 3D Touch function menu function of WeChat includes "My two-dimensional code", "scanning", and "collect and pay"; the 3D Touch function menu functions of the Sina microblog include 'write microblog', 'hot microblog', 'search' and 'scan two-dimensional code'. However, some functions in the 3D Touch function menu may not be interesting or useful for the user, and the 3D Touch function menu has at most 4 items, and the menu options are relatively fixed, and cannot satisfy habits and interests of different users.
Therefore, how to set up a corresponding personalized 3D Touch function menu according to habits and interests of different users is a technical problem to be solved at present.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method for generating a multi-Touch function menu, so as to solve the technical problem in the prior art that the user experience is poor due to the fact that personalized 3D Touch function menus cannot be provided for different users.
Correspondingly, the embodiment of the invention also provides a multi-point touch function menu generating device, a server, a terminal and a storage medium, which are used for ensuring the realization and the application of the method.
In order to solve the problems, the invention is realized by the following technical scheme:
a first aspect provides a method for generating a multi-touch function menu, including:
determining the top N search result modules of all users under an application program APP within a preset time period according to search word search ranking;
counting the first M search result modules of the search ranking of the common search words of the current user in the APP within the preset time period, wherein the sum of N and M meets the maximum number of items of menu options of a multi-Touch 3D Touch function menu supported by the system;
and sending the identifier information corresponding to the N search result modules and the identifier information corresponding to the M search result modules to a terminal, so that the terminal can generate the multi-Touch 3D Touch function menu of the APP according to the identifier information.
Optionally, the determining the top N search result modules of the search ranking according to the search term by all users under the application program APP within the preset time period includes:
analyzing and sequencing the first N search terms of all user search ranks under APP in a preset time period from a log file of a search engine;
and analyzing the N search terms to obtain the first N search result modules in the corresponding APP.
Optionally, the counting the top M search result modules of the search ranking of the common search terms in the APP of the current user in the preset time period includes:
counting the first P search terms of the search ranking of the search terms commonly used by the current user in the APP within a preset time period, wherein P is a natural number greater than M;
analyzing the first P search terms to obtain first Q search result modules in the corresponding APP, wherein Q is a natural number less than or equal to P;
and selecting the top M search result modules of the search ranking of the search words commonly used by the current user from the Q search result modules.
A second aspect provides a method for generating a multi-touch function menu, including:
obtaining identifier information of a search result module from a server, wherein the identifier information of the search result module comprises: the method comprises the steps that the server determines identifier information of the first N search result modules of all users in search ranking according to search terms in an application program APP within a preset time period, and the server counts the identifier information of the first M search result modules of the search ranking of the current users in search terms commonly used in the APP within the preset time period, wherein the sum of N and M meets the maximum number of menu options of a multi-Touch 3D Touch function menu supported by the system;
inquiring a 3D Touch configuration table according to the identifier information of the search result module to obtain configuration data of the 3D Touch option;
and generating a 3D Touch function menu of the APP according to the configuration data of the 3D Touch option.
Optionally, the generating the 3D Touch function menu of the APP according to the configuration data of the 3D Touch option includes:
configuring the 3D Touch option according to the configuration data of the 3D Touch option;
and packaging the 3D Touch option to generate a 3D Touch function menu of the APP.
Optionally, the method further includes:
and pre-arranging the 3D Touch configuration table on the terminal, wherein the 3D Touch configuration table is a set of all search result modules obtained by searching according to keywords.
Optionally, the method further includes:
and when a search result module is newly added on the terminal, the search result module is synchronously updated to the 3D Touch configuration table.
A third aspect provides a multi-touch function menu generating apparatus, including:
the determining module is used for determining the top N search result modules of the search ranking of all users according to the search terms in the application program APP within the preset time period;
the statistical module is used for counting the first M search result modules of the search ranking of the common search terms of the current user in the APP within the preset time period, wherein the sum of N and M meets the maximum number of items of menu options of a multi-Touch 3D Touch function menu supported by the system;
and the sending module is used for sending the identifier information corresponding to the N search result modules and the identifier information corresponding to the M search result modules to a terminal so that the terminal can generate the multi-Touch 3D Touch function menu of the APP according to the identifier information.
Optionally, the determining module includes:
the analysis module is used for analyzing and sequencing the first N search terms of all user search ranks under APP in a preset time period from a log file of a search engine;
and the first analysis module is used for analyzing the N search terms to obtain the first N search result modules in the corresponding APP.
Optionally, the statistical module includes:
the search term counting module is used for counting the first P search terms of the search ranking of the current user in the APP within a preset time period, wherein P is a natural number larger than M;
the second analysis module is used for analyzing the first P search terms to obtain corresponding Q search result modules, wherein Q is a natural number less than or equal to P;
and the selection module is used for selecting the first M search result modules of the search ranking of the search words commonly used by the current user from the Q search result modules.
A fourth aspect provides a multi-touch function menu generating device, including:
the acquisition module is used for acquiring the identifier information of the search result module from the server, wherein the identifier information of the search result module comprises: the method comprises the steps that the server determines identifier information of the first N search result modules of all users in search ranking according to search terms in an application program APP within a preset time period, and the server counts the identifier information of the first M search result modules of the search ranking of the common search terms of the current users in the APP within the preset time period, wherein the sum of N and M meets the maximum number of menu options of a multi-Touch 3D Touch function menu supported by the system;
the query module is used for querying a multi-Touch 3D Touch configuration table according to the identifier information of the search result module to obtain configuration data of multi-Touch 3D Touch options;
and the generating module is used for generating the 3D Touch function menu of the APP according to the configuration data of the 3D Touch option.
Optionally, the generated module includes:
the configuration module is used for configuring the 3D Touch options according to the configuration data of the 3D Touch options;
and the packaging module is used for packaging the 3D Touch option to generate the 3D Touch function menu of the APP.
Optionally, the apparatus further comprises:
and the storage module is used for pre-embedding the 3D Touch configuration table in the terminal, wherein the 3D Touch configuration table is a set of all search result modules obtained by searching according to the keywords.
Optionally, the apparatus further comprises:
and the updating module is used for synchronously updating the search result module to the 3D Touch configuration table when the search result module is newly added on the terminal.
A fifth aspect provides a server comprising: a memory, a processor 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 multi-touch function menu generating method as described above.
A sixth aspect provides a terminal comprising: a memory, a processor 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 multi-touch function menu generating method as described above.
A seventh aspect provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps in the multi-touch function menu generation method as described above.
Compared with the prior art, the embodiment of the invention at least comprises the following advantages:
in the embodiment of the invention, the first N search result modules which are most searched by all users according to search words in an APP within a preset time period are determined, and the first M search result modules which are ranked by searching common search words of the current users in the APP within the preset time period are counted, wherein the sum of N and M is less than or equal to 4; in other words, in the embodiment of the present invention, the server may perform statistical analysis on the search terms of all users under the APP and the search terms commonly used by the current user at intervals, and after the statistical analysis, send the identifier information of the first M + N (the sum of M + N is equal to 4, for example) search result modules, which are the sum of search term search ranks, of all users and the current user, to the terminal, so that the terminal dynamically formulates personalized 3D Touch function menus for different current users according to the identifier information, user experience and user satisfaction are improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
Fig. 1 is a flowchart of a method for generating a multi-touch function menu according to an embodiment of the present invention;
FIG. 2 is another flowchart of a method for generating a multi-touch menu according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a multi-touch function menu generating apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a determining module according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a statistics module according to an embodiment of the present invention;
fig. 6 is another schematic structural diagram of a multi-touch function menu generating device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a generating module according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a multi-touch function menu generating apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a multi-touch function menu generating device according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Referring to fig. 1, a flowchart of a method for generating a multi-touch function menu according to an embodiment of the present invention may include the following steps:
step 101: determining the top N search result modules of all users under an application program APP within a preset time period according to search word search ranking;
firstly, analyzing and sequencing the first N search terms of all user search ranks under APP in a preset time period from a log file of a search engine by a server; then, the server analyzes the N search terms to obtain the first N search result modules in the corresponding APP, wherein N is a natural number which is more than or equal to 1. It should be noted that, in the present embodiment, the value greater than or equal to is greater than or equal to, or the value less than or equal to is less than or equal to, the same applies below.
That is, every predetermined time (i.e. a set period of time), the server analyzes and sorts out N search terms (for example, 10 search terms, 8 search terms, 3 search terms, 2 search terms, or 1 search term) before the search of all users of the APP in the period of time from the log file of the search engine, and analyzes N search result modules corresponding to the N search terms in the search background. For example, if the search words of 58 the same-city APP at the top three ranks are searched for in a period of time, such as "rent house", "moving house", and "second-hand audi", the search result modules in the corresponding APPs are analyzed, such as "rent house", "local service", and "second-hand vehicle".
Step 102: and counting the first M search result modules of the search ranking of the current user in the APP by using the common search words in the preset time period, wherein M is a natural number which is more than or equal to 1, and the sum of N and M meets the maximum number of items of menu options of the multi-Touch 3D Touch function menu supported by the system.
In the step, firstly, in a preset time period, a server counts the first P search terms of the search ranking of the search terms commonly used by the current user in the APP, wherein P is a natural number greater than M; then, the server analyzes the first P search terms of the ranking to obtain Q search result modules corresponding to the APP, wherein Q is a natural number less than or equal to P; and finally, the server selects the first M search result modules of the search ranking of the search words commonly used by the current user from the Q search result modules.
That is to say, when a user inputs search terms through the APP to search, the server records and stores the search terms in this period of time, ranks the search terms, and extracts search terms of a top-ranked P (for example, top-ranked five) searched by the user in the APP.
And then analyzing the top P search terms of the ranking to obtain top Q search result modules in the corresponding APP, wherein Q is a natural number less than or equal to P, and it needs to be explained that the number of words of the same search term for two times is increased by one. In addition, since different search terms may correspond to the same search result module, Q is a natural number less than or equal to P. For example, search result modules corresponding to search words "audi" and "bmu" in 58 city APP are all "used cars", and the like.
Finally, the server selects the top M search result modules which are ranked most frequently by the search terms of the current user from the Q search result modules corresponding to the analyzed search terms, namely selects the search result module which is searched most frequently by the search terms of the user in the period of time. And M is a natural number which is more than or equal to 1, and the sum of N and M meets the maximum number of items of menu options of the multi-Touch 3D Touch function menu supported by the system. The present embodiment is described by taking an example that the sum of N and M is equal to 4, and is not limited to this in practical application, and the other cases are similar. For example, the case where the sum of N and M equals 4 is: if all the first 3 search result modules of the user search ranking according to the search word under the APP are determined, selecting 1 search result module which is most frequently searched by the search word of the current user in the period of time; for another example, if the first 2 search result modules of the search ranking according to the search term of all users under the APP are determined, the first 2 search result modules of the search ranking of the search term commonly used by the current user in the period of time are selected; and if the first 1 search result modules of the search ranking of all users under the APP according to the search terms are determined, selecting the first 3 search result modules of the search ranking of the search terms commonly used by the current user in the period of time. Of course, in specific implementations, the sum of N and M may also be less than 4, which is specifically the case: and if the first 2 search result modules of the search ranking of all the users under the APP according to the search terms are determined, selecting the first 1 search result module of the search ranking of the search terms commonly used by the current user in the period of time, and the like. In addition, for different application scenarios, according to actual needs, the sum of N and M may also be greater than 4, and a specific numerical value thereof may be only required if the sum of N and M satisfies the maximum number of items of the menu option of the 3D Touch function menu supported by the system, and may be the maximum number of items of the menu option, that is, the maximum number of items may be 5, 8, or 10, and the present invention is applied as long as the maximum number of items of the menu option that the system can support.
It should be noted that, when the step 101 and the step 102 are specifically implemented, they are not in sequence, and may also be performed simultaneously, which is not limited in this embodiment.
Step 103: and sending the identifier information corresponding to the N search result modules and the identifier information corresponding to the M search result modules to a terminal, so that the terminal can generate the multi-Touch 3D Touch function menu of the APP according to the identifier information.
In the step, the server sends the analyzed identifier information of the top M search result modules with the highest rank searched by the user and the identifier information of the top N search result modules with the highest rank searched by all users under APP to the terminal (or the client); after receiving the identifier information of the search result module sent by the server, the terminal queries a 3D Touch configuration table according to the identifier information of the search result module to obtain configuration data of a corresponding 3D Touch option; and generating a 3D Touch function menu of the APP according to the configuration data of the 3D Touch option.
In the embodiment of the invention, the first N search result modules which are most searched by all users according to search words in an APP within a preset time period are determined, and the first M search result modules which are used for counting search ranks of common search words of the current users in the APP within the preset time period are determined; in other words, in the embodiment of the present invention, the server may perform statistical analysis on the search terms of all users under the APP and the search terms commonly used by the current user at intervals, and after the statistical analysis, the identifier information of the first M + N (the sum of M + N is equal to 4, for example) search result modules, which are the sum of search term search ranks, of all users and the current user, which need to satisfy the maximum number of items of menu options of the 3D Touch function menu supported by the system, is sent to the terminal, so that the terminal may dynamically make a personalized 3D Touch function menu for different current users according to the identifier information, user experience and user satisfaction are improved.
Referring to fig. 2, a flowchart of a method for generating a multi-touch function menu according to an embodiment of the present invention is shown, where the method includes:
step 201: obtaining identifier information of a search result module from a server, wherein the identifier information of the search result module comprises: the method comprises the steps that the server determines identifier information of the first N search result modules of all users in search ranking according to search terms in an application program APP within a preset time period, and the server counts the identifier information of the first M search result modules of the search ranking of the current users in search terms commonly used in the APP within the preset time period, wherein the sum of N and M meets the maximum number of menu options of a multi-Touch 3D Touch function menu supported by the system;
in this step, the specific acquisition process may be:
the server may periodically send the determined identifier information of the search result module to the terminal, or, when the application program is started, the terminal actively sends a request for obtaining the identifier information of the search result module to the server, and receives a response of the request for obtaining the identifier information of the search result module sent by the server and including the determined identifier information of the search result module.
Step 202: inquiring a multi-Touch 3D Touch configuration table according to the identifier information of the search result module to obtain configuration data of multi-Touch 3D Touch options;
in this step, the 3D Touch configuration table is pre-built in the terminal, wherein the 3D Touch configuration table is a set of all search result modules obtained by searching according to a keyword. That is, the 3D Touch configuration table is a set of all search result modules available for searching, and the parameters of the 3D Touch configuration table mainly include key, value, and a correspondence between the key and the value, where the key is a unique identifier of the search result module (i.e., a keyword key), and the value is configuration data corresponding to the key, where the configuration data includes an icon, a text title, and a corresponding event response (such as page jump or component call) after a function menu is clicked, which are required for generating the 3D Touch option.
That is to say, when the terminal acquires the key of the search result module sent by the server, the terminal circularly traverses the 3D Touch configuration table built in the terminal, and acquires the corresponding value from the 3D Touch configuration table according to the key of the search result module, that is, acquires the icon, the text title and the configuration data for calling the corresponding event response after the 3D Touch function menu is clicked in the 3D Touch configuration table.
Step 203: and generating a 3D Touch function menu of the APP according to the configuration data of the 3D Touch option.
In the step, the terminal configures a 3D Touch option according to configuration data, packages the 3D Touch option, calls an APP according to a corresponding event response to perform corresponding processing when a 3D Touch function menu is called and a corresponding item is clicked, and accordingly generates the 3D Touch function menu of the APP.
Among them, the 3D Touch function menu is generally a semi-transparent function menu. The semi-transparent function menu comprises a plurality of shortcut operation keys under the application program. If an APP icon on the mobile terminal interface is pressed hard, a semi-transparent function menu is popped up, and the semi-transparent function menu comprises some fast operations (usually, 4 fast operation keys are used, but not limited to) under the application program. For another example, a user can check the nearest contact by tapping the phone, press the camera to take a self-portrait quickly, press the photo library to browse a large image quickly, and the like.
Optionally, in another embodiment, on the basis of the above embodiment, the method may further include: and when a search result module is newly added to the terminal, the search result module is synchronously updated to the 3D Touch configuration table.
That is to say, in this embodiment, when a new search result module is added to the APP on the terminal, the key, value of the newly added search result module, and the correspondence between the key and the value need to be updated to the built-in 3D Touch configuration table.
In the embodiment of the invention, after the terminal acquires the identifier information key of the search result module sent by the server, the terminal circularly traverses a 3D Touch configuration table built in the terminal, acquires configuration data such as an icon, a character title and a corresponding event response after a function menu is triggered according to the key of the search function module, then configures a 3D Touch option according to the configuration data, packages the configured 3D Touch option, and calls an APP for corresponding processing according to the corresponding event response when the 3D Touch function menu is triggered and the corresponding option is triggered, thereby generating the 3D Touch function menu of the APP. That is to say, after receiving the identifier information of the search result module sent by the server (i.e., the search result module most frequently used by the current user and the search result modules most frequently used by all users in the APP), the terminal can dynamically make an individualized 3D Touch function menu for different current users according to the query result by querying the built-in 3D Touch configuration table, thereby improving user experience and user satisfaction.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a schematic structural diagram of a multi-touch function menu generating device according to an embodiment of the present invention may specifically include the following modules: a determination module 301, a statistics module 302, a sending module 303, wherein,
a determining module 301, configured to determine the first N search result modules of a search ranking according to search terms by all users under an application APP within a preset time period, where N is a natural number greater than or equal to 1;
a counting module 302, configured to count top M search result modules of a search ranking of search terms commonly used by a current user in the APP within the preset time period, where M is a natural number greater than or equal to 1, and a sum of N and M satisfies a maximum number of items of menu options of a multi-Touch 3D Touch function menu supported by the system;
a sending module 303, configured to send identifier information corresponding to the N search result modules and identifier information corresponding to the M search result modules to a terminal, so that the terminal generates the multi-Touch 3D Touch function menu of the APP according to the identifier information.
Optionally, in another embodiment, on the basis of the above embodiment, the determining module 301 includes: the analysis module 401 and the first parsing module 402 are schematically shown in fig. 4, wherein,
the analysis module 401 is configured to analyze and sort out, from a log file of a search engine, the top N search terms of all user search ranks within a preset time period under APP;
a first parsing module 402, configured to parse the N search terms to obtain the first N search result modules in the corresponding APP.
Optionally, in another embodiment, on the basis of the foregoing embodiment, the statistical module 302 includes: a search term statistic module 501, a second parsing module 502 and a selection module 503, which are schematically shown in fig. 5, wherein,
a search term counting module 501, configured to count, within a preset time period, P search terms that are first P search terms ranked in the APP by a current user, where P is a natural number greater than M;
a second parsing module 502, configured to parse the first P search terms to obtain Q corresponding search result modules, where Q is a natural number less than or equal to P;
a selecting module 503, configured to select, from the Q search result modules, the top M search result modules of the search term search ranking frequently used by the current user.
Referring to fig. 6, another schematic structural diagram of a multi-touch function menu generating device according to an embodiment of the present invention may include the following modules: an obtaining module 601, a querying module 602, and a generating module 603, wherein,
an obtaining module 601, configured to obtain identifier information of a search result module from a server, where the identifier information of the search result module includes: the method comprises the steps that the server determines identifier information of the first N search result modules of all users in search ranking according to search terms in an application program APP within a preset time period, and the server counts the identifier information of the first M search result modules of the current user in search ranking of common search terms in the APP within the preset time period, wherein N and M are natural numbers which are more than or equal to 1, and the sum of N and M meets the maximum number of menu options of a multi-Touch 3D Touch function menu supported by the system;
a query module 602, configured to query a multi-Touch 3D Touch configuration table according to the identifier information of the search result module, to obtain configuration data of a multi-Touch 3D Touch option;
a generating module 603, configured to generate the 3D Touch function menu of the APP according to the configuration data of the 3D Touch option.
Optionally, in another embodiment, on the basis of the foregoing embodiment, the generating module 603 includes: the configuration module 701 and the encapsulation module 702 are schematically shown in fig. 7, where:
a configuration module 701, configured to configure the 3D Touch option according to the configuration data of the 3D Touch option;
and the packaging module 702 is configured to package the 3D Touch option and generate the 3D Touch function menu of the APP.
Optionally, in another embodiment, on the basis of the above embodiment, the apparatus may further include: a memory module 801 is schematically shown in fig. 8, wherein,
and the storage module 801 is connected to the query module 602, and is configured to embed the 3D Touch configuration table in the terminal in advance, where the 3D Touch configuration table is a set of all search result modules obtained by searching according to a keyword.
Optionally, in another embodiment, on the basis of the above embodiment, the apparatus may further include: the update module 901 is schematically shown in fig. 9, wherein,
an updating module 901, connected to the generating module 603, configured to update the search result module to the 3D Touch configuration table synchronously when a search result module is newly added to the terminal.
In the embodiment of the invention, the server sends the identifier information of the search result module obtained by statistical analysis (namely the search result module most frequently used by the current user and the search result module most frequently used by all users in the APP) to the terminal, and after the terminal receives the identifier information of the search result module sent by the server, the terminal can dynamically configure the 3D Touch function menu according to the query result by querying the built-in 3D Touch configuration table, and can formulate the personalized 3D Touch function menu aiming at different current users, thereby improving the user experience and the user satisfaction.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
Optionally, an embodiment of the present invention further provides a server, including: the multi-touch function menu generation method includes a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, each process of the embodiment is realized, and the same technical effect can be achieved.
Optionally, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the foregoing multi-touch function menu generation method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the multi-touch function menu generation method, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminals (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method, the device, the server, the terminal and the storage medium for generating the multi-touch function menu provided by the invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (17)

1. A multi-touch function menu generation method is characterized by comprising the following steps:
determining the top N search result modules of all users under an application program APP within a preset time period according to search word search ranking;
counting the first M search result modules of the search ranking of the common search words of the current user in the APP within the preset time period, wherein the sum of N and M meets the maximum number of items of menu options of a multi-Touch 3D Touch function menu supported by the system;
and sending the identifier information corresponding to the N search result modules and the identifier information corresponding to the M search result modules to a terminal, so that the terminal can generate the multi-Touch 3D Touch function menu of the APP according to the identifier information.
2. The method according to claim 1, wherein the determining of the top N search result modules of the search ranking according to the search term by all users under the application program APP within the preset time period includes:
analyzing and sequencing the first N search terms of all user search ranks under APP in a preset time period from a log file of a search engine;
and analyzing the N search terms to obtain the first N search result modules in the corresponding APP.
3. The method of claim 1, wherein the counting the top M search result modules of the search ranking of the search term commonly used by the current user in the APP within the preset time period comprises:
counting the first P search terms of the search ranking of the search terms commonly used by the current user in the APP within a preset time period, wherein P is a natural number greater than M;
analyzing the first P search terms to obtain first Q search result modules in the corresponding APP, wherein Q is a natural number less than or equal to P;
and selecting the top M search result modules of the search ranking of the search words commonly used by the current user from the Q search result modules.
4. A multi-touch function menu generation method is characterized by comprising the following steps:
obtaining identifier information of a search result module from a server, wherein the identifier information of the search result module comprises: the method comprises the steps that the server determines identifier information of the first N search result modules of all users in search ranking according to search terms in an application program APP within a preset time period, and the server counts the identifier information of the first M search result modules of the search ranking of the current users in search terms commonly used in the APP within the preset time period, wherein the sum of N and M meets the maximum number of menu options of a multi-Touch 3D Touch function menu supported by the system;
inquiring a 3D Touch configuration table according to the identifier information of the search result module to obtain configuration data of the 3D Touch option;
and generating a 3D Touch function menu of the APP according to the configuration data of the 3D Touch option.
5. The method of claim 4, wherein generating the 3D Touch function menu of the APP according to the configuration data of the 3D Touch option comprises:
configuring the 3D Touch option according to the configuration data of the 3D Touch option;
and packaging the 3D Touch option to generate a 3D Touch function menu of the APP.
6. The method of claim 4, further comprising:
and pre-arranging the 3D Touch configuration table on a terminal, wherein the 3D Touch configuration table is a set of all search result modules obtained by searching according to keywords.
7. The method according to any one of claims 4 to 6, further comprising:
and when a search result module is newly added on the terminal, the search result module is synchronously updated to the 3D Touch configuration table.
8. A multi-touch function menu generating device, comprising:
the determining module is used for determining the top N search result modules of the search ranking of all users according to the search terms in the application program APP within the preset time period;
the statistical module is used for counting the first M search result modules of the search ranking of the common search terms of the current user in the APP within the preset time period, wherein the sum of N and M meets the maximum number of items of menu options of a multi-Touch 3D Touch function menu supported by the system;
and the sending module is used for sending the identifier information corresponding to the N search result modules and the identifier information corresponding to the M search result modules to a terminal so that the terminal can generate the multi-Touch 3D Touch function menu of the APP according to the identifier information.
9. The apparatus of claim 8, wherein the determining module comprises:
the analysis module is used for analyzing and sequencing the first N search terms of all user search ranks under APP in a preset time period from a log file of a search engine;
and the first analysis module is used for analyzing the N search terms to obtain the first N search result modules in the corresponding APP.
10. The apparatus of claim 8, wherein the statistics module comprises:
the search term counting module is used for counting the first P search terms of the search ranking of the current user in the APP within a preset time period, wherein P is a natural number larger than M;
the second analysis module is used for analyzing the first P search terms to obtain corresponding Q search result modules, wherein Q is a natural number less than or equal to P;
and the selection module is used for selecting the first M search result modules of the search ranking of the search words commonly used by the current user from the Q search result modules.
11. A multi-touch function menu generating device, comprising:
the acquisition module is used for acquiring the identifier information of the search result module from the server, wherein the identifier information of the search result module comprises: the method comprises the steps that the server determines identifier information of the first N search result modules of all users in search ranking according to search terms in an application program APP within a preset time period, and the server counts the identifier information of the first M search result modules of the search ranking of the common search terms of the current users in the APP within the preset time period, wherein the sum of N and M meets the maximum number of menu options of a multi-Touch 3D Touch function menu supported by the system;
the query module is used for querying a multi-Touch 3D Touch configuration table according to the identifier information of the search result module to obtain configuration data of multi-Touch 3D Touch options;
and the generating module is used for generating the 3D Touch function menu of the APP according to the configuration data of the 3D Touch option.
12. The apparatus of claim 11, wherein the means for generating comprises:
the configuration module is used for configuring the 3D Touch options according to the configuration data of the 3D Touch options;
and the packaging module is used for packaging the 3D Touch option to generate the 3D Touch function menu of the APP.
13. The apparatus of claim 11, further comprising:
and the storage module is used for pre-embedding the 3D Touch configuration table on the terminal, wherein the 3D Touch configuration table is a set of all search result modules obtained by searching according to the keywords.
14. The apparatus of any one of claims 11 to 13, further comprising:
and the updating module is used for synchronously updating the search result module to the 3D Touch configuration table when the search result module is newly added on the terminal.
15. A server, comprising: memory, processor and computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the multi-touch function menu generation method of any of claims 1 to 3.
16. A terminal, comprising: memory, processor and computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the multi-touch function menu generation method of any of claims 4 to 7.
17. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, implements the steps of the multi-touch function menu generating method according to any one of claims 1 to 7.
CN201910636827.4A 2019-07-15 2019-07-15 Multi-point touch function menu generation method, device, server, terminal and medium Active CN110502168B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910636827.4A CN110502168B (en) 2019-07-15 2019-07-15 Multi-point touch function menu generation method, device, server, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910636827.4A CN110502168B (en) 2019-07-15 2019-07-15 Multi-point touch function menu generation method, device, server, terminal and medium

Publications (2)

Publication Number Publication Date
CN110502168A CN110502168A (en) 2019-11-26
CN110502168B true CN110502168B (en) 2021-04-02

Family

ID=68585373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910636827.4A Active CN110502168B (en) 2019-07-15 2019-07-15 Multi-point touch function menu generation method, device, server, terminal and medium

Country Status (1)

Country Link
CN (1) CN110502168B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116185413B (en) * 2023-04-24 2023-08-01 山东捷瑞数字科技股份有限公司 Method, system, device and medium for generating specified menu based on three-dimensional engine

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768607A (en) * 2011-11-02 2012-11-07 联想(北京)有限公司 Method and device for realizing touch operation application program
WO2019041448A1 (en) * 2017-08-29 2019-03-07 深圳依偎控股有限公司 Method and system for optimizing application shortcut menu

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101304321B1 (en) * 2010-01-22 2013-09-11 전자부품연구원 Method for providing UI according to single touch pressure and electronic device using the same
CN107623721A (en) * 2017-08-18 2018-01-23 北京五八信息技术有限公司 3D Touch function menus generation methods and device
CN107678625A (en) * 2017-09-29 2018-02-09 努比亚技术有限公司 Information Sharing menu display method, mobile terminal and computer-readable recording medium
CN109683771A (en) * 2018-12-19 2019-04-26 努比亚技术有限公司 Three-dimensional touch menu configuration method, mobile terminal and computer readable storage medium
CN109814779B (en) * 2019-01-04 2022-03-22 平安科技(深圳)有限公司 Menu display method and device, computer equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102768607A (en) * 2011-11-02 2012-11-07 联想(北京)有限公司 Method and device for realizing touch operation application program
WO2019041448A1 (en) * 2017-08-29 2019-03-07 深圳依偎控股有限公司 Method and system for optimizing application shortcut menu

Also Published As

Publication number Publication date
CN110502168A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
CN107844586B (en) News recommendation method and device
US8290941B2 (en) System and method for detecting changes within search results
CN102999586B (en) A kind of method and apparatus of recommendation of websites
US9703779B2 (en) Method of and system for enhanced local-device content discovery
US20120269116A1 (en) Context-aware mobile search based on user activities
US20150278359A1 (en) Method and apparatus for generating a recommendation page
US20140074527A1 (en) Schedule generation method and communication terminal for schedule generation method
CN105142104A (en) Method, device and system for providing recommendation information
WO2015183529A1 (en) Multi-domain search on a computing device
KR20140114378A (en) Blending mobile search results
CN107729578B (en) Music recommendation method and device
JP2009252177A (en) Recommendation information generation device and recommendation information generation method
JP2018518726A (en) Information retrieval navigation method and apparatus
CN103699669A (en) Method for message pushing in browser and browser terminal
CN103246713A (en) Web surfing method and web surfing device
CN104281656A (en) Method and device for adding label information into application program
CN108763369B (en) Video searching method and device
JP2015106347A (en) Recommendation device and recommendation method
CN103605696A (en) Method and device for acquiring audio-video file addresses
CN110502168B (en) Multi-point touch function menu generation method, device, server, terminal and medium
CN105354195B (en) Information searching method and device
CN104699795A (en) Method and device for pushing videos
CN107924403B (en) Query composition system
CN103718179A (en) Information processing apparatus, information processing method, information processing program, and storage medium having information processing program stored therein
CN105138246A (en) Method and apparatus for switching search type

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