CN111666483A - Recommendation method and device of application program, electronic equipment and readable storage medium - Google Patents

Recommendation method and device of application program, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN111666483A
CN111666483A CN201910168735.8A CN201910168735A CN111666483A CN 111666483 A CN111666483 A CN 111666483A CN 201910168735 A CN201910168735 A CN 201910168735A CN 111666483 A CN111666483 A CN 111666483A
Authority
CN
China
Prior art keywords
client
application program
user
data
user data
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.)
Granted
Application number
CN201910168735.8A
Other languages
Chinese (zh)
Other versions
CN111666483B (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.)
Beijing Berlin Interactive Technology Co ltd
Original Assignee
Beijing Berlin Interactive Technology 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 Beijing Berlin Interactive Technology Co ltd filed Critical Beijing Berlin Interactive Technology Co ltd
Priority to CN201910168735.8A priority Critical patent/CN111666483B/en
Publication of CN111666483A publication Critical patent/CN111666483A/en
Application granted granted Critical
Publication of CN111666483B publication Critical patent/CN111666483B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application provides a recommendation method and device of an application program, electronic equipment and a computer readable storage medium, and relates to the field of application program processing. The method comprises the following steps: when the server detects that the first client communicates with the second client, first user data corresponding to the first client and second user data corresponding to the second client are obtained, whether the same data items exist in the first user data and the second user data or not is judged, and if yes, the data items are respectively sent to the first client and the second client, so that the data items are displayed by the first client and the second client. Therefore, the first user and the second user can see the application programs which are commonly liked by the two users, the communication between the two users is promoted, the distance between the two users is shortened, and especially under the condition that the two users communicate for the first time, the user experience is improved.

Description

Recommendation method and device of application program, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of application processing technologies, and in particular, to a method and an apparatus for recommending an application, an electronic device, and a computer-readable storage medium.
Background
With the development of science and technology, terminal devices become more and more intelligent, and users can realize different functions by installing various types of application programs, for example, an instant messaging application program realizes remote instant messaging among users, and a game application program realizes game functions of the users.
Current commercial application-based (e.g., game) recommendations are generally based on the following categories: based on big data recommendations, such as leaderboards; recommending based on friend relationship, such as how many friends are playing; composition based editing, such as editing recommendations; based on real-time data such as the hottest, latest recommendations. The disadvantages are that: the above recommendation is generally applicable to a scenario where an individual user wants to pick an application, but not to a scenario where two users want to find an application that is both interested in each other.
Disclosure of Invention
The application provides a method and a device for recommending an application program, an electronic device and a computer-readable storage medium, which can solve the problem that the existing recommendation mode of the application program is generally suitable for a scene when an individual user wants to select an application program, but not suitable for a scene when two users want to find an application program which is both interested in each other. The technical scheme is as follows:
in a first aspect, a method for recommending an application program is provided, the method including:
when the server detects a first client and communicates with a second client, acquiring first user data corresponding to the first client and second user data corresponding to the second client;
judging whether the first user data and the second user data have the same data item or not;
if so, the data item is respectively sent to the first client and the second client, so that the first client and the second client display the data item.
Preferably, the step of obtaining the first user data corresponding to the first client includes:
acquiring a first user identifier, identifiers of application programs running based on the first user identifier and running frequency of the application programs in a preset time period;
generating a first application program sequence list based on M application programs with the highest running frequency; wherein M is a positive integer;
and taking the first user identification and the first application program sequence list as the first user data.
Preferably, the step of obtaining second user data corresponding to the second client includes:
acquiring a second user identification, identification of each application program running based on the second user identification, and running frequency of each application program in a preset time period;
generating a second application program list based on the N application programs with the highest running frequency; wherein N is a positive integer;
and taking the second user identification and the second application program list as the second user data.
Preferably, the step of determining whether the same data item exists in the first user data and the second user data includes:
judging whether the first application program list and the second application program list comprise the same application program identification or not;
if yes, the first user data and the second user data are judged to have the same data items.
Preferably, the method further comprises:
if the number of the data items is smaller than the presentation number threshold, calculating a difference value T between the presentation number threshold and the number of the data items;
acquiring T application program identifications from the first application program list, and generating a third application program list based on the T application program identifications and the data items; wherein T < M, T < N, and T is a positive integer;
and sending the third application program list to the second client so that the second client presents the third application program list.
Preferably, the method further comprises:
if the number of the data items is smaller than the presentation number threshold, calculating a difference value T between the presentation number threshold and the number of the data items;
acquiring T application program identifications from the second application program list, and generating a fourth application program list based on the T application program identifications and the data items; wherein T < M, T < N, and T is a positive integer;
and sending the fourth application program list to the first client so that the first client presents the fourth application program list.
In a second aspect, a method for recommending an application program is provided, the method comprising:
when an instruction for opening a first communication page is received, generating and displaying the first communication page; the first communication page is a current communication page of the first client when communicating with the second client;
receiving a data item sent by a server; the data items are the same data items in first user data and second user data acquired by the server, the first user and the first client have a corresponding relationship, and the second user and the second client have a corresponding relationship;
presenting the data item in the first communication page.
Preferably, the method further comprises:
when an instruction for opening any application program in the data items is received, opening the application program;
and jumping to the application program from the first communication page.
In a third aspect, an apparatus for recommending an application program is provided, the apparatus comprising:
the detection module is used for detecting the first client and communicating with the second client;
the acquisition module is used for acquiring first user data corresponding to the first client and acquiring second user data corresponding to the second client;
the judging module is used for judging whether the first user data and the second user data have the same data item or not;
and the sending module is used for sending the data items to the first client and the second client respectively so as to enable the first client and the second client to display the data items.
Preferably, the obtaining module includes:
the data acquisition submodule is used for acquiring a first user identifier, identifiers of all application programs running on the basis of the first user identifier and running frequency of all the application programs in a preset time period;
the application program list generation submodule is used for generating a first application program list based on the M application programs with the highest running frequency; wherein M is a positive integer;
a determining submodule, configured to use the first user identifier and the first application sequence list as the first user data.
Preferably, the first and second electrodes are formed of a metal,
the data acquisition submodule is also used for acquiring a second user identifier, identifiers of all application programs running on the basis of the second user identifier and running frequency of all the application programs in a preset time period;
the application program list generating submodule is also used for generating a second application program list based on the N application programs with the highest running frequency; wherein N is a positive integer;
the determining sub-module is further configured to use the second user identifier and the second application list as the second user data.
Preferably, the judging module includes:
the application program identifier matching submodule is used for judging whether the first application program list and the second application program list comprise the same application program identifier or not;
and the judging submodule is used for judging that the first user data and the second user data have the same data item.
Preferably, the apparatus further comprises:
the calculation module is used for calculating the difference value T between the presentation number threshold and the data item number when the number of the data items is smaller than the presentation number threshold;
the calling module is used for calling the data acquisition submodule and acquiring T application program identifications from the first application program sequence list;
the calling module is further used for calling an application program list generator and generating a third application program list based on the T application program identifications and the data items; wherein T < M, T < N, and T is a positive integer;
the sending module is further configured to send the third application program list to a second client, so that the second client displays the third application program list.
Preferably, the first and second electrodes are formed of a metal,
the calculation module is further configured to calculate a difference T between the presentation number threshold and the number of data items when the number of data items is smaller than the presentation number threshold;
the calling module is further configured to call the data obtaining sub-module, and obtain T application program identifiers from a second application program list;
the calling module is further used for calling an application program list generator and generating a fourth application program list based on the T application program identifications and the data items; wherein T < M, T < N, and T is a positive integer;
the sending module is further configured to send the fourth application program list to the first client, so that the first client displays the fourth application program list.
In a fourth aspect, an apparatus for recommending an application program is provided, the apparatus comprising:
the first receiving module is used for receiving an instruction of opening a first communication page;
the first generating module is used for generating the first communication page; the first communication page is a current communication page of the first client when communicating with the second client;
the first display module is used for displaying the first communication page;
the second receiving module is used for receiving the data item sent by the server; the data items are the same data items in first user data and second user data acquired by the server, the first user and the first client have a corresponding relationship, and the second user and the second client have a corresponding relationship;
the first presentation module is further configured to present the data item in the first communication page.
Preferably, the apparatus further comprises:
the first starting module is used for opening the application program when receiving an instruction for opening any application program in the data item;
and the first jumping module is used for jumping from the first communication page to the application program.
In a fifth aspect, an electronic device is characterized by comprising:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
the processor is configured to call the operation instruction, and the executable instruction enables the processor to execute an operation corresponding to the recommendation method of the application program shown in the first aspect of the application.
In a sixth aspect, an electronic device, comprising:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
the processor is configured to call the operation instruction, and the executable instruction enables the processor to execute an operation corresponding to the recommendation method of the application program shown in the second aspect of the present application.
In a seventh aspect, a computer-readable storage medium is provided, on which a computer program is stored, and the program, when executed by a processor, implements the recommendation method for an application program shown in the first aspect of the present application.
In an eighth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the recommendation method for an application program shown in the second aspect of the present application.
The beneficial effect that technical scheme that this application provided brought is:
in the embodiment of the invention, when the server detects the first client and communicates with the second client, the server acquires first user data corresponding to the first client and second user data corresponding to the second client, judges whether the first user data and the second user data have the same data item, and if so, respectively sends the data item to the first client and the second client so that the first client and the second client can display the data item. Therefore, the first user and the second user can see the application programs which are commonly liked by the two users, the communication between the two users is promoted, the distance between the two users is shortened, and especially under the condition that the two users communicate for the first time, the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a flowchart illustrating a recommendation method for an application according to an embodiment of the present application;
FIG. 2 is an exemplary diagram of a communication page showing data items according to the present application;
fig. 3 is a flowchart illustrating a recommendation method for an application according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of an application recommendation apparatus according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of an application recommendation apparatus according to yet another embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device for recommending an application according to yet another embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device for recommending an application according to yet another embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The application program recommendation method, device, electronic equipment and computer-readable storage medium provided by the application program aim to solve the above technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
In one embodiment, a method for recommending an application program is provided, as shown in fig. 1, the method includes:
step S101, when a server detects a first client and communicates with a second client, first user data corresponding to the first client and second user data corresponding to the second client are obtained;
specifically, a first client may be installed in the first terminal, a second client may be installed in the second terminal, the first user logs in the first client, the second user logs in the second client, and after the first client establishes communication with the second client, the first user may communicate with the second user. Wherein, the client has communication functions, such as sending and receiving communication messages, and the communication message types include but are not limited to: text, expression, picture, voice, video, application invitation; the first client and the second client are the same and are only distinguished for convenience of description, and the clients are not limited to a certain client, and the clients with communication functions are all applicable to the present application, for example, the first client and the second client may both be the client a, the client B, or the like.
Further, the first terminal and the second terminal may be the same terminal or different terminals, and terminals having the following characteristics are all suitable for the present application:
(1) on a hardware architecture, a device has a central processing unit, a memory, an input unit and an output unit, that is, the device is often a microcomputer device having a communication function. In addition, various input modes such as a keyboard, a mouse, a touch screen, a microphone, a camera and the like can be provided, and input can be adjusted as required. Meanwhile, the equipment often has a plurality of output modes, such as a telephone receiver, a display screen and the like, and can be adjusted according to needs;
(2) on a software system, the device must have an operating system, such as Windows Mobile, Symbian, Palm, Android, iOS, and the like. Meanwhile, the operating systems are more and more open, and personalized application programs developed based on the open operating system platforms are infinite, such as a communication book, a schedule, a notebook, a calculator, various games and the like, so that the requirements of personalized users are met to a great extent;
(3) in terms of communication capacity, the device has flexible access mode and high-bandwidth communication performance, and can automatically adjust the selected communication mode according to the selected service and the environment, thereby being convenient for users to use. The device can support GSM (Global System for Mobile Communication), WCDMA (Wideband Code Division Multiple Access), CDMA2000(Code Division Multiple Access), TDSCDMA (Time Division-Synchronous Code Division Multiple Access), Wi-Fi (Wireless-Fidelity), WiMAX (world interoperability for Microwave Access), etc., thereby adapting to various systems of networks, not only supporting voice service, but also supporting various Wireless data services;
(4) in the aspect of function use, the equipment focuses more on humanization, individuation and multi-functionalization. With the development of computer technology, devices enter a human-centered mode from a device-centered mode, and the embedded computing, control technology, artificial intelligence technology, biometric authentication technology and the like are integrated, so that the human-oriented purpose is fully embodied. Due to the development of software technology, the equipment can be adjusted and set according to individual requirements, and is more personalized. Meanwhile, the device integrates a plurality of software and hardware, and the function is more and more powerful.
In practical application, when a first user communicates with a second user, a first client provides a communication page a for the first user, the second client also provides a communication page B for the second user, when a server detects that data interaction exists between the communication page a and the communication page B, the server indicates that the first client and the second client are communicating, and at the moment, the server acquires first user data of the first user and second user data of the second user. The user data includes a user identifier, each application program running based on the user identifier, running time, running frequency and other data of each application program, and the first user data is different from the second user data in specific data, such as the user identifier is different, but the types of the data are the same.
In a preferred embodiment of the present invention, the step of obtaining the first user data corresponding to the first client includes:
acquiring a first user identifier, identifiers of all application programs running based on the first user identifier and running frequency of all application programs in a preset time period;
generating a first application program sequence list based on M application programs with the highest running frequency; wherein M is a positive integer;
and taking the first user identification and the first application program sequence list as first user data.
Specifically, after the server obtains the first user data, the server may count the operating frequency of each application program within a preset time period (for example, 5 days or 10 days), then select M application programs (for example, 3 or 5 application programs) with the highest operating frequency, and generate the first application program sequence table. For example, the first user data acquired by the server includes 12 application programs, and then 5 application programs with the highest operating frequency within 10 days are selected to generate a first application program sequence list; wherein M is a positive integer.
The step of obtaining second user data corresponding to a second client includes:
acquiring a second user identifier, identifiers of all application programs running based on the second user identifier and running frequency of all application programs in a preset time period;
generating a second application program list based on the N application programs with the highest running frequency; wherein N is a positive integer;
and taking the second user identification and the second application program list as second user data.
Specifically, after the server obtains the second user data, the server may count the operating frequency of each application program within a preset time period (for example, 5 days or 10 days), then select N application programs (for example, 3 or 5 application programs) with the highest operating frequency, and generate the second application program list. For example, the second user data acquired by the server includes 12 application programs, and then 5 application programs with the highest operating frequency within 10 days are selected to generate a second application program list; wherein N is a positive integer.
It should be noted that, in this practical application, the server may send a user data request to the first terminal and the second terminal, so as to obtain the first user data and the second user data, or the first terminal and the second terminal may send the first user data and the second user data to the server respectively when the first user establishes communication with the second user, of course, other manners may also be used, and a person skilled in the art may set the manner according to an actual situation, which is not limited in this embodiment of the present invention.
Step S102, judging whether the first user data and the second user data have the same data item or not;
in a preferred embodiment of the present invention, the step of determining whether the same data item exists in the first user data and the second user data includes:
judging whether the first application program list and the second application program list comprise the same application program identification or not;
if yes, the first user data and the second user data are judged to have the same data items.
Specifically, after acquiring the first user data and the second user data, the server compares the first application program list in the first user data with the second application program list in the second user data, and detects whether the same application program exists, that is, whether the same application program identifier exists, and if so, it indicates that the same data item exists in the first user data and the second user data.
Step S103, if yes, the data items are respectively sent to the first client and the second client, so that the first client and the second client display the data items.
Specifically, the server sends the application program identifiers corresponding to the same data items to the first client and the second client respectively, the first client displays the data items on the corresponding communication pages, and the second client also displays the data items on the corresponding communication pages.
In a preferred embodiment of the present invention, the method further comprises:
if the number of the data items is smaller than the presentation number threshold, calculating a difference value T between the presentation number threshold and the number of the data items;
acquiring T application program identifications from the first application program list, generating a third application program list based on the T application program identifications and the data items, acquiring T application program identifications from the second application program list, and generating a fourth application program list based on the T application program identifications and the data items; wherein T < M, T < N, and T is a positive integer;
and sending the third application program list to a second client so that the second client displays the third application program list, and sending the fourth application program list to the first client so that the first client displays the fourth application program list.
Of course, the third application program list is sent to the first client, so that the first client displays the third application program list, and the fourth application program list is sent to the second client, so that the second client displays the fourth application program list.
In practical applications, the communication page may set that a certain number of applications are displayed, for example, 4 applications, but the number of data items is not 4, that is, the number of applications actually displayed is smaller than the preset number of applications displayed, and then, in the case that the number of data items is smaller than the threshold of the number of applications displayed, the server may supplement the number of applications that are not overlapped and are currently used by the user, and then send the number of applications to the other user.
Specifically, the server may first calculate a difference T between the data item and a preset display number threshold, then obtain T application identifiers with the highest operating frequency except for the data item from the first application list, generate a third application list by using the data item and the T application identifiers, simultaneously, generate T application identifiers with the highest operating frequency except for the data item from the second application list, generate a fourth application list by using the data item and the T application identifiers, send the third application list to the second client, send the fourth application list to the first client, the second client displays the third application list, and what the first user sees is the data item (an application that has been operated by both the first user and the second user) and an application that has been operated by the second user but has not been operated by the first user, the first client presents a fourth list of applications that the second user sees are data items (applications that both the first user and the second user have run) and applications that the first user has run, but not the second user. Wherein T < M, T < N, and T is a positive integer.
Taking a game as an example, when a first user and a second user are communicating, the server may obtain first user data and second user data, and if the first user and the second user play the same four games, the server may send the four games to the first client and the second client, respectively, and both the communication page a of the first client and the communication page B of the second client may present the four games, as shown in fig. 2.
If the number of the application programs actually displayed is larger than the preset number of the application programs displayed, according to the running frequency, the application programs with the display number threshold value are continuously selected from the data items.
If the presentation number threshold is not preset, then it is sufficient to present the data item directly.
If there are no identical data items, the first client and the second client may not present, or present the second application program list in the first client, and present the first application program list in the second client, which may also be in other manners, and those skilled in the art may set the method according to the actual situation, which is not limited in this application.
In the embodiment of the invention, when the server detects the first client and communicates with the second client, the server acquires first user data corresponding to the first client and second user data corresponding to the second client, judges whether the first user data and the second user data have the same data item, and if so, respectively sends the data item to the first client and the second client so that the first client and the second client can display the data item. Therefore, the first user and the second user can see the application programs which are commonly liked by the two users, the communication between the two users is promoted, the distance between the two users is shortened, and especially under the condition that the two users communicate for the first time, the user experience is improved.
In one embodiment, a method for recommending an application program is provided, as shown in fig. 3, the method includes:
step S301, when receiving an instruction for opening a first communication page, generating and displaying the first communication page; the first communication page is a current communication page of the first client when communicating with the second client;
specifically, the first terminal may have a first client installed therein, and the first user may log in to the first client. When a first user needs to communicate with a second user, the first user can click the name of the second user in a friend list of a first client, or find the name of the second user in a searching mode, and then click the name of the second user, the action clicked by the user is to send an instruction for opening a first communication page to a first terminal, at the moment, the first terminal sends a command for generating the first communication page to the first client, the first client generates the first communication page according to the command and displays the generated first communication page to the first user, and the first user can communicate with the second page on the page.
Step S302, receiving a data item sent by a server; the data items are the same data items in first user data and second user data acquired by the server, the first user and the first client have a corresponding relationship, and the second user and the second client have a corresponding relationship;
in the process of communication between the first user and the second user, the server may send a data item to the first user, where the data item is the same data item in the first user data and the second user data acquired by the server, and reference may be specifically made to step S101 to step S103, which is not described herein again.
Step S303, presenting the data item in the first communication page.
After receiving the data item sent by the server, the first client displays the data item in the current communication page.
If the user clicks any application in the data item, the first terminal may open the corresponding application and jump to the application from the current communication page of the first client.
The principle of presenting the data item by the second client is similar to that of presenting the data item by the first client, and reference may be specifically made to step S101 to step S103.
In the embodiment of the invention, when a first client receives an instruction for opening a first communication page, the first communication page is generated and displayed; the first communication page is a current communication page of the first client when communicating with the second client; receiving the data item sent by the server; the data items are the same data items in the first user data and the second user data acquired by the server, the first user and the first client have a corresponding relationship, and the second user and the second client have a corresponding relationship; and presenting the data item in a first communication page. Therefore, the first user and the second user can see the application programs which are commonly liked by the two users, the communication between the two users is promoted, the distance between the two users is shortened, and especially under the condition that the two users communicate for the first time, the user experience is improved.
Fig. 4 is a schematic structural diagram of an apparatus for recommending an application according to another embodiment of the present application, and as shown in fig. 4, the apparatus of this embodiment is applied to a server, and the apparatus may include:
a detection module 401, configured to detect a first client and communicate with a second client;
an obtaining module 402, configured to obtain first user data corresponding to the first client, and obtain second user data corresponding to a second client;
a determining module 403, configured to determine whether there is a same data item in the first user data and the second user data;
a sending module 404, configured to send the data item to the first client and the second client, respectively, so that the first client and the second client display the data item.
In a preferred embodiment of the present invention, the obtaining module includes:
the data acquisition submodule is used for acquiring a first user identifier, identifiers of all application programs running on the basis of the first user identifier and running frequency of all the application programs in a preset time period;
the application program list generation submodule is used for generating a first application program list based on the M application programs with the highest running frequency; wherein M is a positive integer;
a determining submodule, configured to use the first user identifier and the first application sequence list as the first user data.
In a preferred embodiment of the present invention,
the data acquisition submodule is also used for acquiring a second user identifier, identifiers of all application programs running on the basis of the second user identifier and running frequency of all the application programs in a preset time period;
the application program list generating submodule is also used for generating a second application program list based on the N application programs with the highest running frequency; wherein N is a positive integer;
the determining sub-module is further configured to use the second user identifier and the second application list as the second user data.
In a preferred embodiment of the present invention, the judging module includes:
the application program identifier matching submodule is used for judging whether the first application program list and the second application program list comprise the same application program identifier or not;
and the judging submodule is used for judging that the first user data and the second user data have the same data item.
In a preferred embodiment of the present invention, the apparatus further comprises:
the calculation module is used for calculating the difference value T between the presentation number threshold and the data item number when the number of the data items is smaller than the presentation number threshold;
the calling module is used for calling the data acquisition submodule, acquiring T application program identifications from the first application program list and acquiring T application program identifications from the second application program list;
the calling module is further configured to call an application program list generator, generate a third application program list based on the T application program identifiers and the data items, and generate a fourth application program list based on the T application program identifiers and the data items; wherein T < M, T < N, and T is a positive integer;
the sending module is further configured to send the third application program list to a second client, so that the second client displays the third application program list, and at the same time, send the fourth application program list to the first client, so that the first client displays the fourth application program list.
The recommendation apparatus for application programs in this embodiment can execute the recommendation method for application programs shown in the first embodiment of this application, and the implementation principles are similar, and are not described herein again.
Fig. 5 is a schematic structural diagram of an apparatus for recommending an application according to another embodiment of the present application, and as shown in fig. 5, the apparatus of this embodiment is applied to a first terminal, and the apparatus may include:
a first receiving module 501, configured to receive an instruction to open a first communication page;
a first generating module 502, configured to generate the first communication page; the first communication page is a current communication page of the first client when communicating with the second client;
a first displaying module 503, configured to display the first communication page;
a second receiving module 504, configured to receive a data item sent by a server; the data items are the same data items in first user data and second user data acquired by the server, the first user and the first client have a corresponding relationship, and the second user and the second client have a corresponding relationship;
the first presentation module is further configured to present the data item in the first communication page.
In a preferred embodiment of the present invention, the apparatus further comprises:
the first starting module is used for opening the application program when receiving an instruction for opening any application program in the data item;
and the first jumping module is used for jumping from the first communication page to the application program.
The recommendation apparatus for application programs in this embodiment can execute the recommendation method for application programs shown in the first embodiment of this application, and the implementation principles are similar, and are not described herein again.
In another embodiment of the present application, there is provided an electronic device including: a memory and a processor; at least one program stored in the memory for execution by the processor, which when executed by the processor, implements: when the server detects that the first client communicates with the second client, first user data corresponding to the first client and second user data corresponding to the second client are obtained, whether the same data items exist in the first user data and the second user data or not is judged, and if yes, the data items are respectively sent to the first client and the second client, so that the data items are displayed by the first client and the second client. Therefore, the first user and the second user can see the application programs which are commonly liked by the two users, the communication between the two users is promoted, the distance between the two users is shortened, and especially under the condition that the two users communicate for the first time, the user experience is improved.
In an alternative embodiment, an electronic device is provided, as shown in fig. 6, an electronic device 6000 shown in fig. 6 comprising: a processor 6001 and a memory 6003. Processor 6001 and memory 6003 are coupled, such as via bus 6002. Optionally, the electronic device 6000 may also include a transceiver 6004. It should be noted that the transceiver 6004 is not limited to one in practical applications, and the structure of the electronic device 6000 is not limited to the embodiment of the present application.
The processor 6001 could be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 6001 might also be a combination that performs a computing function, such as a combination comprising one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
The bus 6002 may include a path that conveys information between the aforementioned components. The bus 6002 may be a PCI bus, an EISA bus, or the like. The bus 6002 can be divided into an address bus, a data bus, a control bus, and so forth. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
Memory 6003 can be, but is not limited to, a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 6003 is used to store application code that implements aspects of the subject application, and execution is controlled by the processor 6001. Processor 6001 is configured to execute application program code stored in memory 6003 to implement the teachings of any of the foregoing method embodiments.
Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like.
In another embodiment of the present application, there is provided an electronic device including: a memory and a processor; at least one program stored in the memory for execution by the processor, which when executed by the processor, implements: when a first client receives an instruction for opening a first communication page, generating and displaying the first communication page; the first communication page is a current communication page of the first client when communicating with the second client; receiving the data item sent by the server; the data items are the same data items in the first user data and the second user data acquired by the server, the first user and the first client have a corresponding relationship, and the second user and the second client have a corresponding relationship; and presenting the data item in a first communication page. Therefore, the first user and the second user can see the application programs which are commonly liked by the two users, the communication between the two users is promoted, the distance between the two users is shortened, and especially under the condition that the two users communicate for the first time, the user experience is improved.
In an alternative embodiment, an electronic device is provided, as shown in FIG. 7, where electronic device 7000 shown in FIG. 7 comprises: a processor 7001 and a memory 7003. Wherein the processor 7001 and the memory 7003 are coupled, such as via a bus 7002. Optionally, the electronic device 7000 may also comprise the transceiver 7004. It should be noted that the transceiver 7004 is not limited to one in practical applications, and the structure of the electronic device 7000 does not constitute a limitation to the embodiments of the present application.
The processor 7001 may be a CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 7001 may also be a combination implementing computing functionality, e.g., comprising one or more microprocessors, a combination of DSPs and microprocessors, or the like.
Bus 7002 may include a path to transfer information between the above components. The bus 7002 may be a PCI bus, an EISA bus, or the like. The bus 7002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
Memory 7003 may be a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, an EEPROM, a CD-ROM or other optical disk storage, optical disk storage (including compact disk, laser disk, optical disk, digital versatile disk, blu-ray disk, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such.
The memory 7003 is used for storing application program codes for executing the present scheme, and the execution is controlled by the processor 7001. The processor 7001 is configured to execute application program code stored in the memory 7003 to implement what is shown in any of the foregoing method embodiments.
Among them, electronic devices include but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like.
Yet another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which, when run on a computer, enables the computer to perform the corresponding content in the aforementioned method embodiments. Compared with the prior art, when the server detects the first client and communicates with the second client, the server acquires first user data corresponding to the first client and second user data corresponding to the second client, judges whether the first user data and the second user data have the same data item, and sends the data item to the first client and the second client respectively if the first user data and the second user data have the same data item, so that the first client and the second client can display the data item. Therefore, the first user and the second user can see the application programs which are commonly liked by the two users, the communication between the two users is promoted, the distance between the two users is shortened, and especially under the condition that the two users communicate for the first time, the user experience is improved.
Yet another embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, which, when run on a computer, enables the computer to perform the corresponding content in the aforementioned method embodiments. Compared with the prior art, when the first client receives an instruction for opening the first communication page, the first communication page is generated and displayed; the first communication page is a current communication page of the first client when communicating with the second client; receiving the data item sent by the server; the data items are the same data items in the first user data and the second user data acquired by the server, the first user and the first client have a corresponding relationship, and the second user and the second client have a corresponding relationship; and presenting the data item in a first communication page. Therefore, the first user and the second user can see the application programs which are commonly liked by the two users, the communication between the two users is promoted, the distance between the two users is shortened, and especially under the condition that the two users communicate for the first time, the user experience is improved.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (14)

1. A recommendation method for an application program, comprising:
when the server detects a first client and communicates with a second client, acquiring first user data corresponding to the first client and second user data corresponding to the second client;
judging whether the first user data and the second user data have the same data item or not;
if so, the data item is respectively sent to the first client and the second client, so that the first client and the second client display the data item.
2. The method for recommending an application program according to claim 1, wherein the step of obtaining the first user data corresponding to the first client includes:
acquiring a first user identifier, identifiers of application programs running based on the first user identifier and running frequency of the application programs in a preset time period;
generating a first application program sequence list based on M application programs with the highest running frequency; wherein M is a positive integer;
and taking the first user identification and the first application program sequence list as the first user data.
3. The method for recommending an application program according to claim 1, wherein the step of obtaining second user data corresponding to a second client includes:
acquiring a second user identification, identification of each application program running based on the second user identification, and running frequency of each application program in a preset time period;
generating a second application program list based on the N application programs with the highest running frequency; wherein N is a positive integer;
and taking the second user identification and the second application program list as the second user data.
4. The method for recommending an application program according to claim 1, 2 or 3, wherein the step of determining whether the same data item exists in the first user data and the second user data comprises:
judging whether the first application program list and the second application program list comprise the same application program identification or not;
if yes, the first user data and the second user data are judged to have the same data items.
5. The method for recommending an application program according to claim 1, 2 or 3, wherein said method further comprises:
if the number of the data items is smaller than the presentation number threshold, calculating a difference value T between the presentation number threshold and the number of the data items;
acquiring T application program identifications from the first application program list, and generating a third application program list based on the T application program identifications and the data items; wherein T < M, T < N, and T is a positive integer;
and sending the third application program list to the second client so that the second client presents the third application program list.
6. The method for recommending an application program according to claim 1, 2 or 3, wherein said method further comprises:
if the number of the data items is smaller than the presentation number threshold, calculating a difference value T between the presentation number threshold and the number of the data items;
acquiring T application program identifications from the second application program list, and generating a fourth application program list based on the T application program identifications and the data items; wherein T < M, T < N, and T is a positive integer;
and sending the fourth application program list to the first client so that the first client presents the fourth application program list.
7. A recommendation method for an application program, comprising:
when an instruction for opening a first communication page is received, generating and displaying the first communication page; the first communication page is a current communication page of the first client when communicating with the second client;
receiving a data item sent by a server; the data items are the same data items in first user data and second user data acquired by the server, the first user and the first client have a corresponding relationship, and the second user and the second client have a corresponding relationship;
presenting the data item in the first communication page.
8. The application recommendation method of claim 7, further comprising:
when an instruction for opening any application program in the data items is received, opening the application program;
and jumping to the application program from the first communication page.
9. An apparatus for recommending an application program, comprising:
the detection module is used for detecting the first client and communicating with the second client;
the acquisition module is used for acquiring first user data corresponding to the first client and acquiring second user data corresponding to the second client;
the judging module is used for judging whether the first user data and the second user data have the same data item or not;
and the sending module is used for sending the data items to the first client and the second client respectively so as to enable the first client and the second client to display the data items.
10. An apparatus for recommending an application program, comprising:
the first receiving module is used for receiving an instruction of opening a first communication page;
the first generating module is used for generating the first communication page; the first communication page is a current communication page of the first client when communicating with the second client;
the first display module is used for displaying the first communication page;
the second receiving module is used for receiving the data item sent by the server; the data items are the same data items in first user data and second user data acquired by the server, the first user and the first client have a corresponding relationship, and the second user and the second client have a corresponding relationship;
the first presentation module is further configured to present the data item in the first communication page.
11. An electronic device, comprising:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
the processor is used for executing the recommendation method of the application program in any one of the claims 1-6 by calling the operation instruction.
12. An electronic device, comprising:
a processor, a memory, and a bus;
the bus is used for connecting the processor and the memory;
the memory is used for storing operation instructions;
the processor is configured to execute the recommendation method of the application program according to any one of claims 7 to 8 by calling the operation instruction.
13. A computer-readable storage medium for storing computer instructions which, when executed on a computer, make the computer perform the method for recommending an application program according to any one of claims 1 to 6.
14. A computer-readable storage medium for storing computer instructions which, when executed on a computer, make the computer perform the method for recommending an application program according to any one of claims 7 to 8.
CN201910168735.8A 2019-03-06 2019-03-06 Application program recommendation method and device, electronic equipment and readable storage medium Active CN111666483B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910168735.8A CN111666483B (en) 2019-03-06 2019-03-06 Application program recommendation method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910168735.8A CN111666483B (en) 2019-03-06 2019-03-06 Application program recommendation method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111666483A true CN111666483A (en) 2020-09-15
CN111666483B CN111666483B (en) 2023-09-22

Family

ID=72381299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910168735.8A Active CN111666483B (en) 2019-03-06 2019-03-06 Application program recommendation method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111666483B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110138064A1 (en) * 2009-12-04 2011-06-09 Remi Rieger Apparatus and methods for monitoring and optimizing delivery of content in a network
CN104239523A (en) * 2014-09-17 2014-12-24 北京金山安全软件有限公司 Recommendation method and device for application program and mobile terminal
CN105630977A (en) * 2015-12-25 2016-06-01 腾讯科技(深圳)有限公司 Application recommending method, device and system
CN106101982A (en) * 2016-05-27 2016-11-09 广东小天才科技有限公司 A kind of application program method for down loading and system
US20170097743A1 (en) * 2015-10-05 2017-04-06 Quixey, Inc. Recommending Applications
WO2018081966A1 (en) * 2016-11-03 2018-05-11 华为技术有限公司 User association method, terminal and server

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110138064A1 (en) * 2009-12-04 2011-06-09 Remi Rieger Apparatus and methods for monitoring and optimizing delivery of content in a network
CN104239523A (en) * 2014-09-17 2014-12-24 北京金山安全软件有限公司 Recommendation method and device for application program and mobile terminal
US20170097743A1 (en) * 2015-10-05 2017-04-06 Quixey, Inc. Recommending Applications
CN105630977A (en) * 2015-12-25 2016-06-01 腾讯科技(深圳)有限公司 Application recommending method, device and system
CN106101982A (en) * 2016-05-27 2016-11-09 广东小天才科技有限公司 A kind of application program method for down loading and system
WO2018081966A1 (en) * 2016-11-03 2018-05-11 华为技术有限公司 User association method, terminal and server

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ZHE SONG 等: "A decision support system for application migration to the Cloud", 《INSTITUTE OF ARCHITECTURE OF APPLICATION SYSTEMS UNIVERSITY OF STUTTGART》, pages 15 - 47 *
刘华: "基于关联规则的个性化推荐系统研究与应用", 《万方学术》, pages 2 - 4 *
张祖平 等: "基于深度学习的用户行为推荐方法研究", vol. 55, no. 4, pages 142 - 147 *

Also Published As

Publication number Publication date
CN111666483B (en) 2023-09-22

Similar Documents

Publication Publication Date Title
US11949731B2 (en) Capturing and automatically uploading media content
CN105141496B (en) A kind of instant communication message playback method and device
US10652172B2 (en) Smart automatic composition of short messaging responses
WO2015169188A1 (en) Method, apparatus, and system for loading webpage application program
CN106027570B (en) Notification pushing method and device
CN105183513A (en) Application recommendation method and apparatus
CN112286887A (en) File sharing method and device and electronic equipment
CN111246301A (en) Video playing method and device, electronic equipment and computer readable storage medium
CN112138376A (en) Cloud game archiving method and device and electronic equipment
EP3125581B1 (en) Address book information service system, and method and device for address book information service therein
CN112241397A (en) Multimedia file sharing method and device, electronic equipment and readable storage medium
CN106572131A (en) Media data sharing method and system in Internet of things
CN112165390B (en) Information processing method and device, electronic equipment and computer readable storage medium
CN103491067A (en) Multimedia interaction system and method
CN111666135A (en) Application program jumping method and device, electronic equipment and readable storage medium
CN107508745B (en) Prompting message associated input method and device and computing equipment
EP3933564A1 (en) Song list switching method, apparatus and system, terminal, and storage medium
CN114327846A (en) Cluster capacity expansion method and device, electronic equipment and computer readable storage medium
CN111741350A (en) File display method and device, electronic equipment and computer readable storage medium
CN109995543B (en) Method and apparatus for adding group members
US20090276855A1 (en) Method, apparatus, and computer program product that provide for presentation of event items
CN112182446A (en) Page display method and device, terminal equipment and computer readable storage medium
CN111666483B (en) Application program recommendation method and device, electronic equipment and readable storage medium
CN113268179B (en) Session message processing method, device, equipment and storage medium
CN107203578B (en) Method and device for establishing association of user identifiers

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