CN111104602A - Poster generation method and device - Google Patents
Poster generation method and device Download PDFInfo
- Publication number
- CN111104602A CN111104602A CN202010037799.7A CN202010037799A CN111104602A CN 111104602 A CN111104602 A CN 111104602A CN 202010037799 A CN202010037799 A CN 202010037799A CN 111104602 A CN111104602 A CN 111104602A
- Authority
- CN
- China
- Prior art keywords
- pushed
- message
- information corresponding
- poster
- entity information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 48
- 238000012545 processing Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 abstract description 12
- 238000010586 diagram Methods 0.000 description 4
- 239000008267 milk Substances 0.000 description 4
- 210000004080 milk Anatomy 0.000 description 4
- 235000013336 milk Nutrition 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- ZLIBICFPKPWGIZ-UHFFFAOYSA-N pyrimethanil Chemical compound CC1=CC(C)=NC(NC=2C=CC=CC=2)=N1 ZLIBICFPKPWGIZ-UHFFFAOYSA-N 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0251—Targeted advertisements
Abstract
The application provides a poster generation method and a poster generation device, wherein the method comprises the following steps: acquiring at least one message to be pushed, and determining entity information corresponding to each message to be pushed based on the at least one message to be pushed; then, generating target poster information based on the entity information corresponding to each message to be pushed; and finally, updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information. In the process, corresponding target poster information is generated according to the entity information corresponding to the message to be pushed, and the poster information corresponding to the entity information is updated, so that the latest poster information can be pushed, the quantity limit on the poster information can be reduced, and more poster information can be pushed.
Description
Technical Field
The present application relates to the field of data information technology, and in particular, to a poster generation method and apparatus.
Background
With the rapid development of the internet era, a large amount of information is enriched on the network, and in order to attract the attention of users, many platforms push messages to the users in the form of characters, picture posters and the like. For example, before a message is pushed to a user in the form of a picture poster, poster information needs to be uploaded to a material center of a platform, and then the poster information needs to be pushed to the user through the material center.
In fact, since the material center of the platform is for all users, the storage capacity thereof is not infinite, so that there is a limit to the amount of poster information uploaded to the material center. Therefore, in many cases, the number of pieces of poster information uploaded to the material center cannot satisfy the demand for message push.
Disclosure of Invention
In view of the above, an object of the present application is to provide a poster generation method and apparatus, so as to reduce the number limitation on poster information.
In a first aspect, an embodiment of the present application provides a method for generating a poster, including:
acquiring at least one message to be pushed, and determining entity information corresponding to each message to be pushed based on the at least one message to be pushed;
generating target poster information based on entity information corresponding to each message to be pushed;
updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information; the updating comprises the following steps: and updating the existing poster information sequence of the entity information corresponding to each message to be pushed.
In an optional implementation manner, the determining, based on the at least one message to be pushed, entity information corresponding to each message to be pushed includes:
determining entity information corresponding to each message to be pushed based on the at least one message to be pushed, and uploading the entity information to a processing center;
and determining the generation information of the target poster based on the entity information corresponding to each message to be pushed in the processing center.
In an optional implementation manner, after the determining the generation information of the target poster based on the entity information corresponding to each message to be pushed in the processing center, the method further includes:
and processing the generated information of the target poster based on a producer-consumer mode to obtain the target poster information, and uploading the target poster information to a database.
In an optional implementation manner, the updating, based on the entity information and the target poster information corresponding to each message to be pushed, the existing poster information corresponding to each message to be pushed includes:
and updating poster information corresponding to the entity information in the database based on the entity information corresponding to each message to be pushed in the processing center.
In an optional embodiment, the existing poster information sequence of entity information corresponding to each message to be pushed includes:
for the entity information corresponding to each message to be pushed, the arrangement sequence of at least one piece of poster information corresponding to the entity information; wherein the arrangement order is an arrangement order according to time.
In a second aspect, an embodiment of the present application further provides a device for generating a poster, where the device for generating a poster includes: the device comprises an acquisition module, a generation module and an update module, wherein:
the acquisition module is used for acquiring at least one message to be pushed and determining entity information corresponding to each message to be pushed based on the at least one message to be pushed;
the generation module is used for generating target poster information based on the entity information corresponding to each message to be pushed;
the updating module is used for updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information; the updating comprises the following steps: and updating the existing poster information sequence of the entity information corresponding to each message to be pushed.
In an optional implementation manner, when determining, based on the at least one message to be pushed, entity information corresponding to each message to be pushed, the obtaining module is specifically configured to:
determining entity information corresponding to each message to be pushed based on the at least one message to be pushed, and uploading the entity information to a processing center;
and determining the generation information of the target poster based on the entity information corresponding to each message to be pushed in the processing center.
In an optional implementation manner, after the determining the generation information of the target poster based on the entity information corresponding to each message to be pushed in the processing center, the processing center is further configured to:
and processing the generated information of the target poster based on a producer-consumer mode to obtain the target poster information, and uploading the target poster information to a database.
In an optional implementation manner, the updating module, when updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information, is specifically configured to:
and updating poster information corresponding to the entity information in the database based on the entity information corresponding to each message to be pushed in the processing center.
In an optional embodiment, the existing poster information sequence of entity information corresponding to each message to be pushed includes:
for the entity information corresponding to each message to be pushed, the arrangement sequence of at least one piece of poster information corresponding to the entity information; wherein the arrangement order is an arrangement order according to time.
In a third aspect, an embodiment of the present application further provides a computer device, including: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the computer device is running, the machine-readable instructions when executed by the processor performing the steps of the first aspect or any possible implementation of the first aspect.
In a fourth aspect, this application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the steps in the first aspect or any one of the possible implementation manners of the first aspect.
According to the poster generation method and device provided by the embodiment of the application, firstly, at least one message to be pushed is obtained, and entity information corresponding to each message to be pushed is determined based on the at least one message to be pushed; then, generating target poster information based on the entity information corresponding to each message to be pushed; finally, updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information; the updating comprises the following steps: and updating the existing poster information sequence of the entity information corresponding to each message to be pushed. In the process, corresponding target poster information is generated according to the entity information corresponding to the message to be pushed, and the poster information corresponding to the entity information is updated, so that the latest poster information can be pushed, the quantity limit on the poster information can be reduced, and more poster information can be pushed.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 illustrates a flow chart of a method for generating a poster provided by an embodiment of the present application;
FIG. 2 illustrates a flow chart of another poster generation method provided by embodiments of the present application;
fig. 3 is a schematic structural diagram illustrating a poster generation apparatus provided in an embodiment of the present application;
fig. 4 shows a schematic structural diagram of a computer device provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In consideration of the prior art, many platforms push messages to users in the form of text, picture posters, and the like. For example, before a message is pushed to a user in the form of a picture poster, poster information needs to be uploaded to a material center of a platform, and then the poster information needs to be pushed to the user through the material center. In fact, since the material center of the platform is oriented to all users, and the storage capacity is not infinite, the number of poster information uploaded to the material center is limited, and the requirement of message pushing cannot be met.
According to the poster generation method and device provided by the embodiment of the application, firstly, at least one message to be pushed is obtained, and entity information corresponding to each message to be pushed is determined based on the at least one message to be pushed; then, generating target poster information based on the entity information corresponding to each message to be pushed; finally, updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information; the updating comprises the following steps: and updating the existing poster information sequence of the entity information corresponding to each message to be pushed. In the process, corresponding target poster information is generated according to the entity information corresponding to the message to be pushed, and the poster information corresponding to the entity information is updated, so that the latest poster information can be pushed, the quantity limit on the poster information can be reduced, and more poster information can be pushed.
The above-mentioned drawbacks are the results of the inventor after practical and careful study, and therefore, the discovery process of the above-mentioned problems and the solution proposed by the present application to the above-mentioned problems in the following should be the contribution of the inventor to the present application in the process of the present application.
The technical solutions in the present application will be described clearly and completely with reference to the drawings in the present application, and it should be understood that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the present application, as generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
An execution subject of the poster generation method provided by the embodiment of the disclosure is generally a computer device with certain computing capability, and the computer device includes: a terminal device, which may be a User Equipment (UE), a mobile device, a User terminal, a cellular phone, a cordless phone, a Personal Digital Assistant (PDA), a handheld device, a computing device, a vehicle mounted device, a wearable device, or a server or other processing device. In some possible implementations, the method of generating the poster may be implemented by a processor invoking computer readable instructions stored in a memory.
The following describes a method for generating a poster provided by an embodiment of the present disclosure, taking an execution subject as a computer device as an example.
Example one
Referring to fig. 1, a flowchart of a poster generation method provided in an embodiment of the present application is shown, where the method includes steps S101 to S103 where:
s101: the method comprises the steps of obtaining at least one message to be pushed, and determining entity information corresponding to each message to be pushed based on the at least one message to be pushed.
S102: and generating target poster information based on the entity information corresponding to each message to be pushed.
S103: updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information; the updating comprises the following steps: and updating the existing poster information sequence of the entity information corresponding to each message to be pushed.
The following describes each of the above-mentioned steps S101 to S103 in detail.
Firstly, the method comprises the following steps: in the above S101, at least one message to be pushed is obtained, and based on the at least one message to be pushed, entity information corresponding to each message to be pushed is determined.
For example, a message to be pushed, which the pushing platform intends to push to the user, is obtained, for example: for some websites, there may be some goods, news, etc.; some applications (App) may also be some articles, short videos, etc.; for some public numbers, such as WeChat public number, the push message may be some articles, static pictures, bitmaps (GIFs), etc.
After the messages to be pushed are obtained, entity information corresponding to each message to be pushed is determined and uploaded to a processing center, and the processing center is used for processing the entity information corresponding to each message to be pushed.
Referring to fig. 2, fig. 2 is a flow chart of another poster generation method.
For example, taking a push message of a wechat public number as an example, after acquiring a message to be pushed, an entity information part in the message to be pushed is extracted, for example: if the push message of the WeChat public number is the film A, the entity information corresponding to the message to be pushed is the film A; and if the push message of the WeChat public number is the brand B milk, the entity information corresponding to the message to be pushed is the brand B milk. The entity information corresponding to the push message of other platforms is similar to this, and is not described herein again.
For example, the entity information corresponding to each message to be pushed may be uploaded to a remote dictionary service (Redis), which is an open source Key-Value database written in ANSI C language, supporting network, and storing log type and distributed storage that may be based on memory and may be persistent, and provides an Application Programming Interface (API) in multiple languages.
Illustratively, the processing center may be a Kafka processing platform. Kafka is an open source stream processing platform developed by the Apache software foundation, written in Scala and Java. Kafka is a high throughput distributed publish-subscribe messaging system that can handle all the action flow data of a consumer in a web site. Actions, including web browsing, searching, and other user actions, are a key factor in many social functions on modern networks. Data is typically addressed by handling logs and log aggregations due to throughput requirements. This is a viable solution to the limitations of Hadoop-like log data and offline analysis systems, but which require real-time processing. The purpose of Kafka is to unify online and offline message processing through the parallel loading mechanism of Hadoop, and also to provide real-time messages through clustering.
And then, determining the generation information of the target poster based on the entity information corresponding to each message to be pushed in the processing center.
For example, taking push messages of the wechat public account as an example, after determining entity information corresponding to each message to be pushed, according to the entity information corresponding to each message to be pushed, determining generation information of the target poster, for example: if the entity information corresponding to the message to be pushed of the WeChat public account is the movie A, surrounding the movie A and determining the generation information of the target poster; and if the entity information corresponding to the information to be pushed of the WeChat public account is the brand B milk, surrounding the brand B milk and determining the generation information of the target poster. The process of determining the generated information of the target poster by the entity information corresponding to the push message of other platforms is similar to that, and is not described herein again.
II, secondly: in S102 described above, target poster information is generated based on the entity information corresponding to each message to be pushed determined in step S101.
After the generation information of the target poster is determined based on the entity information corresponding to each message to be pushed in the processing center in step S101, the generation information of the target poster may be further processed based on a producer-consumer mode to obtain the target poster information, and the target poster information is uploaded to a database.
Wherein a database stores a large amount of poster information.
Illustratively, the producer-consumer mode is a specific data transmission mode in a real-time field bus network facing a control layer, and has the advantages of convenience in setting, safety and quickness in use and the like. The producer-consumer model can be used for data transmission between two Central Processing Units (CPUs), and even CPUs of different types and the same manufacturer can be used through setting. Since this mode affects the network transmission speed if set too much in the network, it is generally used to transmit more important information, such as start, stop, fault, sudden stop, etc. of the device, because the number of nodes in the Controlnet network is limited, and the maximum number of nodes is 99.
For example, the generated information of the target poster determined in step S101 is processed in a producer-consumer mode to obtain the target poster information, and the target poster information is uploaded to a database.
Wherein, the producer is the thread producing data, and the consumer is the thread consuming data. In multi-threaded development, if the producer is processing fast and the consumer is processing slow, the producer must wait for the consumer to finish processing before continuing to produce data. For the same reason, if the processing power of the consumer is greater than that of the producer, the consumer must wait for the producer.
For example, in the present application, the generation information of the target poster may be considered as a producer, and in the process of generating the target poster information according to the generation information of the target poster, it is necessary to wait for the completion of the generation of the target poster information before continuing to generate the generation information of the target poster.
For example, in the process of generating the target poster information according to the generation information of the target poster, the target poster information may be obtained only after the generation of the generation information of the target poster is completed.
Illustratively, the target poster information is uploaded to a database, and the target poster information can be uploaded to a Content Delivery Network (CDN), the CDN is an intelligent virtual Network built on the basis of the existing Network, and a user can obtain a desired Content nearby by using functional modules such as load balancing, Content Delivery, scheduling and the like of a central platform through edge servers deployed in various places, so as to reduce Network congestion and improve user access response speed and hit rate, and key technologies of the CDN mainly include Content storage and Delivery technologies.
Thirdly, the method comprises the following steps: in the above S103, based on the entity information corresponding to each message to be pushed and the target poster information determined in the step S102, the existing poster information corresponding to each message to be pushed is updated.
Wherein the updating comprises: and updating the existing poster information sequence of the entity information corresponding to each message to be pushed. The existing poster information sequence of the entity information corresponding to each message to be pushed is stored in the database.
Illustratively, the poster information corresponding to the entity information in the database is updated based on the entity information corresponding to each message to be pushed in the processing center. And updating the target poster information generated in the step S102 into the poster sequence of the database.
The existing poster information sequence of the entity information corresponding to each message to be pushed is the arrangement sequence of at least one piece of poster information corresponding to the entity information corresponding to each message to be pushed; wherein the arrangement order is an arrangement order according to time.
Illustratively, the corresponding poster information in the database is determined according to the entity information corresponding to each message to be pushed in the processing center, wherein the poster information is arranged according to the arrangement sequence of time. And updating the target poster information generated in the step S102 into the corresponding poster information in the database.
For example, the update method may be to delete the poster information that is long in time, and supplement the generated target poster information into the poster information in the database.
In the step, the poster information in the database is updated, so that the number of the poster information in the database does not exceed a load value, subsequent operations are not affected, and the pushing work of the poster information can be completed.
Based on the above research, in the method for generating a poster provided by the embodiment of the present application, first, at least one message to be pushed is obtained, and entity information corresponding to each message to be pushed is determined based on the at least one message to be pushed; then, generating target poster information based on the entity information corresponding to each message to be pushed; finally, updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information; the updating comprises the following steps: and updating the existing poster information sequence of the entity information corresponding to each message to be pushed. In the process, corresponding target poster information is generated according to the entity information corresponding to the message to be pushed, and the poster information corresponding to the entity information is updated, so that the latest poster information can be pushed, the quantity limit on the poster information can be reduced, and more poster information can be pushed.
Example two
Referring to fig. 3, a schematic structural diagram of a poster generation apparatus provided in the second embodiment of the present application is shown, where the poster generation apparatus includes: an obtaining module 31, a generating module 32 and an updating module 33, wherein:
an obtaining module 31, configured to obtain at least one message to be pushed, and determine entity information corresponding to each message to be pushed based on the at least one message to be pushed;
a generating module 32, configured to generate target poster information based on entity information corresponding to each message to be pushed;
an updating module 33, configured to update existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information; the updating comprises the following steps: and updating the existing poster information sequence of the entity information corresponding to each message to be pushed.
Based on the above research, in the apparatus for generating a poster provided in the embodiment of the present application, first, at least one message to be pushed is obtained, and entity information corresponding to each message to be pushed is determined based on the at least one message to be pushed; then, generating target poster information based on the entity information corresponding to each message to be pushed; finally, updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information; the updating comprises the following steps: and updating the existing poster information sequence of the entity information corresponding to each message to be pushed. In the process, corresponding target poster information is generated according to the entity information corresponding to the message to be pushed, and the poster information corresponding to the entity information is updated, so that the latest poster information can be pushed, the quantity limit on the poster information can be reduced, and more poster information can be pushed.
In a possible implementation manner, the obtaining module 31 is configured to, when determining, based on the at least one message to be pushed, entity information corresponding to each message to be pushed, specifically:
determining entity information corresponding to each message to be pushed based on the at least one message to be pushed, and uploading the entity information to a processing center;
and determining the generation information of the target poster based on the entity information corresponding to each message to be pushed in the processing center.
In a possible implementation manner, after the determining the generation information of the target poster based on the entity information corresponding to each message to be pushed in the processing center, the processing center is further configured to:
and processing the generated information of the target poster based on a producer-consumer mode to obtain the target poster information, and uploading the target poster information to a database.
In a possible implementation manner, the updating module 33 is configured to, when updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information, specifically:
and updating poster information corresponding to the entity information in the database based on the entity information corresponding to each message to be pushed in the processing center.
In a possible embodiment, the existing poster information sequence of entity information corresponding to each message to be pushed includes:
for the entity information corresponding to each message to be pushed, the arrangement sequence of at least one piece of poster information corresponding to the entity information; wherein the arrangement order is an arrangement order according to time.
EXAMPLE III
An embodiment of the present application further provides a computer device 400, as shown in fig. 4, which is a schematic structural diagram of the computer device 400 provided in the embodiment of the present application, and includes:
a processor 41, a memory 42, and a bus 43; the memory 42 is used for storing execution instructions and includes a memory 421 and an external memory 422; the memory 421 is also referred to as an internal memory, and is used for temporarily storing the operation data in the processor 41 and the data exchanged with the external memory 422 such as a hard disk, the processor 41 exchanges data with the external memory 422 through the memory 421, and when the computer apparatus 400 operates, the processor 41 communicates with the memory 42 through the bus 43, so that the processor 41 executes the following instructions in a user mode:
acquiring at least one message to be pushed, and determining entity information corresponding to each message to be pushed based on the at least one message to be pushed;
generating target poster information based on entity information corresponding to each message to be pushed;
updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information; the updating comprises the following steps: and updating the existing poster information sequence of the entity information corresponding to each message to be pushed.
In a possible embodiment, the instruction executed by the processor 41 for determining entity information corresponding to each message to be pushed based on the at least one message to be pushed includes:
determining entity information corresponding to each message to be pushed based on the at least one message to be pushed, and uploading the entity information to a processing center;
and determining the generation information of the target poster based on the entity information corresponding to each message to be pushed in the processing center.
In a possible implementation manner, the instructions executed by the processor 41 further include, after the determining the generation information of the target poster based on the entity information corresponding to each message to be pushed in the processing center, that:
and processing the generated information of the target poster based on a producer-consumer mode to obtain the target poster information, and uploading the target poster information to a database.
In a possible embodiment, in the instructions executed by the processor 41, the updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information includes:
and updating poster information corresponding to the entity information in the database based on the entity information corresponding to each message to be pushed in the processing center.
In a possible embodiment, the processor 41 executes an instruction that the existing poster information sequence of the entity information corresponding to each message to be pushed includes:
for the entity information corresponding to each message to be pushed, the arrangement sequence of at least one piece of poster information corresponding to the entity information; wherein the arrangement order is an arrangement order according to time.
Embodiments of the present application further provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to perform the steps of the poster generation method described in the above method embodiments.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (12)
1. A method of generating a poster, comprising:
acquiring at least one message to be pushed, and determining entity information corresponding to each message to be pushed based on the at least one message to be pushed;
generating target poster information based on entity information corresponding to each message to be pushed;
updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information; the updating comprises the following steps: and updating the existing poster information sequence of the entity information corresponding to each message to be pushed.
2. The method according to claim 1, wherein the determining entity information corresponding to each message to be pushed based on the at least one message to be pushed comprises:
determining entity information corresponding to each message to be pushed based on the at least one message to be pushed, and uploading the entity information to a processing center;
and determining the generation information of the target poster based on the entity information corresponding to each message to be pushed in the processing center.
3. The method according to any one of claims 1 and 2, characterized in that after determining the generation information of the target poster based on the entity information corresponding to each message to be pushed in the processing center, the method further comprises:
and processing the generated information of the target poster based on a producer-consumer mode to obtain the target poster information, and uploading the target poster information to a database.
4. The method according to claim 1, wherein the updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information comprises:
and updating poster information corresponding to the entity information in the database based on the entity information corresponding to each message to be pushed in the processing center.
5. The method of claim 1, wherein the existing poster information sequence of entity information corresponding to each message to be pushed comprises:
for the entity information corresponding to each message to be pushed, the arrangement sequence of at least one piece of poster information corresponding to the entity information; wherein the arrangement order is an arrangement order according to time.
6. An apparatus for generating a poster, comprising:
the system comprises an acquisition module, a sending module and a receiving module, wherein the acquisition module is used for acquiring at least one message to be pushed and determining entity information corresponding to each message to be pushed based on the at least one message to be pushed;
the generation module is used for generating target poster information based on the entity information corresponding to each message to be pushed;
the updating module is used for updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information; the updating comprises the following steps: and updating the existing poster information sequence of the entity information corresponding to each message to be pushed.
7. The apparatus according to claim 6, wherein the obtaining module, when determining, based on the at least one message to be pushed, entity information corresponding to each message to be pushed, is specifically configured to:
determining entity information corresponding to each message to be pushed based on the at least one message to be pushed, and uploading the entity information to a processing center;
and determining the generation information of the target poster based on the entity information corresponding to each message to be pushed in the processing center.
8. The apparatus according to any one of claims 6 and 7, further configured to, after determining the generation information of the target poster based on the entity information corresponding to each message to be pushed in the processing center, further:
and processing the generated information of the target poster based on a producer-consumer mode to obtain the target poster information, and uploading the target poster information to a database.
9. The apparatus according to claim 6, wherein the updating module, when updating the existing poster information corresponding to each message to be pushed based on the entity information corresponding to each message to be pushed and the target poster information, is specifically configured to:
and updating poster information corresponding to the entity information in the database based on the entity information corresponding to each message to be pushed in the processing center.
10. The apparatus of claim 6, wherein the existing poster information sequence of entity information corresponding to each message to be pushed comprises:
for the entity information corresponding to each message to be pushed, the arrangement sequence of at least one piece of poster information corresponding to the entity information; wherein the arrangement order is an arrangement order according to time.
11. A computer device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating over the bus when a computer device is running, the machine-readable instructions when executed by the processor performing the steps of the method of any of claims 1 to 5.
12. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010037799.7A CN111104602A (en) | 2020-01-14 | 2020-01-14 | Poster generation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010037799.7A CN111104602A (en) | 2020-01-14 | 2020-01-14 | Poster generation method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111104602A true CN111104602A (en) | 2020-05-05 |
Family
ID=70426700
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010037799.7A Pending CN111104602A (en) | 2020-01-14 | 2020-01-14 | Poster generation method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111104602A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110173072A1 (en) * | 2010-01-08 | 2011-07-14 | David Ross | Systems and methods for advertising on a mobile electronic device |
CN104572942A (en) * | 2014-12-30 | 2015-04-29 | 小米科技有限责任公司 | Push message display method and push message display device |
CN106022832A (en) * | 2016-05-23 | 2016-10-12 | 北京金山安全软件有限公司 | Method and device for pushing value added service information and electronic equipment |
CN106598996A (en) * | 2015-10-19 | 2017-04-26 | 广州酷狗计算机科技有限公司 | Multi-media poster generation method and device |
CN109727298A (en) * | 2018-02-12 | 2019-05-07 | 平安好房(上海)电子商务有限公司 | Poster generation method, device, equipment and computer storage medium |
CN110087133A (en) * | 2019-04-29 | 2019-08-02 | 上海连尚网络科技有限公司 | Multimedia resource playback method, device, electronic equipment and medium |
-
2020
- 2020-01-14 CN CN202010037799.7A patent/CN111104602A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110173072A1 (en) * | 2010-01-08 | 2011-07-14 | David Ross | Systems and methods for advertising on a mobile electronic device |
CN104572942A (en) * | 2014-12-30 | 2015-04-29 | 小米科技有限责任公司 | Push message display method and push message display device |
CN106598996A (en) * | 2015-10-19 | 2017-04-26 | 广州酷狗计算机科技有限公司 | Multi-media poster generation method and device |
CN106022832A (en) * | 2016-05-23 | 2016-10-12 | 北京金山安全软件有限公司 | Method and device for pushing value added service information and electronic equipment |
CN109727298A (en) * | 2018-02-12 | 2019-05-07 | 平安好房(上海)电子商务有限公司 | Poster generation method, device, equipment and computer storage medium |
CN110087133A (en) * | 2019-04-29 | 2019-08-02 | 上海连尚网络科技有限公司 | Multimedia resource playback method, device, electronic equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110263275B (en) | Method and device for accessing webpage, mobile terminal and storage medium | |
US20180365254A1 (en) | Method and apparatus for processing information flow data | |
US9087020B1 (en) | Managing and retrieving content from a shared storage | |
CN111177618A (en) | Website building method, device, equipment and computer readable storage medium | |
CN110781373B (en) | List updating method and device, readable medium and electronic equipment | |
CN109542878B (en) | List creation method and device | |
CN113722124B (en) | Content processing method, device, equipment and storage medium of cloud mobile phone | |
CN109359260B (en) | Network page change monitoring method, device, equipment and medium | |
CN109962972B (en) | Offline packet reassembly method and system | |
CN113761565B (en) | Data desensitization method and device | |
CN114297278A (en) | Method, system and device for quickly writing batch data | |
US10361936B2 (en) | Filtering content based on user mobile network and data-plan | |
US10855436B2 (en) | System and method for automatically synchronizing responses to conditions on devices | |
CN111667018B (en) | Object clustering method and device, computer readable medium and electronic equipment | |
CN107193819B (en) | Method and equipment for webpage pre-reading, browser and client equipment | |
CN110505289B (en) | File downloading method and device, computer readable medium and wireless communication equipment | |
EP2972970A2 (en) | Locale-based sorting on mobile devices | |
CN114780196B (en) | User interface form rendering method and device, electronic equipment and storage medium | |
CN111104602A (en) | Poster generation method and device | |
CN116127219A (en) | Method and device for displaying pages in applet and computer equipment | |
CN113590447B (en) | Buried point processing method and device | |
CN115563134A (en) | Interaction method, interaction device, electronic equipment and computer readable medium | |
CN115470432A (en) | Page rendering method and device, electronic equipment and computer readable medium | |
CN111580882B (en) | Application program starting method, device, computer system and medium | |
US11277300B2 (en) | Method and apparatus for outputting information |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20231123 Address after: 200,030 Unit 5B03, Floor 5, Building 2, No. 277, Longlan Road, Xuhui District, Shanghai Applicant after: SHANGHAI SECOND PICKET NETWORK TECHNOLOGY CO.,LTD. Address before: Floors 4, 5 and 6, No. 3, Lane 1473, Zhenguang Road, Putuo District, Shanghai, 200333 Applicant before: Shanghai Fengzhi Technology Co.,Ltd. |
|
TA01 | Transfer of patent application right |