CN114065023A - Content recommendation method and device, electronic equipment and storage medium - Google Patents
Content recommendation method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN114065023A CN114065023A CN202111298335.2A CN202111298335A CN114065023A CN 114065023 A CN114065023 A CN 114065023A CN 202111298335 A CN202111298335 A CN 202111298335A CN 114065023 A CN114065023 A CN 114065023A
- Authority
- CN
- China
- Prior art keywords
- target
- user
- determining
- users
- range
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9536—Search 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)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the application discloses a content recommendation method and device, electronic equipment and a storage medium. The method comprises the following steps: the electronic equipment acquires the number of users in a target range and the corresponding gender and age of each user; then determining a target quantity range to which the user quantity belongs; determining a target combination mode according to the target number range, and determining a target population according to the target combination mode, the number of users and the corresponding gender and age of each user; and finally recommending corresponding content to the target crowd. By identifying the number, age and gender of the users, the main target population is selected, so that the appropriate content is recommended to the main target population, and the accuracy of content recommendation is improved.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a content recommendation method and apparatus, an electronic device, and a storage medium.
Background
In the related art, with the rapid growth of network content, when a user browses and views content by using an electronic device, the electronic device records browsing and viewing records of the user, so as to recommend corresponding content to the user.
However, when a plurality of users use the electronic apparatus, the electronic apparatus cannot recommend appropriate content.
Disclosure of Invention
The embodiment of the application provides a content recommendation method and device, electronic equipment and a storage medium. The content recommendation method can improve the content recommendation accuracy.
In a first aspect, an embodiment of the present application provides a content recommendation method, including:
acquiring the number of users in a target range and the corresponding gender and age of each user;
determining a target quantity range to which the user quantity belongs;
determining a target combination mode according to the target number range, and determining a target crowd according to the target combination mode, the user number and the gender and age corresponding to each user;
recommending corresponding content to the target crowd.
In a second aspect, an embodiment of the present application provides a content recommendation apparatus, including:
the acquisition module is used for acquiring the number of users in a target range and the corresponding gender and age of each user;
the first determining module is used for determining a target quantity range to which the user quantity belongs;
the second determining module is used for determining a target combination mode according to the target number range and determining a target crowd according to the target combination mode, the number of the users and the gender and age corresponding to each user;
and the recommending module is used for recommending corresponding content to the target crowd.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory storing executable program code, and a processor coupled to the memory; the processor calls the executable program code stored in the memory to execute the steps in the content recommendation method provided by the embodiment of the application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor to perform the steps in the content recommendation method provided by the present application.
In the embodiment of the application, the electronic equipment acquires the number of users in a target range, and the corresponding gender and age of each user; then determining a target quantity range to which the user quantity belongs; determining a target combination mode according to the target number range, and determining a target population according to the target combination mode, the number of users and the corresponding gender and age of each user; and finally recommending corresponding content to the target crowd. By identifying the number, age and gender of the users, the main target population is selected, so that the appropriate content is recommended to the main target population, and the accuracy of content recommendation is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a content recommendation method according to an embodiment of the present application.
Fig. 2 is a second flowchart of a content recommendation method according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of a content recommendation device according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the related art, with the rapid growth of network content, when a user browses and views content by using an electronic device, the electronic device records browsing and viewing records of the user, so as to recommend corresponding content to the user.
However, when a plurality of users use the electronic apparatus, the electronic apparatus cannot recommend appropriate content.
In order to solve the technical problem, embodiments of the present application provide a content recommendation method, an apparatus, an electronic device, and a storage medium. The content recommendation method can improve the content recommendation accuracy.
It should be noted that the content recommendation method is applicable to electronic devices such as televisions, smart phones, computers, tablet computers, and head-mounted devices.
Referring to fig. 1, fig. 1 is a first flowchart of a content recommendation method according to an embodiment of the present application. The content recommendation method may include the steps of:
110. and acquiring the number of users in the target range and the corresponding gender and age of each user.
In some embodiments, the electronic device may obtain the number of users within a target range, such as within a range of 40 degrees to 140 degrees in front of the electronic device.
After the number of users is determined, the electronic device may call the camera to acquire a facial image of each user, then generate facial key points for the facial image of each user, and determine the age and gender of the user according to the distribution positions of the facial key points. For example, if the male face is often the mandible is larger, the gender of the user can be identified by the facial key points corresponding to the positions of the mandible and the mandible in the facial image.
And child is less than adult's face, can determine whether the user is child or adult according to the area that user's facial key point distributes, for example the distribution area of facial key point is greater than and predetermines the area, then this user is adult, when the distribution area of facial key point is less than and predetermines the area, then confirms that this user is child.
In some embodiments, the age of the user may also be identified according to the facial key points, such as eyelid sagging for an elderly user, and eyelid tightening for a younger user, and the age of the user may be determined according to the facial key points corresponding to the eyelid parts of the user.
In some embodiments, after the corresponding image of the user is obtained, the age and gender of the user can be determined according to the user characteristics of the comparison straight white. For example, a user with hair longer than a preset length is a female, and a user with hair not longer than the preset length is a male. The age of the user can also be determined according to wearing and dressing of the user. Not to mention one example.
In some embodiments, the ages and genders of the plurality of preset users may also be stored locally at the electronic device, and the facial images, ages, and genders of the plurality of preset users may be stored in the user database. When multiple users are within the target range of the electronic equipment, facial images of the multiple users can be input into the user database for matching. Thereby obtaining the corresponding age and gender of each user.
120. And determining a target quantity range to which the number of the users belongs.
In some embodiments, a plurality of number ranges may be preset, for example, each number range includes a different number of users.
After the number of users is determined, a number range corresponding to the number of users may be determined, and the number range is determined as a target number range.
For example, the number of users is 4, the number of users corresponds to a number range of 4-6, and the number range of 4-6 is the target number range.
130. And determining a target combination mode according to the target number range, and determining a target crowd according to the target combination mode, the number of users and the corresponding gender and age of each user.
In some embodiments, if the target number range is a second preset number range, the matrix arrangement manner is determined to be a target combination manner. And then generating a target matrix according to the matrix arrangement mode, the number of the users and the corresponding gender and age of each user, and finally determining a target population according to the target matrix.
For example, the electronic device determines a first user with the same age range and a second user without the same age range according to the target matrix, then generates a plurality of second crowd combinations according to the first user and the second user, and finally determines a target crowd according to the plurality of second crowd combinations.
In some embodiments, if the target number range is a first preset number range, the permutation and combination mode is determined to be the target combination mode.
And then generating a plurality of first crowd combinations according to the number of the users and the arrangement combination mode. And determining a target population according to the plurality of first population combinations and the corresponding gender and age of each user.
140. And recommending corresponding content to the target crowd.
In some embodiments, after the target group is determined, the age and the gender corresponding to each target user in the target group may be determined, and then the favorite content of each target user is determined according to the age and the gender, and then the favorite content of each target user is recommended to the target group.
In some embodiments, after recommending the content corresponding to the target group, the mapping relationship between the target group and the favorite content may be stored locally on the electronic device. The next time the electronic device determines that the crowd is similar to the target crowd, the content may be recommended to the similar user.
In the embodiment of the application, the electronic equipment acquires the number of users in a target range, and the corresponding gender and age of each user; then determining a target quantity range to which the user quantity belongs; determining a target combination mode according to the target number range, and determining a target population according to the target combination mode, the number of users and the corresponding gender and age of each user; and finally recommending corresponding content to the target crowd. By identifying the number, age and gender of the users, the main target population is selected, so that the appropriate content is recommended to the main target population, and the accuracy of content recommendation is improved.
For a more detailed understanding of the content recommendation method provided in the embodiment of the present application, please refer to fig. 2, and fig. 2 is a second flowchart of the content recommendation method provided in the embodiment of the present application. The content recommendation method may include:
201. and acquiring the number of users in the target range and the corresponding gender and age of each user.
In some embodiments, the electronic device may obtain the number of users within a target range, such as within a range of 40 degrees to 140 degrees in front of the electronic device.
After the number of users is determined, the electronic device may call the camera to acquire a facial image of each user, then generate facial key points for the facial image of each user, and determine the age and gender of the user according to the distribution positions of the facial key points. For example, if the male face is often the mandible is larger, the gender of the user can be identified by the facial key points corresponding to the positions of the mandible and the mandible in the facial image.
And child is less than adult's face, can determine whether the user is child or adult according to the area that user's facial key point distributes, for example the distribution area of facial key point is greater than and predetermines the area, then this user is adult, when the distribution area of facial key point is less than and predetermines the area, then confirms that this user is child.
In some embodiments, the age of the user may also be identified according to the facial key points, such as eyelid sagging for an elderly user, and eyelid tightening for a younger user, and the age of the user may be determined according to the facial key points corresponding to the eyelid parts of the user.
In some embodiments, after the corresponding image of the user is obtained, the age and gender of the user can be determined according to the user characteristics of the comparison straight white. For example, a user with hair longer than a preset length is a female, and a user with hair not longer than the preset length is a male. The age of the user can also be determined according to wearing and dressing of the user. Not to mention one example.
In some embodiments, the ages and genders of the plurality of preset users may also be stored locally at the electronic device, and the facial images, ages, and genders of the plurality of preset users may be stored in the user database. When multiple users are within the target range of the electronic equipment, facial images of the multiple users can be input into the user database for matching. Thereby obtaining the corresponding age and gender of each user.
202. And if the target quantity range is a first preset quantity range, generating a plurality of first crowd combinations according to the user quantity and the permutation and combination mode.
For example, if the first preset number is in the range of 1 to 3, the corresponding first group of people is: s2n-1, where S is the number of first population combinations and n is the number of users. When the number of users is 3, then the number of corresponding first population combinations is 7. For example, if there is A, B, C, then there are 7 first population combinations corresponding to { A, B, C, AB, AC, BC, ABC }.
203. And determining a target population according to the plurality of first population combinations and the corresponding gender and age of each user.
After determining the plurality of first person groups, the electronic device may determine the target group according to the gender and age corresponding to each user. For example, if there is only one user in the first population group, the weight value corresponding to each user can be determined by determining the age and gender of the user. If there are multiple users in the first population group, such as user a and user C, a first weight value corresponding to the user may be determined according to the age and gender of user a, and a second weight value corresponding to the user may be determined according to the age and gender of user C. Then, a first coefficient corresponding to the first weight value and a second coefficient corresponding to the second weight value are determined.
And multiplying the first coefficient by the first weight value, and then adding the second coefficient by the second weight value to obtain the weight value of the first group combination AC.
In a plurality of first crowd combinations, the weight values corresponding to the plurality of first crowd combinations can be determined in the mode, and the first crowd combination with the highest weight value is determined as the target crowd.
204. And if the target quantity range is the second preset quantity range, generating a target matrix according to the matrix arrangement mode, the quantity of the users and the corresponding gender and age of each user.
If the target number range is a second preset number range, for example, the second preset number range is 4-10, the target matrix may be generated by a matrix manner, the number of users, and the corresponding gender and age of each user.
Specifically, as shown in table 1:
a (Man) | B (woman) | C (Man) | D (woman) | E (Man) | |
1-10 | 1 | 1 | |||
11-20 | 1 | ||||
21-30 | |||||
31-40 | 1 | 1 | |||
41-50 | |||||
>51 |
TABLE 1
Wherein the transversal arrangement of the matrix is different users and their corresponding sexes, and the longitudinal arrangement of the matrix is the age range corresponding to the user.
205. And determining a first user in the same age range and a second user without the user in the same age range according to the target matrix.
In some embodiments, as shown in table 1, where a and B are first users of the same age range, C and D are first users of the same age range, and E is a second user without users of the same age range.
A first user and a second user of the plurality of users may be determined according to the manner.
206. A plurality of second demographic groups is generated from the first user and the second user.
After the first user and the second user are determined, a plurality of second demographic groups may be generated based on the first user and the second user.
For example, a first user with the same age range is identified as a second demographic group, and a second user without users with the same age range is identified as a second demographic group. As shown in table 1, the second population combination identified was: AB. CD and E.
A plurality of first users may also be ranked and combined to obtain a plurality of second population combinations, for example, the determined second population combinations include: AB. AC, AD, BC, BD.
207. And determining the target population according to the plurality of second population combinations.
In some embodiments, historical viewing durations corresponding to a plurality of users may be determined, so as to determine a total historical viewing duration corresponding to each user. And then determining the weight value occupied by the historical watching time length of each user in the total watching time length.
For example, in 24 hours, the total time of C viewing is 2 hours, the total time of D viewing is 3 hours, the total time of E viewing is 1 hour, and the total time of a and B viewing is 1 hour, then the weight of C is 2/8, the weight of D is 3/8, and the weight of E, A and B is 1/8.
Then, a weight value corresponding to each second crowd combination is obtained, and the second crowd group corresponding to the largest weight value is selected to be the target crowd. For example, a weight value corresponding to each second population combination is calculated, for example, the weight value corresponding to the CD combination is 5/8, and the weight value corresponding to the CD combination is the largest, so that the second population combination CD is determined as the target population.
208. And recommending corresponding content to the target crowd.
In some embodiments, after the target group is determined, the age and the gender corresponding to each target user in the target group may be determined, and then the favorite content of each target user is determined according to the age and the gender, and then the favorite content of each target user is recommended to the target group.
In some embodiments, after recommending the content corresponding to the target group, the mapping relationship between the target group and the favorite content may be stored locally on the electronic device. The next time the electronic device determines that the crowd is similar to the target crowd, the content may be recommended to the similar user.
In the embodiment of the application, a plurality of first crowd combinations are generated according to the number of users and the arrangement combination mode if the target number range is a first preset number range by acquiring the number of users in the target range and the corresponding gender and age of each user. And determining a target population according to the plurality of first population combinations and the corresponding gender and age of each user.
And if the target quantity range is the second preset quantity range, generating a target matrix according to the matrix arrangement mode, the quantity of the users and the corresponding gender and age of each user. And determining a first user in the same age range and a second user without the user in the same age range according to the target matrix. A plurality of second demographic groups is generated from the first user and the second user. And determining the target population according to the plurality of second population combinations.
And finally recommending corresponding content to the target crowd. Therefore, accurate content recommendation is carried out on the target crowd.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a content recommendation device according to an embodiment of the present application. The content recommendation apparatus includes:
the obtaining module 310 is configured to obtain the number of users in the target range, and the corresponding gender and age of each user.
A first determining module 320, configured to determine a target number range to which the number of users belongs.
The second determining module 330 is configured to determine a target combination manner according to the target number range, and determine a target group according to the target combination manner, the number of users, and the gender and age corresponding to each user.
The second determining module 330 is further configured to determine that the matrix arrangement manner is the target combination manner if the target number range is a second preset number range.
The second determining module 330 is further configured to generate a target matrix according to the matrix arrangement, the number of users, and the gender and age corresponding to each user;
and determining the target crowd according to the target matrix.
The second determining module 330 is further configured to determine a first user with the same age range and a second user without users with the same age range according to the target matrix;
generating a plurality of second demographic groups from the first user and the second user;
determining the target population from the plurality of second population combinations.
The second determining module 330 is further configured to determine that the permutation and combination manner is the target combination manner if the target number range is the first preset number range.
The second determining module 330 is further configured to generate a plurality of first person group combinations according to the number of users and the permutation and combination manner;
and determining a target population according to the plurality of first population combinations and the corresponding gender and age of each user.
And the recommending module 340 is configured to recommend corresponding content to the target group.
In the embodiment of the application, the electronic equipment acquires the number of users in a target range, and the corresponding gender and age of each user; then determining a target quantity range to which the user quantity belongs; determining a target combination mode according to the target number range, and determining a target population according to the target combination mode, the number of users and the corresponding gender and age of each user; and finally recommending corresponding content to the target crowd. By identifying the number, age and gender of the users, the main target population is selected, so that the appropriate content is recommended to the main target population, and the accuracy of content recommendation is improved.
Accordingly, embodiments of the present application also provide an electronic device, as shown in fig. 4, which may include an input unit 401, a display unit 402, a memory 403 including one or more computer-readable storage media, a sensor 405, a processor 404 including one or more processing cores, and a power supply 406. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the input unit 401 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. Specifically, in one particular embodiment, input unit 401 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 404, and can receive and execute commands sent by the processor 404. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 401 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 402 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 402 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 404 to determine the type of touch event, and then the processor 404 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 4 the touch-sensitive surface and the display panel are shown as two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The memory 403 may be used for storing software programs and modules, and the processor 404 executes various functional applications and data processing by operating the software programs and modules stored in the memory 403. The memory 403 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 403 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 403 may also include a memory controller to provide the processor 404 and the input unit 401 access to the memory 403.
The electronic device may also include at least one sensor 405, such as a light sensor, motion sensor, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the motion sensor is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of an electronic device, vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device, detailed descriptions thereof are omitted.
The processor 404 is a control center of the electronic device, connects various parts of the whole electronic device by various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 403 and calling data stored in the memory 403, thereby performing overall monitoring of the electronic device. Optionally, processor 404 may include one or more processing cores; preferably, the processor 404 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 404.
The electronic device also includes a power supply 406 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 404 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 406 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 404 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 403 according to the following instructions, and the processor 404 runs the application programs stored in the memory 403, so as to implement various functions:
acquiring the number of users in a target range and the corresponding gender and age of each user;
determining a target quantity range to which the user quantity belongs;
determining a target combination mode according to the target number range, and determining a target crowd according to the target combination mode, the user number and the gender and age corresponding to each user;
recommending corresponding content to the target crowd.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer-readable storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute the steps in any one of the content recommendation methods provided in the embodiments of the present application. For example, the instructions may perform the steps of:
acquiring the number of users in a target range and the corresponding gender and age of each user;
determining a target quantity range to which the user quantity belongs;
determining a target combination mode according to the target number range, and determining a target crowd according to the target combination mode, the user number and the gender and age corresponding to each user;
recommending corresponding content to the target crowd.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium may execute the steps in any content recommendation method provided in the embodiments of the present application, beneficial effects that can be achieved by any content recommendation method provided in the embodiments of the present application may be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The content recommendation method, device, electronic device and storage medium provided by the embodiments of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for those 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 (10)
1. A content recommendation method, comprising:
acquiring the number of users in a target range and the corresponding gender and age of each user;
determining a target quantity range to which the user quantity belongs;
determining a target combination mode according to the target number range, and determining a target crowd according to the target combination mode, the user number and the gender and age corresponding to each user;
recommending corresponding content to the target crowd.
2. The content recommendation method according to claim 1, wherein said determining a target combination according to the target number range comprises:
and if the target quantity range is a second preset quantity range, determining the matrix arrangement mode as the target combination mode.
3. The method according to claim 2, wherein the determining a target group according to the target combination, the number of users, and the gender and age corresponding to each user comprises:
generating a target matrix according to the matrix arrangement mode, the number of the users and the corresponding gender and age of each user;
and determining the target crowd according to the target matrix.
4. The content recommendation method according to claim 3, wherein determining the target group according to the target matrix comprises:
determining first users in the same age range and second users without the users in the same age range according to the target matrix;
generating a plurality of second demographic groups from the first user and the second user;
determining the target population from the plurality of second population combinations.
5. The content recommendation method according to claim 4, wherein said determining the target group from the plurality of second group combinations comprises:
acquiring a weight value corresponding to each second crowd combination;
and selecting the second people group corresponding to the maximum weight value as the target people group.
6. The content recommendation method according to claim 1, wherein said determining a target combination according to the target number range comprises:
and if the target number range is a first preset number range, determining that the permutation and combination mode is the target combination mode.
7. The method according to claim 6, wherein the determining a target group according to the target combination, the number of users, and the gender and age corresponding to each user comprises:
generating a plurality of first person group combinations according to the number of the users and the arrangement combination mode;
and determining a target population according to the plurality of first population combinations and the corresponding gender and age of each user.
8. A content recommendation apparatus characterized by comprising:
the acquisition module is used for acquiring the number of users in a target range and the corresponding gender and age of each user;
the first determining module is used for determining a target quantity range to which the user quantity belongs;
the second determining module is used for determining a target combination mode according to the target number range and determining a target crowd according to the target combination mode, the number of the users and the gender and age corresponding to each user;
and the recommending module is used for recommending corresponding content to the target crowd.
9. An electronic device, comprising:
a memory storing executable program code, a processor coupled with the memory;
the processor calls the executable program code stored in the memory to perform the steps in the content recommendation method according to any one of claims 1 to 7.
10. A computer-readable storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the content recommendation method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111298335.2A CN114065023A (en) | 2021-11-04 | 2021-11-04 | Content recommendation method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111298335.2A CN114065023A (en) | 2021-11-04 | 2021-11-04 | Content recommendation method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114065023A true CN114065023A (en) | 2022-02-18 |
Family
ID=80273644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111298335.2A Pending CN114065023A (en) | 2021-11-04 | 2021-11-04 | Content recommendation method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114065023A (en) |
-
2021
- 2021-11-04 CN CN202111298335.2A patent/CN114065023A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108958633B (en) | Split screen display method and device, storage medium and electronic equipment | |
KR102673702B1 (en) | Providing Method for feedback and Electronic device supporting the same | |
EP3961427A1 (en) | Display control method and terminal device | |
CN103729156A (en) | Display control device and display control method | |
CN110866038A (en) | Information recommendation method and terminal equipment | |
WO2018133681A1 (en) | Method and device for sorting search results, server and storage medium | |
CN108616448B (en) | Information sharing path recommendation method and mobile terminal | |
CN114203119B (en) | Display control method, display control device, electronic equipment and storage medium | |
WO2018120169A1 (en) | Method for automatically setting wallpaper, terminal device and graphical user interface | |
CN108874906B (en) | Information recommendation method and terminal | |
WO2020125405A1 (en) | Control method for terminal apparatus, and terminal apparatus | |
US20240118851A1 (en) | Method and device of controlling display of terminal information, terminal, and storage medium | |
CN111444425A (en) | Information pushing method, electronic equipment and medium | |
US20230092801A1 (en) | Power display method and apparatus, and electronic device | |
CN109816679A (en) | A kind of image processing method and terminal device | |
CN106843634A (en) | Screen display method of adjustment and system | |
CN107609146B (en) | Information display method and device, terminal and server | |
CN109815349A (en) | A kind of information acquisition method and terminal device | |
CN106886351B (en) | Display method and device of terminal time information and computer equipment | |
KR20220114082A (en) | Display method and electronic device | |
CN111930509A (en) | Data processing method and device for intelligent glasses, storage medium and electronic equipment | |
CN109144860B (en) | Operation method for control object and terminal equipment | |
CN114065023A (en) | Content recommendation method and device, electronic equipment and storage medium | |
CN111381753B (en) | Multimedia file playing method and electronic equipment | |
CN111796980B (en) | Data processing method and device, electronic equipment and storage medium |
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 |