CN116016938A - Advertisement monitoring data storage method, device and storage medium - Google Patents

Advertisement monitoring data storage method, device and storage medium Download PDF

Info

Publication number
CN116016938A
CN116016938A CN202211552392.3A CN202211552392A CN116016938A CN 116016938 A CN116016938 A CN 116016938A CN 202211552392 A CN202211552392 A CN 202211552392A CN 116016938 A CN116016938 A CN 116016938A
Authority
CN
China
Prior art keywords
advertisement
data
playing
compression
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211552392.3A
Other languages
Chinese (zh)
Inventor
阳传波
陈培
刘宇晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Xinchao Media Group Co Ltd
Original Assignee
Chengdu Xinchao Media Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Xinchao Media Group Co Ltd filed Critical Chengdu Xinchao Media Group Co Ltd
Priority to CN202211552392.3A priority Critical patent/CN116016938A/en
Publication of CN116016938A publication Critical patent/CN116016938A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a storage method, a device and a storage medium of advertisement monitoring data, wherein the invention is provided with monitoring round parameters, the monitoring round parameters are used for determining the compression period of the advertisement monitoring data recorded by advertisement playing equipment, and meanwhile, the compression period is the integral multiple of the advertisement playing period of the advertisement playing equipment, so that the compression period is equivalent to the data which is determined to use a plurality of advertisement playing periods to form one compression data; therefore, in implementation, the invention divides the advertisement monitoring data into data corresponding to a plurality of compression periods based on the compression periods, compresses each data, and finally uploads the compressed data to the monitoring center for storage; by the design, the invention compresses the monitored data in a plurality of playing periods into one data for uploading, thereby reducing the uploaded data volume and further achieving the purpose of reducing the network bandwidth and the background storage space resource cost.

Description

Advertisement monitoring data storage method, device and storage medium
Technical Field
The invention belongs to the technical field of advertisement monitoring data storage, and particularly relates to a method and a device for storing advertisement monitoring data and a storage medium.
Background
With the rise of 4G, 5G and Internet of things technologies, new generation multimedia advertising media are gradually going into people's daily lives; the elevator obtains huge holding amount and people flow by virtue of the unique use scene, and meanwhile, the elevator has the characteristic of a closed space in the elevator, so that the interference of advertisement playing in the elevator is far lower than that of outdoor advertisement playing, and therefore, life circle media advertisements represented by an elevator television, an elevator poster, an elevator picture frame and the like quickly rise, and the elevator becomes a main mode of advertisement putting.
At present, multimedia equipment in an elevator monitors advertisement data, after a round of advertisement is played, each monitored data is reported to a background server, the background server stores each received monitored data, so that recording of advertisement playing data of the equipment is completed, as shown in fig. 3, if the equipment plays a round of advertisement and monitors 10 pieces of advertisement data, the equipment uploads the 10 pieces of advertisement data, and the background server stores the 10 pieces of advertisement data, however, when the number of the equipment is large and the number of advertisement schemes on the equipment is large, the reported monitored data volume is very large, so that background storage pressure is too large, even the incremental service requirements of enterprises cannot be met, and the excessive data volume has higher requirements on software, hardware and network bandwidth resource performance of the whole advertisement system, so that the storage cost is increased; therefore, how to provide a method for storing advertisement monitoring data capable of reducing background storage space resources and storage cost has become a problem to be solved.
Disclosure of Invention
The invention aims to provide a storage method, a device and a storage medium for advertisement monitoring data, which are used for solving the problem that the storage cost is increased due to the fact that the monitoring data volume is overlarge, so that larger background storage space resources and higher network bandwidth are needed in the prior art.
In order to achieve the above purpose, the present invention adopts the following technical scheme:
in a first aspect, a method for storing advertisement monitoring data is provided, including:
the advertisement playing device acquires advertisement monitoring data and monitoring rotation parameters, wherein the monitoring rotation parameters are used for representing a data compression period of the advertisement monitoring data, the data compression period is an integer multiple of an advertisement playing period of the advertisement playing device, and the advertisement playing device is used for playing a released advertisement scheme in the advertisement playing period;
the advertisement playing equipment carries out data division on the advertisement monitoring data based on the monitoring round parameters so as to obtain a plurality of advertisement division data;
the advertisement playing equipment compresses each advertisement division data to obtain advertisement compression data corresponding to each advertisement division data, wherein any advertisement compression data comprises advertisement playing total starting time, advertisement playing total binding time, schemes I D of each advertisement scheme in any advertisement compression data and playing frequency of each advertisement scheme;
The advertisement playing device uploads advertisement compression data corresponding to each advertisement division data to the monitoring and broadcasting center;
the monitoring and broadcasting center receives each advertisement compression data sent by the advertisement playing equipment;
the monitoring and broadcasting center decompresses each advertisement compressed data to obtain a plurality of decompressed advertisement data;
the monitoring and broadcasting center stores a plurality of decompressed advertisement data so as to finish the storage of the advertisement monitoring and broadcasting data after the storage.
Based on the above disclosure, the invention is configured with the monitored-broadcast round parameter, the monitored-broadcast round parameter is used for determining the compression period of the monitored-broadcast data recorded by the advertisement playing device, and meanwhile, the compression period is an integer multiple of the advertisement playing period of the advertisement playing device, so that the compression period is equivalent to the data for determining to use a plurality of advertisement playing periods to form one compression data; therefore, in implementation, the invention divides the advertisement monitoring data into data corresponding to a plurality of compression periods based on the compression periods, compresses each data, and finally uploads the compressed data to the monitoring center for storage; by the design, the invention compresses the monitored data in a plurality of playing periods into one data for uploading, thereby reducing the uploaded data volume and further achieving the purpose of reducing the network bandwidth and the background storage space resource cost.
In one possible design, the advertisement monitoring data includes a number of advertisement playing period data, wherein any one of the number of advertisement playing period data includes a device I D of the advertisement playing device and at least one advertisement scheme playing data, and each of the at least one advertisement scheme playing data includes a scheme I D, an advertisement playing start time, and an advertisement playing end time;
based on the monitored-broadcast rotation parameter, the advertisement monitored-broadcast data is subjected to data division to obtain a plurality of advertisement division data, and the method comprises the following steps:
the advertisement playing device uses the monitored-broadcasting round parameter as a dividing length to divide the length of the advertisement monitored-broadcasting data so as to obtain a plurality of advertisement dividing data after dividing, wherein any advertisement dividing data in the advertisement dividing data comprises n advertisement playing period data, and n is the monitored-broadcasting round parameter;
correspondingly, compressing each advertisement division data comprises the following steps:
the advertisement playing device counts the total number of schemes I D of each advertisement scheme in the advertisement playing period data corresponding to any advertisement dividing data so as to obtain the playing frequency of each advertisement scheme in the advertisement dividing data;
The advertisement playing device determines the advertisement playing total starting time and the advertisement playing total binding time of any advertisement dividing data based on the advertisement playing starting time and the advertisement playing ending time of each advertisement scheme in each advertisement playing period data corresponding to any advertisement dividing data;
the advertisement playing device obtains the device I D in any advertisement playing period data in any advertisement dividing data, and forms advertisement information of any advertisement dividing data by using the device I D, the total advertisement playing start time, the total advertisement playing bundle time and the playing frequency of each advertisement scheme;
the advertisement playing device compresses the advertisement information of any advertisement division data to obtain the advertisement compression data corresponding to any advertisement division data after the compression processing.
Based on the above disclosure, the invention discloses a specific process of data division, and since the compression period is an integer multiple of the advertisement playing period, the method is equivalent to dividing the advertisement monitoring data by taking the compression period as the dividing length to obtain a plurality of advertisement dividing data; meanwhile, when compression processing is performed, for any advertisement division data, firstly counting the total number of schemes I D of each advertisement scheme in the any advertisement division data, so as to take the total number of schemes I D of each advertisement scheme as the playing frequency of each advertisement scheme; then, determining the earliest playing start time based on the playing start time and the ending time of each advertisement scheme to be used as the advertisement playing total start time of any advertisement dividing data, and determining the latest playing ending time to be used as the advertisement playing total end time of any advertisement dividing data; then, extracting the device I D in any advertisement dividing data to use the extracted data as advertisement information of any advertisement dividing data; finally, the advertisement information is compressed, so that advertisement compressed data can be obtained.
In one possible design, the compressing the advertisement information of the arbitrary advertisement division data to obtain advertisement compression data corresponding to the arbitrary advertisement division data after the compressing includes:
the advertisement playing equipment adds compression start characters and compression end characters to the advertisement information of any advertisement division data to obtain preprocessed advertisement information;
and the advertisement playing equipment performs data compression on the preprocessed advertisement information to obtain advertisement compression data corresponding to any advertisement division data.
In one possible design, if the advertisement playing device is an offline device, the method further includes:
when the advertisement playing device establishes communication connection with the advertisement playing control auxiliary device based on the local area network, advertisement compression data corresponding to each advertisement division data are transmitted to the advertisement playing control auxiliary device, so that the advertisement playing control auxiliary device uploads each advertisement compression data to the monitoring and playing center after receiving each advertisement compression data.
Based on the above disclosure, when the advertisement playing device is offline, the advertisement playing device can be connected through the local area network and using the advertisement playing control auxiliary device, so that each advertisement compression data on the advertisement playing device can be uploaded to the monitoring and broadcasting center by means of the advertisement playing control auxiliary device; in this way, the integrity of the data storage is ensured, thereby preventing data loss.
In one possible design, after obtaining the advertisement compression data corresponding to each advertisement division data, the method further includes:
the advertisement playing device judges whether the total quantity of the advertisement compressed data is larger than the maximum uploading number;
if yes, the advertisement playing device uploads advertisement compression data corresponding to each advertisement division data to the monitoring and broadcasting center.
In one possible design, storing several decompressed advertising data includes:
the monitoring and broadcasting center determines the broadcasting date of each decompressed advertisement data based on the advertisement broadcasting total starting time and the advertisement broadcasting total ending time in each decompressed advertisement data;
the monitoring and broadcasting center stores a plurality of decompressed advertisement data in a partition according to the broadcasting date so as to store the decompressed advertisement data belonging to the same broadcasting date in one partition.
Based on the disclosure, the invention uses the advertisement playing time in the device report data to partition, which not only can improve the inquiry performance, availability and maintainability of the monitoring center, but also can balance the I/O load stored in the monitoring center, thereby further improving the storage performance.
In a second aspect, a storage device for advertisement monitoring data is provided, taking the device as an advertisement playing device, including:
The data acquisition unit is used for acquiring advertisement monitoring data and monitoring rotation parameters, wherein the monitoring rotation parameters are used for representing a data compression period of the advertisement monitoring data, the data compression period is an integral multiple of an advertisement playing period of the advertisement playing device, and the advertisement playing device plays a released advertisement scheme in the advertisement playing period;
the data dividing unit is used for carrying out data division on the advertisement monitoring data based on the monitoring round parameters so as to obtain a plurality of advertisement dividing data;
the data compression unit is used for compressing each advertisement division data to obtain advertisement compression data corresponding to each advertisement division data, wherein any advertisement compression data comprises advertisement playing total starting time, advertisement playing total binding time, schemes I D of each advertisement scheme in any advertisement compression data and playing frequency of each advertisement scheme;
and the transmission unit is used for uploading the advertisement compression data corresponding to each advertisement division data to the monitoring and broadcasting center, so that the monitoring and broadcasting center can decompress the data of each advertisement compression data after receiving each advertisement compression data to obtain a plurality of decompressed advertisement data, so as to store the decompressed advertisement data in data, and after the storage is finished, the storage of the advertisement monitoring and broadcasting data is finished.
In a third aspect, another storage device for advertisement monitoring data is provided, taking the device as a monitoring center, including:
a receiving unit, configured to receive each advertisement compression data sent by the advertisement playing device, where any advertisement compression data in each advertisement compression data includes an advertisement playing total start time, an advertisement playing total end time, a scheme I D of each advertisement scheme in any advertisement compression data, and a playing frequency of each advertisement scheme;
the decompression unit is used for decompressing each advertisement compression data to obtain a plurality of decompressed advertisement data;
and the storage unit is used for storing a plurality of decompressed advertisement data so as to finish the storage of the advertisement monitoring data after the storage.
In a fourth aspect, a third apparatus for storing advertisement monitoring data is provided, taking an electronic device as an example, and the apparatus includes a memory, a processor, and a transceiver, which are sequentially communicatively connected, where the memory is configured to store a computer program, the transceiver is configured to send and receive a message, and the processor is configured to read the computer program, and execute a method for storing the advertisement monitoring data as in the first aspect or any one of the first aspect may be designed.
In a fifth aspect, there is provided a storage medium having instructions stored thereon which, when executed on a computer, perform the method of storing advertising data as may be devised in the first aspect or any one of the first aspects.
In a sixth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of storing advertising data as in the first aspect or any one of the possible designs of the first aspect.
The beneficial effects are that:
(1) The invention compresses the monitored data in a plurality of playing periods into one data for uploading, thereby reducing the uploaded data quantity and further achieving the purpose of reducing the network bandwidth and the background storage space resource cost.
(2) The invention uses the advertisement playing time in the device report data to partition, which not only can improve the inquiry performance, availability and maintainability of the monitoring center, but also can balance the I/O load stored in the monitoring center, thereby further improving the storage performance.
Drawings
FIG. 1 is a schematic diagram of an architecture of a storage system for advertisement monitored data according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for storing advertisement monitored data according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a storage mode according to the prior art according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an advertisement playing device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a monitoring center according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be briefly described below with reference to the accompanying drawings and the description of the embodiments or the prior art, and it is obvious that the following description of the structure of the drawings is only some embodiments of the present invention, and other drawings can be obtained according to these drawings without inventive effort to a person skilled in the art. It should be noted that the description of these examples is for aiding in understanding the present invention, but is not intended to limit the present invention.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. For example, a first element could be termed a second element, and, similarly, a second element could be termed a first element, without departing from the scope of example embodiments of the present invention.
It should be understood that for the term "and/or" that may appear herein, it is merely one association relationship that describes an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a alone, B alone, and both a and B; for the term "/and" that may appear herein, which is descriptive of another associative object relationship, it means that there may be two relationships, e.g., a/and B, it may be expressed that: a alone, a alone and B alone; in addition, for the character "/" that may appear herein, it is generally indicated that the context associated object is an "or" relationship.
Examples:
referring to fig. 1, a system architecture is provided for the present application, which may include, for example and without limitation: the system comprises a broadcast control platform, advertisement broadcast control auxiliary equipment (namely a mobile phone, a computer or a tablet and the like), advertisement broadcasting equipment and a monitoring broadcast center, wherein the broadcast control platform is respectively in communication connection with the advertisement broadcasting equipment and the advertisement broadcast control auxiliary equipment and is used for sending configuration parameters to the advertisement broadcasting equipment and the advertisement broadcast control auxiliary equipment, the configuration parameters comprise monitoring broadcast turn parameters and the maximum uploading number, the monitoring broadcast turn parameters are further used for determining the compression period of advertisement monitoring broadcast data recorded by the advertisement broadcasting equipment, and meanwhile, the compression period is an integral multiple of the advertisement broadcasting period of the advertisement broadcasting equipment, so that the compression period is equivalent to the data for determining to use a plurality of advertisement broadcasting periods to form one compression data; the advertisement playing equipment is used for carrying out data division on the advertisement monitoring and broadcasting data according to the configuration parameters so as to compress the divided data and uploading the compressed data to the monitoring and broadcasting center for storage; therefore, the system compresses the data of the uploaded quantity according to the configured compression period, and can reduce the uploaded data quantity, thereby achieving the purpose of reducing bandwidth resources and background storage space resources; in addition, the advertisement broadcasting control auxiliary equipment is used as data relay equipment when the advertisement broadcasting equipment is offline, and has the functions of: the configuration parameters are issued to the advertisement playing equipment, and the compressed data uploaded by the advertisement playing equipment is uploaded to the monitoring and broadcasting center; therefore, when the equipment is offline, the advertisement monitoring data can still be recorded and stored, and the integrity of data storage is ensured.
Referring to fig. 2, the method for storing the advertisement monitoring data provided in the present embodiment may be, but not limited to, running on the side of an advertisement playing device and the monitoring center, where, for example, the advertisement playing device may be, but not limited to, an elevator television, and it is understood that the foregoing execution subject does not constitute a limitation on the embodiment of the present application, and accordingly, the running steps of the method may be, but not limited to, as shown in the following steps S1 to S7.
S1, an advertisement playing device acquires advertisement monitoring data and monitoring run parameters, wherein the monitoring run parameters are used for representing a data compression period of the advertisement monitoring data, the data compression period is an integral multiple of an advertisement playing period of the advertisement playing device, and the advertisement playing device is used for playing a put advertisement scheme in the advertisement playing period; in specific applications, the advertisement monitoring data may include, but is not limited to, a plurality of advertisement playing period data, wherein any advertisement playing period data in the plurality of advertisement playing period data includes a device I D of the advertisement playing device and at least one advertisement scheme playing data, and each advertisement scheme playing data in the at least one advertisement scheme playing data includes a scheme I D, an advertisement playing start time, and an advertisement playing end time; in this embodiment, one advertisement playing period is the time of one round of playing of the advertisement playing device, and the advertisement playing device is used for playing the advertisement scheme which is put in the advertisement playing period, for example, one advertisement playing period is 10 minutes, and the advertisement schemes in the device are 10, so that 10 advertisement schemes can be played in 10 minutes; further, the monitored broadcasting round parameter is set by the user on the broadcasting control platform side (such as 5 times, 10 times, 15 times or 20 times, etc.) according to the actual requirement, and is issued to the advertisement broadcasting equipment by the broadcasting control platform when the advertisement broadcasting equipment is connected; meanwhile, the following describes the role of the monitored-broadcasting round parameter by an example, and the monitored-broadcasting round parameter is 5 times, namely, the compression period is 5, so that the monitored-broadcasting round parameter is equivalent to compressing the data recorded in every 5 playing periods in the advertisement playing device into one data; of course, the meaning corresponding to the different monitored-broadcast round parameters is the same as that of the foregoing example, and will not be repeated here.
After the monitored-broadcast rotation parameter is obtained, the advertisement monitored-broadcast data can be compressed based on the monitored-broadcast rotation parameter, as shown in the following steps S2 and S3.
S2, the advertisement playing equipment carries out data division on the advertisement monitored data based on the monitored rotation parameters so as to obtain a plurality of advertisement division data; in particular, the foregoing description has explained that the monitored-broadcast rotation parameter is substantially used for determining a compression period of the advertisement monitored-broadcast data, and the compression period is an integer multiple of the advertisement playing period, so that the advertisement monitored-broadcast data is divided according to the compression period, wherein the dividing process is as follows: and carrying out length division on the advertisement monitoring data by taking the monitoring round parameter as a division length to obtain a plurality of advertisement division data after division, wherein any advertisement division data in the advertisement division data comprises n advertisement playing period data, and n is the monitoring round parameter.
The following describes the aforementioned step S2 as an example:
assuming that the monitored-broadcasting round parameter is 5 and the advertisement monitored-broadcasting data comprises 15 advertisement broadcasting period data, then the data is divided by taking the 5 advertisement broadcasting period data as the dividing length, so that the advertisement monitored-broadcasting data can be divided into 3 advertisement dividing data; of course, in the case that the monitored parameters and the number of the advertisement monitored data are different, the dividing principle is the same as the foregoing example, and will not be repeated here.
After the data of the advertisement monitoring and broadcasting data are divided based on the monitoring and broadcasting round parameters, each advertisement dividing data can be compressed so as to upload the compressed data to a monitoring and broadcasting center for storage; the compression process may be, but is not limited to, as shown in step S3 below.
S3, the advertisement playing equipment compresses each advertisement division data to obtain advertisement compression data corresponding to each advertisement division data, wherein any advertisement compression data comprises advertisement playing total starting time, advertisement playing total binding time, schemes I D of each advertisement scheme in any advertisement compression data and playing frequency of each advertisement scheme; in specific application, the method can be used for extracting the advertisement information in each advertisement partition data, and then compressing each advertisement information to obtain advertisement compression data of each advertisement partition data; in this embodiment, since the compression process of each advertisement division data is the same, the data compression process will be specifically described below by taking any advertisement division data as an example, and the method is not limited to the following steps S31 to S34.
S31, counting the total number of schemes I D of each advertisement scheme in the advertisement dividing data corresponding to each advertisement playing period data for any advertisement dividing data to obtain the playing frequency of each advertisement scheme in the advertisement dividing data; in a specific application, the number of schemes I D of each advertisement scheme in the advertisement partition data is taken as the playing frequency of each advertisement scheme, and the following description will be given as an example of the step S31.
Assume that any advertisement partition data includes 3 play period data, and the advertisement playing device I D is 909090, where the first play period data includes three advertisement scheme play data, specifically: the first advertisement scheme playing data is as follows: advertisement scheme a (scheme I D) with an advertisement playing start time of 2022, 10 months, 10 days, 10 points, and an advertisement playing end time of 2022, 10 months, 10 days, 10 points, 3 minutes, and the second advertisement scheme playing data is: the advertisement scheme B is characterized in that the advertisement playing start time is 2022, 10 months, 10 days, 10 points and 3 minutes, the advertisement playing end time is 2022, 10 months, 10 days, 10 points and 4 minutes, and the third advertisement scheme playing data are as follows: the advertisement scheme C is characterized in that the advertisement playing start time is 2022, 10 months, 10 days, 10 points and 4 minutes, and the advertisement playing end time is 2022, 10 months, 10 days, 10 points and 5 minutes; the second playing period data comprises three advertisement scheme playing data, and the first advertisement scheme playing data is as follows: the advertisement scheme A is characterized in that the advertisement playing start time is 2022, 10 months, 10 days, 10 points and 5 minutes, the advertisement playing end time is 2022, 10 months, 10 days, 10 points and 8 minutes, and the playing data of the second advertisement scheme are as follows: the advertisement scheme B is characterized in that the advertisement playing start time is 2022, 10 months, 10 days, 10 points and 8 minutes, the advertisement playing end time is 2022, 10 months, 10 days, 10 points and 9 minutes, and the third advertisement scheme playing data are as follows: the advertisement scheme C is characterized in that the advertisement playing start time is 2022, 10 months, 10 days, 10 points and 9 minutes, and the advertisement playing end time is 2022, 10 months, 10 days, 10 points and 10 minutes; the third playing period data comprises 3 advertisement scheme playing data, and the first advertisement scheme playing data is as follows: the advertisement scheme A is characterized in that the advertisement playing start time is 2022, 10 months, 10 days, 10 points, 10 minutes, the advertisement playing end time is 2022, 10 months, 10 days, 10 points, 13 minutes, and the playing data of the second advertisement scheme are as follows: the advertisement scheme B is characterized in that the advertisement playing start time is 2022, 10 months, 10 days, 10 points and 13 minutes, the advertisement playing end time is 2022, 10 months, 10 days, 10 points and 14 minutes, and the third advertisement scheme playing data are as follows: and in the advertisement scheme C, the advertisement playing start time is 2022, 10 months, 10 days, 10 points and 14 minutes, and the advertisement playing end time is 2022, 10 months, 10 days, 10 points and 15 minutes.
Then, the total number of schemes I D in the three playing period data can be counted, so that the playing frequency of each advertisement scheme is counted, that is, in the three playing period data, the number of schemes I D is 3, the number of schemes I D is 3, the number of schemes I D is 3, the playing frequency of advertisement scheme a is 3, the playing frequency of advertisement scheme B is 3, and the playing frequency of advertisement scheme C is 3; of course, the principle of determining the playing frequency of the internal advertisement scheme of the playing period data with different numbers is consistent with the foregoing examples, and will not be repeated herein.
After the play frequency of each advertisement scheme in any advertisement partition data is obtained, the total start time and the total end time of advertisement play of any advertisement partition data are also determined, wherein the process of determining the play time is shown in the following step S32.
S32, determining the total advertisement playing start time and the total advertisement playing end time of any advertisement dividing data based on the advertisement playing start time and the advertisement playing end time of each advertisement scheme in each advertisement playing period data corresponding to any advertisement dividing data; when the method is applied specifically, the advertisement playing start time and the advertisement playing end time of all advertisement schemes in any advertisement dividing data are counted, then the earliest playing start time is taken as the total advertisement playing start time, and the latest advertisement playing end time is taken as the advertisement playing summary bundle time; still further, the foregoing example is based on which the earliest 10 th 2022 ad start time, and the latest ad end time, then the time is 2022, 10 month, 10 day, 10 point, 14 minutes, therefore, 2022, 10 month, 10 day, 10 point is taken as the total starting time of advertisement playing, and 2022, 10 month, 10 day, 10 point, 15 minutes are taken as the total end time of advertisement playing; of course, in the case that the advertisement playing start time and the advertisement playing end time are different, the determination principle of the advertisement playing total start time and the advertisement playing total end time is identical to the foregoing examples, and will not be described herein.
After the foregoing data is obtained, the advertisement information of any one of the advertisement division data may be composed in combination with the device I D of the advertisement playing device, as shown in step S33 below.
S33, acquiring equipment I D in any advertisement playing period data in any advertisement dividing data, and forming advertisement information of the any advertisement dividing data by using the equipment I D, the total advertisement playing start time, the total advertisement playing bundle time and the playing frequency of each advertisement scheme; in this embodiment, the advertisement information of any advertisement dividing data includes: the device I D is 909090, the playing frequency of the advertisement scheme A is 3, the playing frequency of the advertisement scheme B is 3, the playing frequency of the advertisement scheme C is 3, the total starting time of advertisement playing is 2022, 10 months, 10 days, 10 points, 15 points, and the total end time of advertisement playing is 2022, 10 months, 10 days, 10 points, 15 points.
After the advertisement information of any advertisement division data is obtained, compression processing may be performed to obtain the corresponding advertisement compression data, where the compression process is as follows in step S34.
S34, compressing the advertisement information of any advertisement division data to obtain advertisement compression data corresponding to any advertisement division data after compression; when the method is specifically applied, firstly, a compression start character and a compression end character are added to advertisement information of any advertisement division data to obtain preprocessed advertisement information; then carrying out data compression on the preprocessed advertisement information, and after the data compression, obtaining advertisement compression data corresponding to any advertisement division data; in this embodiment, the exemplary compression start character may be, but is not limited to, "≡", and the exemplary compression end field may be, but is not limited to, "$"; of course, the two characters may be specifically set according to practical use, and are not limited to the foregoing examples.
In this way, based on the foregoing steps S31 to S34, each advertisement division data can be data-compressed, and advertisement compression data of each advertisement division data can be obtained.
In this embodiment, the foregoing describes that the configuration parameter further includes a maximum uploading number, so after each compressed data is obtained, it can also be determined whether the total number of advertisement compressed data is the maximum uploading number; if yes, the data can be directly uploaded, that is, the following step S4 is executed, otherwise, the uploading is stopped until the total number of the advertisement compressed data is greater than the maximum uploading number.
S4, the advertisement playing equipment uploads advertisement compression data corresponding to each advertisement division data to the monitoring and broadcasting center; in this embodiment, the advertisement compressed data may be uploaded to the monitoring center using a wireless or wired network; after receiving the advertisement compressed data, the monitoring center can store the data, as shown in the following steps S5, S6 and S7.
S5, the monitoring and broadcasting center receives each advertisement compression data sent by the advertisement playing equipment.
S6, the monitoring and broadcasting center decompresses each advertisement compression data to obtain a plurality of decompressed advertisement data; in specific application, the decompression is equivalent to obtaining the equipment I D, I D, playing frequency, advertisement playing total starting time and advertisement playing total ending time of each advertisement compression data; further, the combination of decompressed data may be performed in the following manner, namely: the playing time-device I D-scheme I D-frequency, wherein the playing time may be, but is not limited to, a date to which the playing total starting time belongs, so that, for any advertisement compressed data, the inside of which contains several advertisement schemes, there are several pieces of decompressed data corresponding to each other, and the decompressed data form decompressed advertisement data; in this embodiment, the monitoring center also needs to perform data filtering to filter out abnormal data, where the abnormal data is data that the playing frequency is null, the total start time of advertisement playing is null, the total end time of advertisement playing is null, and/or the device I D is null, so that accuracy of the data can be ensured.
After decompression of the respective advertisement compressed data is completed, data storage may be performed as shown in step S7 below.
S7, the monitoring and broadcasting center stores a plurality of decompressed advertisement data so as to finish the storage of the advertisement monitoring and broadcasting data after the storage; in particular applications, the query performance may be improved by, but not limited to, partition storage, where the storage process is as shown in step S71 and step S72 below.
S71, determining the playing date of each decompressed advertisement data based on the total advertisement playing start time and the total advertisement playing end time in each decompressed advertisement data; in this embodiment, the playing date of any one of the decompressed advertisement data may be, but not limited to, a month corresponding to a date to which the total playing start time belongs in any one of the decompressed advertisement data, for example, if the total playing start time in any one of the decompressed advertisement data is 2022, 10, and then 2022, 10; of course, the playing date of each of the rest decompressed advertisement data is also determined according to this principle, and will not be described herein.
After the play date of each decompressed advertisement data is obtained, the decompressed advertisement data may be stored according to the play date, as shown in step S72 below.
S72, storing a plurality of decompressed advertisement data in a partition mode according to the playing date so as to store the decompressed advertisement data belonging to the same playing date in one partition; through the design, the advertisement playing time in the device report data is used for partitioning, so that the inquiry performance, the usability and the maintainability of the monitoring center can be improved, and the I/O load stored in the monitoring center can be balanced, and the storage performance can be further improved.
In addition, in the present embodiment, since the foregoing has been described, the advertisement playing control auxiliary device is further provided for performing data transmission when the advertisement playing device is offline, and therefore, when the advertisement playing device is offline (the offline cause may be offline due to a network failure or a network signal, and the device itself is offline device), the data storage process thereof is as shown in the following steps.
S8, when communication connection is established between the local area network and the advertisement broadcasting control auxiliary equipment, advertisement compression data corresponding to each advertisement division data are transmitted to the advertisement broadcasting control auxiliary equipment, so that the advertisement broadcasting control auxiliary equipment uploads each advertisement compression data to the monitoring broadcasting center after receiving each advertisement compression data; in specific application, the advertisement broadcasting control auxiliary equipment can be carried by a worker, the area where the advertisement broadcasting equipment is installed is reached, and then the advertisement broadcasting control auxiliary equipment is connected manually, so that uploading of advertisement compressed data can be completed based on the advertisement broadcasting control auxiliary equipment, and the integrity of data record is ensured.
Further, when the advertisement playing device detects the network, it will transmit data again, so in order to avoid repeated data transmission, the embodiment further provides a deduplication step, as shown in the following step S9.
S9, after receiving any advertisement compressed data transmitted by the advertisement broadcasting control auxiliary equipment, the monitoring broadcasting center analyzes any advertisement compressed data to judge whether advertisement compressed data of target data exists in a storage database according to a scheme I D, equipment I D and broadcasting time (namely broadcasting total starting time and broadcasting total binding time) in any advertisement compressed data, wherein the target data comprises a scheme I D, equipment I D and broadcasting time in any advertisement compressed data; if yes, discarding any advertisement compression data, otherwise, storing; through the design, the problem of repeated data transmission can be avoided, so that the storage space resource required by the background is further reduced; in this embodiment, a lot number may be set for each compressed data when it is uploaded, and then, data deduplication processing may be performed in combination with the lot number.
Thus, through the foregoing design, on the basis of fig. 3, the conventional storage method needs to upload 10 pieces of data, and if the monitored broadcast time is 2 (i.e. 2 advertisement broadcast periods are included, as can be seen from fig. 3, each advertisement broadcast period includes 5 pieces of data), only 1 piece of data needs to be uploaded, so that the amount of data uploaded can be greatly reduced.
Therefore, according to the method for storing the advertisement monitoring data in the steps S1 to S9, on one hand, the data monitored in a plurality of playing periods is compressed into one data to be uploaded, so that the uploaded data volume can be reduced, and the purposes of reducing the network bandwidth and the background storage space resource cost are achieved; on the other hand, the invention uses the advertisement playing time in the equipment report data to partition, thus not only improving the inquiry performance, the availability and the maintainability of the monitoring and broadcasting center, but also balancing the I/O load stored in the monitoring and broadcasting center, thereby further improving the storage performance.
As shown in fig. 4, a second aspect of the present embodiment provides a hardware device for implementing the method for storing advertisement monitoring data according to the first aspect of the present embodiment, taking the device as an advertisement playing device, including:
the data acquisition unit is used for acquiring advertisement monitoring data and monitoring rotation parameters, wherein the monitoring rotation parameters are used for representing a data compression period of the advertisement monitoring data, the data compression period is an integer multiple of an advertisement playing period of the advertisement playing device, and the advertisement playing device is used for playing a released advertisement scheme in the advertisement playing period.
The data dividing unit is used for carrying out data division on the advertisement monitoring data based on the monitoring and broadcasting round parameters so as to obtain a plurality of advertisement division data.
The data compression unit is used for compressing each advertisement division data to obtain advertisement compression data corresponding to each advertisement division data, wherein any advertisement compression data comprises advertisement playing total starting time, advertisement playing total binding time, schemes I D of each advertisement scheme in any advertisement compression data and playing frequency of each advertisement scheme.
And the transmission unit is used for uploading the advertisement compression data corresponding to each advertisement division data to the monitoring and broadcasting center, so that the monitoring and broadcasting center can decompress the data of each advertisement compression data after receiving each advertisement compression data to obtain a plurality of decompressed advertisement data, so as to store the decompressed advertisement data in data, and after the storage is finished, the storage of the advertisement monitoring and broadcasting data is finished.
The working process, working details and technical effects of the device provided in this embodiment may refer to the first aspect of the embodiment, and are not described herein again.
As shown in fig. 5, a third aspect of the present embodiment provides another hardware device for implementing the method for storing advertisement monitored data according to the first aspect of the present embodiment, taking the device as a monitored center, including:
And a receiving unit, configured to receive each advertisement compression data sent by the advertisement playing device, where any advertisement compression data in each advertisement compression data includes an advertisement playing total start time, an advertisement playing total end time, a scheme I D of each advertisement scheme in any advertisement compression data, and a playing frequency of each advertisement scheme.
And the decompression unit is used for decompressing each advertisement compressed data to obtain a plurality of decompressed advertisement data.
And the storage unit is used for storing a plurality of decompressed advertisement data so as to finish the storage of the advertisement monitoring data after the storage.
The working process, working details and technical effects of the device provided in this embodiment may refer to the first aspect of the embodiment, and are not described herein again.
As shown in fig. 6, in a fourth aspect of the present embodiment, a third storage device for advertisement monitoring data is provided, which includes: the advertisement monitoring system comprises a memory, a processor and a transceiver which are connected in sequence in communication, wherein the memory is used for storing a computer program, the transceiver is used for receiving and transmitting messages, and the processor is used for reading the computer program and executing the storage method of the advertisement monitoring data according to the first aspect of the embodiment.
By way of specific example, the Memory may include, but is not limited to, random access Memory (random access Memory, RAM), read only Memory (Read On ly Memory, ROM), flash Memory (fl ash Memory), first-in-first-out Memory (Fi rst I nput Fi rst Output, FI FO) and/or first-in-last-out Memory (Fi rst I n Last Out, FI LO), and the like; in particular, the processor may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor may be implemented in at least one hardware form of DSP (Digita l Signa l Process ing ), FPGA (field ld-Programmab l e Gate Array, field programmable gate array), PLA (Programmab le Logic Array ), and may also include a main processor and a coprocessor, where the main processor is a processor for processing data in a wake-up state, and is also called CPU (Centra l Process ing Un it ); a coprocessor is a low-power processor for processing data in a standby state.
In some embodiments, the processor may be integrated with a GPU (Graph ics Process ing Un it, image processor) for taking charge of rendering and rendering of content required to be displayed by the display screen, e.g., the processor may not be limited to a microprocessor of the STM32F105 family, a reduced instruction set computer (reduced instruct ion set computer, RISC) microprocessor, an X86 or other architecture processor, or a processor that integrates an embedded neural network processor (neuro-network process ing un its, NPU); the transceiver may be, but is not limited to, a wireless fidelity (WI FI) wireless transceiver, a bluetooth wireless transceiver, a general packet radio service technology (Genera l Packet Rad io Service, GPRS) wireless transceiver, a ZigBee protocol (low power local area network protocol based on the I EEE802.15.4 standard, zigBee) wireless transceiver, a 3G transceiver, a 4G transceiver, and/or a 5G transceiver, etc. In addition, the device may include, but is not limited to, a power module, a display screen, and other necessary components.
The working process, working details and technical effects of the electronic device provided in this embodiment may refer to the first aspect of the embodiment, and are not described herein again.
A fifth aspect of the present embodiment provides a storage medium storing instructions including the method for storing advertisement-monitoring data according to the first aspect of the present embodiment, that is, the storage medium storing instructions thereon, when the instructions are executed on a computer, the method for storing advertisement-monitoring data according to the first aspect is performed.
The storage medium refers to a carrier for storing data, and may include, but is not limited to, a floppy disk, an optical disk, a hard disk, a flash Memory, a flash disk, and/or a Memory stick (Memory stick), where the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
The working process, working details and technical effects of the storage medium provided in this embodiment may refer to the first aspect of the embodiment, and are not described herein again.
A sixth aspect of the present embodiment provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of storing advertising data as described in the first aspect of the embodiment, wherein the computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus.
Finally, it should be noted that: the foregoing description is only of the preferred embodiments of the invention and is not intended to limit the scope of the invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for storing advertisement monitoring data, which is applied to advertisement playing equipment, comprising the following steps:
acquiring advertisement monitoring data and monitoring run parameters, wherein the monitoring run parameters are used for representing a data compression period of the advertisement monitoring data, the data compression period is an integer multiple of an advertisement playing period of the advertisement playing device, and the advertisement playing device is used for playing a put advertisement scheme in the advertisement playing period;
based on the monitored broadcast round parameters, carrying out data division on the advertisement monitored broadcast data to obtain a plurality of advertisement division data;
compressing each advertisement division data to obtain advertisement compression data corresponding to each advertisement division data, wherein any advertisement compression data comprises advertisement playing total starting time, advertisement playing total binding time, scheme IDs of all advertisement schemes in any advertisement compression data and playing frequency of all advertisement schemes;
Uploading the advertisement compression data corresponding to each advertisement division data to a monitoring and broadcasting center, so that the monitoring and broadcasting center can decompress the data of each advertisement compression data after receiving each advertisement compression data to obtain a plurality of decompressed advertisement data, so as to store the decompressed advertisement data in data, and after the storage is finished, the storage of the advertisement monitoring and broadcasting data is completed.
2. The method of claim 1, wherein the advertisement monitoring data comprises a number of advertisement playing period data, wherein any one of the number of advertisement playing period data comprises a device ID of the advertisement playing device and at least one advertisement scheme playing data, and each of the at least one advertisement scheme playing data comprises a scheme ID, an advertisement playing start time, and an advertisement playing end time;
based on the monitored-broadcast rotation parameter, the advertisement monitored-broadcast data is subjected to data division to obtain a plurality of advertisement division data, and the method comprises the following steps:
the monitoring and broadcasting rotation parameter is taken as a dividing length, the advertisement monitoring and broadcasting data is divided in length to obtain a plurality of advertisement dividing data after division, wherein any advertisement dividing data in the advertisement dividing data comprises n advertisement broadcasting period data, and n is the monitoring and broadcasting rotation parameter;
Correspondingly, compressing each advertisement division data comprises the following steps:
for any advertisement dividing data, counting the total number of scheme IDs of each advertisement scheme in the advertisement dividing data corresponding to each advertisement playing period data so as to obtain the playing frequency of each advertisement scheme in the advertisement dividing data;
determining the total advertisement playing start time and the total advertisement playing end time of any advertisement dividing data based on the advertisement playing start time and the advertisement playing end time of each advertisement scheme in each advertisement playing period data corresponding to any advertisement dividing data;
acquiring the equipment ID in any advertisement playing period data in any advertisement dividing data, and forming advertisement information of any advertisement dividing data by using the equipment ID, the total advertisement playing starting time, the advertisement playing total binding time and the playing frequency of each advertisement scheme;
and carrying out compression processing on the advertisement information of any advertisement division data to obtain advertisement compression data corresponding to any advertisement division data after the compression processing.
3. The method of claim 2, compressing the advertisement information of the arbitrary advertisement division data to obtain advertisement compression data corresponding to the arbitrary advertisement division data after the compression processing, comprising:
Adding a compression start character and a compression end character to the advertisement information of any advertisement division data to obtain preprocessed advertisement information;
and carrying out data compression on the preprocessed advertisement information to obtain advertisement compression data corresponding to any advertisement division data.
4. The method of claim 1, wherein if the advertisement playing device is an offline device, the method further comprises:
when communication connection is established between the local area network and the advertisement broadcasting control auxiliary equipment, advertisement compression data corresponding to each advertisement division data are transmitted to the advertisement broadcasting control auxiliary equipment, so that the advertisement broadcasting control auxiliary equipment uploads each advertisement compression data to the monitoring broadcasting center after receiving each advertisement compression data.
5. The method of claim 1, wherein after obtaining the advertisement compression data corresponding to each advertisement division data, the method further comprises:
judging whether the total quantity of the advertisement compressed data is larger than the maximum uploading number;
if yes, uploading the advertisement compression data corresponding to each advertisement division data to the monitoring and broadcasting center.
6. The storage method of the advertisement monitoring data is characterized by being applied to a monitoring center and comprising the following steps of:
receiving each advertisement compression data sent by the advertisement playing device, wherein any advertisement compression data in each advertisement compression data comprises advertisement playing total starting time, advertisement playing total binding time, scheme IDs of each advertisement scheme in any advertisement compression data and playing frequency of each advertisement scheme;
decompressing each advertisement compressed data to obtain a plurality of decompressed advertisement data;
and storing a plurality of decompressed advertisement data so as to finish the storage of the advertisement monitoring data after the storage.
7. The method of claim 6, wherein storing a number of decompressed advertising data comprises:
determining the playing date of each decompressed advertisement data based on the total advertisement playing start time and the total advertisement playing end time in each decompressed advertisement data;
and storing the decompressed advertisement data in a partition according to the playing date so as to store the decompressed advertisement data belonging to the same playing date in one partition.
8. A storage device for advertising data, comprising:
The data acquisition unit is used for acquiring advertisement monitoring data and monitoring rotation parameters, wherein the monitoring rotation parameters are used for representing a data compression period of the advertisement monitoring data, the data compression period is an integral multiple of an advertisement playing period of the advertisement playing device, and the advertisement playing device is used for playing a released advertisement scheme in the advertisement playing period;
the data dividing unit is used for carrying out data division on the advertisement monitoring data based on the monitoring round parameters so as to obtain a plurality of advertisement dividing data;
the data compression unit is used for compressing each advertisement division data to obtain advertisement compression data corresponding to each advertisement division data, wherein any advertisement compression data comprises advertisement playing total starting time, advertisement playing total binding time, scheme IDs of all advertisement schemes in any advertisement compression data and playing frequency of all advertisement schemes;
and the transmission unit is used for uploading the advertisement compression data corresponding to each advertisement division data to the monitoring and broadcasting center, so that the monitoring and broadcasting center can decompress the data of each advertisement compression data after receiving each advertisement compression data to obtain a plurality of decompressed advertisement data, so as to store the decompressed advertisement data in data, and after the storage is finished, the storage of the advertisement monitoring and broadcasting data is finished.
9. A storage device for advertising data, comprising:
a receiving unit, configured to receive each advertisement compression data sent by the advertisement playing device, where any advertisement compression data in each advertisement compression data includes an advertisement playing total start time, an advertisement playing total end time, a scheme ID of each advertisement scheme in any advertisement compression data, and a playing frequency of each advertisement scheme;
the decompression unit is used for decompressing each advertisement compression data to obtain a plurality of decompressed advertisement data;
and the storage unit is used for storing a plurality of decompressed advertisement data so as to finish the storage of the advertisement monitoring data after the storage.
10. A storage medium having instructions stored thereon which, when executed on a computer, perform the method of storing advertising data as claimed in any one of claims 1 to 5 or 6 to 7.
CN202211552392.3A 2022-12-05 2022-12-05 Advertisement monitoring data storage method, device and storage medium Pending CN116016938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211552392.3A CN116016938A (en) 2022-12-05 2022-12-05 Advertisement monitoring data storage method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211552392.3A CN116016938A (en) 2022-12-05 2022-12-05 Advertisement monitoring data storage method, device and storage medium

Publications (1)

Publication Number Publication Date
CN116016938A true CN116016938A (en) 2023-04-25

Family

ID=86036266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211552392.3A Pending CN116016938A (en) 2022-12-05 2022-12-05 Advertisement monitoring data storage method, device and storage medium

Country Status (1)

Country Link
CN (1) CN116016938A (en)

Similar Documents

Publication Publication Date Title
CN110520909A (en) The neural network processor of bandwidth of memory utilization rate is reduced using the compression and decompression of activation data
CN102289829A (en) Method and device for storing and restoring image and system for processing image
CN101796842A (en) An efficient image compression scheme to minimize storage and bus bandwidth requirements
KR20160013100A (en) Method and apparatus for logging data records
CN105262825A (en) SPICE cloud desktop transporting and displaying method and system on the basis of H.265 algorithm
CN105430534A (en) Intelligent device reporting data method and system
CN105659503A (en) System and method for providing multi-user power saving codebook optimization
CN109272449A (en) Image display method and device, computer installation and readable storage medium storing program for executing
CN110399224A (en) Information processing method and electronic equipment
CN105302494B (en) A kind of Compression Strategies selection method and device
CN105659502A (en) System and method for conserving power consumption in a memory system
CN102763424A (en) Method and apparatus for transmitting video content compressed by codec
CN103929607A (en) Communication method based on screen recording, and application client-side
CN111917813A (en) Communication method, device, equipment, system and storage medium
CN116016938A (en) Advertisement monitoring data storage method, device and storage medium
CN110019347A (en) A kind of data processing method, device and the terminal device of block chain
CN104219537B (en) The method, apparatus and system of video data processing
CN111324576A (en) Recording data storage method and device, storage medium and terminal equipment
CN110266814B (en) Transmission method and transmission device
CN101854379B (en) Schedule information synchronization method, device and system
WO2020155538A1 (en) Video processing method and system, computer device and storage medium
CN111313907A (en) Method and device for compressing mass power data
CN108337555B (en) Data display method and system and wearable device
CN112541391A (en) Violation behavior identification method and system based on examination video analysis
CN110311754A (en) A kind of method of reseptance of data, device, storage medium and electronic equipment

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