CN114329000A - Resource recommendation method and device, storage medium and electronic equipment - Google Patents

Resource recommendation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114329000A
CN114329000A CN202111569879.8A CN202111569879A CN114329000A CN 114329000 A CN114329000 A CN 114329000A CN 202111569879 A CN202111569879 A CN 202111569879A CN 114329000 A CN114329000 A CN 114329000A
Authority
CN
China
Prior art keywords
poster
resource
information
verification
media
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
CN202111569879.8A
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.)
Shenzhen Leiniao Network Media Co ltd
Original Assignee
Shenzhen Leiniao Network Media 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 Shenzhen Leiniao Network Media Co ltd filed Critical Shenzhen Leiniao Network Media Co ltd
Priority to CN202111569879.8A priority Critical patent/CN114329000A/en
Publication of CN114329000A publication Critical patent/CN114329000A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a resource recommendation method, a resource recommendation device, a storage medium and electronic equipment, and relates to the technical field of internet, wherein the method comprises the following steps: acquiring a media resource to be recommended and poster information corresponding to the media resource; acquiring a resource publishing strategy corresponding to the media resource, and analyzing and processing the resource publishing strategy to determine a message queue matched with the poster information; sending the poster information to the message queue, triggering a message consumption service to perform poster verification based on the poster information according to a verification strategy corresponding to the message queue, and generating a verification result; and displaying the poster corresponding to the poster information according to the verification result so as to recommend the media resource. The poster verification method and device improve poster verification efficiency and verification mode expandability in the resource recommendation process, and improve resource recommendation stability.

Description

Resource recommendation method and device, storage medium and electronic equipment
Technical Field
The application relates to the technical field of internet, in particular to a resource recommendation method, a resource recommendation device, a storage medium and electronic equipment.
Background
The media resource recommendation platform acquires a large number of media resources to be recommended, and the media resources usually have a demand for user recommendation. At present, when media resources are recommended, verification of recommended posters is generally needed, and recommendation can be performed after verification passes, however, when poster verification is performed, a unified and fixed verification mode is generally executed, unnecessary redundancy verification work often occurs, overall verification efficiency is low, the verification mode is difficult to expand, and then stability of resource recommendation is poor.
Disclosure of Invention
The embodiment of the application provides a resource recommendation scheme, which can effectively improve poster verification efficiency and verification mode expandability in a resource recommendation process, and improve resource recommendation stability.
In order to solve the above technical problem, an embodiment of the present application provides the following technical solutions:
according to one embodiment of the application, a resource recommendation method comprises the following steps: acquiring a media resource to be recommended and poster information corresponding to the media resource; acquiring a resource publishing strategy corresponding to the media resource, and analyzing and processing the resource publishing strategy to determine a message queue matched with the poster information; sending the poster information to the message queue, triggering a message consumption service to perform poster verification based on the poster information according to a verification strategy corresponding to the message queue, and generating a verification result; and displaying the poster corresponding to the poster information according to the verification result so as to recommend the media resource.
In some embodiments of the present application, the obtaining a resource publishing policy corresponding to the media resource includes: classifying the media resources to obtain resource categories corresponding to the media resources; and acquiring a resource publishing strategy corresponding to the media resource according to the resource category.
In some embodiments of the present application, the classifying the media resource to obtain a resource category corresponding to the media resource includes: and carrying out source party classification processing on the media resources to obtain resource issuers corresponding to the media resources, and forming the resource categories.
In some embodiments of the present application, the classifying the media resource to obtain a resource category corresponding to the media resource includes: and carrying out importance classification processing on the media resources to obtain resource importance information corresponding to the media resources, and forming the resource category.
In some embodiments of the present application, the message queue comprises a first message queue; the triggering message consumption service carries out poster verification based on the poster information according to a verification strategy corresponding to the message queue, and the poster verification method comprises the following steps: triggering a message consumption service to acquire the poster information from the first message queue; when the poster information does not include poster summary information or includes updated poster links, downloading the poster according to the poster links in the poster information; performing information abstract calculation processing on the poster to obtain poster abstract information of the poster; and performing information matching verification on the poster abstract information.
In some embodiments of the present application, the message queue comprises a second message queue; the triggering message consumption service carries out poster verification based on the poster information according to a verification strategy corresponding to the message queue, and the poster verification method comprises the following steps: triggering a message consumption service to acquire the occurrence frequency of the poster information from the second message queue; when the occurrence frequency is higher than a preset threshold value, downloading the poster according to the poster link in the poster information; performing information abstract calculation processing on the poster to obtain poster abstract information of the poster; and performing information matching verification on the poster abstract information.
In some embodiments of the application, the displaying the poster corresponding to the poster information to recommend the media resource according to the verification result includes: and when the verification result is that the information is verified to pass, displaying the poster corresponding to the poster information at the target position to recommend the media resource.
According to an embodiment of the present application, a resource recommendation apparatus includes: the system comprises a first acquisition module, a second acquisition module and a recommendation module, wherein the first acquisition module is used for acquiring media resources to be recommended and poster information corresponding to the media resources; the second acquisition module is used for acquiring a resource publishing strategy corresponding to the media resource and analyzing the resource publishing strategy to determine a message queue matched with the poster information; the verification module is used for sending the poster information to the message queue, triggering the message consumption service to perform information verification based on the poster information according to a verification strategy corresponding to the message queue, and generating a verification result; and the recommending module is used for displaying the poster corresponding to the poster information according to the checking result so as to recommend the media resource.
According to another embodiment of the present application, a storage medium has stored thereon a computer program which, when executed by a processor of a computer, causes the computer to perform the method of an embodiment of the present application.
According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and the processor reads the computer program stored in the memory to execute the method in the embodiment of the application.
In the embodiment of the application, media resources to be recommended and poster information corresponding to the media resources are obtained; acquiring a resource publishing strategy corresponding to the media resource, and analyzing and processing the resource publishing strategy to determine a message queue matched with the poster information; sending the poster information to the message queue, triggering a message consumption service to perform poster verification based on the poster information according to a verification strategy corresponding to the message queue, and generating a verification result; and displaying the poster corresponding to the poster information according to the verification result so as to recommend the media resource.
In this way, for the obtained poster information corresponding to the media resource, the message queue matched with the poster information is determined based on the resource publishing strategy corresponding to the media resource, the message consumption service conducts poster verification based on the poster information according to the verification strategy corresponding to the message queue, and the poster information distribution and sub-verification strategies are verified based on the message queue middleware, so that poster verification efficiency and expandability of the verification mode in the resource recommendation process are effectively improved, and stability of resource 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 shows a schematic diagram of a system to which embodiments of the present application may be applied.
FIG. 2 shows a flow diagram of a resource recommendation method according to an embodiment of the application.
FIG. 3 shows a block diagram of a resource recommendation device according to an embodiment of the present application.
FIG. 4 shows a block diagram of an electronic device according to an embodiment of the 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 description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, the principles of the present application are described in the foregoing text and are not meant to be limiting, as those of ordinary skill in the art will appreciate that various steps and operations described below may be implemented in hardware.
FIG. 1 shows a schematic diagram of a system 100 to which embodiments of the present application may be applied. As shown in fig. 1, the system 100 may include a server 101, a server 102, and a terminal 103. The terminal 103 may be any computer device, such as a computer, a mobile phone, a smart watch, a home appliance, and the like. The servers 101 and 102 may be a server cluster or a cloud service, etc.
In one implementation of this example, the server 101 may: acquiring a media resource to be recommended and poster information corresponding to the media resource; acquiring a resource publishing strategy corresponding to the media resource, and analyzing and processing the resource publishing strategy to determine a message queue matched with the poster information; sending the poster information to the message queue, triggering a message consumption service to perform poster verification based on the poster information according to a verification strategy corresponding to the message queue, and generating a verification result; and displaying the poster corresponding to the poster information according to the verification result so as to recommend the media resource.
The server 101 may be a server of a resource recommendation platform, the server 102 may be a server of a source of a resource, and the server 101 may receive a media resource and poster information corresponding to the media resource sent by the server 102, so that the server 101 acquires the media resource to be recommended and the poster information corresponding to the media resource. The server 101 may display the poster corresponding to the poster information in the terminal 103 according to the verification result to recommend the media resource.
FIG. 2 schematically shows a flow diagram of a resource recommendation method according to an embodiment of the application. The execution subject of the resource recommendation method may be any device, such as the server 101 shown in fig. 1.
As shown in fig. 2, the resource recommendation method may include steps S210 to S240.
Step S210, obtaining a media resource to be recommended and poster information corresponding to the media resource;
step S220, acquiring a resource publishing strategy corresponding to the media resource, and analyzing the resource publishing strategy to determine a message queue matched with the poster information;
step S230, sending the poster information to the message queue, triggering a message consumption service to carry out poster verification based on the poster information according to a verification strategy corresponding to the message queue, and generating a verification result;
and step S240, displaying the poster corresponding to the poster information according to the verification result so as to recommend the media resource.
Media assets are assets for multimedia, such as video assets and music assets. Poster information is the relevant information of the poster, i.e. the picture showing the relevant information of the media resource, poster information can be poster links or poster descriptive information (such as the md5 value of the poster) and the like.
Typically, a platform on the source side of the media asset (e.g., server 102 shown in fig. 1) will actively push the media asset and poster information for the media asset.
The resource publishing policy is a policy for publishing media resources, and the resource publishing policy may include a resource publishing policy corresponding to a resource publisher and a resource publishing policy corresponding to the importance of resources. The resource issuing policy specifically includes a resource issuing frequency, an update frequency when the resource is issued, and the like.
The key information in the resource issuing strategy, namely the issuing evaluation rate, the updating frequency and the like can be determined by analyzing the resource issuing strategy. And then, according to the preset corresponding relation between the key information and the message queue, determining the message queue corresponding to the key information in the resource publishing strategy, namely the message queue matched with the poster information.
It will be appreciated that there may be a plurality of media resources, each media resource corresponding to a poster information, each media resource corresponding to a resource publishing policy, and each poster information determining a corresponding matching message queue.
The message consumption service is a system service (such as a monitoring program) which monitors the consumption queue and performs verification processing. The verification strategy is a strategy for verifying the poster (such as a strategy for verifying frequency and the like), and each message queue corresponds to one verification strategy. Poster check is the work such as the security and the legitimacy of check poster promptly.
After the matched message queue is determined, the poster information is sent to the matched message queue, so that the message consumption service can be triggered to carry out poster verification based on the poster information according to the verification strategy corresponding to the message queue, and a verification result, such as legal or illegal, is generated.
And finally, determining to display the poster corresponding to the poster information according to the verification result so as to recommend the media resource. For example, when the verification result is illegal, the poster corresponding to the poster information is not displayed; and when the verification result is legal, displaying the poster corresponding to the poster information.
In this way, based on steps S210 to S240, for the obtained poster information corresponding to the media resource, a message queue matched with the poster information is determined based on a resource publishing policy corresponding to the media resource, the message consumption service performs poster verification based on the poster information according to a verification policy corresponding to the message queue, and verifies the poster information distribution and sub-verification policies based on the message queue middleware, so that efficiency of poster verification and expandability of a verification manner in a resource recommendation process are effectively improved, and stability of resource recommendation is improved.
The following describes a specific process of each step performed when resource recommendation is performed.
In step S210, a media resource to be recommended and poster information corresponding to the media resource are acquired.
In the embodiment of the present example, the media resources are multimedia resources, such as video resources and music resources. Poster information is the relevant information of the poster, i.e. the picture showing the relevant information of the media resource, poster information can be poster links or poster descriptive information (such as the md5 value of the poster) and the like.
Usually, a platform (e.g., the server 102 shown in fig. 1) on a source side of a media resource actively pushes the media resource and poster information of the media resource, and the platform on the source side can locally interface with the platform on the source side to receive the media resource and poster information of the media resource pushed by the platform on the source side.
In step S220, a resource publishing policy corresponding to the media resource is obtained, and the resource publishing policy is analyzed to determine the message queue matched with the poster information.
In the embodiment of this example, the resource publishing policy is a policy for publishing a media resource, and the resource publishing policy may include a resource publishing policy corresponding to a resource publisher and a resource publishing policy corresponding to importance of a resource. The resource issuing policy specifically includes a resource issuing frequency, an update frequency when the resource is issued, and the like.
The key information in the resource issuing strategy, namely the issuing evaluation rate, the updating frequency and the like can be determined by analyzing the resource issuing strategy. And then, according to the preset corresponding relation between the key information and the message queue, determining the message queue corresponding to the key information in the resource publishing strategy, namely the message queue matched with the poster information.
It will be appreciated that there may be a plurality of media resources, each media resource corresponding to a poster information, each media resource corresponding to a resource publishing policy, and each poster information determining a corresponding matching message queue.
In one embodiment, in step S220, the obtaining of the resource publishing policy corresponding to the media resource includes: classifying the media resources to obtain resource categories corresponding to the media resources; and acquiring a resource publishing strategy corresponding to the media resource according to the resource category.
For the acquired media resources, category-related information of the media resource calibration, such as resource importance level information or resource source-side related information, may be extracted, and the resource category of the media resources is determined based on the category information.
The resource publishing policy corresponding to the media resource may be obtained according to the resource category, where the resource category meets a specific condition (for example, the resource is from a specific source or the resource importance is higher than a predetermined threshold value). The resource publishing policy corresponding to the media resource may be locally requested to be obtained from a source of the resource, or locally obtained from a policy set pre-stored locally. Therefore, the resource issuing strategy is obtained according to the resource category, and the reliability of the steps of analyzing set matching and the like of the resource issuing strategy in the subsequent steps is further improved.
In an embodiment, the classifying the media resource to obtain a resource category corresponding to the media resource includes: and carrying out source party classification processing on the media resources to obtain resource issuers corresponding to the media resources, and forming the resource categories.
The media resources are subjected to source side classification processing, which may be that a resource publisher corresponding to the media resources is determined based on source side information by obtaining source side information calibrated by the media resources, for example, it is determined that the media resources are published by resource publishers such as Tencent or network easter, the resource publishers are used as resource categories, the resources are classified from the perspective of the resource publishers, and when a large number of sources are faced, the efficiency of poster verification can be effectively improved by determining to obtain a resource publishing strategy based on the source sides.
In an embodiment, the classifying the media resource to obtain a resource category corresponding to the media resource includes: and carrying out importance classification processing on the media resources to obtain resource importance information corresponding to the media resources, and forming the resource category.
The importance classification processing of the media resources may be to determine resource importance information corresponding to the media resources based on importance information of the media resources specified by the resource publisher, or to determine resource importance information corresponding to the media resources based on local media resource classification requirements. The resource importance information is information describing the importance of the media resource, such as importance level or importance score, and the resource importance information is used as a resource category, so that a resource publishing strategy can be determined and obtained based on the resource importance, and the poster verification efficiency can be improved from the resource importance point of view.
In step S230, the poster information is sent to the message queue, and the message consumption service is triggered to perform poster verification based on the poster information according to a verification policy corresponding to the message queue, so as to generate a verification result.
In the embodiment of the present example, the message consumption service is a system service (e.g., a monitoring program) that monitors the consumption queue and performs verification processing. The verification strategy is a strategy for verifying the poster (such as a strategy for verifying frequency and the like), and each message queue corresponds to one verification strategy. Poster check is the work such as the security and the legitimacy of check poster promptly. The verification result is the result describing whether the poster corresponding to the poster information is legal or safe.
In one embodiment, the message queue comprises a first message queue; in step S230, the triggering message consumption service performs poster verification based on the poster information according to the verification policy corresponding to the message queue, including:
triggering a message consumption service to acquire the poster information from the first message queue; when the poster information does not include poster summary information or includes updated poster links, downloading the poster according to the poster links in the poster information; performing information abstract calculation processing on the poster to obtain poster abstract information of the poster; and performing information matching verification on the poster abstract information.
The poster information does not include poster summary information or includes an updated poster link, that is, the poster information does not include poster summary information (that is, md5 value of poster picture) and includes a poster link, or the poster information includes only an updated poster link (the historical poster link corresponding to the resource publisher of the media resource (the historical poster link can be the poster link in the poster information received last time before the received poster information this time) is compared with the poster link in the poster information, and whether the poster link in the poster information is the updated poster link is determined, that is, the comparison is consistent, the poster link is not updated, and the inconsistency is updated).
When the poster information is placed in the first message queue, the message consumption service can perform poster verification based on the poster information according to a verification strategy corresponding to the first message queue. Specifically, a verification strategy corresponding to the first message queue downloads the poster according to the poster link in the poster information, information abstract calculation processing is carried out on the poster to obtain poster abstract information of the poster, and information matching verification is carried out on the poster abstract information.
The poster abstract information of the poster can be extracted based on the md5 abstract algorithm, and then information matching verification is carried out by comparing the extracted poster abstract information with legal or safe abstract information and the like, so as to obtain a verification result.
In one embodiment, the message queue comprises a second message queue; the triggering message consumption service carries out poster verification based on the poster information according to a verification strategy corresponding to the message queue, and the poster verification method comprises the following steps:
triggering a message consumption service to acquire the occurrence frequency of the poster information from the second message queue; when the occurrence frequency is higher than a preset threshold value, downloading the poster according to the poster link in the poster information; performing information abstract calculation processing on the poster to obtain poster abstract information of the poster; and performing information matching verification on the poster abstract information.
The resource publisher can send repeated poster information at a high frequency, and the message consumption service can further improve the reliability of poster verification by acquiring the occurrence frequency of the poster information from the second message queue, downloading the poster when the occurrence frequency is higher than a preset threshold value, and performing subsequent processing.
In step S240, the poster corresponding to the poster information is displayed according to the verification result to recommend the media resource.
In the embodiment of the present example, displaying the poster corresponding to the poster information to recommend the media resource may be pushing the poster to a target terminal or a platform to display, and then recommending the media resource. And displaying the poster when the verification result is a target result of legality or safety and the like according to the verification result.
In one embodiment, in step S240, the displaying the poster corresponding to the poster information to recommend the media resource according to the verification result includes: and when the verification result is that the information is verified to pass, displaying the poster corresponding to the poster information at the target position to recommend the media resource.
The verification result is that the information is verified to pass, in one example, the poster is legal or safe, and in another example, the poster meets the target display condition (for example, poster updating), and the like. The target location may be a target terminal or a target platform.
In order to better implement the resource recommendation method provided by the embodiment of the present application, the embodiment of the present application further provides a resource recommendation device based on the resource recommendation method. The terms are the same as those in the resource recommendation method, and specific implementation details can refer to the description in the method embodiment. FIG. 3 shows a block diagram of a resource recommendation device according to an embodiment of the present application.
As shown in fig. 3, the resource recommendation apparatus 300 may include a first obtaining module 310, a second obtaining module 320, a verifying module 330, and a recommending module 340.
The first obtaining module 310 may be configured to obtain a media resource to be recommended and poster information corresponding to the media resource; the second obtaining module 320 may be configured to obtain a resource publishing policy corresponding to the media resource, and perform parsing processing on the resource publishing policy to determine a message queue matching the poster information; the verification module 330 may be configured to send the poster information to the message queue, trigger the message consumption service to perform information verification based on the poster information according to a verification policy corresponding to the message queue, and generate a verification result; the recommending module 340 may be configured to display the poster corresponding to the poster information according to the verification result to recommend the media resource.
In some embodiments of the present application, the second obtaining module 320 includes: the classification unit is used for classifying the media resources to obtain resource categories corresponding to the media resources; and the acquisition unit is used for acquiring the resource publishing strategy corresponding to the media resource according to the resource category.
In some embodiments of the present application, the classifying unit is configured to perform source-side classification processing on the media resource to obtain a resource publisher corresponding to the media resource, and form the resource category.
In some embodiments of the present application, the classifying unit is configured to perform importance classification processing on the media resource, obtain resource importance information corresponding to the media resource, and form the resource category.
In some embodiments of the present application, the message queue comprises a first message queue; the checking module 330 includes a first checking unit, configured to: triggering a message consumption service to acquire the poster information from the first message queue; when the poster information does not include poster summary information or includes updated poster links, downloading the poster according to the poster links in the poster information; performing information abstract calculation processing on the poster to obtain poster abstract information of the poster; and performing information matching verification on the poster abstract information.
In some embodiments of the present application, the message queue comprises a second message queue; the checking module 330 includes a second checking unit, configured to: triggering a message consumption service to acquire the occurrence frequency of the poster information from the second message queue; when the occurrence frequency is higher than a preset threshold value, downloading the poster according to the poster link in the poster information; performing information abstract calculation processing on the poster to obtain poster abstract information of the poster; and performing information matching verification on the poster abstract information.
In some embodiments of the present application, the recommendation module 340 is configured to: and when the verification result is that the information is verified to pass, displaying the poster corresponding to the poster information at the target position to recommend the media resource.
In this way, based on the resource recommendation device 300, for the obtained poster information corresponding to the media resource, the message queue matched with the poster information is determined based on the resource publishing strategy corresponding to the media resource, the message consumption service performs poster verification based on the poster information according to the verification strategy corresponding to the message queue, and verifies the poster information distribution and sub-verification strategy based on the message queue middleware, so that the poster verification efficiency and the expandability of the verification mode in the resource recommendation process are effectively improved, and the resource recommendation stability is improved.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, an embodiment of the present application further provides an electronic device, where the electronic device may be a terminal or a server, as shown in fig. 4, which shows a schematic structural diagram of the electronic device according to the embodiment of the present application, and specifically:
the electronic device may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, and an input unit 404. 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 processor 401 is a control center of the electronic device, connects various parts of the entire computer device using various interfaces and lines, and performs various functions of the computer device and processes data by operating or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the electronic device. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles operating systems, user pages, application programs, and the like, and the modem processor mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 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 created according to use of the computer device, and the like. Further, the memory 402 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 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The electronic device further comprises a power supply 403 for supplying power to the various components, and preferably, the power supply 403 is logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are realized through the power management system. The power supply 403 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.
The electronic device may further include an input unit 404, and the input unit 404 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.
Although not shown, the electronic device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable file corresponding to the process of one or more computer programs into the memory 402 according to the following instructions, and the processor 401 runs the computer program stored in the memory 402, so as to implement various functions, for example, the processor 401 may execute the following steps:
acquiring a media resource to be recommended and poster information corresponding to the media resource; acquiring a resource publishing strategy corresponding to the media resource, and analyzing and processing the resource publishing strategy to determine a message queue matched with the poster information; sending the poster information to the message queue, triggering a message consumption service to perform poster verification based on the poster information according to a verification strategy corresponding to the message queue, and generating a verification result; and displaying the poster corresponding to the poster information according to the verification result so as to recommend the media resource.
In some embodiments of the present application, when obtaining the resource publishing policy corresponding to the media resource, the processor 401 may execute: classifying the media resources to obtain resource categories corresponding to the media resources; and acquiring a resource publishing strategy corresponding to the media resource according to the resource category.
In some embodiments of the present application, when classifying the media resource to obtain a resource category corresponding to the media resource, the processor 401 may execute: and carrying out source party classification processing on the media resources to obtain resource issuers corresponding to the media resources, and forming the resource categories.
In some embodiments of the present application, when classifying the media resource to obtain a resource category corresponding to the media resource, the processor 401 may execute: and carrying out importance classification processing on the media resources to obtain resource importance information corresponding to the media resources, and forming the resource category.
In some embodiments of the present application, the message queue comprises a first message queue; when the trigger message consumption service performs poster verification based on the poster information according to the verification policy corresponding to the message queue, the processor 401 may execute: triggering a message consumption service to acquire the poster information from the first message queue; when the poster information does not include poster summary information or includes updated poster links, downloading the poster according to the poster links in the poster information; performing information abstract calculation processing on the poster to obtain poster abstract information of the poster; and performing information matching verification on the poster abstract information.
In some embodiments of the present application, the message queue comprises a second message queue; when the trigger message consumption service performs poster verification based on the poster information according to the verification policy corresponding to the message queue, the processor 401 may execute: triggering a message consumption service to acquire the occurrence frequency of the poster information from the second message queue; when the occurrence frequency is higher than a preset threshold value, downloading the poster according to the poster link in the poster information; performing information abstract calculation processing on the poster to obtain poster abstract information of the poster; and performing information matching verification on the poster abstract information.
In some embodiments of the present application, when displaying the poster corresponding to the poster information to recommend the media resource according to the verification result, the processor 401 may perform: and when the verification result is that the information is verified to pass, displaying the poster corresponding to the poster information at the target position to recommend the media resource.
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 a computer program, which may be stored in a computer-readable storage medium and loaded and executed by a processor, or by related hardware controlled by the computer program.
To this end, the present application further provides a storage medium, in which a computer program is stored, where the computer program can be loaded by a processor to execute the steps in any one of the methods provided in the present application.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium can execute the steps in any method provided in the embodiments of the present application, the beneficial effects that can be achieved by the methods provided in the embodiments of the present application can be achieved, for details, see the foregoing embodiments, and are not described herein again.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It will be understood that the present application is not limited to the embodiments that have been described above and shown in the drawings, but that various modifications and changes can be made without departing from the scope thereof.

Claims (10)

1. A resource recommendation method, comprising:
acquiring a media resource to be recommended and poster information corresponding to the media resource;
acquiring a resource publishing strategy corresponding to the media resource, and analyzing and processing the resource publishing strategy to determine a message queue matched with the poster information;
sending the poster information to the message queue, triggering a message consumption service to perform poster verification based on the poster information according to a verification strategy corresponding to the message queue, and generating a verification result;
and displaying the poster corresponding to the poster information according to the verification result so as to recommend the media resource.
2. The method according to claim 1, wherein the obtaining of the resource publishing policy corresponding to the media resource comprises:
classifying the media resources to obtain resource categories corresponding to the media resources;
and acquiring a resource publishing strategy corresponding to the media resource according to the resource category.
3. The method according to claim 2, wherein the classifying the media resource to obtain a resource category corresponding to the media resource comprises:
and carrying out source party classification processing on the media resources to obtain resource issuers corresponding to the media resources, and forming the resource categories.
4. The method according to claim 2, wherein the classifying the media resource to obtain a resource category corresponding to the media resource comprises:
and carrying out importance classification processing on the media resources to obtain resource importance information corresponding to the media resources, and forming the resource category.
5. The method of claim 1, wherein the message queue comprises a first message queue; the triggering message consumption service carries out poster verification based on the poster information according to a verification strategy corresponding to the message queue, and the poster verification method comprises the following steps:
triggering a message consumption service to acquire the poster information from the first message queue;
when the poster information does not include poster summary information or includes updated poster links, downloading the poster according to the poster links in the poster information;
performing information abstract calculation processing on the poster to obtain poster abstract information of the poster;
and performing information matching verification on the poster abstract information.
6. The method of claim 1, wherein the message queue comprises a second message queue; the triggering message consumption service carries out poster verification based on the poster information according to a verification strategy corresponding to the message queue, and the poster verification method comprises the following steps:
triggering a message consumption service to acquire the occurrence frequency of the poster information from the second message queue;
when the occurrence frequency is higher than a preset threshold value, downloading the poster according to the poster link in the poster information;
performing information abstract calculation processing on the poster to obtain poster abstract information of the poster;
and performing information matching verification on the poster abstract information.
7. The method of claim 1, wherein displaying the poster corresponding to the poster information to recommend the media resource according to the verification result comprises:
and when the verification result is that the information is verified to pass, displaying the poster corresponding to the poster information at the target position to recommend the media resource.
8. A resource recommendation device, comprising:
the system comprises a first acquisition module, a second acquisition module and a recommendation module, wherein the first acquisition module is used for acquiring media resources to be recommended and poster information corresponding to the media resources;
the second acquisition module is used for acquiring a resource publishing strategy corresponding to the media resource and analyzing the resource publishing strategy to determine a message queue matched with the poster information;
the verification module is used for sending the poster information to the message queue, triggering the message consumption service to perform information verification based on the poster information according to a verification strategy corresponding to the message queue, and generating a verification result;
and the recommending module is used for displaying the poster corresponding to the poster information according to the checking result so as to recommend the media resource.
9. A storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to carry out the method of any one of claims 1 to 7.
10. An electronic device, comprising: a memory storing a computer program; a processor reading a computer program stored in the memory to perform the method of any of claims 1 to 7.
CN202111569879.8A 2021-12-21 2021-12-21 Resource recommendation method and device, storage medium and electronic equipment Pending CN114329000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111569879.8A CN114329000A (en) 2021-12-21 2021-12-21 Resource recommendation method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111569879.8A CN114329000A (en) 2021-12-21 2021-12-21 Resource recommendation method and device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN114329000A true CN114329000A (en) 2022-04-12

Family

ID=81053791

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111569879.8A Pending CN114329000A (en) 2021-12-21 2021-12-21 Resource recommendation method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114329000A (en)

Similar Documents

Publication Publication Date Title
CN111314723B (en) Display method, device, electronic equipment and storage medium
CN108418787B (en) Method for acquiring enterprise resource planning data, terminal device and medium
CN110222107B (en) Data transmission method and related equipment
CN105389177A (en) Software version confirmation method, device and system
CN111181770B (en) Resource allocation method, system, electronic equipment and storage medium
WO2007054129A1 (en) A system for maintaining data
CN111708771A (en) Data duplicate checking method, device, equipment and computer storage medium
CN111880826A (en) Cloud service application upgrading method and device, electronic equipment and storage medium
CN105786636B (en) A kind of system repair and device
CN112163412A (en) Data verification method and device, electronic equipment and storage medium
CN109472540B (en) Service processing method and device
US8719622B2 (en) Recording and preventing crash in an appliance
CN113986296A (en) Firmware upgrading method and device, electronic equipment and storage medium
CN111310242B (en) Method and device for generating device fingerprint, storage medium and electronic device
CN113037850A (en) Application program upgrading method and device, electronic equipment and storage medium
CN111722994A (en) Task request response method and device
CN111090442A (en) Application updating method and device and storage medium
CN114329000A (en) Resource recommendation method and device, storage medium and electronic equipment
CN114331446B (en) Method, device, equipment and medium for realizing out-of-chain service of block chain
CN115712571A (en) Interactive service test device, interactive service test device, computer equipment and storage medium
CN115495770A (en) Block chain based overdue contract processing method and device, equipment and medium
CN111198986B (en) Information transmission method, device, electronic equipment and storage medium
CN112667491B (en) Function test method and device for virtual machine
CN113868531A (en) Information acquisition method and device, electronic device and medium
CN109656535B (en) Voice skill off-line development method based on browser

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