Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, in the description and claims of the present invention and the above-described drawings, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic diagram of an application environment according to an embodiment of the present invention, which may include aclient 01 and aserver 02, where the client and the server are connected through a network. The server acquires the content to be published from the content generation system, sends the content to be published to the content publishing system, acquires the display condition before the content to be published is released to the user from the content publishing system, and stores the display condition. A user sends a data query request to a server through a client, and the server determines target preview data meeting query conditions from stored data. It should be noted that fig. 1 is only an example.
Specifically, theclient 01 may include a physical device of a type such as a smart phone, a desktop computer, a tablet computer, a notebook computer, an Augmented Reality (AR)/Virtual Reality (VR) device, a digital assistant, a smart wearable device, and the like, and may also include software running in the physical device, such as a computer program. The operating system running onclient 01 may include, but is not limited to, an android system, an IOS system, linux, windows, and the like.
Specifically, theserver 02 may include a server operating independently, or a distributed server, or a server cluster composed of a plurality of servers. Theserver 02 may comprise a network communication unit, a processor and a memory, etc. Theserver 02 may provide background services for the clients.
The following describes a specific embodiment of a preview data storage method according to the present invention, and fig. 2 is a flowchart of a preview data storage method according to an embodiment of the present invention, and this specification provides the method operation steps as described in the embodiment or the flowchart, but may include more or less operation steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In practice, the system or server product may be implemented in a sequential or parallel manner (e.g., parallel processor or multi-threaded environment) according to the embodiments or methods shown in the figures. Specifically, as shown in fig. 2, the method may include:
s201: acquiring content to be published, wherein the content to be published carries a content identifier;
in the embodiment of the present invention, the content to be published may include at least one selected from the group consisting of text, image, audio, and video. The images may include still images and moving images. The content to be published can correspond to a multimedia presentation form.
The content to be published may be uploaded after the corresponding publishing agent has been manufactured, or may be obtained by configuring relevant information online by the corresponding publishing agent. Then, before the obtaining of the content to be published, a content generation request may be received, where the content generation request includes at least one content object and content object description information, and the content object description information includes at least one selected from the group consisting of material information, publishing channel information, budget information, and preference information of a publishing subject; then configuring corresponding sub-content identification for the at least one content object; and obtaining the content to be issued configured with the content identifier based on the at least one content object and the corresponding sub-content identifier.
One content to be published corresponds to one content identifier, one content to be published may include at least one content object, and one content object corresponds to one sub-content identifier. And the dimension of the content object is used for carrying out finer-grained identification setting on the content to be issued, so that the acquisition and query accuracy of subsequent preview data can be improved. The content object is content of the content to be published which points to the same theme (creative), for example, the publishing main body may correspond to a business A, the content object may point to a theme (creative) related to the business A, and the content object may point to a theme (creative) related to a product B under the business A.
The material information may include information representing a material type (such as an image material type, an audio material type, and a video material type), information representing a material address (such as a uniform resource locator), and the like. The content object description information points to a content object. The publishing channel information may include information representing a type of the terminal device (e.g., personal computer (pc)), information representing a type of the operating system (e.g., android system, IOS system), presentation location information (e.g., an open page of application C), and the like. The budget information may be used to indicate an overall cost budget for a certain content object by a distribution subject, an individual cost budget for a certain content object in a certain distribution channel, and the like. The preference information of the distribution subject may include distribution region preference information, distribution duration preference information, material preference information, distribution channel preference information, and the like.
In a specific embodiment, the publishing main body corresponding to the content to be published may upload the content to be published that has been manufactured to the content generation system, or use a manufacturing tool provided by the content generation system to configure relevant information to obtain the content to be published. These to-be-published contents may be stored in a database of the content generation system. And then, acquiring the content to be issued from a content generation system by a configuration system, and sending the content to be issued to a content issuing system. And the content to be published (such as delivery in the internet) is published by a content publishing system.
The configuration system can periodically (a specific time period can be set, such as 5 seconds, 10 minutes, 1 hour and the like) acquire the corresponding content to be published from the content generation system; the content generation condition of the content generation system can also be monitored, and once the newly generated content to be published appears, the newly generated content to be published is obtained from the content generation system. The configuration system can subscribe to the storage information of the database used by the content generation system for storing the content to be published, and acquire the corresponding content to be published based on the increment.
The content identifier carried by the content to be published may be configured by the multiplexed content generating system, or may be created by a configuration system. For the process of configuring the content identifier by the content generation system, reference may be made to the step from receiving the content generation request to obtaining the content to be published configured with the content identifier, which is not described herein again.
In practical application, the content generation system may be used as an advertiser ordering system, the content distribution system may be used as an advertisement delivery system, the content generation system and the content distribution system may correspond to an advertisement system, and the advertisement system delivers advertisements to advertisers by using advertisement resources (which may refer to advertisement spots for displaying advertisements delivered by advertisers). Of course, the configuration system may also correspond to the above-described advertisement system. The configuration system can send the advertisement to the content publishing system after the advertiser places the order of the advertisement by the content generating system and before the content publishing system puts the advertisement in the advertisement space, and then obtain the expected display condition of the advertisement (corresponding to the actual display condition of the advertisement in the designated advertisement space that the advertiser wants to see) from the content publishing system, thereby providing the preview service for the advertiser. The configuration system can integrate the links from the advertisement placement to the advertisement interception before the user is put in, and can reduce the configuration work of operators. The content identifier may be an order number, and the sub-content identifier may be a creative number.
Specifically, the content to be published may correspond to a non-economic advertisement (such as a public service advertisement) or an economic advertisement. The content to be released may correspond to a non-network advertisement (such as a car body advertisement) or a network advertisement. The content to be released may correspond to image advertisements (mainly pictures), text design advertisements (mainly arranged texts), audio-visual advertisements (mainly audio, video, etc.), and so on.
S202: sending the content to be published to a content publishing system;
in the embodiment of the present invention, the configuration system may directly send the content to be sent to the content distribution system. Or the configuration system updates the content to be published by using the identification information of the newly added dimension, and sends the updated content to be published to the content publishing system.
The configuration system may send the content to be published to the content publishing system at regular time (a certain time period may be set, such as 5 seconds, 10 minutes, 1 hour, etc.); the content generation condition of the content generation system can also be monitored, and once the newly generated content to be published appears, the newly generated content to be published acquired from the content generation system is forwarded to the content publishing system.
In a specific embodiment, the sending the content to be published to a content publishing system includes:
s301: determining a publishing main body corresponding to the content to be published;
s302: updating the content to be published based on the subject identification of the publishing subject;
s303: and sending the updated content to be published to the content publishing system.
The to-be-published content may be updated with a subject identifier pointing to a publishing subject corresponding to the to-be-published content. A mapping relationship between the main body identifier and the content identifier may be established, and the content to be published is updated according to the mapping relationship, so that the updated content to be published has the mapping relationship. The main body mark is used as an internal public value of the configuration system, so that the subsequent acquisition and query accuracy of preview data caused by the possible repeated influence of the generated content mark can be avoided.
When determining a publishing main body corresponding to the content to be published, if the publishing main body is to upload the content to be published which is already manufactured for the first time or to perform configuration of relevant information of the content to be published on line for the first time, a main body identifier can be created for the publishing main body; otherwise it can look up to get the one created last time.
For the body Identifier, a client Identifier (device Identifier) of a client (device) used For issuing the content generation request by the body may be used, such as an International Mobile Equipment Identity (IMEI) and an IDFA (Identifier For Advertising, unique to IOS). The issuing principal may correspond to an account identifier (for example, qq number), and the account identifier may be used as a principal identifier.
The updated content to be published may be carried in the form of a protobuf (a structured data serialization method) file. The ProtoBuf supports various languages such as Java, C + +, Python and the like, and has the characteristics of simplicity, strong expansibility and good compatibility. Accordingly, the corresponding protibuf file may be sent to the content distribution system.
Further, in combination with the aforementioned description that "one content to be published corresponds to one content identifier, one content to be published may include at least one content object, and one content object corresponds to one sub-content identifier", a mapping relationship among the main body identifier, the content identifier, and the sub-content identifier may be established (see table 1 below), and the content to be published is updated according to the mapping relationship, so that the updated content to be published has the mapping relationship.
| Main body mark | Content identification | Sub-content identification |
| 10001 | 12345 | 123 |
| 10001 | 12345 | 124 |
| 10001 | 12347 | 125 |
Table 1S 203: sending a preview data acquisition request carrying the content identification to the content publishing system;
in the embodiment of the present invention, a configuration system may send a preview data acquiring request carrying the content identifier to the content distribution system.
As shown in fig. 5, the configuration system may include a content push module and a request sending module. The content pushing module is used for extracting and even updating the content to be published from the content generating system and pushing the content to be published to the request sending module and the content publishing system. The request sending module is used for extracting the content identification from the received content to be issued, generating a preview data acquisition request carrying the content identification and sending the preview data acquisition request to the content issuing system. The request sending module can generate and send the preview data acquisition request as soon as the content to be issued is received. The preview data acquisition request is automatically sent without manual sending by an operator, so that manual intervention interception flow is reduced.
Further, the content pushing module may update the content to be published according to a mapping relationship (such as a subject identifier-a content identifier, a subject identifier-a content identifier-a sub-content identifier), and push the updated content to be published to the request sending module and the content publishing system. The updated content to be published may be carried in the form of a protobuf (a structured data serialization method) file. The request sending module analyzes the protobuf file to obtain a corresponding mapping relation, generates a preview data obtaining request carrying a main body identifier and a content identifier (or carrying the main body identifier, the content identifier and a sub-content identifier), and sends the preview data obtaining request to the content publishing system.
In a specific embodiment, the sending the preview data acquiring request carrying the content identifier to the content distribution system further includes: acquiring a target release channel; and generating the preview data acquisition request based on the target publishing channel and the content identification.
The target publication channel may indicate a terminal device type (such as a personal computer) and a corresponding operating system type. Thus, the preview data acquisition request indicates that the preview data of the content to be published which can show the corresponding target publishing channel needs to be acquired. Specifically, a target terminal simulator (such as a pc browser simulator, an android simulator, and an IOS simulator) may be determined based on the target publishing channel, and the target terminal simulator is controlled to send a preview data acquisition request carrying a content identifier to the content publishing system. Since the terminal simulator has the same or similar processing procedure as the terminal device, it is possible to completely or approximately simulate the terminal device sending the preview data acquisition request to the content distribution system.
S204: receiving preview data determined by the content issuing system according to the content identification, wherein the preview data is generated by the content issuing system based on the content to be issued;
in the embodiment of the present invention, when the content distribution system receives the preview data acquisition request carrying the content identifier D and the content to be distributed carrying the content identifier D at the same time point, the content distribution system may load and display the corresponding content to be distributed based on the preview data acquisition request to obtain the preview data that needs to be returned to the configuration system.
When the time point of receiving the content to be published with the content identifier D by the content publishing system is earlier than the time point of receiving the preview data acquiring request with the content identifier D, 1) the content publishing system may not process the content to be published with the content identifier D first, and after receiving the preview data acquiring request with the content identifier D, load and display the corresponding content to be published based on the preview data acquiring request to obtain the preview data to be returned to the configuration system; 2) the content publishing system may load and display the content to be published carrying the content identifier D first, and store the obtained preview data. After receiving a preview data acquisition request carrying a content identifier D, determining preview data meeting requirements from the stored preview data based on the content identifier D carried by the preview data acquisition request, and then returning the preview data meeting the requirements to the configuration system.
The preview data may not be limited to screenshot data, screen recording data, and motion picture data describing the presentation of the content to be distributed. Specifically, the screenshot data, the screen recording data and the motion picture data can point to the key frame. The screenshot data, the screen recording data and the motion picture data can be represented in the form of addresses.
In a specific embodiment, the receiving the preview data determined by the content distribution system according to the content identifier further includes: and receiving the preview data determined by the content issuing system according to the content identification and the main body identification.
The configuration system may send the protibuf file (corresponding to the updated content to be published, carrying the corresponding mapping relationship) to the content publishing system. The content publishing system analyzes the protobuf file to obtain a corresponding mapping relation, extracts the main body identifier and the content identifier (or the main body identifier, the content identifier and the sub-content identifier) from the mapping relation and records the main body identifier and the content identifier. The content publishing system matches the recorded identification information based on the main body identification and the content identification (or the main body identification, the content identification and the sub-content identification) carried by the preview data acquisition request, and then takes the display condition of the content to be published corresponding to the matched identification information as the preview data to be returned.
In another specific embodiment, in combination with the relevant description of "controlling the target terminal simulator to send the preview data acquiring request with the content identifier to the content distribution system" in step S203, correspondingly, the content distribution system receives the preview data acquiring request with the content identifier sent by the target terminal simulator, and can determine the type of the target terminal device and the type of the corresponding operating system. And then selecting the equipment matched with the target terminal equipment from the equipment pool, and loading and displaying the content to be issued through the equipment. And then the display interface of the equipment is stored in the forms of interception, recording and the like to obtain preview data, so that the preview data obtained by the configuration system can help related personnel to obtain the display effect of the content to be released in the real environment.
S205: establishing an incidence relation between the content identification and the preview data;
in the embodiment of the present invention, the configuration system may establish an association relationship between the content identifier and the preview data. And sending time of a preview data acquisition request corresponding to the preview data can be acquired, and the dimension of the sending time is increased in the association relation, so that related personnel can conveniently know the time line of the preview data when inquiring. Of course, the dimension of the subject identification can be added in the association relationship
S206: and storing the association relation and the preview data.
In this embodiment of the present invention, the association relationship and the preview data may be stored in a database cluster of the configuration system. The association relationship and the preview data may be stored in a file on a file server of the configuration system.
For example, the preview data corresponds to an address of a stored image, and the configuration system may pull the corresponding image locally (e.g., to a database of the configuration system) based on the address. The content identification (or the content identification and the sub-content identification) may also be saved to the database and an index of the content identification (or the content identification and the sub-content identification) to the image saved to the database may be established. Further, the saved images may be commonly named with a content identifier and a sub-content identifier. The segmentation can be done with underlining and saved in jpg format (an image format), for example: 12345_123.jpg, 12345_124.jpg, 12347_125. jpg.
As can be seen from the technical solutions provided in the embodiments of the present specification, the configuration system in the embodiments of the present specification may automatically send a content to be published to the content publishing system, automatically generate and preview a data acquisition request and send the data acquisition request to the content publishing system, and store preview data acquired from the content publishing system. The method and the device can timely and effectively acquire and store the preview data before the content to be issued is delivered to the user, reduce manual intervention to the greatest extent, reduce workload and cost of manual operation, integrally improve data storage efficiency and provide convenience for related personnel to inquire and acquire the preview data.
An embodiment of the present invention further provides a preview data storage apparatus, as shown in fig. 4, the apparatus includes:
the content acquisition module 410: the content publishing system is used for acquiring content to be published, and the content to be published carries a content identifier;
the content transmission module 420: the content publishing system is used for sending the content to be published to a content publishing system;
the preview data acquisition request sending module 430: the system is used for sending a preview data acquisition request carrying the content identification to the content publishing system;
the preview data receiving module 440: the content publishing system is used for receiving preview data determined by the content publishing system according to the content identification, and the preview data is generated by the content publishing system based on the content to be published;
association relationship establishing module 450: the system is used for establishing an incidence relation between the content identification and the preview data;
the storage module 460: and the storage module is used for storing the association relation and the preview data.
It should be noted that the device and method embodiments in the device embodiment are based on the same inventive concept.
And storing the association relation and the preview data based on the above. A specific embodiment of a preview data query method of the present specification is described below. Fig. 7 is a flowchart of a preview data query method provided by an embodiment of the present invention, and the present invention provides the method operation steps as described in the embodiment or the flowchart, but may include more or less operation steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In actual implementation, the system or client product may execute sequentially or in parallel (e.g., in the context of parallel processors or multi-threaded processing) according to the embodiments or methods shown in the figures. Specifically, as shown in fig. 5, the method may include:
s701: receiving a preview data query request of target content;
s702: determining target preview data corresponding to a target content identifier indicating the target content based on the association relation;
the association relation is obtained based on a content identifier indicating the content to be published and corresponding preview data, and the preview data is generated by a content publishing system based on the received content to be published and returned according to a preview data acquisition request carrying the content identifier.
In practical application, as shown in fig. 5 and 6, the configuration system comprises a query module, and the query module can be presented in the form of a bill showing query platform. And storing the association relation and the preview data based on the above. The query platform can provide a function of querying a display result of the content to be published (or the content identifier and the sub-content identifier), and relevant personnel (such as an operator, an advertiser who puts an advertisement, a designer who produces an advertisement, and the like) can input the content identifier (or the content identifier and the sub-content identifier). When a result is matched, returning corresponding preview data (such as returning 12345_123.jpg and an address of a certain stored image) so that relevant personnel can obtain the display effect of the content to be issued in the real environment; when the match fails, empty content is returned.
As can be seen from the technical solutions provided in the embodiments of the present specification, when performing a preview data query, target preview data corresponding to a target content identifier may be determined based on an association relationship. The preview data can be timely and effectively acquired and stored before the content to be published is released to the user, the data query efficiency is improved, and the time for relevant personnel to acquire the display result of the content to be published is greatly shortened.
An embodiment of the present invention further provides a preview data query apparatus, as shown in fig. 8, the apparatus includes:
the preview data query request obtaining module 810: the preview data query request is used for receiving target content;
target preview data determination module 820: the target preview data corresponding to the target content identification indicating the target content is determined based on the incidence relation;
the association relation is obtained based on a content identifier indicating the content to be published and corresponding preview data, and the preview data is generated by a content publishing system based on the received content to be published and returned according to a preview data acquisition request carrying the content identifier.
It should be noted that the device and method embodiments in the device embodiment are based on the same inventive concept.
An embodiment of the present invention provides an electronic device, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the preview data storage method or the preview data query method provided in the foregoing method embodiment.
Further, fig. 9 is a schematic diagram illustrating a hardware structure of an electronic device for implementing the preview data storage method or the preview data query method provided by the embodiment of the present invention, where the electronic device may participate in forming or including the preview data storage apparatus or the preview data query apparatus provided by the embodiment of the present invention. As shown in fig. 9, the electronic device 90 may include one or more (shown here as 902a, 902b, … …, 902 n) processors 902 (the processors 902 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA, etc.), amemory 904 for storing data, and a transmission device 906 for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 9 is only an illustration and is not intended to limit the structure of the electronic device. For example, the electronic device 90 may also include more or fewer components than shown in FIG. 9, or have a different configuration than shown in FIG. 9.
It should be noted that the one or more processors 902 and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuit may be a single stand-alone processing module, or incorporated in whole or in part into any of the other elements in the electronic device 90 (or mobile device). As referred to in the embodiments of the application, the data processing circuit acts as a processor control (e.g. selection of a variable resistance termination path connected to the interface).
Thememory 904 may be used for storing software programs and modules of application software, such as program instructions/data storage devices corresponding to the method described in the embodiment of the present invention, and the processor 902 executes various functional applications and data processing by running the software programs and modules stored in the memory 94, that is, implementing one of the preview data storage method or the preview data query method described above. Thememory 904 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, thememory 904 may further include memory located remotely from the processor 902, which may be connected to the electronic device 90 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmitting means 906 is used for receiving or sending data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the electronic device 90. In one example, the transmission device 906 includes a network adapter (NIC) that can be connected to other network devices through a base station so as to communicate with the internet. In one embodiment, the transmitting device 906 can be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the electronic device 90 (or mobile device).
Embodiments of the present invention also provide a storage medium, which may be disposed in an electronic device to store at least one instruction, at least one program, a set of codes, or a set of instructions related to implementing a preview data storage method or a preview data query method in the method embodiments, where the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement the preview data storage method or the preview data query method provided in the method embodiments.
Alternatively, in this embodiment, the storage medium may be located in at least one network server of a plurality of network servers of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
It should be noted that: the precedence order of the above embodiments of the present invention is only for description, and does not represent the merits of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and electronic apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.