CN111949861A - Information recommendation method and device - Google Patents

Information recommendation method and device Download PDF

Info

Publication number
CN111949861A
CN111949861A CN202010676770.3A CN202010676770A CN111949861A CN 111949861 A CN111949861 A CN 111949861A CN 202010676770 A CN202010676770 A CN 202010676770A CN 111949861 A CN111949861 A CN 111949861A
Authority
CN
China
Prior art keywords
information
user
target
friend
common interest
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.)
Pending
Application number
CN202010676770.3A
Other languages
Chinese (zh)
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 CN202010676770.3A priority Critical patent/CN111949861A/en
Publication of CN111949861A publication Critical patent/CN111949861A/en
Pending legal-status Critical Current

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/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • 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/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9536Search customisation based on social or collaborative filtering

Landscapes

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

Abstract

The application discloses an information recommendation method and device. Acquiring first common interest degrees between a plurality of friends of a user and the user respectively; acquiring front N target friends from the multiple friends based on the sequence of the first common interest degree from high to low, wherein N is a positive integer; acquiring target information types which are interested by users; selecting information corresponding to the type of the target information from the information controlled by the target friend; and pushing the selected information to the user. The higher the first common interest degree between the users, the higher the possibility that the information operated by the target friends is the information interested by the users is, so that the possibility that the selected information is the information interested by the users can be improved by selecting the information operated by the N target friends with the highest first common interest degree between the users, and further the users are recommended the information which is more likely to be interested by the users, thereby improving the user experience.

Description

Information recommendation method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information recommendation method and apparatus.
Background
With the rapid development of technology, various applications show explosive growth, and most applications will try to recommend content of interest to a user in order to increase the user's stickiness of the applications.
For example, when a user is located at a location, the application may recommend information to the user that is located within the area of the location, such as a mall, a restaurant, an entertainment venue, a sporting venue, etc. that are located within the area of the location.
In the above manner, however, there are many information items recommended to the user that are located in the area where the location is located, but in reality the user tends to be interested in only individual information items,
this may result in that most of the information recommended to the user may not be the information of interest to the user, that is, the recommendation is invalid, resulting in low recommendation accuracy, and thus, for the user, since most of the received information is not the information of interest to the user, the user experience may be low.
Disclosure of Invention
In order to improve user experience, the application shows an information recommendation method and device.
In a first aspect, the present application shows an information recommendation method, including:
acquiring first common interest degrees between a plurality of friends of a user and the user respectively;
acquiring front N target friends from the multiple friends based on the sequence of the first common interest degree from high to low, wherein N is a positive integer;
acquiring the target information type which is interested by the user;
selecting information corresponding to the target information type from the information operated by the target friend;
and pushing the selected information to the user.
In an optional implementation manner, the obtaining a first common interest level between a plurality of friends of a user and the user includes:
and searching a first common interest degree corresponding to the plurality of friends of the user respectively in a first corresponding relation between the friends of the user and the first common interest degree.
In an optional implementation, the method further includes:
for any friend of the user, under the condition that the user shares information with the friend and the friend operates the shared information, increasing a first common interest degree corresponding to the friend in the first corresponding relation;
alternatively, the first and second electrodes may be,
under the condition that the friend shares information with the user and the user operates the shared information, increasing a first common interest degree corresponding to the friend in the first corresponding relation;
in an optional implementation manner, the target information types are multiple;
the selecting information corresponding to the target information type from the information operated by the target friend includes:
acquiring second common interest degrees of the user and the target friends aiming at each target information type respectively;
acquiring first M target information types from the plurality of target information types based on the sequence of the second common interest degree from high to low, wherein M is a positive integer;
and selecting information corresponding to the types of the previous M pieces of target information from the information operated by the target friends.
In an optional implementation manner, the obtaining a second common interest degree between the user and the target friend, which is respectively specific to each target information type, includes:
and searching second common interest degrees respectively corresponding to each target information type in a second corresponding relation between the information types and the second common interest degrees corresponding to the user and the target friends.
In an optional implementation, the method further includes:
for any information type which is interesting to the user, under the condition that the user shares information corresponding to the information type with the target friend and the target friend controls the shared information, adding a second common interest degree corresponding to the information type in the second corresponding relation;
alternatively, the first and second electrodes may be,
and under the condition that the target friend shares the information of the information type with the user and the user controls the shared information, adding a second common interest degree corresponding to the information type in the second corresponding relation.
In a second aspect, the present application shows an information recommendation apparatus, the apparatus comprising:
the first obtaining module is used for obtaining a first common interest degree between a plurality of friends of a user and the user respectively;
a second obtaining module, configured to obtain, based on a sequence from a high level to a low level of the first common interest level, previous N target friends from the multiple friends, where N is a positive integer;
the third acquisition module is used for acquiring the target information type which is interested by the user;
the selection module is used for selecting the information corresponding to the target information type from the information operated and controlled by the target friend;
and the pushing module is used for pushing the selected information to the user.
In an optional implementation manner, the first obtaining module includes:
the searching unit is used for searching the first common interest degrees respectively corresponding to the friends of the user in the first corresponding relation between the friends of the user and the first common interest degrees.
In an optional implementation manner, the first obtaining module further includes:
a first adding unit, configured to add, to any one of the friends of the user, a first common interest degree corresponding to the friend in the first corresponding relationship when the user shares information with the friend and the friend manipulates shared information;
a second adding unit, configured to add, in the first corresponding relationship, a first common interest degree corresponding to the friend when the friend shares information with the user and the user manipulates the shared information;
in an optional implementation manner, the target information types are multiple;
the selection module comprises:
the first obtaining unit is used for obtaining a second common interest degree between the user and the target friend respectively aiming at each target information type;
a second obtaining unit, configured to obtain, based on a sequence of a second common interest degree from high to low, top M target information types from among the plurality of target information types, where M is a positive integer;
and the selection unit is used for selecting the information corresponding to the types of the previous M target information from the information operated by the target friends.
In an optional implementation manner, the first obtaining unit includes:
and the searching subunit is configured to search, in a second correspondence between the information types and second common interest degrees corresponding to the user and the target friend, for second common interest degrees corresponding to each of the target information types.
In an optional implementation manner, the first obtaining unit further includes:
the first adding subunit is configured to, for any information type of interest of the user, add, in the second correspondence, a second common interest degree corresponding to the information type when the user shares information corresponding to the information type with the target friend and the target friend manipulates the shared information;
a second adding subunit, configured to add, in the second correspondence, a second common interest degree corresponding to the information type when the target friend shares the information of the information type with the user and the user manipulates the shared information.
In a third aspect, the present application shows an electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the information recommendation method of the first aspect.
In a fourth aspect, the present application illustrates a non-transitory computer-readable storage medium having instructions which, when executed by a processor of an electronic device, enable the electronic device to perform the information recommendation method of the first aspect.
In a fifth aspect, the present application shows a computer program product, wherein instructions of the computer program product, when executed by a processor of an electronic device, enable the electronic device to perform the information recommendation method according to the first aspect.
The technical scheme provided by the application can comprise the following beneficial effects:
in this application, in general, information manipulated by a friend of a user may be information in which the friend of the user is interested, and the user and the friend of the user often have the same or similar interests.
Therefore, when information which is interesting to the user needs to be recommended to the user, the information which is operated and controlled by friends of the user can be obtained and recommended to the user, and the possibility that the information recommended to the user is the information which is interesting to the user can be improved. Further, when the information operated by the friends of the user is obtained, a first common interest degree between each of the friends of the user and the user can be obtained, then the first N target friends are obtained from the friends based on the sequence of the first common interest degree from high to low, where N is a positive integer, and the information corresponding to the target information type in which the user is interested is selected from the information operated by the target friends.
The higher the first common interest degree between the users, the higher the possibility that the information operated by the target friends is the information interested by the users is, so that the possibility that the selected information is the information interested by the users can be improved by selecting the information operated by the N target friends with the highest first common interest degree between the users, and further the users are recommended the information which is more likely to be interested by the users, and the user experience can be improved.
Drawings
Fig. 1 is a flowchart illustrating steps of an information recommendation method according to the present application.
FIG. 2 is a flow chart of the steps of an information selection method of the present application.
Fig. 3 is a block diagram of an information recommendation apparatus according to the present application.
Fig. 4 is a block diagram of an electronic device shown in the present application.
Fig. 5 is a block diagram of an electronic device shown in the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, a flowchart of steps of an information recommendation method according to the present application is shown, where the method may be applied to an electronic device, where the electronic device may include a cloud or a server, and the method may specifically include the following steps:
in step S101, a first common interest degree between a plurality of friends of a user and the user is obtained;
the purpose of the present application is to recommend information that is of interest to a user, in a case where the user needs the recommended information, the electronic device may start to execute step S101 to recommend the information of interest to the user.
In one embodiment, during the use of the terminal by the user, the user may enter a page, which includes a window for displaying information, and the window may be used to present information recommended to the user. In this case, when the terminal acquires the data of the page from the electronic device, the electronic device may acquire the information in which the user is interested in the terminal by the method of the present application, and send the information in which the user is interested to the terminal, so that the terminal displays the information in which the user is interested on the window of the page, thereby achieving the purpose of recommending the information in which the user is interested to the user.
In the present application, a user has a plurality of buddies. Friends of the user include people who are recorded in the user's address book. Or, if the address book of the user includes a certain person and the address book of the certain person includes the user, the certain person is a friend of the user, and the like.
In the present application, for any friend of a plurality of friends of a user, the friend and the user may have common interests, for example, all like playing basketball, watching a badminton game, or listening to music. The same is true for each of the other friends in the user's multiple friends.
In this way, a first corresponding relationship between the friends of the user and the first common interest level may be created in advance, where the first corresponding relationship is used to store a corresponding table entry between the friends of the user and the first common interest level, and the first common interest level includes a common interest level between the friends of the user and the user.
For any friend of the user, in the history process, under the condition that the user shares information with the friend and the friend operates the shared information, a first common interest degree corresponding to the friend can be increased in the first corresponding relation; the control behaviors for controlling the shared information comprise: click, comment, play, share, collect, join a shopping cart, purchase, and the like. Or, in a case where the friend shares information with the user and the user manipulates the shared information, the first common interest degree corresponding to the friend may be increased in the first corresponding relationship. The same is true for every other friend of the user.
The first common interest degree between the user and the friend is determined according to the operation and control behaviors aiming at the same information between the user and the friend, so that the determined first common interest degree is closer to the actual situation and is more objective and accurate.
Therefore, when the first common interest degrees between the multiple friends of the user and the user are obtained, the first common interest degrees corresponding to the multiple friends of the user can be searched in the first corresponding relationship between the friends of the user and the first common interest degrees.
The first corresponding relationship mentioned above may be for the user and the friend of the user, and as for the friends of other users and other users, the first common interest degree between the other users and the friends of other users may be recorded through another corresponding relationship.
In step S102, based on a sequence of the first common interest level from high to low, the first N target friends are obtained from the multiple friends, where N is a positive integer;
in the present application, the higher the first common interest level between users, the more likely that the information manipulated by the target friend is the information of interest to the user. Therefore, the information which is controlled by the N target friends with the highest first common interest degree between the users is selected, the possibility that the selected information is information which is interesting to the users can be improved, the users are further enabled to be recommended with the information which is more interesting to the users, and therefore user experience can be improved.
In step S103, obtaining a target information type in which a user is interested;
in an embodiment of the application, the target information type in which the user is interested may be reported to the electronic device by the user in advance, and then the electronic device receives the target information type in which the user is interested reported by the user and stores the target information type in which the user is interested in the electronic device.
In this way, in this step, the electronic device can directly obtain the stored target information type that is of interest to the user.
In step S104, selecting information corresponding to the type of the target information from the information operated by the target friend;
in the history process, for any person, after the person controls certain information, the electronic device records that the person has controlled the information, for example, in the corresponding relationship between the person and the controlled information, the person and the person have controlled the information, and the same is true for every other person.
In addition, each piece of information that can be manipulated has at least one information type, for example, in the case of basketball video, the information type of the information may be "basketball", in the case of shoes to be sold, the information type of the information may be "shoes", and the like. For example, the information type of each information may be recorded in the correspondence between the information and the information type.
Therefore, in this step, the manipulated information corresponding to the target friend can be searched in the correspondence between the person and the manipulated information and used as the manipulated information of the target friend, and then the information type corresponding to the manipulated information of the target friend can be searched in the correspondence between the information and the information type, so that the information type of each piece of information manipulated by the target friend can be determined, and then the information corresponding to the target information type can be selected from each piece of information manipulated by the target friend.
In step S105, the selected information is pushed to the user.
In an embodiment of the application, the selected information can be sent to the terminal used by the user, so that the terminal used by the user can display the selected information, and then the user can see the displayed selected information on the terminal, thereby achieving the purpose of pushing the information which the user is interested in to the user.
In this application, in general, information manipulated by a friend of a user may be information in which the friend of the user is interested, and the user and the friend of the user often have the same or similar interests.
Therefore, when information which is interesting to the user needs to be recommended to the user, the information which is operated and controlled by friends of the user can be obtained and recommended to the user, and the possibility that the information recommended to the user is the information which is interesting to the user can be improved. Further, when the information operated by the friends of the user is obtained, a first common interest degree between each of the friends of the user and the user can be obtained, then the first N target friends are obtained from the friends based on the sequence of the first common interest degree from high to low, where N is a positive integer, and the information corresponding to the target information type in which the user is interested is selected from the information operated by the target friends.
The higher the first common interest degree between the users, the higher the possibility that the information operated by the target friends is the information interested by the users is, so that the possibility that the selected information is the information interested by the users can be improved by selecting the information operated by the N target friends with the highest first common interest degree between the users, and further the users are recommended the information which is more likely to be interested by the users, and the user experience can be improved.
In an embodiment of the present application, if the target information type is one, in step S104, information corresponding to the one target information type may be selected from information handled by the target friend, and then step S105 is executed.
In another embodiment of the present application, in the case that the target information type is multiple, in step S104, referring to fig. 2, the method includes:
in step S201, a second common interest degree between the user and the target friend is obtained for each target information type;
in the application, for any one friend of a plurality of friends of a user, for any one information type, the friend and the user may have a common interest for the information type, for example, the friend and the user all enjoy basketball, badminton game watching or music listening, and thus, a second correspondence between the information type and a second common interest level corresponding to the user and the friend may be created in advance, the second correspondence is used for storing a corresponding table entry between the information type and the second common interest level, and the second common interest level includes a common interest level of information corresponding to a specific information type between the user and the friend. The same is true for each of the other of the user's multiple buddies, and so on.
For any friend of the user, in the history process, for any information type which is interested by the user, under the condition that the user shares information corresponding to the information type with the friend and the friend controls the shared information, a second common interest degree corresponding to the information type can be added in a second corresponding relation; the control behaviors for controlling the shared information comprise: click, comment, play, share, collect, join a shopping cart, purchase, and the like. Or, in a case where the friend shares the information of the information type with the user and the user manipulates the shared information, the second common interest degree corresponding to the information type may be added in the second correspondence.
The same is true for every other friend of the user and every other type of information of interest to the user.
The second common interest degree of the information of the same information type between the user and the friend is determined according to the control behavior of the information corresponding to the same information type between the user and the friend, so that the determined second common interest degree is closer to the actual situation and is more objective and accurate.
In this way, when the second common interest degree between the user and the target friend is obtained for each target information type, the second common interest degree corresponding to each target information type can be searched in the second corresponding relationship between the information type and the second common interest degree corresponding to the user and the target friend.
The second correspondence mentioned above is for the user and the target friend of the user, and as for the user and other friends of the user, the second common interest degree between the user and other friends of the user may be recorded through another correspondence, or as for the friends of the other user and other users, the second common interest degree between the other users and friends of the other users may be recorded through another correspondence.
In step S202, based on the order of the second common interest degree from high to low, the first M target information types are obtained from the plurality of target information types, where M is a positive integer;
in the present application, the higher the probability that the information corresponding to the target information type having the higher second common interest degree between the user and the target friend is the information in which the user is interested is.
Therefore, the information corresponding to the M target information types with the highest second common interest degree between the user and the target friends is selected, the possibility that the selected information is the information which is interested by the user can be improved, the user is further enabled to be recommended the information which is more likely to be interested by the user, and therefore user experience can be improved.
In step S203, the information corresponding to the first M types of target information is selected from the information handled by the target friend.
In the history process, for any person, after the person controls certain information, the electronic device records that the person has controlled the information, for example, in the corresponding relationship between the person and the controlled information, the person and the person have controlled the information, and the same is true for every other person.
In addition, each piece of information that can be manipulated has at least one information type, for example, in the case of basketball video, the information type of the information may be "basketball", in the case of shoes to be sold, the information type of the information may be "shoes", and the like. For example, the information type of each information may be recorded in the correspondence between the information and the information type.
Therefore, in this step, the manipulated information corresponding to the target friend can be searched in the correspondence between the person and the manipulated information and used as the manipulated information of the target friend, and then the information type corresponding to the manipulated information of the target friend can be searched in the correspondence between the information and the information type, so that the information type of each piece of information manipulated by the target friend can be determined, and then the information corresponding to the first M pieces of target information types is selected from each piece of information manipulated by the target friend.
It is noted that, for simplicity of explanation, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will appreciate that the present application is not limited by the order of acts, as some steps may, in accordance with the present application, occur in other orders and concurrently. Further, those skilled in the art will also appreciate that the embodiments described in the specification are exemplary and that no action is necessarily required in this application.
Referring to fig. 3, a block diagram of an information recommendation device according to the present application is shown, where the device may specifically include the following modules:
a first obtaining module 11, configured to obtain first common interest degrees between a plurality of friends of a user and the user respectively;
a second obtaining module 12, configured to obtain, based on a sequence that the first common interest degree is from high to low, the first N target friends from among the multiple friends, where N is a positive integer;
a third obtaining module 13, configured to obtain a type of target information that is interested by the user;
the selection module 14 is configured to select information corresponding to the type of the target information from the information operated by the target friend;
a pushing module 15, configured to push the selected information to the user.
In an optional implementation manner, the first obtaining module includes:
the searching unit is used for searching the first common interest degrees respectively corresponding to the friends of the user in the first corresponding relation between the friends of the user and the first common interest degrees.
In an optional implementation manner, the first obtaining module further includes:
a first adding unit, configured to add, to any one of the friends of the user, a first common interest degree corresponding to the friend in the first corresponding relationship when the user shares information with the friend and the friend manipulates shared information;
a second adding unit, configured to add, in the first corresponding relationship, a first common interest degree corresponding to the friend when the friend shares information with the user and the user manipulates the shared information;
in an optional implementation manner, the target information types are multiple;
the selection module comprises:
the first obtaining unit is used for obtaining a second common interest degree between the user and the target friend respectively aiming at each target information type;
a second obtaining unit, configured to obtain, based on a sequence of a second common interest degree from high to low, top M target information types from among the plurality of target information types, where M is a positive integer;
and the selection unit is used for selecting the information corresponding to the types of the previous M target information from the information operated by the target friends.
In an optional implementation manner, the first obtaining unit includes:
and the searching subunit is configured to search, in a second correspondence between the information types and second common interest degrees corresponding to the user and the target friend, for second common interest degrees corresponding to each of the target information types.
In an optional implementation manner, the first obtaining unit further includes:
the first adding subunit is configured to, for any information type of interest of the user, add, in the second correspondence, a second common interest degree corresponding to the information type when the user shares information corresponding to the information type with the target friend and the target friend manipulates the shared information;
a second adding subunit, configured to add, in the second correspondence, a second common interest degree corresponding to the information type when the target friend shares the information of the information type with the user and the user manipulates the shared information.
In this application, in general, information manipulated by a friend of a user may be information in which the friend of the user is interested, and the user and the friend of the user often have the same or similar interests.
Therefore, when information which is interesting to the user needs to be recommended to the user, the information which is operated and controlled by friends of the user can be obtained and recommended to the user, and the possibility that the information recommended to the user is the information which is interesting to the user can be improved. Further, when the information operated by the friends of the user is obtained, a first common interest degree between each of the friends of the user and the user can be obtained, then the first N target friends are obtained from the friends based on the sequence of the first common interest degree from high to low, where N is a positive integer, and the information corresponding to the target information type in which the user is interested is selected from the information operated by the target friends.
The higher the first common interest degree between the users, the higher the possibility that the information operated by the target friends is the information interested by the users is, so that the possibility that the selected information is the information interested by the users can be improved by selecting the information operated by the N target friends with the highest first common interest degree between the users, and further the users are recommended the information which is more likely to be interested by the users, and the user experience can be improved.
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.
Fig. 4 is a block diagram of an electronic device 800 shown in the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 4, electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, images, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast operation information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 5 is a block diagram of an electronic device 1900 shown in the present application. For example, the electronic device 1900 may be provided as a server.
Referring to fig. 5, electronic device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the above-described method.
The electronic device 1900 may also include a power component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input/output (I/O) interface 1958. The electronic device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
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 application may be provided as a method, apparatus, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to the application. 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 the preferred embodiments of the present application have been described, additional variations and modifications in those 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 alterations and modifications as fall within the scope of the application.
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 information recommendation method and device provided by the present application are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, 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 application.

Claims (14)

1. An information recommendation method, characterized in that the method comprises:
acquiring first common interest degrees between a plurality of friends of a user and the user respectively;
acquiring front N target friends from the multiple friends based on the sequence of the first common interest degree from high to low, wherein N is a positive integer;
acquiring the target information type which is interested by the user;
selecting information corresponding to the target information type from the information operated by the target friend;
and pushing the selected information to the user.
2. The method of claim 1, wherein the obtaining the first common interest level between the user and each of the plurality of friends of the user comprises:
and searching a first common interest degree corresponding to the plurality of friends of the user respectively in a first corresponding relation between the friends of the user and the first common interest degree.
3. The method of claim 2, further comprising:
for any friend of the user, under the condition that the user shares information with the friend and the friend operates the shared information, increasing a first common interest degree corresponding to the friend in the first corresponding relation;
alternatively, the first and second electrodes may be,
and under the condition that the friend shares information with the user and the user operates the shared information, increasing a first common interest degree corresponding to the friend in the first corresponding relation.
4. The method of claim 1, wherein the target information type is plural;
the selecting information corresponding to the target information type from the information operated by the target friend includes:
acquiring second common interest degrees of the user and the target friends aiming at each target information type respectively;
acquiring first M target information types from the plurality of target information types based on the sequence of the second common interest degree from high to low, wherein M is a positive integer;
and selecting information corresponding to the types of the previous M pieces of target information from the information operated by the target friends.
5. The method of claim 4, wherein the obtaining a second common interest level between the user and the target friend for each target information type comprises:
and searching second common interest degrees respectively corresponding to each target information type in a second corresponding relation between the information types and the second common interest degrees corresponding to the user and the target friends.
6. The method of claim 5, further comprising:
for any information type which is interesting to the user, under the condition that the user shares information corresponding to the information type with the target friend and the target friend controls the shared information, adding a second common interest degree corresponding to the information type in the second corresponding relation;
alternatively, the first and second electrodes may be,
and under the condition that the target friend shares the information of the information type with the user and the user controls the shared information, adding a second common interest degree corresponding to the information type in the second corresponding relation.
7. An information recommendation apparatus, characterized in that the apparatus comprises:
the first obtaining module is used for obtaining a first common interest degree between a plurality of friends of a user and the user respectively;
a second obtaining module, configured to obtain, based on a sequence from a high level to a low level of the first common interest level, previous N target friends from the multiple friends, where N is a positive integer;
the third acquisition module is used for acquiring the target information type which is interested by the user;
the selection module is used for selecting the information corresponding to the target information type from the information operated and controlled by the target friend;
and the pushing module is used for pushing the selected information to the user.
8. The apparatus of claim 7, wherein the first obtaining module comprises:
the searching unit is used for searching the first common interest degrees respectively corresponding to the friends of the user in the first corresponding relation between the friends of the user and the first common interest degrees.
9. The apparatus of claim 8, wherein the first obtaining module further comprises:
a first adding unit, configured to add, to any one of the friends of the user, a first common interest degree corresponding to the friend in the first corresponding relationship when the user shares information with the friend and the friend manipulates shared information;
a second adding unit, configured to add, in the first corresponding relationship, a first common interest degree corresponding to the friend when the friend shares information with the user and the user manipulates the shared information.
10. The apparatus of claim 7, wherein the target information type is plural;
the selection module comprises:
the first obtaining unit is used for obtaining a second common interest degree between the user and the target friend respectively aiming at each target information type;
a second obtaining unit, configured to obtain, based on a sequence of a second common interest degree from high to low, top M target information types from among the plurality of target information types, where M is a positive integer;
and the selection unit is used for selecting the information corresponding to the types of the previous M target information from the information operated by the target friends.
11. The apparatus of claim 10, wherein the first obtaining unit comprises:
and the searching subunit is configured to search, in a second correspondence between the information types and second common interest degrees corresponding to the user and the target friend, for second common interest degrees corresponding to each of the target information types.
12. The apparatus of claim 11, wherein the first obtaining unit further comprises:
the first adding subunit is configured to, for any information type of interest of the user, add, in the second correspondence, a second common interest degree corresponding to the information type when the user shares information corresponding to the information type with the target friend and the target friend manipulates the shared information;
a second adding subunit, configured to add, in the second correspondence, a second common interest degree corresponding to the information type when the target friend shares the information of the information type with the user and the user manipulates the shared information.
13. An electronic device, characterized in that the electronic device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the information recommendation method of any one of claims 1-6.
14. A non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the information recommendation method of any of claims 1-6.
CN202010676770.3A 2020-07-14 2020-07-14 Information recommendation method and device Pending CN111949861A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010676770.3A CN111949861A (en) 2020-07-14 2020-07-14 Information recommendation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010676770.3A CN111949861A (en) 2020-07-14 2020-07-14 Information recommendation method and device

Publications (1)

Publication Number Publication Date
CN111949861A true CN111949861A (en) 2020-11-17

Family

ID=73340493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010676770.3A Pending CN111949861A (en) 2020-07-14 2020-07-14 Information recommendation method and device

Country Status (1)

Country Link
CN (1) CN111949861A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572863A (en) * 2014-12-19 2015-04-29 阳珍秀 Product recommending method and system
CN104967679A (en) * 2015-06-09 2015-10-07 深圳市腾讯计算机系统有限公司 Information recommendation system, method and device
CN106446100A (en) * 2016-09-13 2017-02-22 乐视控股(北京)有限公司 Content recommendation method and device
CN110046965A (en) * 2019-04-18 2019-07-23 北京百度网讯科技有限公司 Information recommendation method, device, equipment and medium
CN111191143A (en) * 2019-07-17 2020-05-22 腾讯科技(深圳)有限公司 Application recommendation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572863A (en) * 2014-12-19 2015-04-29 阳珍秀 Product recommending method and system
CN104967679A (en) * 2015-06-09 2015-10-07 深圳市腾讯计算机系统有限公司 Information recommendation system, method and device
CN106446100A (en) * 2016-09-13 2017-02-22 乐视控股(北京)有限公司 Content recommendation method and device
CN110046965A (en) * 2019-04-18 2019-07-23 北京百度网讯科技有限公司 Information recommendation method, device, equipment and medium
CN111191143A (en) * 2019-07-17 2020-05-22 腾讯科技(深圳)有限公司 Application recommendation method and device

Similar Documents

Publication Publication Date Title
CN108932253B (en) Multimedia search result display method and device
EP3174053A1 (en) Method, apparatus and system for playing multimedia data, computer program and recording medium
EP3316527A1 (en) Method and device for managing notification messages
CN107463643B (en) Barrage data display method and device and storage medium
CN112561631A (en) Information display method and device, electronic equipment and storage medium
JP6838138B2 (en) Product display method and equipment
CN109947981B (en) Video sharing method and device
US20170032287A1 (en) Method and device for providing ticket information
CN107423386B (en) Method and device for generating electronic card
CN111369271B (en) Advertisement ordering method and device, electronic equipment and storage medium
CN107122430B (en) Search result display method and device
CN108495168B (en) Bullet screen information display method and device
CN106777016B (en) Method and device for information recommendation based on instant messaging
CN112543368A (en) Video processing method, video playing method, video processing device, video playing device and storage medium
US20220277204A1 (en) Model training method and apparatus for information recommendation, electronic device and medium
CN110913244A (en) Video processing method and device, electronic equipment and storage medium
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN104850643B (en) Picture comparison method and device
CN109151553B (en) Display control method and device, electronic equipment and storage medium
CN106447747B (en) Image processing method and device
CN113988021A (en) Content interaction method and device, electronic equipment and storage medium
CN111246255B (en) Video recommendation method and device, storage medium, terminal and server
CN113031837B (en) Content sharing method and device, storage medium, terminal and server
CN110213062B (en) Method and device for processing message
CN106851418B (en) Video recommendation method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20201117

RJ01 Rejection of invention patent application after publication