Resource recommendation method, device, storage medium and electronic device

By obtaining the poster information and publishing strategy of media resources, determining the message queue and performing verification, the problems of low efficiency and poor stability of poster verification are solved, and an efficient resource recommendation process is achieved.

CN114329000BActive Publication Date: 2025-09-09SHENZHEN FALCON NETWORK MEDIA CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111569879.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-21
Publication Date
2025-09-09
Estimated Expiration
2041-12-21

AI Technical Summary

Technical Problem

In the prior art, poster verification efficiency during media resource recommendation is low and the verification method is difficult to expand, resulting in poor stability of resource recommendation.

Method used

By obtaining the poster information and resource publishing strategy of the media resource, the matching message queue is determined, and the message consumption service is triggered to perform poster verification according to the verification strategy, generate the verification result, and display the legal poster to recommend the media resource.

Benefits of technology

The efficiency of poster verification and the scalability of the verification method have been improved, and the stability of resource recommendations has been improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114329000B_ABST
    Figure CN114329000B_ABST
Patent Text Reader

Abstract

The present application discloses a resource recommendation method, device, storage medium and electronic device, which relates to the field of Internet technology. The method includes: obtaining the media resource to be recommended and the poster information corresponding to the media resource; obtaining the resource release policy corresponding to the media resource, and parsing and processing the resource release policy to determine the message queue that matches the poster information; sending the poster information to the message queue, triggering the message consumption service to perform poster verification based on the poster information according to the verification policy corresponding to the message queue, and generating a verification result; based on the verification result, displaying the poster corresponding to the poster information to recommend the media resource. The present application improves the efficiency of poster verification and the scalability of the verification method in the resource recommendation process, and improves the stability of resource recommendation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and specifically to a resource recommendation method, device, storage medium, and electronic device. Background Art

[0002] Media resource recommendation platforms receive a large number of media resources to recommend, often requiring recommendations from users. Currently, when recommending media resources, poster verification is typically required. Only after verification passes can recommendations be made. However, this poster verification typically uses a fixed, unified verification method, often leading to unnecessary redundant verification work, low overall verification efficiency, and difficulty scalability, resulting in poor resource recommendation stability. Summary of the Invention

[0003] The embodiment of the present application provides a resource recommendation solution, which can effectively improve the efficiency of poster verification and the scalability of the verification method during the resource recommendation process, and improve the stability of resource recommendation.

[0004] To solve the above technical problems, the embodiments of the present application provide the following technical solutions:

[0005] According to one embodiment of the present application, a resource recommendation method includes: obtaining a media resource to be recommended and poster information corresponding to the media resource; obtaining a resource publishing policy corresponding to the media resource, and parsing the resource publishing policy to determine a message queue that matches 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 the verification policy corresponding to the message queue, and generating a verification result; based on the verification result, displaying a poster corresponding to the poster information to recommend the media resource.

[0006] In some embodiments of the present application, obtaining the resource publishing policy corresponding to the media resource includes: classifying the media resource to obtain the resource category corresponding to the media resource; and obtaining the resource publishing policy corresponding to the media resource according to the resource category.

[0007] In some embodiments of the present application, the classifying the media resources to obtain the resource category corresponding to the media resources includes: classifying the media resources by source to obtain the resource publisher corresponding to the media resources to form the resource category.

[0008] In some embodiments of the present application, the classifying the media resources to obtain the resource categories corresponding to the media resources includes: classifying the media resources by importance to obtain resource importance information corresponding to the media resources to form the resource categories.

[0009] In some embodiments of the present application, the message queue includes a first message queue; the triggered message consumption service performs poster verification based on the poster information according to the verification strategy corresponding to the message queue, including: the triggered message consumption service obtains the poster information from the first message queue; when the poster information does not include poster summary information or includes an updated poster link, downloads the poster according to the poster link in the poster information; performs information summary calculation processing on the poster to obtain the poster summary information of the poster; and performs information matching verification on the poster summary information.

[0010] In some embodiments of the present application, the message queue includes a second message queue; the triggered message consumption service performs poster verification based on the poster information according to the verification strategy corresponding to the message queue, including: the triggered message consumption service obtains the frequency of occurrence of the poster information from the second message queue; when the frequency of occurrence is higher than a predetermined threshold, downloads the poster according to the poster link in the poster information; performs information summary calculation on the poster to obtain the poster summary information of the poster; and performs information matching verification on the poster summary information.

[0011] In some embodiments of the present application, displaying a poster corresponding to the poster information to recommend the media resource based on the verification result includes: when the verification result is that the information verification is passed, displaying a poster corresponding to the poster information at a target location to recommend the media resource.

[0012] According to one embodiment of the present application, a resource recommendation device includes: a first acquisition module, used to obtain media resources to be recommended and poster information corresponding to the media resources; a second acquisition module, used to obtain a resource publishing policy corresponding to the media resources, and parse and process the resource publishing policy to determine a message queue that matches the poster information; a verification module, used to send the poster information to the message queue, triggering a message consumption service to perform information verification based on the poster information according to the verification policy corresponding to the message queue, and generate a verification result; a recommendation module, used to display a poster corresponding to the poster information according to the verification result to recommend the media resource.

[0013] According to another embodiment of the present application, a storage medium stores a computer program thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the method described in the embodiment of the present application.

[0014] According to another embodiment of the present application, an electronic device may include: a memory storing a computer program; and a processor reading the computer program stored in the memory to execute the method described in the embodiment of the present application.

[0015] In an embodiment of the present application, the media resource to be recommended and the poster information corresponding to the media resource are obtained; the resource release policy corresponding to the media resource is obtained, and the resource release policy is parsed and processed to determine the message queue that matches the poster information; the poster information is sent to the message queue, triggering the message consumption service to perform poster verification based on the poster information according to the verification policy corresponding to the message queue, and generate a verification result; based on the verification result, the poster corresponding to the poster information is displayed to recommend the media resource.

[0016] In this way, for the poster information corresponding to the acquired media resources, the message queue that matches the poster information is determined based on the resource publishing strategy corresponding to the media resources. The message consumption service performs poster verification based on the poster information according to the verification strategy corresponding to the message queue. The poster information is diverted and verified based on the message queue middleware, which effectively improves the efficiency of poster verification and the scalability of the verification method in the resource recommendation process, and improves the stability of resource recommendation. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0018] Figure 1 A schematic diagram of a system to which embodiments of the present application can be applied is shown.

[0019] Figure 2 A flowchart of a resource recommendation method according to an embodiment of the present application is shown.

[0020] Figure 3 A block diagram of a resource recommendation device according to an embodiment of the present application is shown.

[0021] Figure 4 A block diagram of an electronic device according to an embodiment of the present application is shown. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts are within the scope of protection of this application.

[0023] In the following description, the specific embodiments of the present application will be described with reference to steps and symbols performed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be referred to as being performed by a computer several times, and computer execution referred to herein includes the operation of a computer processing unit by electronic signals representing data in a structured form. This operation converts the data or maintains it at a location in the memory system of the computer, which can be reconfigured or otherwise change the operation of the computer in a manner familiar to those skilled in the art. The data structure in which the data is maintained is a physical location in the memory, which has specific characteristics defined by the data format. However, the principles of the present application are described in the above text, which does not represent a limitation, and those skilled in the art will understand that the various steps and operations described below can also be implemented in hardware.

[0024] Figure 1 Schematic diagram of a system 100 to which embodiments of the present application can be applied is shown. Figure 1 As shown, system 100 may include server 101, server 102, and terminal 103. Terminal 103 may be any computer device, such as a computer, mobile phone, smart watch, and home appliance. Server 101 and server 102 may be a server cluster or cloud service.

[0025] In one implementation of this example, the server 101 can: obtain the media resources to be recommended and the poster information corresponding to the media resources; obtain the resource publishing policy corresponding to the media resources, and parse and process the resource publishing policy to determine the message queue that matches the poster information; send the poster information to the message queue, trigger the message consumption service to perform poster verification based on the poster information according to the verification policy corresponding to the message queue, and generate a verification result; based on the verification result, display the poster corresponding to the poster information to recommend the media resource.

[0026] Among them, server 101 can be the server of the resource recommendation platform, server 102 can be the server of the source of the resource, server 101 can receive the media resource and the poster information corresponding to the media resource sent by server 102, and then server 101 obtains the media resource to be recommended and the poster information corresponding to the media resource. Based on the verification result, server 101 can display the poster corresponding to the poster information on terminal 103 to recommend the media resource.

[0027] Figure 2 The flowchart of the resource recommendation method according to an embodiment of the present application is schematically shown. The execution subject of the resource recommendation method can be any device, such as Figure 1 Server 101 is shown.

[0028] like Figure 2 As shown, the resource recommendation method may include steps S210 to S240.

[0029] Step S210: obtaining media resources to be recommended and poster information corresponding to the media resources;

[0030] Step S220: Obtain a resource publishing policy corresponding to the media resource, and parse the resource publishing policy to determine a message queue that matches the poster information;

[0031] Step S230: Send the poster information to the message queue, trigger the message consumption service to perform poster verification based on the poster information according to the verification strategy corresponding to the message queue, and generate a verification result;

[0032] Step S240: Based on the verification result, display the poster corresponding to the poster information to recommend the media resource.

[0033] Media resources are multimedia resources, such as video resources and music resources. Poster information is related information of the poster. The poster is an image that displays related information of the media resource. Poster information can be a poster link or poster description information (such as the poster's MD5 value).

[0034] Usually the platform where the media resources come from (such as Figure 1 The server 102 shown will actively push media resources and poster information of the media resources.

[0035] The resource release strategy is the strategy for releasing media resources. It can include the resource release strategy of the resource publisher and the resource release strategy of the resource importance. Specific resource release strategies include the resource release frequency and the update frequency of resource releases.

[0036] By parsing the resource release strategy, we can determine the key information in the resource release strategy, such as the release rating and update frequency. Then, based on the preset correspondence between the key information and the message queue, we can determine the message queue corresponding to the key information in the resource release strategy, that is, the message queue that matches the poster information.

[0037] It can be understood that there can be multiple media resources, each media resource corresponds to a poster information, each media resource can correspond to a resource publishing strategy, and each poster information can determine the corresponding matching message queue.

[0038] The message consumption service is a system service (e.g., a monitoring program) that monitors the consumption queue and performs verification processing. Verification strategies are strategies for verifying messages (e.g., verification frequency strategies). Each message queue corresponds to a verification strategy. Poster verification verifies the security and legality of messages.

[0039] After determining the matching message queue, the poster information is sent to the matching message queue, which can trigger the message consumption service to perform poster verification based on the poster information according to the verification strategy corresponding to the message queue and generate a verification result, such as legal or illegal.

[0040] Finally, the poster corresponding to the poster information is displayed based on the verification result to recommend media resources. For example, if the verification result is invalid, the poster corresponding to the poster information is not displayed; if the verification result is valid, the poster corresponding to the poster information is displayed.

[0041] In this way, based on steps S210 to S240, for the poster information corresponding to the acquired media resources, the message queue that matches the poster information is determined based on the resource publishing strategy corresponding to the media resources, and the message consumption service performs poster verification based on the poster information according to the verification strategy corresponding to the message queue. The poster information is diverted and verified based on the message queue middleware, which effectively improves the efficiency of poster verification and the scalability of the verification method in the resource recommendation process, and improves the stability of resource recommendation.

[0042] The following describes the specific process of each step when making resource recommendations.

[0043] In step S210, the media resource to be recommended and the poster information corresponding to the media resource are obtained.

[0044] In the embodiment of this example, media resources are multimedia resources, such as video resources and music resources, etc. Poster information is related information of a poster, and a poster is a picture showing related information of a media resource. Poster information can be a poster link or poster description information (such as the poster's MD5 value).

[0045] Usually the platform where the media resources come from (such as Figure 1 The server 102 shown will actively push media resources and poster information of media resources. The local computer can connect to the platform of the source party and receive the media resources and poster information of media resources pushed by the platform of the source party.

[0046] In step S220, a resource publishing policy corresponding to the media resource is obtained, and the resource publishing policy is parsed to determine a message queue that matches the poster information.

[0047] In this example implementation, the resource release policy is a policy for releasing media resources, which may include a resource release policy corresponding to the resource publisher and a resource release policy corresponding to the importance of the resource, etc. The resource release policy specifically includes resource release frequency and resource update frequency when released.

[0048] By parsing the resource release strategy, we can determine the key information in the resource release strategy, such as the release rating and update frequency. Then, based on the preset correspondence between the key information and the message queue, we can determine the message queue corresponding to the key information in the resource release strategy, that is, the message queue that matches the poster information.

[0049] It can be understood that there can be multiple media resources, each media resource corresponds to a poster information, each media resource can correspond to a resource publishing strategy, and each poster information can determine the corresponding matching message queue.

[0050] In one embodiment, step S220, obtaining the resource publishing policy corresponding to the media resource includes: classifying the media resource to obtain the resource category corresponding to the media resource; and obtaining the resource publishing policy corresponding to the media resource according to the resource category.

[0051] For the acquired media resources, category-related information of the media resource labeling may be extracted, such as resource importance level information or resource source information, and the resource category of the media resource may be determined based on the category information.

[0052] Obtaining the resource release policy corresponding to a media resource based on resource category can involve obtaining the corresponding resource release policy when the resource category meets specific conditions (such as the resource originates from a specific source or the resource's importance exceeds a predetermined threshold). Obtaining the corresponding resource release policy can be done locally by requesting it from the resource's source or by obtaining it from a locally pre-stored policy set. Obtaining the resource release policy based on resource category further improves the reliability of subsequent steps, such as parsing and matching the resource release policy.

[0053] In one embodiment, the classifying the media resources to obtain the resource categories corresponding to the media resources includes: classifying the media resources by source to obtain the resource publishers corresponding to the media resources to form the resource categories.

[0054] The source classification of the media resources can be performed by obtaining the source information of the media resource marker, and determining the resource publisher corresponding to the media resource based on the source information. For example, it can be determined that the media resource is published by a resource publisher such as Tencent or NetEase, and the resource publisher is used as the resource category. The resources are classified from the perspective of the resource publisher. When faced with a large number of sources, deciding on the resource publishing strategy based on the source can effectively improve the efficiency of poster verification.

[0055] In one embodiment, the classifying the media resources to obtain the resource categories corresponding to the media resources includes: classifying the media resources by importance to obtain resource importance information corresponding to the media resources to form the resource categories.

[0056] Importance classification of the media resources can be performed by determining the resource importance information corresponding to the media resources based on the importance information of the media resources marked by the resource publisher, or by determining the resource importance information corresponding to the media resources based on local media resource classification requirements. Resource importance information is information that describes the importance of the media resource, such as an importance level or importance score. By using resource importance information as a resource category, resource release strategies can be determined based on resource importance, thereby improving the efficiency of poster verification from the perspective of resource importance.

[0057] In step S230, the poster information is sent to the message queue, triggering the message consumption service to perform poster verification based on the poster information according to the verification strategy corresponding to the message queue, and generate a verification result.

[0058] In this example implementation, 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 the strategy for verifying posters (e.g., verification frequency strategy), and each message queue corresponds to a verification strategy. Poster verification verifies the security and legality of posters. The verification result describes whether the poster corresponding to the poster information is legal or safe.

[0059] In one embodiment, the message queue includes a first message queue; in step S230, the trigger message consumption service performs poster verification based on the poster information according to a verification strategy corresponding to the message queue, including:

[0060] The trigger message consumption service obtains the poster information from the first message queue; when the poster information does not include poster summary information or includes an updated poster link, the poster is downloaded according to the poster link in the poster information; the information summary of the poster is calculated and processed to obtain the poster summary information of the poster; and the poster summary information is checked for information matching.

[0061] 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, the md5 value of the poster image) but includes a poster link, or the poster information only includes an updated poster link (based on 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 before the current poster information is received) and the poster link in the poster information, determine whether the poster link in the poster information is an updated poster link, that is, if they are consistent, it means it is not updated, and if they are inconsistent, it means it is updated).

[0062] 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 the verification strategy corresponding to the first message queue. Specifically, the verification strategy corresponding to the first message queue is to download the poster according to the poster link in the poster information, calculate the poster information summary to obtain the poster summary information, and perform information matching verification on the poster summary information.

[0063] The poster summary information of the poster can be extracted based on the md5 summary algorithm, and then the extracted poster summary information is compared with legal or safe summary information to perform information matching verification to obtain a verification result.

[0064] In one embodiment, the message queue includes a second message queue; and the trigger message consumption service performs poster verification based on the poster information according to a verification strategy corresponding to the message queue, including:

[0065] The trigger message consumption service obtains the appearance frequency of the poster information from the second message queue; when the appearance frequency is higher than a predetermined threshold, downloads the poster according to the poster link in the poster information; performs information summary calculation on the poster to obtain the poster summary information of the poster; and performs information matching verification on the poster summary information.

[0066] The resource publisher may send repeated poster information at a high frequency. The message consumption service can further improve the reliability of poster verification by obtaining the frequency of poster information from the second message queue, downloading the poster when the frequency is higher than the predetermined threshold, and performing subsequent processing.

[0067] In step S240, based on the verification result, a poster corresponding to the poster information is displayed to recommend the media resource.

[0068] In the embodiment of this example, displaying the poster corresponding to the poster information to recommend media resources can be pushing the poster to the target terminal or platform for display, thereby recommending the media resources. According to the verification result, the poster can be displayed when the verification result is a target result such as legality or safety.

[0069] In one embodiment, step S240, displaying a poster corresponding to the poster information to recommend the media resource based on the verification result, includes: when the verification result is that the information verification is passed, displaying a poster corresponding to the poster information at a target location to recommend the media resource.

[0070] The verification result is information verification passed, which may be, in one example, that the poster is legal or safe, or in another example, that the poster meets the target display conditions (for example, the poster is updated), etc. The target location may be a target terminal or a target platform.

[0071] To facilitate better implementation of the resource recommendation method provided in the embodiment of the present application, the embodiment of the present application also provides a resource recommendation device based on the resource recommendation method. The meanings of the terms are the same as those in the resource recommendation method, and the specific implementation details can be referred to the description in the method embodiment. Figure 3 A block diagram of a resource recommendation device according to an embodiment of the present application is shown.

[0072] like Figure 3 As shown, the resource recommendation device 300 may include a first acquisition module 310 , a second acquisition module 320 , a verification module 330 and a recommendation module 340 .

[0073] The first acquisition module 310 can be used to obtain the media resources to be recommended and the poster information corresponding to the media resources; the second acquisition module 320 can be used to obtain the resource publishing policy corresponding to the media resources, and parse and process the resource publishing policy to determine the message queue that matches the poster information; the verification module 330 can be used to send the poster information to the message queue, triggering the message consumption service to perform information verification based on the poster information according to the verification policy corresponding to the message queue, and generate a verification result; the recommendation module 340 can be used to display the poster corresponding to the poster information according to the verification result to recommend the media resource.

[0074] In some embodiments of the present application, the second acquisition module 320 includes: a classification unit, used to classify the media resources to obtain the resource category corresponding to the media resources; and an acquisition unit, used to obtain the resource publishing policy corresponding to the media resources according to the resource category.

[0075] In some embodiments of the present application, the classification unit is configured to perform source classification processing on the media resources, obtain resource publishers corresponding to the media resources, and form the resource categories.

[0076] In some embodiments of the present application, the classification unit is configured to perform importance classification processing on the media resources, obtain resource importance information corresponding to the media resources, and form the resource category.

[0077] In some embodiments of the present application, the message queue includes a first message queue; the verification module 330 includes a first verification unit, which is used to: trigger the message consumption service to obtain the poster information from the first message queue; when the poster information does not include poster summary information or includes an updated poster link, download the poster according to the poster link in the poster information; perform information summary calculation on the poster to obtain the poster summary information of the poster; and perform information matching verification on the poster summary information.

[0078] In some embodiments of the present application, the message queue includes a second message queue; the verification module 330 includes a second verification unit, which is used to: trigger the message consumption service to obtain the frequency of occurrence of the poster information from the second message queue; when the frequency of occurrence is higher than a predetermined threshold, download the poster according to the poster link in the poster information; perform information summary calculation on the poster to obtain the poster summary information of the poster; and perform information matching verification on the poster summary information.

[0079] In some embodiments of the present application, the recommendation module 340 is configured to: when the verification result is that the information verification has passed, display a poster corresponding to the poster information at a target location to recommend the media resource.

[0080] In this way, based on the resource recommendation device 300, for the poster information corresponding to the acquired media resources, the message queue that matches the poster information is determined based on the resource publishing strategy corresponding to the media resources, and the message consumption service performs poster verification based on the poster information according to the verification strategy corresponding to the message queue. The poster information is diverted and the verification strategy is verified based on the message queue middleware, which effectively improves the efficiency of poster verification and the scalability of the verification method in the resource recommendation process, and improves the stability of resource recommendation.

[0081] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiment of the application, the features and functions of two or more modules or units described above can be concretized in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0082] In addition, an embodiment of the present application further provides an electronic device, which may be a terminal or a server, such as Figure 4, which shows a schematic structural diagram of an electronic device involved in an embodiment of the present application, specifically:

[0083] The electronic device may include one or more processing core processors 401, one or more computer-readable storage media memories 402, a power supply 403, an input unit 404 and other components. Those skilled in the art will understand that Figure 4 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently.

[0084] Processor 401 is the control center of the electronic device, connecting the various components of the entire computer device using various interfaces and lines. By running or executing software programs and / or modules stored in memory 402 and accessing data stored in memory 402, it performs various computer device functions and processes data, thereby monitoring the electronic device as a whole. Optionally, processor 401 may include one or more processing cores; preferably, processor 401 may integrate an application processor and a modem processor, wherein the application processor primarily processes the operating system, user interfaces, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 401.

[0085] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running 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 required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a 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 with access to the memory 402.

[0086] The electronic device also includes a power supply 403 for supplying power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The power supply 403 can also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and other arbitrary components.

[0087] The electronic device may further include an input unit 404, which may be configured to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0088] Although not shown, the electronic device may further include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device will load the executable files corresponding to one or more computer program processes into the memory 402 according to the following instructions, and the processor 401 will run the computer programs stored in the memory 402 to implement various functions. For example, the processor 401 may perform the following steps:

[0089] Obtain the media resource to be recommended and the poster information corresponding to the media resource; obtain the resource publishing policy corresponding to the media resource, and parse and process the resource publishing policy to determine the message queue that matches the poster information; send the poster information to the message queue, trigger the message consumption service to perform poster verification based on the poster information according to the verification policy corresponding to the message queue, and generate a verification result; based on the verification result, display the poster corresponding to the poster information to recommend the media resource.

[0090] 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 resource to obtain the resource category corresponding to the media resource; and obtaining the resource publishing policy corresponding to the media resource according to the resource category.

[0091] In some embodiments of the present application, when the media resources are classified and the resource categories corresponding to the media resources are obtained, the processor 401 can execute: classifying the media resources by source to obtain the resource publisher corresponding to the media resources to form the resource categories.

[0092] In some embodiments of the present application, when the media resources are classified and the resource categories corresponding to the media resources are obtained, the processor 401 may execute: performing importance classification processing on the media resources, obtaining resource importance information corresponding to the media resources, and forming the resource categories.

[0093] In some embodiments of the present application, the message queue includes a first message queue; when the triggered message consumption service performs poster verification based on the poster information according to the verification strategy corresponding to the message queue, the processor 401 can execute: triggering the message consumption service to obtain the poster information from the first message queue; when the poster information does not include poster summary information or includes an updated poster link, downloading the poster according to the poster link in the poster information; performing information summary calculation processing on the poster to obtain the poster summary information of the poster; performing information matching verification on the poster summary information.

[0094] In some embodiments of the present application, the message queue includes a second message queue; when the triggered message consumption service performs poster verification based on the poster information according to the verification strategy corresponding to the message queue, the processor 401 can execute: the triggered message consumption service obtains the frequency of occurrence of the poster information from the second message queue; when the frequency of occurrence is higher than a predetermined threshold, downloads the poster according to the poster link in the poster information; performs information summary calculation on the poster to obtain the poster summary information of the poster; and performs information matching verification on the poster summary information.

[0095] In some embodiments of the present application, when displaying the poster corresponding to the poster information to recommend the media resource based on the verification result, the processor 401 may execute: when the verification result is that the information verification is passed, displaying the poster corresponding to the poster information at the target location to recommend the media resource.

[0096] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be accomplished by a computer program, or by controlling related hardware through a computer program. The computer program may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0097] To this end, an embodiment of the present application further provides a storage medium storing a computer program, which can be loaded by a processor to execute the steps of any method provided in the embodiment of the present application.

[0098] The storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0099] Since the computer program stored in the storage medium can execute the steps of any method provided in the embodiments of the present application, the beneficial effects that can be achieved by the method provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.

[0100] Those skilled in the art will readily conceive of other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present application that follow the general principles of this application and include common knowledge or customary techniques in the art that are not disclosed herein.

[0101] It should be understood that the present application is not limited to the embodiments that have been described above and shown in the accompanying drawings, but various modifications and changes may be made without departing from the scope thereof.

Claims

1. A resource recommendation method, characterized in that: include: Obtaining the media resources to be recommended and the poster information corresponding to the media resources; Obtaining a resource publishing policy corresponding to the media resource, and parsing the resource publishing policy to determine a message queue that matches the poster information; The poster information is sent to the message queue, triggering the message consumption service to perform poster verification based on the poster information according to the verification strategy corresponding to the message queue, and generate a verification result. The message consumption service is a system service that monitors the message queue and performs verification processing; the message queue includes a first message queue or a second message queue; the verification strategy corresponding to the first message queue is to download the poster according to the poster link in the poster information and perform information matching verification on the poster summary information of the poster; the verification strategy corresponding to the second message queue is to download the poster when the appearance frequency of the poster information is higher than a predetermined threshold, and perform information matching verification on the poster summary information of the poster; Based on the verification result, a poster corresponding to the poster information is displayed to recommend the media resource.

2. The method according to claim 1, characterized in that The obtaining of the resource publishing strategy corresponding to the media resource includes: Classifying the media resources to obtain resource categories corresponding to the media resources; Obtain a resource publishing policy corresponding to the media resource according to the resource category.

3. The method according to claim 2, characterized in that The classifying the media resources to obtain resource categories corresponding to the media resources includes: The media resources are classified by their sources to obtain resource publishers corresponding to the media resources, thereby forming resource categories.

4. The method according to claim 2, characterized in that The classifying the media resources to obtain resource categories corresponding to the media resources includes: The media resources are classified according to their importance to obtain resource importance information corresponding to the media resources and form the resource categories.

5. The method according to claim 1, wherein The message queue includes the first message queue; The trigger message consumption service performs poster verification based on the poster information according to the verification strategy corresponding to the message queue, including: Triggering a message consumption service to obtain the poster information from the first message queue; When the poster information does not include poster summary information or includes an updated poster link, downloading the poster according to the poster link in the poster information; Performing information summary calculation on the poster to obtain poster summary information of the poster; Perform information matching verification on the poster summary information.

6. The method according to claim 1, characterized in that The message queue includes the second message queue; the trigger message consumption service performs poster verification based on the poster information according to the verification strategy corresponding to the message queue, including: Triggering the message consumption service to obtain the appearance frequency of the poster information from the second message queue; When the occurrence frequency is higher than a predetermined threshold, downloading the poster according to the poster link in the poster information; Performing information summary calculation on the poster to obtain poster summary information of the poster; Perform information matching verification on the poster summary information.

7. The method according to claim 1, characterized in that The step of displaying a poster corresponding to the poster information to recommend the media resource according to the verification result includes: When the verification result is that the information verification is passed, a poster corresponding to the poster information is displayed at the target location to recommend the media resource.

8. A resource recommendation device, characterized in that: include: A first acquisition module is used to acquire media resources to be recommended and poster information corresponding to the media resources; A second acquisition module is configured to acquire a resource publishing policy corresponding to the media resource and parse the resource publishing policy to determine a message queue that matches the poster information; A verification module is used 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 the verification strategy corresponding to the message queue, and generate a verification result. The message consumption service is a system service that monitors the message queue and performs verification processing; the message queue includes a first message queue or a second message queue; the verification strategy corresponding to the first message queue is to download the poster according to the poster link in the poster information and perform information matching verification on the poster summary information of the poster; the verification strategy corresponding to the second message queue is to download the poster when the appearance frequency of the poster information is higher than a predetermined threshold, and perform information matching verification on the poster summary information of the poster; A recommendation module is used to display a poster corresponding to the poster information to recommend the media resource based on the verification result.

9. A storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor of a computer, the computer is caused to execute the method according to any one of claims 1 to 7.

10. An electronic device, characterized in that: include: a memory storing a computer program; A processor reads a computer program stored in a memory to execute the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Product transaction data processing method, apparatus, computer device and storage medium

    CN109523301A

  • Data processing method and device, computer readable medium and electronic equipment

    CN112445866A