Disclosure of Invention
The invention provides an advertisement playing method, which is applied to a system comprising a playing client and an advertisement server and is used for solving the problem of how to play an advertisement of a specified place or site for a user at a proper time point based on actual conditions, wherein the playing client is arranged in a moving vehicle, and the method comprises the following steps:
the advertisement server acquires the current position information of the vehicle through the playing client, and determines a driving interval where the position information is located in a driving route preset by the vehicle;
the advertisement server acquires the average running speed of the vehicle corresponding to the running interval in the current time period, and determines the arrival time of the vehicle at the terminal of the running interval according to the average running speed of the vehicle and the position information, wherein the average running speed of the vehicle is generated according to a plurality of historical average running speed data of the vehicle;
and the advertisement server acquires the playing time length of the advertisement program corresponding to the terminal station, and instructs the playing client to play the advertisement program before reaching the terminal station according to the arrival time and the playing time length.
Preferably, the instructing the playing client to play the advertisement program before reaching the terminal station according to the arrival time and the playing duration specifically includes:
judging whether the arrival time is greater than the playing time length or not;
if not, indicating the playing client to pause the currently played program and playing the advertisement program;
if yes, the playing client is instructed to play the advertising program when the arrival time is consistent with the playing duration, or the playing client is instructed to play the advertising program when the arrival time is consistent with the playing duration.
Preferably, the obtaining, by the advertisement server, the playing time of the advertisement program corresponding to the terminal station specifically includes:
acquiring merchant information in a preset distance range of the terminal station;
and summarizing the sub advertising programs into the advertising programs according to the sub advertising programs corresponding to the merchant information, and determining the playing time of the advertising programs.
Preferably, the first and second liquid crystal materials are,
the advertisement program is transmitted to the playing client after the advertisement server collects the sub advertisement programs;
or, the advertisement program is generated by the playing client according to each sub advertisement program stored in advance by the playing client and the summary result sent by the advertisement server.
Preferably, the method further comprises the following steps:
and when the vehicle reaches the terminal station, generating historical vehicle average traveling speed data corresponding to the current time period according to the time when the vehicle departs from the starting station of the traveling section, the time when the vehicle reaches the terminal station and the distance of the traveling section.
Preferably, the first and second liquid crystal materials are,
the plurality of pieces of historical vehicle average running speed data are historical vehicle average running speeds of the vehicle corresponding to the current time period in a plurality of historical dates, respectively;
or, the plurality of historical vehicle average traveling speed data are vehicle average traveling speeds of a plurality of historical time periods before the current time period on the same day of the vehicle.
Preferably, before the advertisement server obtains the current location information of the vehicle through the playing client, the method further includes:
the playing client receives an update program instruction sent by the advertisement server;
the playing client sends a request program list to the advertisement server according to the update program instruction;
the playing client receives a program list returned by the advertisement server according to the request program list;
the playing client judges whether a new program, a new file and/or a program needing to be updated exist according to the program list;
if yes, the playing client updates the program list to a local database and downloads a corresponding program file;
and the playing client plays the program again.
Correspondingly, the invention also provides an advertisement playing device, which is applied to a system comprising a playing client and an advertisement server, wherein the playing client is arranged in a moving vehicle, and the device comprises:
the determining module is used for acquiring the current position information of the vehicle through the playing client and determining a driving interval where the position information is located in a driving route preset by the vehicle;
the calculation module is used for acquiring the average running speed of the vehicle corresponding to the running interval in the current time period, and determining the arrival time of the vehicle at the terminal of the running interval according to the average running speed of the vehicle and the position information, wherein the average running speed of the vehicle is generated according to a plurality of historical average running speed data of the vehicle;
and the indicating module is used for acquiring the playing time length of the advertisement program corresponding to the terminal station and indicating the playing client to play the advertisement program before the terminal station is reached according to the arrival time and the playing time length.
Correspondingly, the present invention further provides a computer-readable storage medium, which is characterized in that instructions are stored in the computer-readable storage medium, and when the instructions are run on a terminal device, the instructions cause the terminal device to execute the advertisement playing method described above.
Correspondingly, the present invention further provides a computer program product, which is characterized in that when the computer program product runs on a terminal device, the terminal device is caused to execute the advertisement playing method as described above.
By applying the technical scheme, the current position information of the vehicle is acquired through the advertisement server, and the driving section where the position information is located is determined in the driving route preset by the vehicle; the method comprises the steps that an advertisement server obtains the average running speed of a vehicle corresponding to a running interval in a current time period, the arrival time of the vehicle reaching a terminal station of the running interval is determined according to the average running speed of the vehicle and position information, and the average running speed of the vehicle is generated according to a plurality of historical average running speed data of the vehicle; the advertisement server acquires the playing time length of the advertisement program corresponding to the terminal station, and instructs a playing client to play the advertisement program before the terminal station is reached according to the arrival time and the playing time length. Through using the technical scheme of this application, increased the flexibility of advertisement putting, for the advertiser provides accurate location putting, more effective advertisement purpose that reaches has played the propaganda effect of warning formula for city sight spot or landmark building propaganda.
Detailed Description
As described in the background art, in the prior art, there are ways such as an advertisement carousel mechanism in an advertisement playing method. However, the prior art cannot flexibly adjust the playing time point according to the current driving condition (speed, road condition, etc.) of the vehicle, the advertisement duration, the place suitable for playing, and other information. Meanwhile, in order to enable an advertiser to select a place or longitude and latitude for advertisement (video/picture/audio) putting, when a vehicle reaches a certain range area of the selected place, advertisement playing can be immediately switched to the advertisement put by the advertiser, and then accurate putting is achieved.
In view of the foregoing problems and requirements, embodiments of the present invention provide an advertisement playing method, which is applied to a system including a playing client and an advertisement server. The technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings.
In embodiments of the present invention, the presentation forms of the advertisement are of many kinds, for example: video, pictures, text, audio, etc. There are also many kinds of advertising, such as: business purposes, promotional purposes, warning purposes, etc. Wherein the change of the representation form and the playing purpose of the advertisement does not affect the protection scope of the invention.
As shown in fig. 1, the advertisement playing method specifically includes the following steps:
s101, the advertisement server obtains the current position information of the vehicle through the playing client, and determines a running interval where the position information is located in a running route preset by the vehicle.
This step is intended to acquire the current position information of the vehicle, and there are many methods for acquiring the positioning information, such as: the invention relates to a method for obtaining vehicle positioning information, which comprises the steps of positioning based on a GPS (global positioning system), positioning based on a JS (JS), positioning based on a base station of a mobile operation network and the like, wherein different positioning modes can not influence the protection scope of the invention as long as the purpose of obtaining the vehicle positioning information can be achieved.
In order to reduce the time for downloading the advertisement from the advertisement server by the playing client in order to play the advertisement to be played in time, in a preferred embodiment of the present application, before the advertisement server obtains the current position information of the vehicle through the playing client, the method further includes:
the playing client receives an update program instruction sent by the advertisement server;
the playing client sends a request program list to the advertisement server according to the update program instruction;
the playing client receives a program list returned by the advertisement server according to the request program list;
the playing client judges whether a new program, a new file and/or a program needing to be updated exist according to the program list;
if yes, the playing client updates the program list to a local database and downloads a corresponding program file;
and the playing client plays the program again.
It should be noted that the above embodiments are only used for illustrating the technical solutions of the present invention, and are not limited thereto. Although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
In a specific application scene, the advertisement server edits a program, selects a site to be launched according to a line, issues the checked program to a (vehicle-mounted screen, tail screen) device, and simultaneously sends a command for updating the program to the device. And after the equipment receives the line updating command, carrying out corresponding command operation.
The playing client receives the instruction sent by the server to the corresponding equipment in real time, and after receiving the updating line updating instruction, the equipment requests the server to acquire the latest program information and stores the program information to the local. And meanwhile, downloading the program according to the program address in the acquired program information, storing the program to the local, and then re-playing the program.
S102, the advertisement server obtains the average running speed of the vehicle corresponding to the running interval in the current time period, and determines the arrival time of the vehicle at the terminal of the running interval according to the average running speed of the vehicle and the position information, wherein the average running speed of the vehicle is generated according to a plurality of historical average running speed data of the vehicle.
The step is to obtain the average traveling speed calculated by using the vehicle speeds in multiple periods of time and generate the arrival time, wherein the speed can be measured in various manners, such as positioning for multiple times in a short time, measuring the wheel torque, and the like, and it is within the scope of the present application as long as the method for obtaining the average traveling speed calculated by using the vehicle speeds in multiple periods of time is achieved.
In the above description, the travel section is a travel section of the vehicle between two stop stations on the travel route, for example: the driving interval between two public transportation stations, the driving interval between two middle stop cities of passenger vehicles and the like. The aforementioned travel route is a travel route from a starting point to an end point of the vehicle, for example: the designated route of the whole journey from the starting station to the terminal station of the public transportation, the specific driving route from the starting point to the terminal station of the passenger transportation vehicle and the like.
It should be noted that the historical vehicle average traveling speed data can clearly reflect the speed of the section (i.e. between the stations) traveled by the vehicle in the current time period, and in the preferred embodiment of the present application, the historical vehicle average traveling speed is determined in the following two ways:
(1) the plurality of pieces of historical vehicle average running speed data are historical vehicle average running speeds of the vehicle corresponding to the current time period in a plurality of historical dates, respectively;
(2) the plurality of pieces of historical vehicle average traveling speed data are vehicle average traveling speeds of the vehicle for a plurality of historical time periods that precede the current time period on the same day.
Since the historical vehicle average traveling speed data is all past historical data as a reference, in order to make the historical data as complete as possible, when the vehicle arrives at the terminal, the preferred embodiment of the present invention generates the historical vehicle average traveling speed data corresponding to the current time zone according to the time when the vehicle departs from the starting station of the traveling zone, the time when the vehicle arrives at the terminal, and the distance of the traveling zone.
It should be noted that the above preferred embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same. Although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
In a specific application scene, the advertisement server receives the real-time GPS data sent by the vehicle-mounted screen, the tail screen or the vehicle of the corresponding line and stores the real-time GPS data in the database. Accordingly, the advertisement server calculates the average running speed of the vehicle at the location based on the GPS trajectory data of the vehicle several days before and in real time (that day) throughout the route. And the server side calculates the average driving speed of the vehicle according to the departure time of the vehicle at the previous station, the arrival time of the vehicle at the station and the distance of the distance in the driving route of the vehicle. The advertisement server calculates the average running speed of the vehicle according to the positioning information of the vehicle-mounted screen, the tail screen and the like and the method, and calculates the running time of the electronic stop board after the positioning information arrives.
S103, the advertisement server obtains the playing time length of the advertisement program corresponding to the terminal station, and instructs the playing client to play the advertisement program before reaching the terminal station according to the arrival time and the playing time length.
The step aims to judge whether the advertisement program needs to be played or not according to the advertisement duration and the arrival time, wherein the types of the played advertisement program can be videos, pictures, characters, audios and the like, the number of the played advertisements is not only one advertisement set, and the change of the types and the number of the advertisements does not influence the protection scope of the invention.
Further, in order to more accurately play the advertisement program, in a preferred embodiment of the present application, the playing client is instructed to play the advertisement program before reaching the terminal station according to the arrival time and the playing duration, specifically:
judging whether the arrival time is greater than the playing time length or not;
if not, indicating the playing client to pause the currently played program and playing the advertisement program;
if yes, the playing client is instructed to play the advertising program when the arrival time is consistent with the playing duration, or the playing client is instructed to play the advertising program when the arrival time is consistent with the playing duration.
Further, in order to accurately obtain the advertisement playing time lengths of all merchants within the preset distance range, in a preferred embodiment of the present application, the advertisement server obtains the playing time lengths of the advertisement programs corresponding to the terminal station, specifically:
acquiring merchant information in a preset distance range of the terminal station;
and summarizing the sub advertising programs into the advertising programs according to the sub advertising programs corresponding to the merchant information, and determining the playing time of the advertising programs.
Further, in order to play the advertisement program to be played by the client quickly and effectively, in the preferred embodiment of the present application, the advertisement program information is transmitted in the following two ways:
(1) the advertisement program is transmitted to the playing client after the advertisement server collects the sub advertisement programs;
(2) and the advertisement program is generated by the playing client according to the sub advertisement programs stored in advance and the summary result sent by the advertisement server.
It should be noted that the above preferred embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same. Although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
In a specific application scenario, the advertisement server inquires information of all advertisements needing to be played at a site of arrival, integrates the advertisements needing to be played into a fixed point advertisement set, calculates time for playing the fixed point advertisement set in a unified manner, and compares the time with the time of arrival at the current vehicle position to judge whether the fixed point advertisement set needs to be played or not. If the arrival time is longer than the advertisement time, indicating the advertisements or the advertisement aggregate with the playing time length similar to the difference value of the vehicle-mounted screen, the vehicle top screen or the vehicle tail screen according to the difference value of the two, and then playing the fixed-point advertisement aggregate. And if the arrival time is equal to the advertisement time, indicating the vehicle-mounted screen, the roof screen or the tail screen to immediately pause the currently played advertisement and playing the fixed-point advertisement set.
By applying the technical scheme, the current position information of the vehicle is acquired through the advertisement server, and the driving section where the position information is located is determined in the driving route preset by the vehicle; the method comprises the steps that an advertisement server obtains the average running speed of a vehicle corresponding to a running interval in a current time period, the arrival time of the vehicle reaching a terminal station of the running interval is determined according to the average running speed of the vehicle and position information, and the average running speed of the vehicle is generated according to a plurality of historical average running speed data of the vehicle; the advertisement server acquires the playing time length of the advertisement program corresponding to the terminal station, and instructs a playing client to play the advertisement program before the terminal station is reached according to the arrival time and the playing time length. Through using the technical scheme of this application, increased the flexibility of advertisement putting, for the advertiser provides accurate location putting, more effective advertisement purpose that reaches has played the propaganda effect of warning formula for city sight spot or landmark building propaganda.
In order to further illustrate the technical idea of the present invention, the technical solution of the present invention will now be described with reference to specific application scenarios.
The specific application scenario can be divided into two processes: and (5) program publishing and positioning inter-cut.
Program publishing
(1) Service end (find
Firstly, editing programs in a management background, selecting sites to be launched according to lines, issuing the checked programs to equipment (a vehicle-mounted screen, a roof screen and a tail screen), and simultaneously sending a program updating instruction to the equipment. And after the equipment receives the line updating command, carrying out corresponding command operation.
(2) A client: (vehicle screen, roof screen, tail screen)
The client receives the instruction sent by the server to the corresponding equipment in real time, and after receiving the updating line updating instruction, the equipment requests the server to acquire the latest program information and stores the program information to the local. And meanwhile, downloading the program according to the program address in the acquired program information, storing the program to the local, and then playing the program again.
Second, positioning inter cut
As shown in fig. 2, the server function is mainly introduced in this embodiment.
In a specific embodiment, the server receives the vehicle-mounted screen, the tail screen and the real-time GPS data sent by the vehicle of the corresponding line, stores the real-time GPS data in the database, and judges that the vehicle is about to arrive at the station.
The server side inquires all the advertisement programs needing to be played at the arrival site based on the arrival site, gathers all the advertisement programs into a program set, and counts the time needed for playing the program set.
The service end calculates the running speed of the vehicle at the position based on the GPS track data of the whole line vehicle in the first days and in real time, and calculates the predicted time according to the distance from the current vehicle station to the next station.
The server judges whether the program delivery range is reached or not based on the program set time and the estimated time. If yes, pausing the currently played program, triggering the program set to play, and resuming the previously paused program after the program set is played. If not, selecting one or more programs with the total playing time length close to the difference time according to the difference time until the estimated time is the same as the program set time.
By applying the technical scheme, the current position information of the vehicle is acquired through the advertisement server, and the driving section where the position information is located is determined in the driving route preset by the vehicle; the method comprises the steps that an advertisement server obtains the average running speed of a vehicle corresponding to a running interval in a current time period, the arrival time of the vehicle reaching a terminal station of the running interval is determined according to the average running speed of the vehicle and position information, and the average running speed of the vehicle is generated according to a plurality of historical average running speed data of the vehicle; the advertisement server acquires the playing time length of the advertisement program corresponding to the terminal station, and instructs a playing client to play the advertisement program before the terminal station is reached according to the arrival time and the playing time length. Through using the technical scheme of this application, increased the flexibility of advertisement putting, for the advertiser provides accurate location putting, more effective advertisement purpose that reaches has played the propaganda effect of warning formula for city sight spot or landmark building propaganda.
In order to achieve the above technical object, the present application further provides an advertisement playing device, which is applied in a system including a playing client and an advertisement server, as shown in fig. 3, the device includes:
the determining module 310 is configured to obtain current position information of the vehicle through the playing client, and determine a driving interval where the position information is located in a driving route preset by the vehicle;
the calculating module 320 is used for acquiring the average running speed of the vehicle corresponding to the running interval in the current time period, and determining the arrival time of the vehicle at the terminal of the running interval according to the average running speed of the vehicle and the position information, wherein the average running speed of the vehicle is generated according to a plurality of historical average running speed data of the vehicle;
the indicating module 330 is configured to obtain a playing time length of the advertisement program corresponding to the terminal station, and instruct the playing client to play the advertisement program before reaching the terminal station according to the arrival time and the playing time length.
In a specific application scenario, the instructing module 330 instructs, according to the arrival time and the playing duration, the playing client to play the advertisement program before arriving at the destination station, specifically:
judging whether the arrival time is greater than the playing time length or not;
if not, indicating the playing client to pause the currently played program and playing the advertisement program;
if yes, the playing client is instructed to play the advertising program when the arrival time is consistent with the playing duration, or the playing client is instructed to play the advertising program when the arrival time is consistent with the playing duration.
In a specific application scenario, the instruction module 330 obtains a playing time length of an advertisement program corresponding to the terminal station, specifically:
acquiring merchant information in a preset distance range of the terminal station;
and summarizing the sub advertising programs into the advertising programs according to the sub advertising programs corresponding to the merchant information, and determining the playing time of the advertising programs.
In a specific application scenario, the advertisement program is transmitted to the playing client by the indication module 330 after the sub advertisement program is summarized;
or, the advertisement program is generated by the playing client according to each sub advertisement program pre-stored by the playing client and the summary result sent by the indicating module 330.
In a specific application scenario, the calculating module 320 further includes:
and when the vehicle reaches the terminal station, generating historical vehicle average traveling speed data corresponding to the current time period according to the time when the vehicle departs from the starting station of the traveling section, the time when the vehicle reaches the terminal station and the distance of the traveling section.
In a specific application scenario, the calculating module 320 calculates, from the plurality of historical vehicle average traveling speed data, historical vehicle average traveling speeds of the vehicle corresponding to the current time period in a plurality of historical dates respectively;
or, the plurality of historical vehicle average traveling speed data are vehicle average traveling speeds of a plurality of historical time periods before the current time period on the same day of the vehicle.
In a specific application scenario, before the determining module 310 obtains the current position information of the vehicle through the playing client, the method further includes:
the playing client receives the program updating instruction sent by the determining module 310;
the playing client sends a request program list to the determining module 310 according to the update program instruction;
the playing client receives the program list returned by the determining module 310 according to the request program list;
the playing client judges whether a new program, a new file and/or a program needing to be updated exist according to the program list;
if yes, the playing client updates the program list to a local database and downloads a corresponding program file;
and the playing client plays the program again.
By applying the technical scheme, the current position information of the vehicle is acquired through the advertisement server, and the driving section where the position information is located is determined in the driving route preset by the vehicle; the method comprises the steps that an advertisement server obtains the average running speed of a vehicle corresponding to a running interval in a current time period, the arrival time of the vehicle reaching a terminal station of the running interval is determined according to the average running speed of the vehicle and position information, and the average running speed of the vehicle is generated according to a plurality of historical average running speed data of the vehicle; the advertisement server acquires the playing time length of the advertisement program corresponding to the terminal station, and instructs a playing client to play the advertisement program before the terminal station is reached according to the arrival time and the playing time length. Through using the technical scheme of this application, increased the flexibility of advertisement putting, for the advertiser provides accurate location putting, more effective advertisement purpose that reaches has played the propaganda effect of warning formula for city sight spot or landmark building propaganda.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by hardware, or by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.), and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method according to the implementation scenarios of the present invention.
Those skilled in the art will appreciate that the figures are merely schematic representations of one preferred implementation scenario and that the blocks or flow diagrams in the figures are not necessarily required to practice the present invention.
Those skilled in the art will appreciate that the modules in the devices in the implementation scenario may be distributed in the devices in the implementation scenario according to the description of the implementation scenario, or may be located in one or more devices different from the present implementation scenario with corresponding changes. The modules of the implementation scenario may be combined into one module, or may be further split into a plurality of sub-modules.
The above-mentioned invention numbers are merely for description and do not represent the merits of the implementation scenarios.
The above disclosure is only a few specific implementation scenarios of the present invention, however, the present invention is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present invention.